DiscoverLearnDocumentationGet OpenPLXSearch Contact

MachineModeling/Components/Primitive/Axle/Traits/Cylindrical.openplx

Cylindrical

trait Cylindrical:
    diameter is Real
    length is Real
    body.cylinder is Physics3D.Geometries.Cylinder:
        radius: diameter * 0.5
        height: length
    body.visual is Visuals.Geometries.Cylinder:
        radius: diameter * 0.5
        height: length

OpenPLX is a work in progress. This draft version will evolve with user feedback and experience. We welcome your input and collaboration.
X