pieterbos
2017-03-01 22:03:24 UTC
I have designed a 3d-printed trombone using openSCAD. It requires a bit of
conical tubing. I have tried several approaches and I have a few very well
working trombones, but none worked well enough for my tastes:
- First attempt: sweeping a circle with list comprehension demos sweep, then
use difference with a smaller one to get a hollow tube.
It works relatively fast, but generates lots of warnings and often errors
when renderings.
- Second attempt: rendering two short cylinders a bit apart, one rotated
slightly from the other, hull them together. Put that in a for loop rotated
and translated along the desired path. then use difference with a smaller
one to get a hollow tube.
This works very well without warnings or errors, but it is really slow if
you want it rendered at enough detail for really smooth prints - the
previous method ran in 30-45 minutes, but now my trombone tuning slide has
been rendering for over 75 minutes and is still going, on an intel core i7
running at 3.4-3.6Ghz.
So does anyone have a better approach? Writing code to rendering polyhedrons
manually will probably work, but I think it will be a tricky, complicated
and time consuming thing to write...
--
View this message in context: http://forum.openscad.org/Curved-bent-conical-tubing-tp20686.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
conical tubing. I have tried several approaches and I have a few very well
working trombones, but none worked well enough for my tastes:
- First attempt: sweeping a circle with list comprehension demos sweep, then
use difference with a smaller one to get a hollow tube.
It works relatively fast, but generates lots of warnings and often errors
when renderings.
- Second attempt: rendering two short cylinders a bit apart, one rotated
slightly from the other, hull them together. Put that in a for loop rotated
and translated along the desired path. then use difference with a smaller
one to get a hollow tube.
This works very well without warnings or errors, but it is really slow if
you want it rendered at enough detail for really smooth prints - the
previous method ran in 30-45 minutes, but now my trombone tuning slide has
been rendering for over 75 minutes and is still going, on an intel core i7
running at 3.4-3.6Ghz.
So does anyone have a better approach? Writing code to rendering polyhedrons
manually will probably work, but I think it will be a tricky, complicated
and time consuming thing to write...
--
View this message in context: http://forum.openscad.org/Curved-bent-conical-tubing-tp20686.html
Sent from the OpenSCAD mailing list archive at Nabble.com.