chainProfile()

Zusammenfassung

Verkettet eine Liste von Profilkurven miteinander. Dabei ist tol die Kettentoleranz.

Syntax

chainProfile ( segs As List, _
               tol As Number ) As List
Argument Typ Beschreibung
segs List Liste der Bauteile, wobei jedes Bauteil eine "Kurve" ist
tol Number Die Kettentoleranz

Beispiel 1

Child Line_1 As :Line
    thruPoint1 = Point(0,0,0)
    thruPoint2 = Point(2,0,0)
End Child

Child Line_2 As :Line
    thruPoint1 = Point(2,0,0)
    thruPoint2 = Point(1,2,0)

End Child

Child Line_3 As :Line
    thruPoint1 = Point(1,2,0)
    thruPoint2 = Point(0,0,0)

End Child
Intent >chainProfile({Line_1, Line_2, Line_3}, 0.001)
--> {{Root.Document_1.Root.Line_1, Root.Document_1.Root.Line_2, Root.Document_1.Root.Line_3}, {True, True, True}, True}

Beispiel 2

Child Line_4 As :Line
    thruPoint1 = Point(10,10,0)
    thruPoint2 = Point(12,10,0)
End Child

Child Line_5 As :Line
    thruPoint1 = Point(12,10,0)
    thruPoint2 = Point(10.75,12,0)

End Child

Child Line_6 As :Line
    thruPoint1 = Point(11.25,12,0)
    thruPoint2 = Point(10,10,0)

End Child
Intent >chainProfile({Line_4, Line_5, Line_6}, 0.001)
--> {{Root.Document_1.Root.Line_6, Root.Document_1.Root.Line_4, Root.Document_1.Root.Line_5}, {True, True, True}, False}
Intent >chainProfile({Line_4, Line_5, Line_6}, 1)
--> {{Root.Document_1.Root.Line_4, Root.Document_1.Root.Line_5, Root.Document_1.Root.Line_6}, {True, True, True}, True}