<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic 3D drawing to STL using COM interface (VBA?) in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/3d-drawing-to-stl-using-com-interface-vba/m-p/7563414#M201880</link>
    <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you know a way how to convert a .dwg file into a STL file?&lt;/P&gt;&lt;P&gt;I guess this is only possible if the drawing is a 3D drawing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the questions are:&lt;/P&gt;&lt;P&gt;* Is there a way to do an STL export via VBA application?&lt;/P&gt;&lt;P&gt;* Is there a way to check whether the drawing is a 3D drawing?&lt;/P&gt;&lt;P&gt;* Is there a way to check which files are already open? Eg. when AutoCAD is already running?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to write an plugin for Cura (slicing software for 3D printers).&lt;/P&gt;&lt;P&gt;There are already a lot of plugins I wrote for other software, eg. Inventor, SolidWorks, FreeCAD, OpenSCAD..&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you can help to make it happen.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;- Thomas Karl Pietrowski&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Nov 2017 21:32:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-21T21:32:08Z</dc:date>
    <item>
      <title>3D drawing to STL using COM interface (VBA?)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/3d-drawing-to-stl-using-com-interface-vba/m-p/7563414#M201880</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you know a way how to convert a .dwg file into a STL file?&lt;/P&gt;&lt;P&gt;I guess this is only possible if the drawing is a 3D drawing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the questions are:&lt;/P&gt;&lt;P&gt;* Is there a way to do an STL export via VBA application?&lt;/P&gt;&lt;P&gt;* Is there a way to check whether the drawing is a 3D drawing?&lt;/P&gt;&lt;P&gt;* Is there a way to check which files are already open? Eg. when AutoCAD is already running?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to write an plugin for Cura (slicing software for 3D printers).&lt;/P&gt;&lt;P&gt;There are already a lot of plugins I wrote for other software, eg. Inventor, SolidWorks, FreeCAD, OpenSCAD..&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you can help to make it happen.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;- Thomas Karl Pietrowski&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 21:32:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/3d-drawing-to-stl-using-com-interface-vba/m-p/7563414#M201880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-21T21:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: 3D drawing to STL using COM interface (VBA?)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/3d-drawing-to-stl-using-com-interface-vba/m-p/7563895#M201881</link>
      <description>&lt;P&gt;Question 1&lt;/P&gt;
&lt;P&gt;The Answer: Use &lt;STRONG&gt;EXPORT&lt;/STRONG&gt; command, Then You will get the Export Data dialog box. Next, If you spread out &lt;U&gt;Files of type&lt;/U&gt; list, You will see STL format to export to use CURA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question 2&lt;/P&gt;
&lt;P&gt;The Answer: Open the drawing that you need to check at AutoCAD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question 3&lt;/P&gt;
&lt;P&gt;The Answer: If some Drawing is opened, When you try to open the drawing, You will get an Alter message that chooses either open the drawing as Read-only or do not open.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 02:26:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/3d-drawing-to-stl-using-com-interface-vba/m-p/7563895#M201881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-22T02:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: 3D drawing to STL using COM interface (VBA?)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/3d-drawing-to-stl-using-com-interface-vba/m-p/7566152#M201882</link>
      <description>&lt;P&gt;Thank you for your answer,&lt;/P&gt;&lt;P&gt;but this sounds like I need to do additional inputs via mouse and control things in addition to my running script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to run this all invisible? In the background?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I could do all the checks manually, but is there no way to ask this the API and get back info in form of booleans?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 18:17:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/3d-drawing-to-stl-using-com-interface-vba/m-p/7566152#M201882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-22T18:17:01Z</dc:date>
    </item>
  </channel>
</rss>

