Save data in 3D dxf or dwg format

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
pietro_72_
Full Member
Posts: 81
Joined: Fri Apr 17, 2015 6:40 am
Location: http://creativitainformaticart.altervista.org

Save data in 3D dxf or dwg format

Post by pietro_72_ » Fri May 12, 2017 1:51 pm

Ciao

Posso salvare dei dati in formato 3D dxf o dwg tramite javascript su QCAD?

Translated by google

Hello

I can save data in 3D dxf or dwg format using javascript on QCAD?

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Save data in 3D dxf or dwg format

Post by andrew » Fri May 12, 2017 2:31 pm

QCAD is a 2D CAD package and as such not meant to handle 3D data.

Having said that, you should be able to create and store at least basic entities (lines, arcs) in 3D in the DXF or DWG format. QCAD/CAM uses this functionality to store 3D toolpaths.

To experiment with 3D data, you can enable Z coordinates in the property editor under:
Edit > Application Preferences > Widgets > Property Editor > Display Z coordinates

pietro_72_
Full Member
Posts: 81
Joined: Fri Apr 17, 2015 6:40 am
Location: http://creativitainformaticart.altervista.org

Re: Save data in 3D dxf or dwg format

Post by pietro_72_ » Sat May 13, 2017 8:14 pm

L'idea e quella di provare a realizzare, tempo e voglia permettendo, un qualcosa che da delle proiezioni ortogonali permetta di salvare/ convertire i dati del disegno in un formato 3D apribile da altri cad 3D/modellatori
Stavo valutando anche possibilitá con script esterni in Python e/o Php:
https://pypi.python.org/pypi/dxfwrite
https://github.com/digitalfotografen/DXFwriter
e/o salvado in formato
OpenSCAD
Collada

Translated by google

The idea is to try to accomplish, by allowing time and will, something that from orthogonal projections allows you to save / convert drawing data into a 3D format that can be opened by other CAD 3D/modelers
I was also evaluating potential with external scripts in Python and / or Php:
https://pypi.python.org/pypi/dxfwrite
https://github.com/digitalfotografen/DXFwriter
And/or save it in format
OpenSCAD
Collada

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”