{{description>Creates a Shape from a spline.}} ====== Input Spline Shape ====== This component is used in example scene(s) such as: 23_CGTube, 24_CGConformPath, 26_CGExtrusionExtendedUV. Creates a [[..:datatypes#Shape|Shape]] from a [[..:..:splines:curvyspline|CurvySpline]]. A Shape must lie on the X/Y plane. ===== Slots ===== ==== Outputs ==== ^ Name ^ Type ^ Description ^ | Shape | [[..:datatypes#Shape|Shape]] | The shape sampled from the spline | ===== Settings ===== ==== General ==== Basic settings for the source spline and how it is read. === Shape === The source spline. Assign an existing spline from the scene, or create a [[..:resources#Managed Resource|managed]] spline resource. When using a managed resource, the [[..:..:splines:shapes|Shapes]] inspector is accessible directly from the module. === Use Cache === When enabled, uses the spline's precomputed position and tangent cache instead of recalculating on the fly. Faster, but slightly less precise. === Use Global Space === When enabled, the spline's control points are read in world space instead of local space. Using global space is convenient when the spline moves in the scene, but causes the module to refresh every time the spline's transform changes, which increases CPU usage. ==== Range ==== Limit the module to a portion of the spline instead of using it in full. For example, setting the range from CP0001 to CP0002 means only that segment is exported. A subsequent module that uses a length of 1 will work over that segment only, not the whole spline. Useful for clamping extrusions or object placement to a fixed portion of the spline, independent of total spline length. === Start CP === The control point where the range begins. On a closed spline and if no End CP is set, this acts as a shift, i.e. the chosen CP becomes the start of shape. === End CP === The control point where the range ends.