Open HKalbasi opened 3 years ago
OpenSCAD has an extension for vscode which it's main function is adding two buttons, one for export to stl and one to preview the file. Is there something similar for JSCAD?
JSCAD doesn’t have a preview function. Just drag and drop any design to the website, which compiles the design and renders the results. And of course, the same results can be exported as STL, DXF, etc.
Also, check out jscad-now, I use it with VSCode and I like the browser's debugger better than if it were in a VSCode extension window. https://github.com/danmarshall/jscad-now
This would be a very nice feature to have as part of JSCAD (or community). If anyone has some skill at writing VSCODE extensions then this could be very easy to get started.
See the following for inspiration.
V1
https://github.com/ayan4m1/vscode-scad
https://github.com/ryx/vscode-jscad
V2
@crysislinux would you be interested in taking this on?
@z3dev I haven't touched 3d modeling for some time. I guess I am not able to maintain https://github.com/crysislinux/vscode-openjscad for a long time, I can transfer the project if someone is interested. the code may be a bit hard to understand. Here I will describe the core ideas of the project:
OpenJscadBuilder
to build the data structure and OpenJscadViewer
to render the data structure. They were built into a single js file called openjscad-web-sdk.js
, the source is not on Github (not because I don't want to open source it), I can provide the source.watch files
-> rebuild data
-> render data
.
OpenSCAD has an extension for vscode which it's main function is adding two buttons, one for export to stl and one to preview the file. Is there something similar for JSCAD?