{{description>Easy spline extrusion: procedural generation of spline mesh with Curvy Splines, a powerful Unity spline tool.}} ====== Shape Extrusion ====== Use this module to extrude a [[..:datatypes#Shape]] along a [[..:datatypes#Path]], creating a [[..:datatypes#Volume]]. ===== Slots ===== === Input === * Path - the path to extrude along * Shape - the cross shape to extrude === Output === * Volume - the resulting volume * Volume (Hollow) - the resulting hollow volume ===== Reference ===== ==== Path ==== == Range == Defines the portion of the [[#Path]] to extrude. For closed paths //From// will repeat endless, while it's clamped for open paths. == Resolution == Defines how smooth the extrusion will get. Higher values result in more segments being created. == Optimize == If enabled, the extrusion will segmented by Path's curvation instead of using a fixed distance. == Angle Threhold== //Only when optimized// Sets the curvation angle after which new segments are being created ==== Cross ==== == Range == Defines the portion of the [[#Cross]] shape to extrude. For closed shapes //From// will repeat endless, while it's clamped for open shapes. == Resolution == Defines how smooth the extrusion will get. Higher values result in more vertices being created.

== Optimize == If enabled, the extrusion will segmented by Shape's curvation instead of using a fixed distance. == Angle Threhold== //Only when optimized// Sets the curvation angle after which new vertices are being created ==Include CPs== If enabled, vertices are guaranteed to be created for all the Cross shape's Control Points. ==Shift== Defines a shift to be applied on the output volume's Cross. This shift is used when interpolating values (position, normal, ...) along the volume's surface. * **None** - the start of the [[#Shape]] is used. * **By Orientation** - the starting point is shifted to the collision point of the Path's orientation with the cross shape * **Custom** - the starting point is shifted by a user defined value ==ReverseNormal== Reverses the normals of the generated Volume. Does not impact [[#hollow|Volume Hollow]], if any. ==== Scale ==== Parameters from this section are used to scale the extrusion ==Mode== **Simple** mode scales by an arbitrary value, while **Advanced** mode uses curves. ==Reference== Determines on what range the scale is applied: * **Self** - the scale is applied over the [[#Path]]'s active range * **Source** - the scale is applied over the [[#Path]]'s total length ==Offset== //Advanced scale mode only// Scale is applied starting at an offset ==Uniform Scaling== If enabled, the same scale is applied to both X and Y axis of the cross [[#Shape]] vertices ==Scale== The (base) value to multiply the cross [[#Shape]] vertices ==Multiplier== //Advanced scale mode only// A scale multiplier. It is expressed as a curve, which X axis is the [[documentation:glossary#relative_distance|Relative Distance]] (between 0 and 1) of a point on the path, and its Y axis is the scale multiplier ==== Hollow ==== A shrinked clone of the resulting volume will be created simultaneous with the "outer" volume. The value defines the percentage the "inner" volume will be shrinked. This is most useful for creating tubes! ==ReverseNormal== Reverses the normals of the hollow volume. Does not impact Volume.