[Question] How to covert Arc 3D with 3D Polyline [Solved]


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?

Attachments (1)

Type: image/jpeg
Downloaded 29 times
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


https://campus.allplan.com/ uses cookies  -  More information

Accept