[Frage] How to covert Arc 3D with 3D Polyline [Gelöst]


I want to create a 3D polyline with an Arc 3D Shape.

How can I create Arc 3D and use which function value to covert it with 3D Polyline?

Anhänge (1)

Typ: image/jpeg
29-mal heruntergeladen
Größe: 51,82 KiB

Lösung anzeigen Lösung verbergen

Hi,

you can use

def Polygonize(arc: Arc3D, arcSegmentation: int, useArcSegmentation: int, armLength: float, riseValue: float) -> typing.Tuple(bool,
Polyline3D):
"""
Polygonize a Arc3D geometry object

Parameter: arc Arc3D which will be polygonized
arcSegmentation Count of segments
useArcSegmentation if use segment polygonization, set to 0
armLength max length of calculated segment, for rise value polygonization only
riseValue rise value

Return: tuple(bool true = success,
result polyline)
"""

Best regards
Horst

Hi,

you can use

def Polygonize(arc: Arc3D, arcSegmentation: int, useArcSegmentation: int, armLength: float, riseValue: float) -> typing.Tuple(bool,
Polyline3D):
"""
Polygonize a Arc3D geometry object

Parameter: arc Arc3D which will be polygonized
arcSegmentation Count of segments
useArcSegmentation if use segment polygonization, set to 0
armLength max length of calculated segment, for rise value polygonization only
riseValue rise value

Return: tuple(bool true = success,
result polyline)
"""

Best regards
Horst