c4d.LineObject
¶
c4d.
LineObject
¶
c4d.PointObject
LineObject.
__init__
(
pcnt
,
scnt
)
¶
Allocates a line object.
Parameters: |
|
---|---|
Return type: | |
Returns: |
The new line object. |
LineObject.
Triangulate
(
regular
)
¶
Convert the
LineObject
into polygons.
Parameters: | regular ( float ) – The size of polygons to fill the inside of the line object with, or 0.0 to connect the contour with no filling. |
---|---|
Return type: | c4d.PolygonObject |
Returns: | The created polygon object. |
LineObject.
GetSegmentCount
(
)
¶
Get the number of segments.
Return type: | int |
---|---|
Returns: | The number of elements in the segments array. |