discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

rotate_extrude(angle) requires

T
thequack
Wed, Feb 3, 2016 9:37 PM

rotate_extrude(angle) only works if there is nothing extending below the
origin. For example, this works:
rotate_extrude(angle=220)
 translate([25,25,0])
  minkowski()
  {
    square(75,100);
    circle(25);
  }

But if you comment out the /translate()/ line it does not work presumably
because the shape now extends past the origin. I'm not sure if this behavior
is intended but I can tell you it took me a while to figure out the
/translate()/ workaround.

I'm using Windows with the 2016.01.26 build.

--
View this message in context: http://forum.openscad.org/rotate-extrude-angle-requires-tp16032.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

rotate_extrude(angle) only works if there is nothing extending below the origin. For example, this works: rotate_extrude(angle=220)  translate([25,25,0])   minkowski()   {     square(75,100);     circle(25);   } But if you comment out the /translate()/ line it does not work presumably because the shape now extends past the origin. I'm not sure if this behavior is intended but I can tell you it took me a while to figure out the /translate()/ workaround. I'm using Windows with the 2016.01.26 build. -- View this message in context: http://forum.openscad.org/rotate-extrude-angle-requires-tp16032.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Wed, Feb 3, 2016 9:50 PM

On 02/03/2016 10:37 PM, thequack wrote:

rotate_extrude(angle) only works if there is nothing extending below the origin.

That's intentional (and not related to the usage of the angle parameter) as
it would otherwise create self intersecting geometry.

It's also giving a message telling that (without the translate):

ERROR: all points for rotate_extrude() must have the same X coordinate sign (range is -2.61 -> 95.23)

ciao,
Torsten.

On 02/03/2016 10:37 PM, thequack wrote: > rotate_extrude(angle) only works if there is nothing extending below the origin. > That's intentional (and not related to the usage of the angle parameter) as it would otherwise create self intersecting geometry. It's also giving a message telling that (without the translate): ERROR: all points for rotate_extrude() must have the same X coordinate sign (range is -2.61 -> 95.23) ciao, Torsten.