Pile 'o Polyhedrons: the Improved Screw

198
Downloads
522
Views
Published on May 31, 2011

Description

When I tried to make a throated worm screw ( thingiverse.com/derivative:9733 ), I ran into an issue: the thread profile was being extruded along the right curve in space, but there was no skewing of the profile to fit the curve.

You can see what I mean by comparing the images for this thing to the images for its parent. The tip of the thread remains vertical, no matter how the thread tapers or widens around the shaft. In the case of a throated worm screw, this meant that the worm gear would hit the parts of the profile that had not tapered out of the way properly.

Had to redo the polyhedron the whole thing rests on, and I took the opportunity to redo all the math vectorially, cuz it's cleaner that way. Also went ahead and made the shaft follow a curve defined by functions, like the thread does. More versatile, but we're not yet where the shaft could be a torus and the thread winds around it.

Now that I have this working in this stand-alone script, I need to work it back into the screw library ( thingiverse.com/thing:8793 ) and the throated worm screw will be a synch.

As I've just received my Thingomatic, however, (thanks MBI!) this might take a back seat to assembly, calibration, printing, etc... Sorry!

Instructions

It's a stand-alone script, it does NOT need the library.

The latest code will be in the GitHub repository:
github.com/syvwlch/Thingiverse-Projects/tree/master/ExtrudePolygon
Report as inappropriate

You must be logged in to post a comment.

for me this only renders in openscad as a single triangle-piece of the screw. Has any one else had this problem?

Are you using the minkowski sum for this?

Read http://www.cgal.org/Manual/3.5... for a starting point, most of google's results just leave you confused as to what this algorithm actually does

No, I'm not.

I tried the Minkowski sum on another project and it was slooooooooooow. Didn't even consider it for this one, perhaps I should have...

Glad to hear you got your printer, you'll finally be able to experience your designs in the flesh :)

Happily scared to hear that you got your printer. Can't wait to see what (awesome things) are you gonna do with it.