Arc3D¶
The value type Arc3D is used to create the input controls for a 3D arc
Syntax¶
<Parameter>
<Name>Arc3DRow</Name>
<Text>_</Text>
<ValueType>Row</ValueType>
<Parameter>
<Name>Arc3</Name>
<Text>Arc</Text>
<Value>Arc3D(CenterPoint(7000, 5000, 1000) XDirection(1, 0, 0) ZAxis(0, 0, 1) MinorRadius(1000) MajorRadius(2000) AxisAngle(0.78539816339744828) StartAngle(0.78539816339744828) EndAngle(4.7123889803846897) IsCounterClockwise(1))</Value>
<ValueType>Arc3D</ValueType>
</Parameter>
</Parameter>
If each coordinate is to be displayed in a separate line, the syntax looks like this
<Parameter>
<Name>Arc3</Name>
<Text>Arc</Text>
<Value>Arc3D(CenterPoint(7000, 5000, 1000) XDirection(1, 0, 0) ZAxis(0, 0, 1) MinorRadius(1000) MajorRadius(2000) AxisAngle(0.78539816339744828) StartAngle(0.78539816339744828) EndAngle(4.7123889803846897) IsCounterClockwise(1))</Value>
<ValueType>Arc3D</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 Arc3D value type is described in the example GeometryElementsInput located in
…\etc\Examples\PythonParts\PaletteExamples\GeometryElementsInput.pyp…\etc\PythonPartsExampleScripts\PaletteExamples\GeometryElementsInput.py