Partial Rotate Extrude (OpenSCAD)

Partial Rotate Extrude (OpenSCAD)

thingiverse

In designing a printable frame for a mini quad copter, I discovered the need for a feature in OpenSCAD that hasn't been implemented yet. Although not perfect, I found a workaround that sufficed for my requirements. The example use case is provided. To utilize this (similar to rotate_extrude), you can use partial_rotate_extrude(angle, radius, convexity) circle(5). This will extrude the circle for the specified angle degrees about the origin at a distance of radius. The convexity parameter operates the same as in rotate_extrude; refer to http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/2D_to_3D_Extrusion for more information. For accessing and copy-pasting, use partial_rotate_extrude(235, 20, 10) circle(5). Additionally, I've created the pie_slice module to generate a slice of a pie with radius 'radius' and angle 'angle,' divided into 'step' sections. The module linear_extrude is used for height 'height' with center set to true. Lastly, the partial_rotate_extrude module intersects rotate_extrude (with convexity 'convexity') translated by 'radius,' and pie_slice(radius*2, angle, angle/5) as child(0).

Download Model from thingiverse

With this file you will be able to print Partial Rotate Extrude (OpenSCAD) with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Partial Rotate Extrude (OpenSCAD).