# Trying To Create Agave Plant

6 messages
Open this post in threaded view
|

## Trying To Create Agave Plant

 I'm stuck on this. I'm trying to make an agave plant,  similar to this.   I want to create 1 leaf, and then I can rotate and copy it as I please. I can break all the values into variables and size the leaves appropriately during the loop iterations. You can tell it is essentially an elongated kite shape, it tapers wider from the base then tapers back to a point. This is what I have so far: union() {   linear_extrude(height = 50, center=false, scale = 1.3) {     difference() {       circle(5);       translate([3, 3, 0])         circle(8);     }     }   //rotate([3, -3, 0])   translate([0, 0, 50])   linear_extrude(height = 10, center=false, scale = 0) {     difference() {       circle(6.5);       translate([3, 3, 0])         circle(9.1);     }     } } Issue being the scale here causes the extrusion to "tip" one way or the other. This is acceptable enough for me for the bottom section but for the top section it leans toward the Z-axis and looks awkward. I've tried tipping the cross section back but I have to keep changing parameters and it feels awkward and hacky. -- Sent from: http://forum.openscad.org/_______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Open this post in threaded view
|

## Re: Trying To Create Agave Plant

Open this post in threaded view
|

## Re: Trying To Create Agave Plant

 Sorry, I meant to center the base shape.Na(o) sexta, 21/12/2018, 12:26, Ronaldo Persiano <[hidden email]> escreveu:Have you checked center=true? _______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Open this post in threaded view
|

## Re: Trying To Create Agave Plant

 Now, I have checked it on my computer. That is what I got:module base()   translate([3,3,0])    difference() {      circle(5);      translate([3, 3, 0])         circle(8);    }  union() {  linear_extrude(height = 50, scale = 1.3) base();  translate([0, 0, 50])    linear_extrude(height = 10, scale = 0)       scale(1.3) base();}  _______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org