Skip to content

Commit

Permalink
Merge pull request #17 from WILLATRONIX/master
Browse files Browse the repository at this point in the history
Added tool presets + shape tool
  • Loading branch information
Moulberry committed May 19, 2024
2 parents 98f64ae + 03ff732 commit 7a6c242
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
- [Target Info](editor/targetinfo.md)
- [History](editor/history.md)
- [World Properties](editor/worldproperties.md)
- [Tool Presets](editor/toolpresets.md)
- [Tools](tools/intro.md)
- [Selection Tools](tools/selection/intro.md)
- [Box Select](tools/selection/boxselect.md)
Expand All @@ -47,6 +48,7 @@
- [Weld](tools/drawing/weld.md)
- [Melt](tools/drawing/melt.md)
- [Text](tools/drawing/text.md)
- [Shape](tools/drawing/shape.md)
- [Heightmap Tools](tools/heightmap/intro.md)
- [Elevation](tools/heightmap/elevation.md)
- [Slope](tools/heightmap/slope.md)
Expand Down
7 changes: 7 additions & 0 deletions src/editor/toolpresets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Tool Presets

Tool Presets allow for easy saving and loading of tool settings and configurations. Tool presets are saved in the axiom configuration at `.minecraft/config/axiom/tool_presets` in NBT format.

## Saving Presets

To save presets, first set the configuration of the tool you'd like to save. Clicking the plus icon next to the presets drop-down will display a text field. Here you can name the preset. After clicking save, your preset will appear in the drop-down.
36 changes: 36 additions & 0 deletions src/tools/drawing/shape.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
## Shape Tool

The Shape Tool lets you make geometric shapes with your active block. Since these shapes are computed mathematically, they can adjust to any angle and transformation, giving you lots of control over their look. When you 'place' these objects, you can use the gizmo to reposition them and rotate them at any angle.

Each shape lets you tweak its XZ or XYZ dimensions. In addition to controlling rotation using the gizmo, you can also alter the angle sliders for yaw, pitch, and roll in the 'advanced options' dropdown. Plus, there are options for making the shapes hollow, placing only the outer layer.

| Shapes      |
|-------------|
| Sphere      |
| Cuboid      |
| Octahedron  |
| Supersphere |
| Cylinder    |
| Tube        |
| Cone        |
| Pyramid     |
| Dodecahedron|
| Icosahedron |

| Option       | Description                                                       |
|--------------|-------------------------------------------------------------------|
| Separate XYZ | When enabled, all three scale axes can be modified separately.    |
| Diameter     | This slider controls the size or scale of the selected shape.     |
| Advanced     | Allows you to directly alter the yaw, pitch and roll via sliders. |

| Modifier | Description                           |
|----------|---------------------------------------|
| Hollow   | Generates the shape filled with air   |
| Metaball | Applies a melting effect to the shape |

| Placement           | Description                                                 |
|---------------------|-------------------------------------------------------------|
| Gizmo               | Switch between a global or local [gizmo](/editor/gizmos.md) |
| Pivot               | Switch between centred gizmo or base gizmo position |

**Keep Existing** Disables the overriding of other blocks when placing the shape.

0 comments on commit 7a6c242

Please sign in to comment.