Colors for compound object (when including an imported step file) don't render in OCP Cad Viewer, but exported step shows colors. #757
Labels
enhancement
New feature or request
Milestone
Per conversation with @jdegenstein on discord I'm filing this issue, and the demo repo at https://github.com/seltzered/build123d-cad-viewer-issue-demo has an example.
Basically in the example scenario I've noticed that in building a simple compound object (with setting different colors for vairous parts) and viewing it with OCP Cad Viewer, things appear okay when using creating a Compound object made up of only BuildPart objects, but when I add in an imported step file to the Compound object I notice there's the colors seem to all be the default BUT the exported step file appears fine in another CAD application (e.g. FreeCAD). See the screenshot below for a rough idea of the issue or the repo above to try.
Environment: Linux (fedora 40) x86, build123d 0.7.0, ocp_vscode 2.5.3, vscode 1.94.2
The text was updated successfully, but these errors were encountered: