Comments (3)
Seems like an alternative would be to run it with deno, nodejs with webgpu support. Will try that tomorrow as it seems like the simplest way to get it working. Then the question remains if the vscode plugin can be turned into a language server / debug adapter.
from three-cad-viewer.
You can just use OCP CAD Viewer in VS Code or Chromium as a viewer, not as an editor.
The viewer actually listens to a websocket and the model can be sent to this websocket - even from command line or another editor. The Python command show
of OCP CAD Viewer shows how to do that
The most important issue is to get your 3D object to the right format that the viewer needs. Depending on which 3D format you use, you need to convert it to the format for the viewer - and this is no standard format
For the Python and OCP based tools Cadquery or build123d this is done in ocp-tessellate.
from three-cad-viewer.
duh. why didn't I think of that, just hide the editor. will try that then. thanks!
from three-cad-viewer.
Related Issues (14)
- publish on yarn registry HOT 5
- support other width:height ratios than 4:3 HOT 1
- Generation of model for the viewer HOT 3
- provide default up option HOT 2
- Items in More dropdown menu might be truncated HOT 2
- More Advanced ThreeJS Materials HOT 2
- Bug: Hiding Part in group always toggles first element HOT 6
- Enhancement: Add XYZ axis labels to the origin axis marker HOT 3
- how to used ? HOT 1
- Add yarn install to the readme
- Demonstrate data source conversion issues HOT 1
- custom cad HOT 1
- Can we integrate some sort of Annotations and Measure capabilities
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from three-cad-viewer.