Categories:
-
3d 96 articles
-
animations 16 articles
-
architecture 47 articles
-
blender 98 articles
-
bédé 19 articles
-
techdrawing 24 articles
-
freecad 174 articles
-
gaming 1 articles
-
idsampa 8 articles
-
inthepress 8 articles
-
linux 57 articles
-
music 1 articles
-
nativeifc 15 articles
-
opensource 252 articles
-
orange 4 articles
-
photo 16 articles
-
projects 35 articles
-
receitas 176 articles
-
saopaulo 18 articles
-
sketches 162 articles
-
talks 25 articles
-
techdrawing 24 articles
-
textes 7 articles
-
trilhas 3 articles
-
urbanoids 1 articles
-
video 47 articles
-
webdesign 7 articles
-
works 151 articles
Archives:
DXF export of FreeCAD Drawing pages
I just upgraded the code that exports Drawing pages in FreeCAD, and it works now much better, and much more the way you would expect: Mount your page fully in FreeCAD, then export it to DXF or DWG with the press of a button.
Before, doing this would export the SVG code from the Drawing page, open it in a new FreeCAD document so it got converted to FreeCAD geometry, then export it back to DXF. It gave a lot of errors and was very slow. Now the whole system is based on templates (you need a DXF template corresponding to the SVG template you use in FreeCAD), and the views that appear on the Drawing pages also output their own DXF code.
Of course things are still far from perfect, there is still no support for paper space and many other features, but it is already handy. The template is exported at 1:1 scale, and each view becomes a block, scaled by the same factor as in the Drawing page. So, scaling everything back to 1:1 is very easy too. In the image below I just scaled everything up, exploded, and modified the Standard dimension and text styles, 5 minutes work:
The two default templates of FreeCAD (A3 and A4) already have a DXF version, so you can test this immediately if you use a development version of FreeCAD. Not all views placed on the page will be guaranteed to work yet, but at least everything that is based on geometry, plus Annotations and a couple of Draft objects such as dimensions works.
The model in the first screenshot is my current IFC test house, I'll blog more about it later...
Enjoy!