jscad / OpenJSCAD.org

JSCAD is an open source set of modular, browser and command line tools for creating parametric 2D and 3D designs with JavaScript code. It provides a quick, precise and reproducible method for generating 3D models, and is especially useful for 3D printing applications.
https://openjscad.xyz/
MIT License
2.67k stars 516 forks source link

Add DSTV/NC file import #1035

Open TheJudeAustin opened 2 years ago

TheJudeAustin commented 2 years ago

Hi,

If someone is willing to add DSTV/NC file import I would be forever grateful.

Here is the standard: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjkgtbT_dX2AhWYHjQIHXUYDVwQFnoECAUQAQ&url=https%3A%2F%2Fforums.autodesk.com%2Fautodesk%2Fattachments%2Fautodesk%2F2056%2F8772%2F1%2FNC-DSTV-Interface.pdf&usg=AOvVaw3GqbcS9K6lVLziu5cVYTs-

I've tried forever, with ThreeJS, WebGL, etc, and I am not smart enough to do it.

Thanks, Jude

z3dev commented 2 years ago

@TheJudeAustin welcome

The DSTV specification is very interesting, but contains information for large CNC based machines. JSCAD is focused on 3D printers, and therefore only related technology is considered seriously.

From looking at the specifications, some of the pieces / the operations could be simulated. Why don’t you start with some of those? Are there any alternatives, like AUTOCAD?

hrgdavor commented 2 years ago

@TheJudeAustin there is a project that does CNC stuff https://grid.space/

What is your use-case after the import ?

z3dev commented 1 year ago

Hi,

If someone is willing to add DSTV/NC file import I would be forever grateful.

Here is the standard: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjkgtbT_dX2AhWYHjQIHXUYDVwQFnoECAUQAQ&url=https%3A%2F%2Fforums.autodesk.com%2Fautodesk%2Fattachments%2Fautodesk%2F2056%2F8772%2F1%2FNC-DSTV-Interface.pdf&usg=AOvVaw3GqbcS9K6lVLziu5cVYTs-

I've tried forever, with ThreeJS, WebGL, etc, and I am not smart enough to do it.

Thanks, Jude

That specification looks like a translation of this document.

https://bauforumstahl.de/upload/documents/Richtlinien/105_nc-xml.pdf