Closed Paul8043 closed 7 months ago
Yes, this was a bug and it should be fixed in the upstream viewer component. You could try it with the examples of https://bernhard-42.github.io/three-cad-viewer/example.html and your issue should not happen any more. A new version of OCP CAD Viewer with the updated viewer will be released in the coming days
And thanks for raising it with so many details. Really appreciate it
I have tried your three-cad-viewer/example.html
. The axis-indicator works perfectly. And I have tried all examples, very interesting, especially dir-box and orient-box. Is it possible to get Build123d-code for these examples? Thanks for adding
PIN view as PNG image
, this is a functionality I have missed for a long time. Is there an UN-PIN or back-button to return to the previous page?
PIN view as PNG image
is not integrated into VS Code, since it doesn't make sense to show a PNG. This is only used in the Jupyter extension, where the viewer can be per cell. And even there, unpin means recalculate the object or in the example browser refresh the browser
PIN view as PNG image is not integrated into VS Code, since it doesn't make sense to show a PNG.
Clearly, it should not be displayed as a PNG, but a possibility to store the rendered model as a pure PNG-file that would be very valuable. If I remember correctly, OpenSCAD and CQ-Editor have this feature!
Fixed in 2.0.13
There are a few rare situations where the axis-indicator (in the lower left-corner) is only shown partly or is gone completely. This scenario can be created by the following sequence of actions:
How much of the axis-indicator disappears depends on the panning-operation.
after turning Axes ON:
after panning Axes down:
after pressing iso-view:
after pressing front-view:
after pressing back-view:
after pressing top-view:
after pressing bottom-view:
after pressing left-view:
after pressing right-view:
after pressing reset-view: (will recover the full axis-indicator)
![after-reset-view](https://github.com/bernhard-42/vscode-ocp-cad-viewer/assets/127483918/dd42e19d-b6dc-4d12-a5e9-046b740bcf87)