DiscoverLearnDocumentationGet OpenPLXSearch Contact

MachineModeling/Actuators/Linear/Traits/CylinderVisual.openplx

CylinderVisual

trait CylinderVisual:
    .doc: """
    Trait for adding a cylinder visual to the barrel or rod of the linear cylinder actuator.
    """
    visual is Visuals.Geometries.Cylinder:
        height: length
        radius: diameter * 0.5

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