How to add your knowledge

Polyline (Generic) <Polyline>

    Table of contents
    1. 1. Synopsis
    2. 2. Mixins
    3. 3. Canonicals
    4. 4. Parameters
    5. 5. Rules
    6. 6. Example 1
    7. 7. Example 2

    Synopsis

    This design defines a polyline from a list of points. The polyline instance can be an open or a closed region. Closing the polyline can be accomplished by setting closed? to True or supplying the first point again at the end of pointList. The intersections of the line segments may be filleted by providing a fillet radius greater than zero or by providing a list of fillet radii - one radius for each intersection.

    Points may not currently create a Polyline with intersecting segments. Similarly, problems may also arise if fillets cross lines or other fillets - even if only an intermediate result during filleting. A polylineModifier can be defined to use lines and arcs for the polyline definition to overcome both of these limitations if needed.

    Mixins

    PolylineModifier

    Canonicals

    Name Type Description
    pointList list Specifies the points to be used in creating the polyline.

    Parameters

    Name Type Description
    filletRadius number The radii of all the fillets at the polygon line segment intersections. If the fillet radius should be different for each intersection, use the filletRadii input.
    filletRadii list This is the radius of each fillet at the segment intersections. There should be radius inputs for each point in the pointList. However, if a fillet does not exist at a vertex, then a zero radius value can be used.
    closed? boolean Specifies if the polyline forms a closed perimeter or not.

    Rules

    Name Type Description
    isClosed any A Polyline is closed if the start and end points are coincident - either because closed? is True or the start point is repeated at the end of the list.
    curves any Currently this returns only the unfilleted lines connecting the points.

    See Also: AcadPolyLine

    Example 1

    Name: polyline_Ex01
    Design: acDrawingDocument
    Child Name: outline
    Child Design: :Polyline
    NameTypeSupplied
    pointList list {point(0,0,0), point(0,3,0), point(-1,1,0), point(0.5,1,0.1)}
    color string "blue"

    Example 2

    Name: polyline_Ex02
    Design: acDrawingDocument
    Child Name: outline
    Child Design: :Polyline
    NameTypeSupplied
    pointList list {point(0,0,0), point(0,3,0), point(-1,1,0), point(0.5,1,0.1)}
    closed? boolean True
    color string "blue"