Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
curvy:documentation:generator:modules:inputsplineshape [2015/09/21 11:18] – ↷ Page name changed from curvy:documentation:generator:modules:input_spline_shape to curvy:documentation:generator:modules:inputsplineshape Jakedocumentation:generator:modules:inputsplineshape [2023/05/14 21:44] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +{{description>Creates a Shape from a spline.}}
 ====== Input Spline Shape ====== ====== Input Spline Shape ======
 Creates a [[..:datatypes#Shape]] from a [[..:..:splines:curvyspline]] Creates a [[..:datatypes#Shape]] from a [[..:..:splines:curvyspline]]
Line 4: Line 5:
 ===== Slots ===== ===== Slots =====
 === Output === === Output ===
-  * <span em>Shape<span>+  * <span em>Shape</span>
  
 ===== Reference ===== ===== Reference =====
 +====General====
 +== Use Cache == 
 +Makes this module use the cached approximations of the spline's positions and tangents
 +== Use Global Space== 
 +Whether to use local or global coordinates of the input spline's control points.
 +<note>By default, the local coordinates are used. While using the global coordinates might be convenient in some cases, keep in mind that doing so will lead to the module's output to be regenerated whenever the input spline's transform is updated, which will increase your CPU usage</note>
 == Shape== == Shape==
 You can either assign a spline from the scene or create a [[..:resources#Managed Resource|managed]] spline resource. In that case the [[..:..:splines:shapes]] inspector can be accessed right from the module. You can either assign a spline from the scene or create a [[..:resources#Managed Resource|managed]] spline resource. In that case the [[..:..:splines:shapes]] inspector can be accessed right from the module.
Line 13: Line 20:
  
 Note that a Shape by definition is 2D on the X/Y plane only!</note> Note that a Shape by definition is 2D on the X/Y plane only!</note>
 +
 +==== Range ====
 +Lets you define what parts of the source spline are used by subsequent modules. For example, if you set Range from CP0001 to CP0002 of a spline, only that segment is used from the source. If a subsequent module like Shape Extrusion uses a length of 1 then, the segment formed by CP0001 will be used instead of the whole spline. 
 +
 +<note tip>This is particulary useful to clamp object placing or mesh extrusion to a fixed portion of the spline, making it independent from total spline length</note>
 +
 +==Start CP==
 +Defines the starting Control Point. If the source spline is closed and no [[#End CP]] is set, this results in a "shift", i.e. the choosen CP will act as the beginning of the spline.
 +==End CP==
 +Defines the end Control Point.