Discover Learn Reference Get OpenPLX Search Contact

The standard OpenPLX bundles have significant breaking changes between version 0.22.4 and 0.23.0. Update all .openplx files in the project taking into account the following API updates:

MachineModeling Namespace Restructuring

The MachineModeling bundle has been substantially reorganized to improve structural clarity.

Bearing Components Moved

All bearing-related components have been moved and reorganized:

Example:

# Old (0.22.4)
bearings is MachineModeling.Bearings.Pair:
    separation: barrel_separation
    body: barrel.body
    local_axis: MachineModeling.Constants.AlongAxle

becomes:

# New (0.23.0)
bearings is MachineModeling.Components.Composite.BearingPair:
    separation: barrel_separation
    body: barrel.body
    local_axis: MachineModeling.Constants.AlongAxle

All references within bearing pair components should also be updated:

# Old (0.22.4)
left is MachineModeling.Bearings.Base:
    redirected_parent: body
    position: -local_axis.normal() * separation * 0.5
    main_axis: local_axis

becomes:

# New (0.23.0)
left is MachineModeling.Components.Primitive.Bearing.Base:
    redirected_parent: body
    position: -local_axis.normal() * separation * 0.5
    main_axis: local_axis

The bearing_separation parameter in MachineModeling.Components.Primitive.Link.Base has been renamed to length:

# Old (0.22.4)
bearing_separation is Real

# New (0.23.0)
length is Real

Bundle Dependency Addition

The Vehicles bundle now depends on the Terrain bundle.

Summary of Namespace Changes

Old Path New Path
MachineModeling.Bearings.Base MachineModeling.Components.Primitive.Bearing.Base
MachineModeling.Bearings.Pair MachineModeling.Components.Composite.BearingPair
OpenPLX is a work in progress. This draft version will evolve with user feedback and experience. We welcome your input and collaboration.
X