DXF import script for Blender 2.5

Feedback wanted!

By design the importer imports 2d-drawings as curve objects and 3d-models as mesh objects.
Do 2d objects as curves make sense to you?
Have you ever worked with curves in Blender?

I’ve got no feedback about this topic so far, so please post here about your preferences.

OK, the broken script for 2.63 is fixed now!
It will go automatic into official release.
Before this you can get it directly from here

DXF-importer PE (Personal Edition) is an offer for subscribers and donors.

Importing curves as curves makes a lot of sense to me. Although most of the time I will convert all of the curves to meshes, there are situations where I would use the original imported curves, for example when working with curved facades using the Array and Curve modifiers. Ideally I’d like to have the option to choose whether curves should be converted to meshes at import.

Abel, thanks for feedback. I can follow your arguments quite good.
I think curves deserve more attention as components in modeling process, though it is not easy to work with them in Blender, so supposedly only a few people know about their real potential.
I was missing basic tools for curves in Blender so i have created a few as extension in python (CADtools project).

@migius: Any chance to see CADtools release for Blender 2.6?@migius

currently no progress but i do not give up

it would be so great :>

QFA.

Blender now have Cycles and Bmesh. The only missing thing are some decent CAD tools, a lot of people will can make architectural stuff directly in Blender.

After two years of development the new DXF-importer for 2.49b is ready for production, since yesterday!
Personal Edition version for 2.65 will come in short (2-4 weeks).
more details here: link

Happy New Year 2013!

migius

Migius, you rock!

awesomeness!!

the new version 2.3.0: link


-20578-

Hello,

I am trying to import a DXF file into Blender. I have enabled the addon, but for some reason the option only shows up in the export tab and not in the import tab. Any ideas on how to fix this?



Thanks in advance.

Asila, welcome to blenderartists forum!

You have to enable explicitly the importer and the exporter add-on.

Do not be confused by Personal Edition version on this thread - this is quite different story :wink:

Thanks Migius, I feel pretty stupid right now :stuck_out_tongue:

It still doesn’t import anything though, I guess I have to play around with scale a bit and see if it is in miniature form somewhere.

Well, I downloaded Draftsight to convert the .dxf to R12 format and now I at least get some response from Blender when importing, even though it is an error :wink: :


Are you experiencing it with all your files? That would be a hint that this error is caused by the 2.73 changes. But I think it’s more likely a problem with corrupt/messy geometry that just raises different errors in 2.72 and 2.73. i cannot look at it today, but will do so at the weekend. Meanwhile: if you want to help me out, you’re welcome to do so! :wink:

I do not have AutoCad, I have asked one of our CAD engineers at the company to send me a drawing of one of our plants. I will ask if he can send a less complex and smaller drawing.

I would like to create an animation in blender of one of our plant designs, sort of a virtual tour through our plant.

Unfortunately I have no experience with coding, otherwise I would have loved to help :frowning:

I have just started using Blender 2.73a and found the same error as ‘Asila’ when importing DXF (from Inkscape) using the most simplest forms, the error is constant. I am more than happy with SVG format because its the first real 2d to 3d communication that has ever worked for me scale wise. Would like to see if DXF actually transmits metric units from 2d to 3d platforms.

Thanks Graeme

@Linusy This does not resolve the problem, although it does give less lines of error. I did notice that when confronted with the list of files for import the majority of my test files now show 0kb… its as if the ‘fix’ only negotiates certain parts of a dxf file but not all? maybe I am delusional :slight_smile: but anyway … would be good to find a fully functional DXF import. Although I vaguely recall C4D didn’t seem to manage very well with this format.

Thanks Graeme