bernhard-42 / vscode-ocp-cad-viewer

A viewer for OCP based Code-CAD (CadQuery, build123d) integrated into VS Code
Apache License 2.0
78 stars 9 forks source link

Feature Request: Custom inspector properties #48

Open MatthiasJ1 opened 6 months ago

MatthiasJ1 commented 6 months ago

The measure tools are really neat, thanks! It would be great if we could specify custom properties to be displayed when inspecting an object. This could be done by registering a callback that would be called when a face is selected and would return a dict of additional properties to display. For completeness, the callback could also take the original properties ocp_vscode already defined in case it needs to be modified. An example use-case would be displaying face overhang angles for FDM printing.