Closed x0pherl closed 2 days ago
note -- terminal command as shown in vscode is
"c:\Users\<user>\code\3d-print\fender-bender\.venv\Scripts\python.exe" "c:\Users\<user>\.vscode\extensions\bernhard-42.ocp-cad-viewer-2.6.1\ocp_vscode\backend.py" --port 3939
it now fails gracefully -- these notes may eventually lead to a clue to get it running on the runner machine:
# need to work out how to get ocp_vscode standalone running on the gitlab runner
# cfg = {}
# cfg["host"] = '127.0.0.1'
# cfg["port"] = 3939
# Viewer(cfg).start()
show and export 2d require an open cad viewer. would be helpful to start with a test to determine if one exists and fail gracefully if it doesn't at a minimum (would be nicer if it opened a viewer)