LineCurve¶
- class py3dm.LineCurve¶
- class LineCurve(line: Line)¶
- class LineCurve(start: Point3d, end: Point3d)
Bases:
GeometryPython bindings for the openNURBS
ON_LineCurveclass.- is_valid(text_log: TextLog | None = None) bool¶
Returns
Trueif start!=end and both start and end are valid points.
- set_end_point(new_end: Point3d) bool¶
Forces the curve to end at a specified point.
- Parameters:
new_end (Point3d) – The new end point.
- Returns:
success –
Trueif successful,Falseotherwise.- Return type:
Notes
Some end points cannot be moved. Be sure to check return code.