[Pregunta] How to covert Arc 3D with 3D Polyline [Guardado]


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?

Adjuntos (1)

Type: image/jpeg
Descargado 29 veces
Size: 51,82 KiB

Show solution Hide solution

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