Home Page > KernelCAD Models > Mathematical Objects > 2D Elements > Line Strips
Line Strip
2D Segment Strips
Segment strip (or 2D Strip) is a chain of joined 2D Curved Segments. Segments in this product are either arcs or segments of straight
lines. Arcs should not be longer
than half of its full circle. Angles at segment joints should not be equal to 0 or
360 degrees.
Programmatically Segment strips can be created using call to the IObjectGenerator.Create method with eType parameter set to eObjTypeArcLineStrip.
The method returns IStripArcLine_KC interface. Segment strips also implement IStrip and IStripTopol
A segment strip can be edited interactively in a 2D editor either by changing coordinates of
joint points or changing properties of a segment. In this release a segment can
have arc radius or arc curvature as its single property.
A strip can be extended with a new segment by using Add command
available
form the Command Page of the Form View..
This operation adds new straight segment to the selected end. If there are no
ends a new point will be created.
To add a new internal segment to a strip use Break command.
"Break" command divides
the segment in two. To break a segment press Break button on Command page of the form
and click the segment at point where you would like to break it.
Selected straight line can be changed to an arc and vice versa by using
Change
Class command available from the context menu. or the Command Page.
A segment strip is called closed if it a loop, i.e. it has no ends, so that the
second end of the last segment is the first end of the first segment. We consider a
loop valid if it has three or more segments. Closed strips have either Clockwise or
Counter Clockwise (CW and CCW) orientation. For cross-sections of Generic 3D
Objectss
only CCW oriented loops are valid. For the case of Surface Of
Revolution only loops with the opposite CW orientation are valid. To see
orientation of a loop use "Strip Order" command available from context
menu (right mouse click in the window).
Loops with self intersections are considered invalid. If this situation
has happened accidentally, software in most cases will work, but covers of
front and back edges will be automatically disabled. If you need them, correct
the shape and switch correspondent check boxes in the "Current object"
> Options dialog back on.
A strip which has a single point and no segments is considered valid. Strips
like that are normally cross-sections of 3D lines. Empty strips (without any
elements) are valid too. New points can be added to a strip using
Add command.
Delete command, which is available from the Command Page deletes currently
selected segment from the strip. Note that the edited strip is assumed to
be always connected, that is why deleting a middle segment from a
non-closed strip will not have any effect. This will not happen if you are
deleting an end segment from a non-closed loop.
Close Loop command from the Command Page adds a new straight segment which
joins ends of the current strip to make it closed. "Close loop"
command does not have any effect for strips which consist of a single
segment.
|