2D Spline Shapes
The following //ezsp subcommands feature splines from predefined 2D shapes swept along the spline path.
Syntax
//ezspline 2d <shape> <pattern> <radii> [-t <angle>] [-p <kbParameters>] [-q <quality>] [-n <normalMode>] [-h]
<shape>: The 2D shape defines the cross-section of the spline. Choose one from the list below.<pattern>: Specifies the block(s) the spline is made out of, e.g.clay.
The remaining arguments are outlined on the Common Parameters subpage.
List of <shape>s
<shape>s
//ezspline 2d`` Circle (Ci)(//ezspline basic)
//ezspline 2d`` Circle (Ci)(//ezspline basic)Circle Spline
//ezsp 2d Circle <pattern> <radii> [-t <angle>] [-p <kbParameters>] [-q <quality>] [-n <normalMode>] [-h]
Generates a simple cylindrical spline along the spline path.
Cylinder shape has no parameters.
//ezsp basic is an alias of //ezsp 2d Circle.

//ezspline 2d`` Square (Sq)
//ezspline 2d`` Square (Sq)Square Spline
//ezsp 2d Square <pattern> <radii> [-t <angle>] [-p <kbParameters>] [-q <quality>] [-n <normalMode>] [-h]
Generates a simple square-shaped spline along the spline path.
Square shape has no parameters.

//ezspline 2d`` Diamond (Di)
//ezspline 2d`` Diamond (Di)Diamond Spline
//ezsp 2d Diamond <pattern> <radii> [-t <angle>] [-p <kbParameters>] [-q <quality>] [-n <normalMode>] [-h]
Generates a simple diamond-shaped spline along the spline path.
Diamond shape has no parameters.

//ezspline 2d`` RoundedSquare (RS)
//ezspline 2d`` RoundedSquare (RS)RoundedSquare Spline
//ezsp 2d RoundedSquare <pattern> <radii> [-t <angle>] [-p <kbParameters>] [-q <quality>] [-n <normalMode>] [-h]
Generates a simple rounded square-shaped spline along the spline path.
RoundedSquare shape has no parameters.

//ezspline 2d`` SuperCircle (SC)
//ezspline 2d`` SuperCircle (SC)SuperCircle Spline
//ezsp 2d SuperCircle([Exponent:<value>]) <pattern> <radii> [-t <angle>] [-p <kbParameters>] [-q <quality>] [-n <normalMode>] [-h]
Generates a spline with the given super-circle shape as the cross-section along the spline path.
[Exponent:<value>](E) (Default: 2.0)Determines the shape.
below 1 are stars, 1 is a diamond, 2 is a circle, and above 2 approaches a square shape
Example:
//ezsp 2d SuperCircle(Exponent:0.5) clay 15
This GIF goes through running the above command with the following set of exponent values 0.5, 1.0, 2.0, 3.0, 99.0:


//ezspline 2d`` CirclesCircle (CC) (//ezspline rope)
//ezspline 2d`` CirclesCircle (CC) (//ezspline rope)CirclesCircle Spline
//ezsp 2d CirclesCircle([Count:<value>],[Filled:<boolean>]) <pattern> <radii> [-t <angle>] [-p <kbParameters>] [-q <quality>] [-n <normalMode>] [-h]
Generates multiple cylinder splines next to each other along the spline path.
[Count:<value>](C) (Default: 3)Determines how many circles there are in the circle of circles. Must be between 1 and 12.
[Filled:<boolean>](F) (Default: false)Determines whether the inside should be filled or not.
See https://www.desmos.com/calculator/ht9tak6nri
Example:
//ezsp 2d CC(Count:1) clay 15
The following GIF has been generated by just running the above command, and incrementing the Count parameter each time, from 1 up to 10 in this case:

//ezspline 2d CirclesCircle`` -t 90 ``clay 10
The following spline can be generated using the above command, which is simply applying the twist parameter:

Or by using //ezspline rope clay 10
//ezspline rope is an alias for //ezspline 2d CirclesCircle -t 90

//ezspline 2d`` Polygon (Po)
//ezspline 2d`` Polygon (Po)Polygon Spline
//ezsp 2d Polygon([Sides:<value>]) <pattern> <radii> [-t <angle>] [-p <kbParameters>] [-q <quality>] [-n <normalMode>] [-h]
Generates a polygon-shaped spline along the spline path.
[Sides:<value>](S) (Default: 5):The number of sides of the polygon. 3 means triangle, 4 means square, 5 means pentagon, etc. Must be at least 3.
Example:
//ezsp 2d Polygon(Sides:3) clay 15
The GIF has been generated by running the above command, and incrementing the count parameter each time, from 3 up to 8 in this case:


//ezspline 2d`` Rectangle (Re)
//ezspline 2d`` Rectangle (Re)Rectangle Spline
//ezsp 2d Rectangle([X1:<value>],[Y1:<value>],[X2:<value>],[Y2:<value>]) <pattern> <radii> [-t <angle>] [-p <kbParameters>] [-q <quality>] [-n <normalMode>] [-h]
Generates a rectangle-shaped spline along the spline path.
[X1:<value>](Default: -1.0):Defines the x-position of the first corner of the rectangle. Between -1 and 1.
[Y1:<value>](Default: -1.0):Defines the y-position of the first corner of the rectangle. Between -1 and 1.
[X2:<value>](Default: 1.0):Defines the x-position of the second corner of the rectangle. Between -1 and 1.
[Y2:<value>](Default: 1.0):Defines the y-position of the second corner of the rectangle. Between -1 and 1.
(!) We provide a neat little interactive plot, in which you can position your rectangle and see what values match up to it and vice-versa: https://www.desmos.com/calculator/jqyaujpdsk
Example:
The "Hi" from above has been generated by running the following set of commands:
//ezsp 2d``Re(x1:-1.0,y1:-1.0,x2:-0.6,y2:1.0)``clay 12(The left column from the H)
//ezsp 2d``Re(x1:-0.2,y1:-1.0,x2:0.2,y2:1.0)``clay 12(The left column from the H)
//ezsp 2d``Re(x1:-1.0,y1:-0.2,x2:0.2,y2:0.2)``clay 12(The horizontal line from the H)
//ezsp 2d``Re(x1:0.6,y1:-1.0,x2:1.0,y2:0.2)``clay 12(The column of the i)
//ezsp 2d``Re(x1:0.6,y1:0.6,x2:1.0,y2:1.0)``clay 12(The dot of the i)

//ezspline 2d`` Star (St)
//ezspline 2d`` Star (St)Star Spline
//ezsp 2d Star([Sides:<value>],[Depth:<value>]) <pattern> <radii> [-t <angle>] [-p <kbParameters>] [-q <quality>] [-n <normalMode>] [-h]
Generates a star-shaped spline along the spline path.
[Sides:<value>](S) (Default: 5):The number of sides of the polygon. 3 means triangle, 4 means square, 5 means pentagon, etc. Must be at least 3.
[Depth:<value>](D) (Default: 0.5):Sets how deep the folds of the star cut towards the center. Between 0 and 1.
0 imitates polygons,
Values close to 1 lead to extremely thin spikes.

//ezspline 2d`` Flower (Fl)
//ezspline 2d`` Flower (Fl)Flower Spline
//ezsp 2d Flower([Count:<value>],[Depth:<value>]) <pattern> <radii> [-t <angle>] [-p <kbParameters>] [-q <quality>] [-n <normalMode>] [-h]
Generates a flower-shaped spline along the spline path.
[Count:<value>](S) (Default: 5):The number of petals of the flower.
[Depth:<value>](D) (Default: 0.5):Sets how deep the folds in between two petals of the flower cut towards the center. Between 0 and 1.
Last updated









