Jewelry
Go to Model
parametric leaf
6
Downloads
4
Likes
0
Makes
This is a parametric leaf for openscad.
You define 3 lists of control points which are splined to make the center vein and two edges, and you define several other constants such as the number of veins, their angle, the concavity of the leaf, the radius of veins (leaf thickness), and "resolution" (it takes quite long to compile, so beware. if you're going to use this in another model, it might be better to compile/export it separately and then importing the STL).
Under the hood, this is actually quite simple. 1) use existing community spline code and path_extrude to spline between control points, and extrude along the path 2) for a given numbered vein, use a point on the edge and center vein and a calculated point in the middle to do the same thing (spline + path_extrude), 3) take your vein paths, and raise and lower these to construct a profile, which you can then sweep between.
You can also call this as a library from within any other document.
If you'd like to see any
You define 3 lists of control points which are splined to make the center vein and two edges, and you define several other constants such as the number of veins, their angle, the concavity of the leaf, the radius of veins (leaf thickness), and "resolution" (it takes quite long to compile, so beware. if you're going to use this in another model, it might be better to compile/export it separately and then importing the STL).
Under the hood, this is actually quite simple. 1) use existing community spline code and path_extrude to spline between control points, and extrude along the path 2) for a given numbered vein, use a point on the edge and center vein and a calculated point in the middle to do the same thing (spline + path_extrude), 3) take your vein paths, and raise and lower these to construct a profile, which you can then sweep between.
You can also call this as a library from within any other document.
If you'd like to see any
Did you print this model? Sign in and share your make!
Sign in to leave a comment
Sign inNo comments yet – be the first!