🛠️
ezEdits Wiki
English
English
  • ezEdits Docs
  • Getting Started
    • Installing
    • Permissions
  • Palettes
    • Palettes Explained
    • Default Palettes
    • Palette Commands
  • Noise
    • Noise Explained
    • Noise Commands
  • Masks & Patterns
    • Masks
    • Patterns
  • Brushes & Tools
    • Brushes
      • Palette Shift Brush
      • Palette Gradient Brushes
      • Placement Brushes
    • Superwand
  • Commands
    • Deformation
    • Flowfields
    • Noisegen
    • Region
    • Placement
      • Available Structures
      • Primary+Secondary Alignment
      • Placement Parameters
      • Scatter Parameters
      • Array Parameters
    • Selections
    • Shapes
    • Smoothing
    • Spline
      • Common Parameters
      • 2D Spline Shapes
      • 3D Spline Shapes
      • Advanced Spline Shapes
    • Stained Glass
    • Surface
    • Survival
    • Texturing
Powered by GitBook
On this page
  • Syntax
  • List of <shape>s
  • //ezspline 2d`` Circle (Ci)(//ezspline basic)
  • //ezspline 2d`` Square (Sq)
  • //ezspline 2d`` Diamond (Di)
  • //ezspline 2d`` RoundedSquare (RS)
  • //ezspline 2d`` SuperCircle (SC)
  • //ezspline 2d`` CirclesCircle (CC) (//ezspline rope)
  • //ezspline 2d`` Polygon (Po)
  • //ezspline 2d`` Rectangle (Re)
  • //ezspline 2d`` Star (St)
  • //ezspline 2d`` Flower (Fl)
  1. Commands
  2. Spline

2D Spline Shapes

PreviousCommon ParametersNext3D Spline Shapes

Last updated 25 days ago

The following //ezsp subcommands feature splines from predefined 2D shapes swept along the spline path.


Syntax

//ezspline 2d <shape> <pattern>

  • <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 subpage.


List of <shape>s


//ezspline 2d`` Circle (Ci)(//ezspline basic)

Circle Spline

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)

Square Spline

Generates a simple square-shaped spline along the spline path.

  • Square shape has no parameters.


//ezspline 2d`` Diamond (Di)

Diamond Spline

Generates a simple diamond-shaped spline along the spline path.

  • Diamond shape has no parameters.


//ezspline 2d`` RoundedSquare (RS)

RoundedSquare Spline

Generates a simple rounded square-shaped spline along the spline path.

  • RoundedSquare shape has no parameters.


//ezspline 2d`` SuperCircle (SC)

SuperCircle Spline

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)

CirclesCircle Spline

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.

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

Or by using //ezspline rope clay 10

//ezspline rope is an alias for //ezspline 2d CirclesCircle -t 90


//ezspline 2d`` Polygon (Po)

Polygon Spline

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)

Rectangle Spline

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.

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)

Star Spline

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)

Flower Spline

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.


//ezsp 2d Circle

//ezsp 2d Square

//ezsp 2d Diamond

//ezsp 2d RoundedSquare

//ezsp 2d SuperCircle([Exponent:<value>])

See

//ezsp 2d CirclesCircle([Count:<value>],[Filled:<boolean>])

See

The following spline can be generated using the above command, which is simply applying the :

//ezsp 2d Polygon([Sides:<value>])

See

//ezsp 2d Rectangle([X1:<value>],[Y1:<value>],[X2:<value>],[Y2:<value>])

(!) 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:

//ezsp 2d Star([Sides:<value>],[Depth:<value>])

(!) See

//ezsp 2d Flower([Count:<value>],[Depth:<value>])

(!) See

<pattern>
<radii>
[-t <angle>]
[-p <kbParameters>]
[-q <quality>]
[-n <normalMode>]
[-h]
<pattern>
<radii>
[-t <angle>]
[-p <kbParameters>]
[-q <quality>]
[-n <normalMode>]
[-h]
<pattern>
<radii>
[-t <angle>]
[-p <kbParameters>]
[-q <quality>]
[-n <normalMode>]
[-h]
<pattern>
<radii>
[-t <angle>]
[-p <kbParameters>]
[-q <quality>]
[-n <normalMode>]
[-h]
<pattern>
<radii>
[-t <angle>]
[-p <kbParameters>]
[-q <quality>]
[-n <normalMode>]
[-h]
https://www.desmos.com/calculator/vewqf5sc0x
<pattern>
<radii>
[-t <angle>]
[-p <kbParameters>]
[-q <quality>]
[-n <normalMode>]
[-h]
https://www.desmos.com/calculator/ht9tak6nri
twist parameter
<pattern>
<radii>
[-t <angle>]
[-p <kbParameters>]
[-q <quality>]
[-n <normalMode>]
[-h]
https://www.desmos.com/calculator/eemibllcg8
<pattern>
<radii>
[-t <angle>]
[-p <kbParameters>]
[-q <quality>]
[-n <normalMode>]
[-h]
https://www.desmos.com/calculator/jqyaujpdsk
<pattern>
<radii>
[-t <angle>]
[-p <kbParameters>]
[-q <quality>]
[-n <normalMode>]
[-h]
https://www.desmos.com/calculator/gqclaezcxc
<pattern>
<radii>
[-t <angle>]
[-p <kbParameters>]
[-q <quality>]
[-n <normalMode>]
[-h]
https://www.desmos.com/calculator/tah7yjltyr
<radii>
[-t <angle>]
[-p <kbParameters>]
[-q <quality>]
[-n <normalMode>]
[-h]
Common Parameters
Cover

Circle (Ci)

Cover

Square (Sq)

Cover

Diamond (Di)

Cover

RoundedSquare (RS)

Cover

SuperCircle (SC)

Cover

CirclesCircle (CC)

Cover

Polygon (Po)

Cover

Rectangle (Re)

Cover

Star (St)

Cover

Flower (Fl)