PLEASE post your questions and bug reports in this thread.
Edit: updated version 1.25beta needs intensive testing before integration in release 2.48
Edit: updated version 1.27beta 2008.10.07
Edit: updated version 1.34 - 2009.06.08
Edit: updated version 1.37 - 2010.06.23
I just followed this over from Yorik’s original post. I downloaded the script linked from here and I’m not sure I’m follwoing you two. Is this supposed to export a DXF file? I looked in the script and it looks (to my untrained Python eyes) like a python Library file inside. I’m baffled here, help me out.
current version can export selected objects: mesh(edges) and curves(not nurbs) to LINEs.
load it into blender-text-window and start with alt-P,
or copy the script into blender scripts folder and start through files-export-autodesk DXF
This early version has no UI, no dialogbox to define output name, the script writes into current project directory: “blend_test.dxf”
The output is in dxf-r9 format and should be readable in any CAD app.
please download again, i put there my blend file for testing.
DXF file produced from it loads well into autocad and can be entirely reimported to Blender (with DXF-Importer python script)
I am curious, what is different with your model?
All the Export methods appear to work great. I can open them up in all my other CAD/CAM programs. I really like the “Flat to 3D-View” Although, I would rename the function “3D-View to Flat” because that is a more accurate description of what is occuring.
The Import function is not doing so well. I can import many other DXF files using this script, but if I try to Import the DXF I just Exported, I get the following error: Import DXF to Blender *** START ***
start reading DXF file: C:\Users\Master\Documents\3D\WiKKiD_Widgets\Conceptual
finished reading DXF file in 0.0552 sec.
Traceback (most recent call last):
File “<string>”, line 4048, in bevent
File “<string>”, line 2962, in main
File “<string>”, line 3100, in drawEntities
File “<string>”, line 3192, in drawer
File “<string>”, line 3249, in setObjectProperties
File “<string>”, line 3293, in setMaterial_from
File “<string>”, line 2660, in call
File “<string>”, line 2672, in add
I can Import the test DXF I Exported using the DXF Import Script that comes with blender. Although, the lines are not continuous. Each polyline is its own mesh.
Migius, I’ve tested the exporter for one of architectural projects and it works well. The .blend file was 65 mb and the exported .dxf was 84 mb. I opened with a different 3d application, and as far as I’ve seen it was ok. If I find any issues I’ll mention them here.
I’ll try the “flat” option and see how that works. That will be very helpful if for architectural models, so for a view (like orthographic view of a facade) to be exported as 2D, then tweaked and finally be part of construction documents. Thanks for your work! a