How to add your knowledge

Planar Profile <PlanarProfile>

    Synopsis

    A PlanarProfile is planar region enclosed within an outer boundary curve, and may have inner "hole" boundaries. It is typically used to form profiles for extruding, revolving, or sweeping. Although most designs which require a profile can simply take a set of curves defining the profile, PlanarProfile is the only Design that allows holes to be created within the profile. PlanarProfile also allows a greater variety of creation methods, such as planar sections through solids.

    Mixins

    PlanarProfileModifier

    SurfaceMixin

    InkStrokedMixin

    Canonicals

    Name Type Description
    curves list A list of curves forming the outer boundary of the profile.
    holes list A list of lists of curves, with each sub-list forming the boundary of a hole in the profile. Holes are subtracted from the region formed by the outer boundary, so they may cross the outer boundary.

    Parameters

    Name Type Description
    solid part A solid to be intersected by a plane to define a profile.
    plane part A plane Part defining the sectioning plane.
    planePoint point A point defining a plane as an alternative to providing a plane.
    planeNormal vector A normal for a plane as an alternative to providing a plane.

    Group Rules

    <solid_plane (solid Plane)> If solid and plane are provided, then the profile is defined by the intersection of the plane and the solid.

    <solid_planePoint_planeNormal (solid planePoint planeNormal)> An alternative to providing a plane is to provide the plane definition point and normal.

    Example 1

    Name: planarProfile_Ex01
    Design: acDrawingDocument
    Child Name: polygon_1
    Child Design: :Polygon
    NameTypeSupplied
    pointList list {point(0,0,0), point(3,0,0), point(0,4,0)}
    color string "red"
    lineWidth string "Heavy"
    Child Name: rectangle_1
    Child Design: :Rectangle
    NameTypeSupplied
    height number 3
    width number 2
    v00 point point(1,1,0)
    color string "jungle green"
    lineWidth string "Heavy"
    Child Name: result
    Child Design: :PlanarProfile
    NameTypeSupplied
    curves list {polygon_1}
    holes list
    reference to undefined name 'rectangle_1' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)
    color string "dandelion"

    Example 2

    Name: planarProfile_Ex02
    Design: acDrawingDocument
    Child Name: profile
    Child Design: :Arc
    NameTypeSupplied
    center point Me.origin
    5 number "red"
    color string "plum"
    lineWidth string "Heavy"
    Child Name: topTrim
    Child Design: :Rectangle
    NameTypeSupplied
    height number 1/2 * profile.radius
    width number profile.diameter
    eTop point profile.origin + Me.unitY * profile.radius
    color string "red"
    lineWidth string "Heavy"
    Child Name: slot
    Child Design: :Rectangle
    NameTypeSupplied
    height number 1.5
    width number 2/3 * profile.diameter
    center point profile.center
    color string "apricot"
    lineWidth string "Heavy"
    Child Name: planarProfile_1
    Child Design: :PlanarProfile
    NameTypeSupplied
    curves list {profile}
    holes list {{topTrim}, slot.lines}
    Child Name: result
    Child Design: :ExtrudedSolid
    NameTypeSupplied
    extrudeDirection vector Me.unitZ
    height number 1
    profile part planarProfile_1
    color string "green blue"