discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Rotate_extrude not closing

N
Neon22
Mon, Jul 13, 2015 9:50 AM

I've been working on this handle maker which uses profiles for the handle
shapes.
Its all working rather well but f6 wont generate an object.
http://www.thingiverse.com/thing:923244

Can anyone see what I'm doing wrong ?

I thought it was to do with the profiles I'm sending to rotate_extrude not
being closed.
I've tried profiles with the inner perimeter open. as well as closed.
The included profiles (in the scad) are open.
I get the same error:

http://forum.openscad.org/file/n13132/Customizable_profiled_handles.png

Now I think its something to do with how I'm using the if-then-else
construct and returning shapes internally.
Here is a shorter test script that exposes the problem.
There are two "module handle()"s defined. one is commented.
The commented one works and the uncommented one does not. The difference is
to do with the if statement which I have removed from the commented out
version.
Here:

You'll see the problem when you press F6 in OpenSCAD.
What am I missing ? explicit union's maybe ?

--
View this message in context: http://forum.openscad.org/Rotate-extrude-not-closing-tp13132.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I've been working on this handle maker which uses profiles for the handle shapes. Its all working rather well but f6 wont generate an object. http://www.thingiverse.com/thing:923244 Can anyone see what I'm doing wrong ? I thought it was to do with the profiles I'm sending to rotate_extrude not being closed. I've tried profiles with the inner perimeter open. as well as closed. The included profiles (in the scad) are open. I get the same error: <http://forum.openscad.org/file/n13132/Customizable_profiled_handles.png> Now I think its something to do with how I'm using the if-then-else construct and returning shapes internally. Here is a shorter test script that exposes the problem. There are two "module handle()"s defined. one is commented. The commented one works and the uncommented one does not. The difference is to do with the if statement which I have removed from the commented out version. Here: You'll see the problem when you press F6 in OpenSCAD. What am I missing ? explicit union's maybe ? -- View this message in context: http://forum.openscad.org/Rotate-extrude-not-closing-tp13132.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Mon, Jul 13, 2015 10:01 AM

http://www.thingiverse.com/thing:923244

Can anyone see what I'm doing wrong ?

No, I guess the thing is not yet published, so I'm only getting 404 error.

ciao,
Torsten.

Von: Neon22 <mschafer@wireframe.biz> > http://www.thingiverse.com/thing:923244 > > Can anyone see what I'm doing wrong ? > No, I guess the thing is not yet published, so I'm only getting 404 error. ciao, Torsten.
MS
Mark Schafer
Mon, Jul 13, 2015 10:42 AM

OK I published it
also the test code I included is simpler...
Cheers...

OK I published it also the test code I included is simpler... Cheers...
N
Neon22
Wed, Jul 15, 2015 12:29 AM

ok fixed it.
The profile has no central hole. I shift the profile so that the leftmost
edge is the center of the object. However CGAL can't cope with this.
So ow I shift it so there is a 0.1mm dia hole through the center and then I
add a cylinder to overlap this to make it manifold.

So my problem was caused by the rotate_extrude operator and my lack of a
central hole.
Cheers...

--
View this message in context: http://forum.openscad.org/Rotate-extrude-not-closing-tp13132p13153.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

ok fixed it. The profile has no central hole. I shift the profile so that the leftmost edge is the center of the object. However CGAL can't cope with this. So ow I shift it so there is a 0.1mm dia hole through the center and then I add a cylinder to overlap this to make it manifold. So my problem was caused by the rotate_extrude operator and my lack of a central hole. Cheers... -- View this message in context: http://forum.openscad.org/Rotate-extrude-not-closing-tp13132p13153.html Sent from the OpenSCAD mailing list archive at Nabble.com.