3D drawing to STL using COM interface (VBA?)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear community,
do you know a way how to convert a .dwg file into a STL file?
I guess this is only possible if the drawing is a 3D drawing.
So the questions are:
* Is there a way to do an STL export via VBA application?
* Is there a way to check whether the drawing is a 3D drawing?
* Is there a way to check which files are already open? Eg. when AutoCAD is already running?
I would like to write an plugin for Cura (slicing software for 3D printers).
There are already a lot of plugins I wrote for other software, eg. Inventor, SolidWorks, FreeCAD, OpenSCAD..
However, AutoCAD is missing in my list of plugins and my trial is running out and I still found no good example how to do that on the internet.
Basically, I need a working script in any kind of programming language, so I can read out the API calls and convert it into a Python script.
Hope you can help to make it happen.
Thanks
- Thomas Karl Pietrowski