discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

need to edit an .stl

GH
gene heskett
Sun, Aug 14, 2022 10:33 PM

On 8/14/22 15:57, larry wrote:

On Sat, 2022-08-13 at 12:55 -0400, gene heskett wrote:

What does linux have that can turn an .stl back into editable .scad?
Thank you.

Depending on the complexity of the .stl and how you want to modify it,
it may be possible to modify it without making it editable, or you
might be able to make it editable by writing OpenScad code to duplicate
the .stl, using the '#' character in front of your statements and
fiddling with the position and dimensions of the object.

What STL are you tryng to modify?

attached, but I can't find the archive that contained it. A search of
the web for "orbiter v2"
might find it. Buried in lots of trash though.

this one has two faults, the drop down that mounts it has nearly 5mm
holes in it, 14mm
apart,  needs to be snug on the 3mm bolt. And ALL the hangdown on the
left to mount a
bltouch bed leveler has to go as it interferes with the end of the x
belt anchor on the left.

The Chinese volcano hot end clone I'm using has its own bltouch mount,
much lower
because the volcano hot end is longer.  I also hope it gets past the
mail server as its 370kb.

If the mail server barfs, don't worry, I got it whipped, many thanks to
OpenSCAD.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
.

Cheers, Gene Heskett.

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.

On 8/14/22 15:57, larry wrote: > On Sat, 2022-08-13 at 12:55 -0400, gene heskett wrote: >> What does linux have that can turn an .stl back into editable .scad? >> Thank you. > Depending on the complexity of the .stl and how you want to modify it, > it may be possible to modify it without making it editable, or you > might be able to make it editable by writing OpenScad code to duplicate > the .stl, using the '#' character in front of your statements and > fiddling with the position and dimensions of the object. > > What STL are you tryng to modify? attached, but I can't find the archive that contained it. A search of the web for "orbiter v2" might find it. Buried in lots of trash though. this one has two faults, the drop down that mounts it has nearly 5mm holes in it, 14mm apart,  needs to be snug on the 3mm bolt. And ALL the hangdown on the left to mount a bltouch bed leveler has to go as it interferes with the end of the x belt anchor on the left. The Chinese volcano hot end clone I'm using has its own bltouch mount, much lower because the volcano hot end is longer.  I also hope it gets past the mail server as its 370kb. If the mail server barfs, don't worry, I got it whipped, many thanks to OpenSCAD. > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > . Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/>
RW
Raymond West
Sun, Aug 14, 2022 10:59 PM

Hi Gene,

You can modify that pretty simply.in openscad You can difference or add
openscad shapes as required, so chop off what you don't need, and add
what you do. I've heavily modified similar items, cooling ducts and the
like.

so, difference a cube to chop off the bl touch mount, and add a cube
where the mounting holes are, to fill 'em in, then difference two 3.1mm
cylinders for the resized holes.

but, maybe just as easy to draw it all in openscad, you have the
dimensions, or just print it as is, and saw off the bits you don't want
and plastic weld in plugs and redrill.

Best wishes,

Ray

On 14/08/2022 23:33, gene heskett wrote:

On 8/14/22 15:57, larry wrote:

On Sat, 2022-08-13 at 12:55 -0400, gene heskett wrote:

What does linux have that can turn an .stl back into editable .scad?
Thank you.
Depending on the complexity of the .stl and how you want to modify it,
it may be possible to modify it without making it editable, or you
might be able to make it editable by writing OpenScad code to duplicate
the .stl, using the '#' character in front of your statements and
fiddling with the position and dimensions of the object.

What STL are you tryng to modify?
attached, but I can't find the archive that contained it. A search of
the web for "orbiter v2"
might find it. Buried in lots of trash though.

this one has two faults, the drop down that mounts it has nearly 5mm
holes in it, 14mm
apart,  needs to be snug on the 3mm bolt. And ALL the hangdown on the
left to mount a
bltouch bed leveler has to go as it interferes with the end of the x
belt anchor on the left.

The Chinese volcano hot end clone I'm using has its own bltouch mount,
much lower
because the volcano hot end is longer.  I also hope it gets past the
mail server as its 370kb.

If the mail server barfs, don't worry, I got it whipped, many thanks
to OpenSCAD.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
.

Cheers, Gene Heskett.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Hi Gene, You can modify that pretty simply.in openscad You can difference or add openscad shapes as required, so chop off what you don't need, and add what you do. I've heavily modified similar items, cooling ducts and the like. so, difference a cube to chop off the bl touch mount, and add a cube where the mounting holes are, to fill 'em in, then difference two 3.1mm cylinders for the resized holes. but, maybe just as easy to draw it all in openscad, you have the dimensions, or just print it as is, and saw off the bits you don't want and plastic weld in plugs and redrill. Best wishes, Ray On 14/08/2022 23:33, gene heskett wrote: > On 8/14/22 15:57, larry wrote: >> On Sat, 2022-08-13 at 12:55 -0400, gene heskett wrote: >>> What does linux have that can turn an .stl back into editable .scad? >>> Thank you. >> Depending on the complexity of the .stl and how you want to modify it, >> it may be possible to modify it without making it editable, or you >> might be able to make it editable by writing OpenScad code to duplicate >> the .stl, using the '#' character in front of your statements and >> fiddling with the position and dimensions of the object. >> >> What STL are you tryng to modify? > attached, but I can't find the archive that contained it. A search of > the web for "orbiter v2" > might find it. Buried in lots of trash though. > > this one has two faults, the drop down that mounts it has nearly 5mm > holes in it, 14mm > apart,  needs to be snug on the 3mm bolt. And ALL the hangdown on the > left to mount a > bltouch bed leveler has to go as it interferes with the end of the x > belt anchor on the left. > > The Chinese volcano hot end clone I'm using has its own bltouch mount, > much lower > because the volcano hot end is longer.  I also hope it gets past the > mail server as its 370kb. > > If the mail server barfs, don't worry, I got it whipped, many thanks > to OpenSCAD. >> >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> . > > > Cheers, Gene Heskett. > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
RW
Raymond West
Sun, Aug 14, 2022 11:22 PM

Here's a start

module begin(){
import("P:/Docs/openscad/Orbiter v2.0 Mount & BLT.stl");
}

difference(){

  translate([0,-380,-200]) begin();
//#cube(50,true);  //to position it
  translate ([-15.5,-30,-55])
   rotate([0,0,45])
   # cube(50,true);
}

///end

the commented out cube is just to be able to get the bracket in a more
central position.  You won't know where the stl is located, so create a
cube and then view all, and translate the bracket as required. You can
be precise as you like in making the differences and unions, but at the
end of the day it is merely a functional item, and appearance is secondary.

On 14/08/2022 23:59, Raymond West wrote:

Hi Gene,

You can modify that pretty simply.in openscad You can difference or
add openscad shapes as required, so chop off what you don't need, and
add what you do. I've heavily modified similar items, cooling ducts
and the like.

so, difference a cube to chop off the bl touch mount, and add a cube
where the mounting holes are, to fill 'em in, then difference two
3.1mm cylinders for the resized holes.

but, maybe just as easy to draw it all in openscad, you have the
dimensions, or just print it as is, and saw off the bits you don't
want and plastic weld in plugs and redrill.

Best wishes,

Ray

On 14/08/2022 23:33, gene heskett wrote:

On 8/14/22 15:57, larry wrote:

On Sat, 2022-08-13 at 12:55 -0400, gene heskett wrote:

What does linux have that can turn an .stl back into editable .scad?
Thank you.
Depending on the complexity of the .stl and how you want to modify it,
it may be possible to modify it without making it editable, or you
might be able to make it editable by writing OpenScad code to duplicate
the .stl, using the '#' character in front of your statements and
fiddling with the position and dimensions of the object.

What STL are you tryng to modify?
attached, but I can't find the archive that contained it. A search of
the web for "orbiter v2"
might find it. Buried in lots of trash though.

this one has two faults, the drop down that mounts it has nearly 5mm
holes in it, 14mm
apart,  needs to be snug on the 3mm bolt. And ALL the hangdown on the
left to mount a
bltouch bed leveler has to go as it interferes with the end of the x
belt anchor on the left.

The Chinese volcano hot end clone I'm using has its own bltouch
mount, much lower
because the volcano hot end is longer.  I also hope it gets past the
mail server as its 370kb.

If the mail server barfs, don't worry, I got it whipped, many thanks
to OpenSCAD.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
.

Cheers, Gene Heskett.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Here's a start module begin(){ import("P:/Docs/openscad/Orbiter v2.0 Mount & BLT.stl"); } difference(){   translate([0,-380,-200]) begin(); //#cube(50,true);  //to position it   translate ([-15.5,-30,-55])    rotate([0,0,45])    # cube(50,true); } ///end the commented out cube is just to be able to get the bracket in a more central position.  You won't know where the stl is located, so create a cube and then view all, and translate the bracket as required. You can be precise as you like in making the differences and unions, but at the end of the day it is merely a functional item, and appearance is secondary. On 14/08/2022 23:59, Raymond West wrote: > Hi Gene, > > You can modify that pretty simply.in openscad You can difference or > add openscad shapes as required, so chop off what you don't need, and > add what you do. I've heavily modified similar items, cooling ducts > and the like. > > so, difference a cube to chop off the bl touch mount, and add a cube > where the mounting holes are, to fill 'em in, then difference two > 3.1mm cylinders for the resized holes. > > but, maybe just as easy to draw it all in openscad, you have the > dimensions, or just print it as is, and saw off the bits you don't > want and plastic weld in plugs and redrill. > > Best wishes, > > Ray > > On 14/08/2022 23:33, gene heskett wrote: >> On 8/14/22 15:57, larry wrote: >>> On Sat, 2022-08-13 at 12:55 -0400, gene heskett wrote: >>>> What does linux have that can turn an .stl back into editable .scad? >>>> Thank you. >>> Depending on the complexity of the .stl and how you want to modify it, >>> it may be possible to modify it without making it editable, or you >>> might be able to make it editable by writing OpenScad code to duplicate >>> the .stl, using the '#' character in front of your statements and >>> fiddling with the position and dimensions of the object. >>> >>> What STL are you tryng to modify? >> attached, but I can't find the archive that contained it. A search of >> the web for "orbiter v2" >> might find it. Buried in lots of trash though. >> >> this one has two faults, the drop down that mounts it has nearly 5mm >> holes in it, 14mm >> apart,  needs to be snug on the 3mm bolt. And ALL the hangdown on the >> left to mount a >> bltouch bed leveler has to go as it interferes with the end of the x >> belt anchor on the left. >> >> The Chinese volcano hot end clone I'm using has its own bltouch >> mount, much lower >> because the volcano hot end is longer.  I also hope it gets past the >> mail server as its 370kb. >> >> If the mail server barfs, don't worry, I got it whipped, many thanks >> to OpenSCAD. >>> >>> >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>> . >> >> >> Cheers, Gene Heskett. >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
GH
gene heskett
Sun, Aug 14, 2022 11:45 PM

On 8/14/22 19:02, Raymond West wrote:

Hi Gene,

You can modify that pretty simply.in openscad You can difference or
add openscad shapes as required, so chop off what you don't need, and
add what you do. I've heavily modified similar items, cooling ducts
and the like.

so, difference a cube to chop off the bl touch mount, and add a cube
where the mounting holes are, to fill 'em in, then difference two
3.1mm cylinders for the resized holes.

but, maybe just as easy to draw it all in openscad, you have the
dimensions, or just print it as is, and saw off the bits you don't
want and plastic weld in plugs and redrill.

Best wishes,

Ray

Or, make bar to cover that foot, like attached png. Print it, 13
minutes, press the
risers into the oversized holes with small vice grips, instant small,
accurately placed
3mm holes.

Make 10mm longer capricorn tube to feed the volcano with, shorten a par of
14mm cap crews about a mm each, install, level and tighten the screws
with some
compression on the capricorn to forestall leakage. That phase is
finished. Now to go
shopping for a utility work table (or the makings) to get it up off the
floor, my back
is screaming.

One of the hazards of outliving all your enemies, your aches have
pains and vice-versa.

On 14/08/2022 23:33, gene heskett wrote:

On 8/14/22 15:57, larry wrote:

On Sat, 2022-08-13 at 12:55 -0400, gene heskett wrote:

What does linux have that can turn an .stl back into editable .scad?
Thank you.

Depending on the complexity of the .stl and how you want to modify it,
it may be possible to modify it without making it editable, or you
might be able to make it editable by writing OpenScad code to duplicate
the .stl, using the '#' character in front of your statements and
fiddling with the position and dimensions of the object.

What STL are you tryng to modify?

attached, but I can't find the archive that contained it. A search of
the web for "orbiter v2"
might find it. Buried in lots of trash though.

this one has two faults, the drop down that mounts it has nearly 5mm
holes in it, 14mm
apart,  needs to be snug on the 3mm bolt. And ALL the hangdown on the
left to mount a
bltouch bed leveler has to go as it interferes with the end of the x
belt anchor on the left.

The Chinese volcano hot end clone I'm using has its own bltouch
mount, much lower
because the volcano hot end is longer.  I also hope it gets past the
mail server as its 370kb.

If the mail server barfs, don't worry, I got it whipped, many thanks
to OpenSCAD.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
.

Cheers, Gene Heskett.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Cheers, Gene Heskett.

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.

On 8/14/22 19:02, Raymond West wrote: > Hi Gene, > > You can modify that pretty simply.in openscad You can difference or > add openscad shapes as required, so chop off what you don't need, and > add what you do. I've heavily modified similar items, cooling ducts > and the like. > > so, difference a cube to chop off the bl touch mount, and add a cube > where the mounting holes are, to fill 'em in, then difference two > 3.1mm cylinders for the resized holes. > > but, maybe just as easy to draw it all in openscad, you have the > dimensions, or just print it as is, and saw off the bits you don't > want and plastic weld in plugs and redrill. > > Best wishes, > > Ray Or, make bar to cover that foot, like attached png. Print it, 13 minutes, press the risers into the oversized holes with small vice grips, instant small, accurately placed 3mm holes. Make 10mm longer capricorn tube to feed the volcano with, shorten a par of 14mm cap crews about a mm each, install, level and tighten the screws with some compression on the capricorn to forestall leakage. That phase is finished. Now to go shopping for a utility work table (or the makings) to get it up off the floor, my back is screaming. One of the hazards of outliving all your enemies, your aches have pains and vice-versa. > > On 14/08/2022 23:33, gene heskett wrote: >> On 8/14/22 15:57, larry wrote: >>> On Sat, 2022-08-13 at 12:55 -0400, gene heskett wrote: >>>> What does linux have that can turn an .stl back into editable .scad? >>>> Thank you. >>> Depending on the complexity of the .stl and how you want to modify it, >>> it may be possible to modify it without making it editable, or you >>> might be able to make it editable by writing OpenScad code to duplicate >>> the .stl, using the '#' character in front of your statements and >>> fiddling with the position and dimensions of the object. >>> >>> What STL are you tryng to modify? >> attached, but I can't find the archive that contained it. A search of >> the web for "orbiter v2" >> might find it. Buried in lots of trash though. >> >> this one has two faults, the drop down that mounts it has nearly 5mm >> holes in it, 14mm >> apart,  needs to be snug on the 3mm bolt. And ALL the hangdown on the >> left to mount a >> bltouch bed leveler has to go as it interferes with the end of the x >> belt anchor on the left. >> >> The Chinese volcano hot end clone I'm using has its own bltouch >> mount, much lower >> because the volcano hot end is longer.  I also hope it gets past the >> mail server as its 370kb. >> >> If the mail server barfs, don't worry, I got it whipped, many thanks >> to OpenSCAD. >>> >>> >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>> . >> >> >> Cheers, Gene Heskett. >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/>
DM
Doug Moen
Mon, Aug 15, 2022 1:33 PM

I just read the Szalinski paper, and this software is actually an optimizer that takes the output of an existing mesh decompiler, and simplifies the code, making the program smaller (and hopefully easier to understand/edit).

They mention two mesh decompilers, but the one they actually used is InverseCSG, which is a python program that converts STL files into OpenSCAD files. Here is InverseCSG:

https://github.com/yijiangh/InverseCSG

On Sun, Aug 14, 2022, at 1:11 PM, gene heskett wrote:

On 8/14/22 08:27, Doug Moen wrote:

What does linux have that can turn an .stl back into editable .scad?
The software you want is called a mesh decompiler. There are several projects that do this. The ones I know about are academic research projects and I haven't tried any of them.

Here's a research paper from June 2020 to get started:
https://dl.acm.org/doi/abs/10.1145/3385412.3386012

"Szalinski" claims to produce better OpenSCAD output than prior mesh decompilers, so maybe that's the one to start with.

This page contains instructions on how to install and run the software:
https://dl.acm.org/do/10.1145/3395645/full/

Good luck!

Doug Moen.

Thanks Doug. That is a fairly complex install but it seems to have
worked well,
so I I bookmarked the site for instructions and will see if it is above
my pay scale.
Thank you.

On Sat, Aug 13, 2022, at 12:55 PM, gene heskett wrote:

Greetings all;

What does linux have that can turn an .stl back into editable .scad?
Thank you.

Cheers, Gene Heskett.

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
.

Cheers, Gene Heskett.

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I just read the Szalinski paper, and this software is actually an optimizer that takes the output of an existing mesh decompiler, and simplifies the code, making the program smaller (and hopefully easier to understand/edit). They mention two mesh decompilers, but the one they actually used is InverseCSG, which is a python program that converts STL files into OpenSCAD files. Here is InverseCSG: https://github.com/yijiangh/InverseCSG On Sun, Aug 14, 2022, at 1:11 PM, gene heskett wrote: > On 8/14/22 08:27, Doug Moen wrote: >>> What does linux have that can turn an .stl back into editable .scad? >> The software you want is called a mesh decompiler. There are several projects that do this. The ones I know about are academic research projects and I haven't tried any of them. >> >> Here's a research paper from June 2020 to get started: >> https://dl.acm.org/doi/abs/10.1145/3385412.3386012 >> >> "Szalinski" claims to produce better OpenSCAD output than prior mesh decompilers, so maybe that's the one to start with. >> >> This page contains instructions on how to install and run the software: >> https://dl.acm.org/do/10.1145/3395645/full/ >> >> Good luck! >> >> Doug Moen. > > Thanks Doug. That is a fairly complex install but it seems to have > worked well, > so I I bookmarked the site for instructions and will see if it is above > my pay scale. > Thank you. >> >> On Sat, Aug 13, 2022, at 12:55 PM, gene heskett wrote: >>> Greetings all; >>> >>> What does linux have that can turn an .stl back into editable .scad? >>> Thank you. >>> >>> Cheers, Gene Heskett. >>> -- >>> "There are four boxes to be used in defense of liberty: >>> soap, ballot, jury, and ammo. Please use in that order." >>> -Ed Howdershelt (Author, 1940) >>> If we desire respect for the law, we must first make the law respectable. >>> - Louis D. Brandeis >>> Genes Web page <http://geneslinuxbox.net:6309/> >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> . > > > Cheers, Gene Heskett. > -- > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author, 1940) > If we desire respect for the law, we must first make the law respectable. > - Louis D. Brandeis > Genes Web page <http://geneslinuxbox.net:6309/> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org