Loading

OpenScad Revoloids version 0.8

by WilliamAAdams, published

OpenScad Revoloids version 0.8 by WilliamAAdams Jul 1, 2011

Description

Not being able to leave well enough alone, I found that I needed to have partial surfaces of revolution.

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 all

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>

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.

Really, it's "Isn't it amazing what WilliamAAdams can do with OpenScad!!" Great job! :)

Liked By

view all

License

Public Domain
OpenScad Revoloids version 0.8 by WilliamAAdams is licensed under the Public Domain license.

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag

Instructions

1) Download all the .scad files
2) Play with test_revoloids.scad
3) Create pretty pictures
4) Turn them into .stl
5) Print/combine
6) Rejoice!

Comments

You must be logged in to post a comment.

Leiva on Mar 18, 2013 said:

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>

TeamTeamUSA on Jul 1, 2011 said:

Really, it's "Isn't it amazing what WilliamAAdams can do with OpenScad!!" Great job! :)

WilliamAAdams on Jul 1, 2011 said:

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.

Top