Commits

Manfred Moitzi committed 820e30d

added Spline2D Smartpart

Comments (0)

Files changed (6)

.idea/workspace.xml

 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="d10fe02a-bdc8-4418-9494-70adbe7601f3" name="Default" comment="">
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/WavyBox.smt" />
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/WavyBox.ini" />
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/scripts/WavyBox.Part2D.mako" />
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/scripts/WavyBox.Part3D.mako" />
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/scripts/WavyBox.PartDialog.mako" />
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/scripts/WavyBox.PartParameter.mako" />
+      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Spline2.smt" />
+      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Spline2.ini" />
+      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/scripts/Spline2.Part2D.mako" />
+      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/scripts/Spline2.PartDialog.mako" />
+      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/scripts/Spline2.PartParameter.mako" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/vectors2.mako" afterPath="$PROJECT_DIR$/lib/vectors2.mako" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/vectors3.mako" afterPath="$PROJECT_DIR$/lib/vectors3.mako" />
     </list>
     <ignored path="mako2smt.iws" />
     <ignored path=".idea/workspace.xml" />
   <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
   <component name="FileEditorManager">
     <leaf>
-      <file leaf-file-name="HE-A.Part3D.mako" pinned="false" current="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/ibeams/scripts/HE-A.Part3D.mako">
+      <file leaf-file-name="Spline2.Part2D.mako" pinned="false" current="true" current-in-tab="true">
+        <entry file="file://$PROJECT_DIR$/scripts/Spline2.Part2D.mako">
           <provider selected="true" editor-type-id="text-editor">
-            <state line="0" column="4" selection-start="4" selection-end="4" vertical-scroll-proportion="-0.0">
+            <state line="31" column="7" selection-start="725" selection-end="725" vertical-scroll-proportion="0.5238569">
               <folding />
             </state>
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="WavyBox.Part3D.mako" pinned="false" current="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/scripts/WavyBox.Part3D.mako">
+      <file leaf-file-name="Spline2.PartParameter.mako" pinned="false" current="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/scripts/Spline2.PartParameter.mako">
           <provider selected="true" editor-type-id="text-editor">
-            <state line="119" column="0" selection-start="2693" selection-end="2693" vertical-scroll-proportion="-35.48">
-              <folding />
-            </state>
-          </provider>
-        </entry>
-      </file>
-      <file leaf-file-name="WavyBox.PartDialog.mako" pinned="false" current="true" current-in-tab="true">
-        <entry file="file://$PROJECT_DIR$/scripts/WavyBox.PartDialog.mako">
-          <provider selected="true" editor-type-id="text-editor">
-            <state line="43" column="0" selection-start="1329" selection-end="1329" vertical-scroll-proportion="0.72664016">
+            <state line="30" column="15" selection-start="778" selection-end="778" vertical-scroll-proportion="-20.4">
               <folding />
             </state>
           </provider>
   <component name="IdeDocumentHistory">
     <option name="changedFiles">
       <list>
-        <option value="$PROJECT_DIR$/ibeams/scripts/HE-A.data.mako" />
-        <option value="$PROJECT_DIR$/ibeams/scripts/HE-A.Part3D.mako" />
-        <option value="$PROJECT_DIR$/ibeams/scripts/HE-A.PartDialog.mako" />
         <option value="$PROJECT_DIR$/ibeams/scripts/HE-A.PartParameter.mako" />
         <option value="$PROJECT_DIR$/ibeams/scripts/HE-B.data.mako" />
         <option value="$PROJECT_DIR$/ibeams/scripts/HE-B.Part3D.mako" />
         <option value="$PROJECT_DIR$/scripts/WavyBox.Part3D.mako" />
         <option value="$PROJECT_DIR$/scripts/WavyBox.PartParameter.mako" />
         <option value="$PROJECT_DIR$/scripts/WavyBox.PartDialog.mako" />
+        <option value="$PROJECT_DIR$/scripts/Spline2.PartParameter.mako" />
+        <option value="$PROJECT_DIR$/scripts/Spline2.PartDialog.mako" />
+        <option value="$PROJECT_DIR$/scripts/Spline2.Part2D.mako" />
       </list>
     </option>
   </component>
       <sortByType />
     </navigator>
     <panes>
+      <pane id="Scope" />
       <pane id="ProjectPane">
         <subPane>
           <PATH>
           </PATH>
         </subPane>
       </pane>
-      <pane id="Scope" />
     </panes>
   </component>
   <component name="PropertiesComponent">
     <property name="FileHistory.org.zmlx.hg4idea.provider.HgHistoryProvider_treeWidth3" value="952" />
     <property name="restartRequiresConfirmation" value="true" />
     <property name="FileHistory.org.zmlx.hg4idea.provider.HgHistoryProvider_treeOrder3" value="3" />
+    <property name="options.splitter.details.proportions" value="0.2" />
     <property name="options.searchVisible" value="true" />
-    <property name="options.splitter.details.proportions" value="0.2" />
   </component>
   <component name="PyConsoleOptionsProvider">
     <option name="myPythonConsoleState">
       <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
       <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
       <window_info id="Structure" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2218543" sideWeight="0.67045456" order="4" side_tool="true" content_ui="tabs" />
-      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2831126" sideWeight="0.67045456" order="0" side_tool="false" content_ui="combo" />
+      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.28642383" sideWeight="0.67045456" order="0" side_tool="false" content_ui="combo" />
       <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.39962122" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
       <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
       <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32954547" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
     </breakpoint-manager>
   </component>
   <component name="editorHistoryManager">
-    <entry file="file://$PROJECT_DIR$/ibeams/scripts/HE-B.data.mako">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="0" column="4" selection-start="4" selection-end="4" vertical-scroll-proportion="-0.0" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/ibeams/scripts/HE-A.PartParameter.mako">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="0" column="4" selection-start="4" selection-end="4" vertical-scroll-proportion="-0.0" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/ibeams/scripts/HE-A.PartDialog.mako">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="0" column="4" selection-start="4" selection-end="4" vertical-scroll-proportion="-0.0" />
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/scripts/Klothoide.PartParameter.mako">
       <provider selected="true" editor-type-id="text-editor">
         <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
         <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/scripts/CAVIC2.Part2D.mako">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/lib/clothoid.mako">
       <provider selected="true" editor-type-id="text-editor">
         <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
         <state line="47" column="40" selection-start="1121" selection-end="1121" vertical-scroll-proportion="-28.0" />
       </provider>
     </entry>
+    <entry file="file://$PROJECT_DIR$/scripts/WavyBox.Part3D.mako">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="119" column="0" selection-start="2693" selection-end="2693" vertical-scroll-proportion="0.88170975">
+          <folding />
+        </state>
+      </provider>
+    </entry>
     <entry file="file://$PROJECT_DIR$/ibeams/scripts/HE-A.Part3D.mako">
       <provider selected="true" editor-type-id="text-editor">
         <state line="0" column="4" selection-start="4" selection-end="4" vertical-scroll-proportion="-0.0">
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/scripts/WavyBox.Part3D.mako">
+    <entry file="file://$PROJECT_DIR$/scripts/CAVIC2.Part2D.mako">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="119" column="0" selection-start="2693" selection-end="2693" vertical-scroll-proportion="-35.48">
+        <state line="3" column="0" selection-start="0" selection-end="125" vertical-scroll-proportion="-2.04">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/scripts/WavyBox.PartDialog.mako">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="24" column="39" selection-start="824" selection-end="824" vertical-scroll-proportion="0.4055666">
           <folding />
         </state>
       </provider>
     </entry>
     <entry file="file://$PROJECT_DIR$/scripts/WavyBox.PartParameter.mako">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="9" column="29" selection-start="211" selection-end="211" vertical-scroll-proportion="0.15208748">
+        <state line="15" column="0" selection-start="153" selection-end="393" vertical-scroll-proportion="0.25347912">
           <folding />
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/scripts/WavyBox.PartDialog.mako">
+    <entry file="file://$PROJECT_DIR$/scripts/Spline2.PartParameter.mako">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="43" column="0" selection-start="1329" selection-end="1329" vertical-scroll-proportion="0.72664016">
+        <state line="30" column="15" selection-start="778" selection-end="778" vertical-scroll-proportion="-20.4">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/scripts/Spline2.PartDialog.mako">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="24" column="17" selection-start="672" selection-end="672" vertical-scroll-proportion="0.4055666">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/scripts/Spline2.Part2D.mako">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="31" column="7" selection-start="725" selection-end="725" vertical-scroll-proportion="0.5238569">
           <folding />
         </state>
       </provider>
+[Parts]
+PartParameter = Spline2.PartParameter.mako
+Part2D = Spline2.Part2D.mako
+PartDialog = Spline2.PartDialog.mako
+
+<?xml version="1.0" encoding="UTF-8"?>
+<ScriptObject><Version>1.0</Version>
+<ScriptVersion>1.0</ScriptVersion>
+<Name><![CDATA[Spline2]]></Name>
+<LibPath><![CDATA[]]></LibPath>
+<Type>1</Type>
+<SubType>0</SubType>
+<UUID>b09ca99d-58e4-4cbb-acc6-63599e77c34e</UUID>
+<Language>de</Language>
+<StringTable>
+</StringTable>
+<RelativeOrigin>0.5000000000000000 0.5000000000000000 0.5000000000000000</RelativeOrigin>
+<AbsoluteOrigin>0.0000000000000000 0.0000000000000000 0.0000000000000000</AbsoluteOrigin>
+<SeparateExecParts>1</SeparateExecParts>
+<Group>0</Group>
+<AutoPlaceResourceObjects>1</AutoPlaceResourceObjects>
+<AutoReferenceBox>1</AutoReferenceBox>
+<Scale>1</Scale>
+<Use3DPreview>0</Use3DPreview>
+<Link>0</Link>
+<Consider>0</Consider>
+<SimplePlacing>0</SimplePlacing>
+<HeightReference>0</HeightReference>
+<HeightOffset>0.0000000000000000</HeightOffset>
+<UnitFactor>1.0000000000000000</UnitFactor>
+<PositionNumber>1</PositionNumber>
+<IsLocked>0</IsLocked>
+<IsEncrypted>0</IsEncrypted>
+<Key><![CDATA[]]></Key>
+<DependentFiles>
+</DependentFiles>
+<Parameters>
+<Type>1</Type>
+<AutoUpdateValues>1</AutoUpdateValues>
+<MapPenToColor>0</MapPenToColor>
+<Parameter>
+<Identifier>angle</Identifier>
+<Name><![CDATA[Tangentenwinkel]]></Name>
+<Group><![CDATA[]]></Group>
+<Type>2</Type>
+<Attribute>-1</Attribute>
+<SystemID>0</SystemID>
+<Expandable>0</Expandable>
+<Hidden>0</Hidden>
+<Lock>0</Lock>
+<Export>0</Export>
+<Save>1</Save>
+<CurrentValue>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+</CurrentValue>
+<ValueArray>
+<Dimension>1</Dimension>
+<Bounds>
+<Bound Expandable="0">20</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+</Bounds>
+<Values>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>23.719009585299</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>330.524110996754</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>333.434948822922</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>304.470751823369</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>303.621508442905</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+</Values>
+</ValueArray>
+</Parameter>
+<Parameter>
+<Identifier>autosmooth</Identifier>
+<Name><![CDATA[Tangentenautomatik]]></Name>
+<Group><![CDATA[]]></Group>
+<Type>4</Type>
+<Attribute>-1</Attribute>
+<SystemID>0</SystemID>
+<Expandable>0</Expandable>
+<Hidden>0</Hidden>
+<Lock>0</Lock>
+<Export>0</Export>
+<Save>1</Save>
+<CurrentValue>
+<Value>
+<Type>4</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+</CurrentValue>
+</Parameter>
+<Parameter>
+<Identifier>pcount</Identifier>
+<Name><![CDATA[Anzahl St�tzpunkte]]></Name>
+<Group><![CDATA[]]></Group>
+<Type>5</Type>
+<Attribute>-1</Attribute>
+<SystemID>0</SystemID>
+<Expandable>0</Expandable>
+<Hidden>0</Hidden>
+<Lock>0</Lock>
+<Export>0</Export>
+<Save>1</Save>
+<CurrentValue>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>4.000000000000</DoubleValue>
+</Value>
+</CurrentValue>
+</Parameter>
+<Parameter>
+<Identifier>REF_X</Identifier>
+<Name><![CDATA[X-Abmessung]]></Name>
+<Group><![CDATA[]]></Group>
+<Type>1</Type>
+<Attribute>-1</Attribute>
+<SystemID>1</SystemID>
+<Expandable>0</Expandable>
+<Hidden>0</Hidden>
+<Lock>0</Lock>
+<Export>0</Export>
+<Save>1</Save>
+<CurrentValue>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>1.000000000000</DoubleValue>
+</Value>
+</CurrentValue>
+</Parameter>
+<Parameter>
+<Identifier>REF_Y</Identifier>
+<Name><![CDATA[Y-Abmessung]]></Name>
+<Group><![CDATA[]]></Group>
+<Type>1</Type>
+<Attribute>-1</Attribute>
+<SystemID>2</SystemID>
+<Expandable>0</Expandable>
+<Hidden>0</Hidden>
+<Lock>0</Lock>
+<Export>0</Export>
+<Save>1</Save>
+<CurrentValue>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>1.000000000000</DoubleValue>
+</Value>
+</CurrentValue>
+</Parameter>
+<Parameter>
+<Identifier>REF_Z</Identifier>
+<Name><![CDATA[Z-Abmessung]]></Name>
+<Group><![CDATA[]]></Group>
+<Type>1</Type>
+<Attribute>-1</Attribute>
+<SystemID>3</SystemID>
+<Expandable>0</Expandable>
+<Hidden>0</Hidden>
+<Lock>0</Lock>
+<Export>0</Export>
+<Save>1</Save>
+<CurrentValue>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>1.000000000000</DoubleValue>
+</Value>
+</CurrentValue>
+</Parameter>
+<Parameter>
+<Identifier>spline_color</Identifier>
+<Name><![CDATA[Splinefarbe]]></Name>
+<Group><![CDATA[]]></Group>
+<Type>7</Type>
+<Attribute>-1</Attribute>
+<SystemID>0</SystemID>
+<Expandable>0</Expandable>
+<Hidden>0</Hidden>
+<Lock>0</Lock>
+<Export>0</Export>
+<Save>1</Save>
+<CurrentValue>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>1.000000000000</DoubleValue>
+</Value>
+</CurrentValue>
+</Parameter>
+<Parameter>
+<Identifier>spline_layer</Identifier>
+<Name><![CDATA[Layer]]></Name>
+<Group><![CDATA[]]></Group>
+<Type>10</Type>
+<Attribute>-1</Attribute>
+<SystemID>0</SystemID>
+<Expandable>0</Expandable>
+<Hidden>0</Hidden>
+<Lock>0</Lock>
+<Export>0</Export>
+<Save>1</Save>
+<CurrentValue>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>3700.000000000000</DoubleValue>
+</Value>
+</CurrentValue>
+</Parameter>
+<Parameter>
+<Identifier>spline_pen</Identifier>
+<Name><![CDATA[Splinestift]]></Name>
+<Group><![CDATA[]]></Group>
+<Type>8</Type>
+<Attribute>-1</Attribute>
+<SystemID>0</SystemID>
+<Expandable>0</Expandable>
+<Hidden>0</Hidden>
+<Lock>0</Lock>
+<Export>0</Export>
+<Save>1</Save>
+<CurrentValue>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>3.000000000000</DoubleValue>
+</Value>
+</CurrentValue>
+</Parameter>
+<Parameter>
+<Identifier>spline_stroke</Identifier>
+<Name><![CDATA[Splinestrichart]]></Name>
+<Group><![CDATA[]]></Group>
+<Type>9</Type>
+<Attribute>-1</Attribute>
+<SystemID>0</SystemID>
+<Expandable>0</Expandable>
+<Hidden>0</Hidden>
+<Lock>0</Lock>
+<Export>0</Export>
+<Save>1</Save>
+<CurrentValue>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>1.000000000000</DoubleValue>
+</Value>
+</CurrentValue>
+</Parameter>
+<Parameter>
+<Identifier>tangent_color</Identifier>
+<Name><![CDATA[Tangentenfarbe]]></Name>
+<Group><![CDATA[]]></Group>
+<Type>7</Type>
+<Attribute>-1</Attribute>
+<SystemID>0</SystemID>
+<Expandable>0</Expandable>
+<Hidden>0</Hidden>
+<Lock>0</Lock>
+<Export>0</Export>
+<Save>1</Save>
+<CurrentValue>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>6.000000000000</DoubleValue>
+</Value>
+</CurrentValue>
+</Parameter>
+<Parameter>
+<Identifier>tangent_length</Identifier>
+<Name><![CDATA[Tangentenl�nge]]></Name>
+<Group><![CDATA[]]></Group>
+<Type>1</Type>
+<Attribute>-1</Attribute>
+<SystemID>0</SystemID>
+<Expandable>0</Expandable>
+<Hidden>0</Hidden>
+<Lock>0</Lock>
+<Export>0</Export>
+<Save>1</Save>
+<CurrentValue>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.800000000000</DoubleValue>
+</Value>
+</CurrentValue>
+</Parameter>
+<Parameter>
+<Identifier>x</Identifier>
+<Name><![CDATA[X Koordinaten]]></Name>
+<Group><![CDATA[]]></Group>
+<Type>6</Type>
+<Attribute>-1</Attribute>
+<SystemID>0</SystemID>
+<Expandable>0</Expandable>
+<Hidden>0</Hidden>
+<Lock>0</Lock>
+<Export>0</Export>
+<Save>1</Save>
+<CurrentValue>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+</CurrentValue>
+<ValueArray>
+<Dimension>1</Dimension>
+<Bounds>
+<Bound Expandable="0">20</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+</Bounds>
+<Values>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>-1.126976848528</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.353892557264</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>1.332850890598</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>2.893892557264</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>6.032819767857</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>8.268741835337</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>7.486746687354</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>-0.286105600000</DoubleValue>
+</Value>
+</Values>
+</ValueArray>
+</Parameter>
+<Parameter>
+<Identifier>y</Identifier>
+<Name><![CDATA[Y Koordinaten]]></Name>
+<Group><![CDATA[]]></Group>
+<Type>6</Type>
+<Attribute>-1</Attribute>
+<SystemID>0</SystemID>
+<Expandable>0</Expandable>
+<Hidden>0</Hidden>
+<Lock>0</Lock>
+<Export>0</Export>
+<Save>1</Save>
+<CurrentValue>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+</CurrentValue>
+<ValueArray>
+<Dimension>1</Dimension>
+<Bounds>
+<Bound Expandable="0">20</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+<Bound Expandable="0">0</Bound>
+</Bounds>
+<Values>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>2.143800599956</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.291717266623</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>1.508800599956</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>-5.018089813442</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>-3.589984750987</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>-2.100304490970</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+<Value>
+<Type>6</Type>
+<StringValue></StringValue>
+<DoubleValue>0.000000000000</DoubleValue>
+</Value>
+</Values>
+</ValueArray>
+</Parameter>
+</Parameters>
+<Script><PartParameter>
+<Enable>1</Enable>
+<Text><![CDATA[! Spline2.smt
+! (c) 2012, Manfred Moitzi, smartparts.tzb-moitzi.at
+! License: GPLv3, www.fsf.org
+
+VALUES "pcount" RANGE ( 3 , 20 ] 
+
+IF GLOB_UI_BUTTON_ID = 1001 THEN 
+   dx = x [ pcount ] - x [ pcount - 1 ] 
+   dy = y [ pcount ] - y [ pcount - 1 ] 
+   PARAMETERS pcount = pcount + 1 
+   PARAMETERS x [ pcount ] = x [ pcount - 1 ] + dx 
+   PARAMETERS y [ pcount ] = y [ pcount - 1 ] + dy 
+ENDIF 
+
+IF GLOB_UI_BUTTON_ID = 1002 THEN 
+   PARAMETERS pcount = pcount - 1 
+ENDIF 
+
+IF GLOB_UI_BUTTON_ID = 1003 THEN 
+   dx = ( x [ pcount ] - x [ 1 ] ) / ( pcount - 1 ) 
+   dy = ( y [ pcount ] - y [ 1 ] ) / ( pcount - 1 ) 
+   IF dx <> 0 THEN 
+      alpha = ATAN ( dy / dx ) 
+      ELSE 
+      IF dy > 0 THEN 
+         alpha = 90 
+         ELSE 
+         alpha = -90 
+      ENDIF 
+   ENDIF 
+   PARAMETERS angle [ 1 ] = alpha 
+   FOR i = 2 TO pcount 
+      PARAMETERS x [ i ] = x [ 1 ] + dx * ( i - 1 ) 
+      PARAMETERS y [ i ] = y [ 1 ] + dy * ( i - 1 ) 
+      PARAMETERS angle [ i ] = alpha 
+   NEXT i 
+ENDIF ]]></Text>
+</PartParameter>
+<PartMaster>
+<Enable>0</Enable>
+<Text><![CDATA[]]></Text>
+</PartMaster>
+<Part2D>
+<Enable>1</Enable>
+<Text><![CDATA[! Spline2.smt
+! (c) 2012, Manfred Moitzi, smartparts.tzb-moitzi.at
+! License: GPLv3, www.fsf.org
+id = 1 
+
+FOR n = 1 TO pcount 
+   PUT x [ n ] , y [ n ] , angle [ n ] 
+   
+   HANDLE2 0 , y [ n ] , id , x [ n ] , 1 
+   HANDLE2 x [ n ] , y [ n ] , id , x [ n ] , 2 
+   HANDLE2 -1 , y [ n ] , id , x [ n ] , 3 
+   
+   HANDLE2 x [ n ] , 0 , id , y [ n ] , 1 
+   HANDLE2 x [ n ] , y [ n ] , id , y [ n ] , 2 
+   HANDLE2 x [ n ] , -1 , id , y [ n ] , 3 
+   id = id + 1  
+   
+   IF NOT ( autosmooth ) THEN 
+      dx = COS ( angle [ n ] ) * tangent_length 
+      dy = SIN ( angle [ n ] ) * tangent_length 
+      HANDLE2 x [ n ] + tangent_length , y [ n ] , id , angle [ n ] , 4 ! base handle
+      HANDLE2 x [ n ] + dx , y [ n ] + dy , id , angle [ n ] , 5 ! moving handle
+      HANDLE2 x [ n ] , y [ n ] , id , angle [ n ] , 6 ! center of angle
+      IF PREV_MODE THEN 
+         COLOR tangent_color 
+         PREV_LINE2 x [ n ] - dx , y [ n ] - dy , x [ n ] + dx , y [ n ] + dy 
+      ENDIF 
+      id = id + 1 
+   ENDIF 
+NEXT n 
+
+flags = autosmooth * 2 
+COLOR spline_color 
+PEN spline_pen 
+STROKE spline_stroke 
+LAYER spline_layer 
+SPLINE2 pcount , flags , GET ( 3 * pcount ) 
+
+END 
+!--------------------------------------------------]]></Text>
+</Part2D>
+<Part3D>
+<Enable>0</Enable>
+<Text><![CDATA[]]></Text>
+</Part3D>
+<PartDialog>
+<Enable>1</Enable>
+<Text><![CDATA[! Spline2.smt
+! (c) 2012, Manfred Moitzi, smartparts.tzb-moitzi.at
+! License: GPLv3, www.fsf.org
+
+I_PALETTE `2D Spline` , 1 , 
+"(c) 2012 Manfred Moitzi" , "link=http://smartparts.tzb-moitzi.at TZBM" , 
+"General Public License v3 (GPLv3)" , "link=http://www.gnu.org/licenses/ Lizenz" 
+
+LOCK pcount 
+
+I_SECTION "Eigenschaften" 
+I_INFIELD "pcount" , 0 , 0 , 1 , 1 
+I_INFIELD "autosmooth" , 0 , 0 , 1 , 1 
+I_INFIELD "tangent_length" , 0 , 0 , 1 , 1 
+I_SECTION_END 
+
+I_SECTION "Format" 
+I_INFIELD "spline_pen" , 0 , 0 , 1 , 1 
+I_INFIELD "spline_stroke" , 0 , 0 , 1 , 1 
+I_INFIELD "spline_color" , 0 , 0 , 1 , 1 
+I_INFIELD "spline_layer" , 0 , 0 , 1 , 1 
+I_INFIELD "tangent_color" , 0 , 0 , 1 , 1 
+I_SECTION_END 
+
+I_SECTION "Punkt" 
+I_ROW "Punkte" , 1 
+I_BUTTON I_FUNCTION , `anf�gen` , 0 , 0 , 1 , 35 , 1001 
+I_BUTTON I_FUNCTION , `entfernen` , 0 , 0 , 1 , 35 , 1002 
+I_BUTTON I_FUNCTION , `zur�cksetzen` , 0 , 0 , 1 , 35 , 1003 
+I_ROW_END 
+I_SECTION_END ]]></Text>
+</PartDialog>
+</Script>
+<Drawing2D>
+</Drawing2D>
+<Drawing3D>
+</Drawing3D>
+<Pictures>
+<ImportBitmaps>0</ImportBitmaps>
+<ManageInList>0</ManageInList>
+<Picture Name="0" Type="png" Width="146" Height="159"><![CDATA[89504E470D0A1A0A0000000D49484452000000920000009F080600000012E58050000000017352474200AECE1CE90000000467414D410000B18F0BFC6105000000097048597300000EC300000EC301C76FA864000004FC49444154785EED9ADB6E1B311403FDFF3FED226D1DD8892F5A894722B513A0401F5647D470564E825CAE7C414040E02298C108085C1109092404104982912188840312028824C1C81044C2010901449260640822E1808400224930320491704042009124181982483820218048128C0C41241C9010402409468620120E480820920423431009072404104982912188840312028824C1C81044C2010901449260640822E1808400224930320491704042009124181982483820218048128C0C41241C9010402409468620120E480820920423431009072404104982912188840312028824C1C81044C2010901449260640822E1808400224930320491704042009124181982483820218048128C0C41241C9010402409468620120E480820920423431009072404104982912188840312028824C1C81044C2010901449260640822E1808400224930320491704042009124181982483820218048128C0C5926D2E572B9BEFB4735590496887413E815AA7BC1B2709E37ED74913E49745FC59167CF5BA1C7C9A78AD42346CF1A0FB4E74A314DA4112146D69EABCE75A79D2AD2C8319169845EFDDA2922A92450CDA9C77ABE1DA689A442FB25135F7E04CA5BA9B84590E9A422A98F5D21A73AE3D9E695DE489585732B79A95A2E52D5712B25ADCABCF3DC32916614CDADE4A366A948D5C744A46AC2EDF3E34542A6F6B22B9F2C1169C6C7DA0DCA2E22FDFC939ACAD22B6697895411F6D9CC74919EBD74897F46B38548A932CDBCB9AB5F6CB9482BE0248AB48253A54C25225506DEE1E36D3789BE3A41A4C9D6EF28915CA4559056ED7BD4C1949C47CF5522524F08C59A84EF931232F67621FD685B096AE5DE2DF077BE8DA437D26A50CE22AD66D322FAE833B21B697591CE65AD66332A49CBFA6D44FA7BBD1AFE19AEB3E02D82B43E2311C905969B482E5C5A6518794E26D24808D55A47915467739FB39D482E329DE93692FCD4E606CC41243726336EB3E11BC9A1B87B500E791C32CC90E781FBE8866ED056E739E36D34FCD1E6086D65A6957B8F5E08A3EB873EDA56BFFDAF0EBF2AD7AA7D472550AC472405C5FFBF0C45A40E98CED7F8EC6CB3F7EBA8AB7C49F78DE4FEF6CDCC3773AF72233A3740A44E70B76548F48F44974829577975C9291C06DF95A6E5DD22354D5FFC50A54848F458EE619192005666AD9474F1FBD7B57D97485D3B2D5A54211312FD2EF3904815A5CCF04B597C2A836ACE8745AA0E54315F55BE6A4EC51957CF6C16291DE268FED1F5AB8BAEDEFF9048D561AAE7F7CAD0BBAEFA3C4EF39B44DA09E491B3DC9E557E8FE554BE32CB47918E805706AB9EF5EE5C08749C7E9348C7C766ACB817E6E7FF334EE093F2AD48BBDE463EF8F749F2522424DAA7E41927792A1212CD40BFD71EBF4442A2BD0A9E759A0791906816F6FDF6F9160989F62B77E6893EFEF83F330C7BE51240A4DCEEAC922392551DB9611029B73BABE4886455476E1844CAEDCE2A392259D5911B069172BBB34A8E485675E48641A4DCEEAC922392551DB9611029B73BABE4886455476E1844CAEDCE2A392259D5911B069172BBB34A8E485675E48641A4DCEEAC922392551DB9611029B73BABE4886455476E1844CAEDCE2A392259D5911B069172BBB34A8E485675E48641A4DCEEAC922392551DB9611029B73BABE4886455476E1844CAEDCE2A392259D5911B069172BBB34A8E485675E48641A4DCEEAC922392551DB9611029B73BABE4886455476E1844CAEDCE2A392259D5911B069172BBB34A8E485675E486F903E54EA404BB5D5B390000000049454E44AE426082]]></Picture>
+</Pictures>
+</ScriptObject>

scripts/Spline2.Part2D.mako

+! Spline2.smt
+! (c) 2012, Manfred Moitzi, smartparts.tzb-moitzi.at
+! License: GPLv3, www.fsf.org
+id = 1
+
+FOR n = 1 to pcount
+PUT x[n], y[n], angle[n]
+${xy_handle('n')}
+IF NOT(autosmooth) THEN
+    ${tangent_handle('n')}
+ENDIF
+NEXT n
+
+flags = autosmooth * 2
+COLOR spline_color
+PEN spline_pen
+STROKE spline_stroke
+LAYER spline_layer
+SPLINE2 pcount, flags, GET(3 * pcount)
+
+END
+!--------------------------------------------------
+<%def name="xy_handle(n)">
+    HANDLE2 0, y[${n}], id, x[${n}], 1
+    HANDLE2 x[${n}], y[${n}], id, x[${n}], 2
+    HANDLE2 -1, y[${n}], id, x[${n}], 3
+
+    HANDLE2 x[${n}], 0, id, y[${n}], 1
+    HANDLE2 x[${n}], y[${n}], id, y[${n}], 2
+    HANDLE2 x[${n}], -1, id, y[${n}], 3
+    id = id + 1
+</%def>
+
+<%def name="tangent_handle(n)">
+    dx = COS(angle[${n}]) * tangent_length
+    dy = SIN(angle[${n}]) * tangent_length
+    HANDLE2 x[${n}]+tangent_length, y[${n}], id, angle[${n}], 4 ! base handle
+    HANDLE2 x[${n}]+dx, y[${n}]+dy, id, angle[${n}], 5 ! moving handle
+    HANDLE2 x[${n}], y[${n}], id, angle[${n}], 6 ! center of angle
+    IF PREV_MODE THEN
+        COLOR tangent_color
+        PREV_LINE2 x[${n}]-dx, y[${n}]-dy, x[${n}]+dx, y[${n}]+dy
+    ENDIF
+    id = id + 1
+</%def>

scripts/Spline2.PartDialog.mako

+! Spline2.smt
+! (c) 2012, Manfred Moitzi, smartparts.tzb-moitzi.at
+! License: GPLv3, www.fsf.org
+
+I_PALETTE `2D Spline`, 1,
+"(c) 2012 Manfred Moitzi", "link=http://smartparts.tzb-moitzi.at TZBM",
+"General Public License v3 (GPLv3)", "link=http://www.gnu.org/licenses/ Lizenz"
+
+LOCK pcount
+
+I_SECTION "Eigenschaften"
+I_INFIELD "pcount", 0, 0, 1, 1
+I_INFIELD "autosmooth", 0, 0, 1, 1
+I_INFIELD "tangent_length", 0, 0, 1, 1
+I_SECTION_END
+
+I_SECTION "Format"
+I_INFIELD "spline_pen", 0, 0, 1, 1
+I_INFIELD "spline_stroke", 0, 0, 1, 1
+I_INFIELD "spline_color", 0, 0, 1, 1
+I_INFIELD "spline_layer", 0, 0, 1, 1
+I_INFIELD "tangent_color", 0, 0, 1, 1
+I_SECTION_END
+
+I_SECTION "Punkte"
+I_ROW "Punkte" , 1
+I_BUTTON I_FUNCTION , `anfügen` , 0 , 0 , 1 , 35 , 1001
+I_BUTTON I_FUNCTION , `entfernen` , 0 , 0 , 1 , 35 , 1002
+I_BUTTON I_FUNCTION , `zurücksetzen` , 0 , 0 , 1 , 35 , 1003
+I_ROW_END
+I_SECTION_END

scripts/Spline2.PartParameter.mako

+! Spline2.smt
+! (c) 2012, Manfred Moitzi, smartparts.tzb-moitzi.at
+! License: GPLv3, www.fsf.org
+
+VALUES "pcount" RANGE (3, 20]
+
+IF GLOB_UI_BUTTON_ID = 1001 THEN
+    dx = x [ pcount ] - x [ pcount-1 ]
+    dy = y [ pcount ] - y [ pcount-1 ]
+    PARAMETERS pcount = pcount + 1
+    PARAMETERS x [ pcount ] = x [ pcount - 1 ] + dx
+    PARAMETERS y [ pcount ] = y [ pcount - 1 ] + dy
+ENDIF
+
+IF GLOB_UI_BUTTON_ID = 1002 THEN
+    PARAMETERS pcount = pcount - 1
+ENDIF
+
+IF GLOB_UI_BUTTON_ID = 1003 THEN
+    dx = ( x [ pcount ] - x [ 1 ] ) / ( pcount - 1 )
+    dy = ( y [ pcount ] - y [ 1 ] ) / ( pcount - 1 )
+    if dx <> 0 THEN
+        alpha = ATAN(dy/dx)
+    ELSE
+        IF dy > 0 THEN
+            alpha = 90
+        ELSE
+            alpha =-90
+        ENDIF
+    ENDIF
+    PARAMETERS angle[1] = alpha
+    FOR i = 2 TO pcount
+        PARAMETERS x [ i ] = x [ 1 ] + dx * ( i - 1 )
+        PARAMETERS y [ i ] = y [ 1 ] + dy * ( i - 1 )
+        PARAMETERS angle [ i ] = alpha
+    NEXT i
+ENDIF