Docs Home
/
KCL Standard Library
/
Functions
/
solver::line

solver::lineFunction in std::solver

Create a straight line segment in a sketch.

Arguments

NameTypeDescriptionRequired
startPoint2dThe segment's start point in sketch coordinates.Yes
endPoint2dThe segment's end point in sketch coordinates.Yes
constructionboolWhether this segment is construction geometry rather than part of the modeled profile.No

Returns

Segment - A segment in a sketch created in a sketch block. It may be a line, arc, point, or other segment type.

Examples

Found a typo?