Spline3D¶
The value type Spline3D is used to create the input controls for a 3D spline
Syntax¶
<Parameter>
<Name>Spline3DRow</Name>
<Text>_</Text>
<ValueType>Row</ValueType>
<Parameter>
<Name>Spline3</Name>
<Text>Point</Text>
<Value>Spline3D(StartVector(1, 1, 1)EndVector(1, 1, 1)Points((7000,7000,0)(8000,8100,1000)(10000,8500,3000)))</Value>
<ValueType>Spline3D</ValueType>
</Parameter>
</Parameter>
If each coordinate is to be displayed in a separate line, the syntax looks like this
<Parameter>
<Name>Spline3</Name>
<Text>Point</Text>
<Value>Spline3D(StartVector(1, 1, 1)EndVector(1, 1, 1)Points((7000,7000,0)(8000,8100,1000)(10000,8500,3000)))</Value>
<ValueType>Spline3D</ValueType>
</Parameter>
The result is
Value unit¶
The unit for the default values assigned to the coordinate values in <Value> is mm.
Example¶
The implementation of the Spline3D value type is described in the example GeometryElementsInput located in
…\etc\Examples\PythonParts\PaletteExamples\GeometryElementsInput.pyp…\etc\PythonPartsExampleScripts\PaletteExamples\GeometryElementsInput.py