> For the complete documentation index, see [llms.txt](https://ezedits.gitbook.io/ezedits/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ezedits.gitbook.io/ezedits/commands/deformation.md).

# Deformation

Deformation commands deform the contents of the given region into new shapes and forms.

All sub-commands are under `//ezdeform` (`//ezd`)\
e.g `//ezdeform hexagonalize`

***

## List of subcommands

***

#### ![](/files/VUd2foaHEU217sx3G91R)

### ` //ezdeform`` `` `<mark style="color:orange;">`hexagonalize`</mark>

<details>

<summary><mark style="color:blue;">Hexagonalize</mark></summary>

**`//ezdeform hexagonalize [`**<mark style="color:orange;">**`size`**</mark>**`] [`**<mark style="color:orange;">**`air_gap`**</mark>**`] [`**<mark style="color:orange;">**`x_rotation`**</mark>**`] [`**<mark style="color:orange;">**`z_rotation`**</mark>**`] [`**<mark style="color:orange;">**`offset_angle`**</mark>**`] [`**<mark style="color:orange;">**`-w <profile>`**</mark>**`]`**

Deforms the region into hexagonal columns.

* <mark style="color:orange;">**Size**</mark> (Default: 12): Sets the size of hexagons.

![](/files/dUnaO1UjPtUjSqi4b7zV)

* <mark style="color:orange;">**Air Gap**</mark> (Default: 0.0): Defines the width of the air gap between columns.

![](/files/7EFutc5mZ46vndPnVoLd)

* <mark style="color:orange;">**X Rotation**</mark> (Default: 0.0): Sets the column rotation angle along the X-axis, in degrees.

![](/files/VUd2foaHEU217sx3G91R)

* <mark style="color:orange;">**Z Rotation**</mark> (Default: 0.0): Sets the column rotation angle along the Z-axis, in degrees.

![](/files/YXGyee9H8YrS2LlMkYed)

* <mark style="color:orange;">**Offset Angle**</mark> (Default: 60.0): Adjusts the offset angle, controlling the shape (range: 0-90 degrees).

![](/files/yz5I9BlrK3Iqm0HE6LJR)

* <mark style="color:orange;">**-w**</mark>: See [Smoothblocks](/ezedits/smoothblocks/smoothblocks.md).

</details>

***

#### ![](/files/2uKoUo9Vo4tM9S6dayTk)

### ` //ezdeform`` `` `<mark style="color:orange;">`noise`</mark>

<details>

<summary><mark style="color:blue;">Noise</mark></summary>

**`//ezdeform noise <`**<mark style="color:orange;">**`noise`**</mark>**`> [`**<mark style="color:orange;">**`strength`**</mark>**`] [`**<mark style="color:orange;">**`-z <zoom>`**</mark>**`] [`**<mark style="color:orange;">**`-s <seed>`**</mark>**`] [`**<mark style="color:orange;">**`-w <profile>`**</mark>**`]`**

Deforms region according the given noise field.

* <mark style="color:orange;">**Noise**</mark>: Specifies the type of noise to use for deformation.
* <mark style="color:orange;">**Strength**</mark> (Default: 2.0): Sets the strength of the noise effect.

![](/files/recGotwTjhvJ2iKUgh5G)

* <mark style="color:orange;">**Zoom**</mark> (Default: 1): Determines the scale of the noise.

![](/files/KQEQ5g8ki27k0CC3Vo04)

* <mark style="color:orange;">**-s \<seed>**</mark> (Default: -1): Optional seed for the noise pattern.
* <mark style="color:orange;">**-h**</mark>: When used, only deforms the region horizontally.

![](/files/jlTXYyPRuFJSB9U9AjtP)

* <mark style="color:orange;">**-v**</mark>: When used, only deforms the region vertically.

![](/files/Qq3egLav0q9LbYfB0y7q)

* <mark style="color:orange;">**-w**</mark>: See [Smoothblocks](/ezedits/smoothblocks/smoothblocks.md).

</details>

***

#### ![](/files/nrMroAnSbHGstE9t2I4E)

### ` //ezdeform`` `` `<mark style="color:orange;">`rotate`</mark>

<details>

<summary><mark style="color:blue;">Rotate</mark></summary>

**`//ezdeform rotate <`**<mark style="color:orange;">**`angle`**</mark>**`> [`**<mark style="color:orange;">**`-o`**</mark>**`] [`**<mark style="color:orange;">**`-w <profile>`**</mark>**`]`**

Rotates region clockwise with the the center of rotation being the center of the selection (or the player's head position using -o) and with the player aim defining the axis of rotation.

* <mark style="color:orange;">**Angle**</mark>: Sets the angle of rotation, in degrees.

![](/files/nrMroAnSbHGstE9t2I4E)

* <mark style="color:orange;">**-o**</mark>: When used, uses the player's position as the center of rotation instead of the selection's center.
* <mark style="color:orange;">**-w**</mark>: See [Smoothblocks](/ezedits/smoothblocks/smoothblocks.md).

</details>

***

#### ![](/files/mcp8D5OFhizY0nbVvil8)

### ` //ezdeform`` `` `<mark style="color:orange;">`voronoialize`</mark>

<details>

<summary><mark style="color:blue;">Voronoialize</mark></summary>

**`//ezdeform voronoialize [`**<mark style="color:orange;">**`size`**</mark>**`] [`**<mark style="color:orange;">**`air_gap`**</mark>**`] [`**<mark style="color:orange;">**`-s <seed>`**</mark>**`] [`**<mark style="color:orange;">**`-w <profile>`**</mark>**`]`**

Deforms region to randomly distributed voronoi cells.

* <mark style="color:orange;">**Size**</mark> (Default: 12): Determines the size of the voronoi cells.

![](/files/EN7epJZD37q6KdTDiR0O)

* <mark style="color:orange;">**Air Gap**</mark> (Default: 0.0): Specifies the width of the air gap between cells.

![](/files/mcp8D5OFhizY0nbVvil8)

* <mark style="color:orange;">**-s \<seed>**</mark> (Default: -1): Optional seed for generating the pattern.
* <mark style="color:orange;">**-w \<profile>**</mark>: See [Smoothblocks](/ezedits/smoothblocks/smoothblocks.md).

</details>

***

#### ![](/files/e1k8KGQ3ta3zleSasgLb)

### ` //ezdeform`` `` `<mark style="color:orange;">`voronoialize2`</mark>

<details>

<summary><mark style="color:blue;">Alternative Voronoialize</mark></summary>

**`//ezdeform voronoialize2 <`**<mark style="color:orange;">**`amount`**</mark>**`> [`**<mark style="color:orange;">**`air_gap`**</mark>**`] [`**<mark style="color:orange;">**`-s <seed>`**</mark>**`] [`**<mark style="color:orange;">**`-r <uniformity>`**</mark>**`] [`**<mark style="color:orange;">**`-n <normalOffset>`**</mark>**`] [`**<mark style="color:orange;">**`-w <profile>`**</mark>**`]`**

Deforms the region to Voronoi cells distributed along the surface shape. Could more accurately preserve the original shape compared to the first voronoialize.

* <mark style="color:orange;">**Amount**</mark>: Specifies the cell amount in the voronoi pattern. A small amount naturally leads to larger cells and vice versa.

![](/files/JLpk38KXS7jXrGOVYu3J)

* <mark style="color:orange;">**Air Gap**</mark> (Default: 0.0): Determines the width of the air gap between cells.

![](/files/e1k8KGQ3ta3zleSasgLb)

* <mark style="color:orange;">**-s \<seed>**</mark> (Default: -1): Optional seed for generating the pattern. `-1` will randomly generate a seed.
* <mark style="color:orange;">**-r \<uniformity>**</mark> (Default: 15): Sets the voronoi seed point repulsion iteration count. 0 means fully random. 15 iterations lead to a more uniform/even appearance.

![](/files/c2sMuv3ElbHgGdG9bj6j)

* <mark style="color:orange;">**-n \<normalOffset>**</mark> (Default: 5): Technical parameter. Adjusts how deep the cell seed is positioned into the shape. Larger/Thicker shapes could benefit from a larger value. Thinner shapes should use a smaller value if the generation breaks down.
* <mark style="color:orange;">**-w \<profile>**</mark>: See [Smoothblocks](/ezedits/smoothblocks/smoothblocks.md).

</details>

***

#### ![](/files/fBtUZtOxRx6hOtnRxQHr)

### ` //ezdeform`` `` `<mark style="color:orange;">`voxelize`</mark>

<details>

<summary><mark style="color:blue;">Voxelize</mark></summary>

**`//ezdeform voxelize <`**<mark style="color:orange;">**`scales`**</mark>**`> <`**<mark style="color:orange;">**`gap`**</mark>**`> <`**<mark style="color:orange;">**`distortion`**</mark>**`> [`**<mark style="color:orange;">**`-i <primary>`**</mark>**`] [`**<mark style="color:orange;">**`-j <secondary>`**</mark>**`] [`**<mark style="color:orange;">**`-s <seed>`**</mark>**`] [`**<mark style="color:orange;">**`-hv`**</mark>**`] [`**<mark style="color:orange;">**`-w <profile>`**</mark>**`]`**

Deforms region into larger cuboid shapes.

* <mark style="color:orange;">**Scales**</mark> (Default: 3): Sets the scale of the cuboids.

![](/files/fBtUZtOxRx6hOtnRxQHr)

You may put three comma-separated values to define the dimension for each axis.\
![](/files/jYLl7NFCfaAPIwE1Meuz)

* <mark style="color:orange;">**Gap**</mark> (Default: 0.0): Defines the width of the air gap between voxels.

![](/files/WsTxqubVA7XgdvI0BJZy)

* <mark style="color:orange;">**Distortion**</mark> (Default: 0.0): Adjusts the strength of random grid distortion (range: 0-1).
* <mark style="color:orange;">**-s \<seed>**</mark> (Default: -1): Optional seed for the distortion.

![](/files/uGXqZATEiA1Y0adCcrku)

* <mark style="color:orange;">**-i \<primary>**</mark> (Default: y): Specifies the y-axis direction for grid.

![](/files/PNu83gSC0f39iTZ1Qohu)

* <mark style="color:orange;">**-j \<secondary>**</mark> (Default: -x): Specifies the x-axis direction of the grid.

![](/files/eTsNinlAt1B64gn87fqj)

* <mark style="color:orange;">**-h**</mark>: When used, only voxelizes horizontally.

![](/files/lmB0386CmJRWm2RGFOT4) ![](/files/ic5JL0i7FDVrHHqp19rn)

* <mark style="color:orange;">**-v**</mark>: When used, only voxelizes vertically.

![](/files/CPjEM1gePImiPyOaUPRB) ![](/files/kXUZADNoIJJnH4y8HnSV)

* <mark style="color:orange;">**-w**</mark>: See [Smoothblocks](/ezedits/smoothblocks/smoothblocks.md).

</details>

***
