• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
parametric leaf 3D Printer File Image 1
parametric leaf 3D Printer File Image 2
parametric leaf 3D Printer File Thumbnail 1
parametric leaf 3D Printer File Thumbnail 2

parametric leaf

tpchuckles avatartpchuckles

May 17, 2019

thingiverse-icon
DescriptionCommentsTags

Description

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 tweaks to this, or have suggests, don't be afraid to holler!

Note, this has several dependencies as follows:
splines.scad;/https://www.thingiverse.com/thing:1208001
path_extrude_TWP_V3.scad; https://www.thingiverse.com/thing:3354650
dumbSweep.scad; https://www.thingiverse.com/thing:3635671
Shoutout to https://www.raphaelluckom.com/posts/bezier_curves.html for the inspiration (and making me believe it was possible ;-) )

versions: leaf.scad will always be the latest
2019-05-16: published V1
2019-05-17: V2, updated to make the angle cleaner (previously the angle of a vein was based on counting points along the center path and edge path, so actual angle would change as you get wider, which isn't great).

License:

Creative Commons - Attribution

Related Models

Parametric Hinge preview image

Parametric Hinge

rohingosling profile image

rohingosling

51,897

Rugged Box (Parametric) preview image

Rugged Box (Parametric)

Whity profile image

Whity

34,707

Custom QR Code Luggage / Bag Tag preview image

Custom QR Code Luggage / Bag Tag

vlycser profile image

vlycser

8,822

NUT JOB | Nut, Bolt, Washer and Threaded Rod Factory preview image

NUT JOB | Nut, Bolt, Washer and Threaded Rod Factory

mike_mattala profile image

mike_mattala

51,797

Gridfinity Storage Box by Pred (now parametric) preview image

Gridfinity Storage Box by Pred (now parametric)

Pred profile image

Pred

16,462

Nomi Matita Infilabili Personalizzati Parametrico preview image

Nomi Matita Infilabili Personalizzati Parametrico

Urban Mix Studio profile image

Urban Mix Studio

2,764

Customizable U-Hook preview image

Customizable U-Hook

sergep profile image

sergep

39,774

KLAMMA - Locking Cable Clip preview image

KLAMMA - Locking Cable Clip

FH profile image

FH

16,528