SEARCH
TOOLBOX
LANGUAGES
Spiral

Spiral

From SOFAWiki

Jump to: navigation, search

This engine turns on spiral any topological model

Input Data's

  • f_X0
Rest position of the mechanical object.

Output Data's

  • f_X
Position of the mechanical object once it has been turned on spiral.

Examples

Examples using this engine can be found in :

examples/Components/engine/spiral.scn

where the engine is used as follow:

	<Node >
		<RegularGrid name="topo" n="201 5 2" min="-5 -0.1 -0.1" max="5 0.1 0.1"/>
		<MechanicalObject name="dofs1" />
		<Spiral name="spiral" template="Vec3d" rest_position="@dofs1.position" />
		<Node>
		        <MechanicalObject name="dofs" position="@../spiral.position"/>
			<TriangleModel />
			<LineModel />
			<PointModel />
		</Node>
	</Node>