Discover Learn Reference Get OpenPLX Search Contact

Vehicles/TrackSystem/Components/TrackWheels/Traits

CylindricalShape

trait CylindricalShape:
    .doc: """
    A trait that defines a cylindrical geometry for a track wheel.

    Example:

    Define a sprocket with a cylindrical geometry in the rigid body.

    Sprocket is Vehicles.TrackSystem.Components.TrackWheels.Sprocket:
        with Vehicles.TrackSystem.Components.TrackWheels.Traits.CylindricalShape
        radius: 0.15
        width: 0.5
    """
    body.cylinder is Physics3D.Geometries.Cylinder:
        radius: radius
        height: width

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