Skip to content

Clean up inertia.py/mesh.py function arguments to match rest of API #925

@eric-heiden

Description

@eric-heiden

Functions from inertia.py, like def compute_sphere_inertia(density: float, r: float) have to match the format from the ModelBuilder using radius instead of r.

The h in def compute_capsule_inertia(density: float, r: float, h: float) should be the half height, not full height.
Same for the other functions.

Same for the functions in utils/mesh.py they all need to be consistent with all the other geometry namings and conventions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions