All notable changes to the "OCP CAD Viewer" extension will be documented in this file.
v1.2.2
- Replace the boolean values for
reset_camera
with theCamera
enum;reset_camera
now supportsCamera.RESET
(works likeTrue
before),Camera.CENTER
(works likeFalse
before) andCamera.KEEP
(additionally keeps the pan location). See best practices for details. - Replace the values for
collapse
with theCollapse
enum:Collapse.ALL
(was"C"
),Collapse.None
(was"E"
),Collapse.LEAVES
(was"1"
or1
) andCollapse.Root
(was"R"
) - Added a button to toggle the output panel for OCP CAD Viewer
- Visual debug is on by default now (workspace setting
WatchByDefault
totrue
) - Changed behavior of
show
during debug session:show
will be executed, however, visual debug step omitted - Do not show Jupyter variables
_
,__
,_1
,_2
, ... inshow_all
- Fix an error where the orientation marker was partly or fully moved outside its view due to panning of the object (vscode-ocp-cad-viewer issue #22)
v1.2.1
- XYZ labels for orientation marker (vscode-ocp-cad-viewer issue #13)
- Support for metalness and roughness (three-cad-viewer issue #9)
- New "Material" configurator tab in the viewer UI
- Port 3939 will automatically incremented by 1 for 2nd, 3rd, ... viewer
- Fix: OCP_Part can be shown now (vscode-ocp-cad-viewer issue #20)
- Fix: reset_camera respects panning (vscode-ocp-cad-viewer issue #19)
- Fix:
collapse="C"
also collapses single item trees (vscode-ocp-cad-viewer issue #18) - Fix: Show_all supports having a sketch that uses face as a workplane (vscode-ocp-cad-viewer issue #17)
- Fix:
_config==undefined
is handled properly (vscode-ocp-cad-viewer issue #12)
v1.1.3
- Fix racing conditions that prevented having more than one viewer window
- No need to add port for next viewer any more. The default port 3939 will be incremented until a free port is found
- Use ocp-tessellate 1.1.1 (fixes axis helper scale)
v1.1.2
- Added Visual debugging (including a toggle switch in the status bar)
- Added function
show_all
andshow_clear
for the visual debugging - New (opinonated) Quickstart modes to install ever for build123d or CadQury with one click
- Websocket communication between Python and the VS Code extension
- Remove IPython support and introduce Jupyter / ipykernel support
- Rename ColorMap to BaseColorMap and CM to ColorMap
- Check versions of the viewer and the Pyhton module ocp_vscode are the same at OCP Viewer start
- Support OCCT Shells
- Bump three-cad-viewer 1.7.12
- Fix two race conditions at viewer start (missing awaits)