Adds Bezier Curves and Ellipse tools to the walls layer. This gives you the ability to generate wall segments along a curve quickly and easily. You can also increase or decrease the number of wall segments used along the curve.
Cubic Bezier Curve | Quadratic Bezier Curve |
---|---|
Ellipse With Slicing | Rectangle with Segmented Sides |
---|---|
You can quickly remove and disable the current tool by Ctrl + Right-Clicking anywhere on the screen. This is useful if you've just placed a curved wall and want to jump back into making regular walls again without having to go and click the tool's toggle button.
Supports both a Quadratic and Cubic curve to give differing forms of curve generation. The Quadratic curve may be of very niche use but gives a very fast way to create a simple curve. The Cubic curve is very powerful though, and provides a great to create "just the right" curve.
Generates a simple ellipse that can be squished and stretched. You can cut a "slice" out of the ellipse to create an opening, and you can specify the arc offset of the walls so the segments are position at the right point along the curve.
You can place a perfect circle by holding the Alt key while placing or adjusting the ellipse tool.
You can have the tool grow the circle out from a center point by holding the Ctrl key while placing the ellipse tool. Useful if you know where the center of a room is and just want to grow the wall tool out from there.
Generates walls in a rectangle. This also allows you to specify the number of segments for each side, including having a side with no walls!
You can place a perfect square by holding the Alt key while placing or adjusting the ellipse tool.
You can have the tool grow the rectangle out from a center point by holding the Ctrl key while placing the ellipse tool. Useful if you know where the center of a room is and just want to grow the wall tool out from there.
For the Quadratic Bezier Curve, Ellipse, and Rectangle tools, you can now plot points along the shape to fit the placement tool to. Unfortunately Cubic Bezier curves can not be easily approximated, and therefore it is not traceable. Also, ellipses cannot be generated by fewer than 5 points and each points needs to be precisely placed, so the trace tool will only generate perfect circles using 2 points (the first being the center and the second being the edge) or 3 points (all three points are on the edge of the circle).
To place points, simply Left-Click on the canvas. You can also drag an existing point by Left-Click Drag. To remove a point, simply Ctrl + Left-Click
If you have configured a tool to match that perfect circle for a tower but have a couple more identical towers to do, you can simply Ctrl + Left-Click the canvas to place the tool using the most recent configuration.
You can find all the latest updates in the CHANGELOG
This module requires NPM in order to be compiled as it uses TypeScript and Gulp.
/path/to/repo/dragonflagon-fvtt/df-curvy-walls/
npm install
npx gulp
dist/
folder.If you want to have the compiled module output to the FoundryVTT installation instead of to the dist/
folder, you can do the following:
package.json
file."devDir": "..."
value to your own installation of Foundry's module folder.npx gulp dev
to build the project and have the result copied to your Foundry Modules folder.