You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest narrowing the first CAD milestone to physical properties from an explicitly annotated STEP solid. Reliable automatic recognition of arbitrary nose cones, fins, tails, and assemblies is a separate research problem.
Proposed v1
optional CAD backend, not a required RocketPy dependency;
read one STEP solid or a user-selected solid from an assembly;
require the caller to provide units and material density;
compute volume, mass, center of mass, and inertia in a documented coordinate frame; and
use a sidecar file for component role, reference axis, origin, and any RocketPy mapping metadata.
The existing CadQuery validation work is useful evidence, but the RFC still needs a maintainer decision on the optional backend, OpenCascade/CadQuery wheel support for RocketPy's platforms, and how missing native dependencies are reported.
Acceptance should use small redistributable STEP fixtures with independently known values. Tests should cover volume, mass, center of mass, inertia, unit conversion, multiple-solid selection, and clear failures for missing density, units, or sidecar metadata. The test tolerance should reflect the CAD kernel's tessellation/solid calculations and be recorded per fixture.
A second milestone could map annotated solids to RocketPy components. Heuristic component recognition should remain opt-in and experimental until there is a representative dataset with expected labels. If this boundary is acceptable, I can turn it into a backend protocol and fixture specification before adding a heavy optional dependency.
Activity
[-]CAD Models Parser[/-][+]ENH: CAD Models Parser[/+]ting-hong-shieh commentedon Aug 14, 2026
I suggest narrowing the first CAD milestone to physical properties from an explicitly annotated STEP solid. Reliable automatic recognition of arbitrary nose cones, fins, tails, and assemblies is a separate research problem.
Proposed v1
The existing CadQuery validation work is useful evidence, but the RFC still needs a maintainer decision on the optional backend, OpenCascade/CadQuery wheel support for RocketPy's platforms, and how missing native dependencies are reported.
Acceptance should use small redistributable STEP fixtures with independently known values. Tests should cover volume, mass, center of mass, inertia, unit conversion, multiple-solid selection, and clear failures for missing density, units, or sidecar metadata. The test tolerance should reflect the CAD kernel's tessellation/solid calculations and be recorded per fixture.
A second milestone could map annotated solids to RocketPy components. Heuristic component recognition should remain opt-in and experimental until there is a representative dataset with expected labels. If this boundary is acceptable, I can turn it into a backend protocol and fixture specification before adding a heavy optional dependency.