How to add your knowledge

Cylinder

    Table of contents
    1. 1. Synopsis
    2. 2. Mixins
    3. 3. Example 1
    4. 4. Example 2
    5. 5. Example 3

    Synopsis

    This design defines a three dimensional cylinder. Cylinder is a solid and inherits rules from the design solidMixin which includes typical mass properties associated with solid entities. The height and radius are the main parameters of the design, others affect its positioning and other attributes.

    Mixins

    CylinderMixin

    SolidMixin

    See CylinderMixin and SolidMixin for a complete set of Canonicals, Parameters, Rules, Methods, and Group Rules.

    Example 1

    Name: cylinder_Ex01
    Design: acDrawingDocument
    Child Name: cylinder_1
    Child Design: :Cylinder
    NameTypeSupplied
    height number 6
    radius number 2
    referenceFrame frame frameXY(origin, unitZ, unitY)
    color string "jungle green"

    Example 2

    Name: cylinder_Ex02
    Design: acDrawingDocument
    NameTypeFormula
    od number 3
    thk number 0.25
    length number 1
    Child Name: pipe
    Child Design: :BooleanSolid
    NameTypeSupplied
    operation name :difference
    components list {odObject, idObject}
    color string "plum"
    Child Name: odObject
    Child Design: :Cylinder
    NameTypeSupplied
    height number length
    radius number od / 2
    referenceFrame frame frameXY(origin, -unitZ, unitY)
    Child Name: idObject
    Child Design: :Cylinder
    NameTypeSupplied
    height number odObject.height
    radius number odObject.radius - thk
    referenceFrame frame odObject.ReferenceFrame

    Example 3

    Name: cylinder_Ex03
    Design: acDrawingDocument
    NameTypeFormula
    od number 3
    thk number 0.25
    center point MidPoint(odStraight.bottomPoint, odStraight.topPoint)
    Child Name: tee
    Child Design: :BooleanSolid
    NameTypeSupplied
    operation name :difference
    components list {teeOd, idStraight, idSide}
    color string "navy blue"
    Child Name: teeOd
    Child Design: :BooleanSolid
    NameTypeSupplied
    components list {odStraight, odSide}
    Child Name: odSide
    Child Design: :Cylinder
    NameTypeSupplied
    height number od + 1
    radius number od / 2
    origin point center
    referenceFrame frame frameXY(origin, unitX, unitY)
    Child Name: odStraight
    Child Design: :Cylinder
    NameTypeSupplied
    height number (od / 2) + 0.5
    radius number odStraight.radius
    referenceFrame frame frameXY(origin, -unitZ, unitY)
    Child Name: idSide
    Child Design: :Cylinder
    NameTypeSupplied
    height number odSide.height
    radius number idStraight.radius
    origin point odSide.origin
    referenceFrame frame odSide.referenceFrame
    Child Name: idStraight
    Child Design: :Cylinder
    NameTypeSupplied
    height number odStraight.height
    radius number odStraight.radius - thk
    referenceFrame frame odStraight.referenceFrame