OpenScad Revoloids version 0.8
by WilliamAAdams, published
Description
This thing adds the ability to specify starting and ending angles for the revolution (defaults to 0 to 360).
That's kind of nice because for the simple cases where you are not intersecting with something at odd angles, you can simply generate the exact surface that you need, and call it a day.
Included in this revision is an experiment to see if the built-in 'rotate_extrude' could do a better job of things. Although it does play nicely with the CSG operations while viewing, it does not generate 2-manifold structures (and thus, no .stl files). I'm thinking maybe I need to overlap surfaces or something, rather than calculating exact vertices.
At any rate, I thought of adding rotation about an arbitrary line, as a final step, but really, that's easily achieved in OpenScad, so this might be the end of the line for these routines.
Isn't it amazing what can be done with OpenScad!!
Blog Entry: williamaadams.wordpress.com/2011/07/01/revolutionary-surfaces-with-openscad/
Recent Comments
view allHello. I am a complete beginner in 3d and openscad, so it's a quite basic question. I am trying to join a revoloid and a cube :(, but I always get the manifold error. It should be easy!
include <revoloids.scad>
union(){
linear_extrude_revoloid(anglesteps = 12, stacksteps =12,
umult = 5, A = cubic_bezier_M(),
cps = [[0, 2, -1],[2,3,0], [4,1,-1],[6,2,-1]],
thickness = -2,
showNormals = false);
translate([0,-0.5,-0.5])cube(size=[11,10,10]);
}
Could someone help me on this?
Thanks for your help.</revoloids.scad>
thanks for the praise, but really I'm just filling in some holes from the well trod ground of the graphics world. OpenScad certainly does present some strong constraints to how one would normally go about this stuff though.
Remixed From
Tags
Give a Shout Out
Instructions
2) Play with test_revoloids.scad
3) Create pretty pictures
4) Turn them into .stl
5) Print/combine
6) Rejoice!
File Name
Downloads
Size
Comments
You must be logged in to post a comment.
Really, it's "Isn't it amazing what WilliamAAdams can do with OpenScad!!" Great job! :)
thanks for the praise, but really I'm just filling in some holes from the well trod ground of the graphics world. OpenScad certainly does present some strong constraints to how one would normally go about this stuff though.


Hello. I am a complete beginner in 3d and openscad, so it's a quite basic question. I am trying to join a revoloid and a cube :(, but I always get the manifold error. It should be easy!
include <revoloids.scad>
union(){
linear_extrude_revoloid(anglesteps = 12, stacksteps =12,
umult = 5, A = cubic_bezier_M(),
cps = [[0, 2, -1],[2,3,0], [4,1,-1],[6,2,-1]],
thickness = -2,
showNormals = false);
translate([0,-0.5,-0.5])cube(size=[11,10,10]);
}
Could someone help me on this?
Thanks for your help.</revoloids.scad>