discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] Beginner help?

K
kintel
Wed, Feb 11, 2015 4:03 AM

You got it almost right:
linear_extrude(height = 300, twist = -360) translate([0, 10, 0]) circle(r =
1);

You don't want to center, since a centered linear extrude centers the entire
resulting 3D object in the origin. Apart from that, you only got the X and Y
of the initial translation mixed up, and the twist inverted (the twist
direction is not very logic I know)

PS! Look up the % and # operators. They are good for debugging such things.

--
View this message in context: http://forum.openscad.org/Beginner-help-tp11588p11589.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

You got it almost right: linear_extrude(height = 300, twist = -360) translate([0, 10, 0]) circle(r = 1); You don't want to center, since a centered linear extrude centers the entire resulting 3D object in the origin. Apart from that, you only got the X and Y of the initial translation mixed up, and the twist inverted (the twist direction is not very logic I know) PS! Look up the % and # operators. They are good for debugging such things. -- View this message in context: http://forum.openscad.org/Beginner-help-tp11588p11589.html Sent from the OpenSCAD mailing list archive at Nabble.com.