How to select what to show in the standalone viewer? #117
-
I'm having some issues related to #112 and it seems that the standalone viewer works well as a workaround. But I only see the OCP logo (which is nice but not very helpful), how to select my actual parts from the viewer? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Not sure I understand you fully, but you need to add |
Beta Was this translation helpful? Give feedback.
-
Thank you. The standalone viewer is executed with the cli and doesn't take a file parameter. If I have many Python files on the same folder from witch I run |
Beta Was this translation helpful? Give feedback.
-
The viewer listens on port 3939 for requests. |
Beta Was this translation helpful? Give feedback.
The viewer listens on port 3939 for requests.
The
show
command tessellates CAD objects and sends the mesh to port 3939 of the viewer via websockets.So viewer and code is completely decoupled. You can start the viewer where so ever and work on a project in another folder.
The only shared knowledge of the viewer and the
show
command is the websocket port 3939