model from import DXF

I was able to import a DXF file

but it is such a mess in bl
objects are all over with lot’s of dash line
some are parents

can some one help make sense out of these things

seems most of objects are made up with curve

I remove some parent but some object still have a dash line on it
what are these dash line
see image included

not certain how the outliner works on these object either

thanks
happy bl

Attachments


Dashed lines always indicate some form of heirarchy. What I sualy do when importing is select everything then scale down until they fit within the grid view. Most of the times I’ve pulled external files in, the models are impossibly large, (like many kilometers). Once I’ve shurnk them and applied scale, I find it easier to figure out what is gonig on. Hope this helps.

almost like the dash line reference has been lost but not the link in memory
so hard to tell what it is

how do you scale objects back

and locations are all wrong too

so this is corrected with CTrl A?

thanks
happy bl

Yeah, I use Ctrl+A to pull everything in once I’ve shrunk the scale.
Edit: But if you have a line indicating a parent without an actual parent object, that’s odd.
However, that said, when things are huge, it tends to be the distance between them is so big that the line appears to go off into the distance.
Is the DXF under NDA or something ,or could you give a link so I could take a look at it. I know that you do get some oddities with them at times.
Daft question, if you select the object which is the theoretical parent, then ‘]’ to go to the child, what is selected in the outliner?

it is a commercial model
so guess I can upload it
change file to dxf

tell me if you find how to get it right LOL

I used the included import DXF addon!
might not be the best addon for that

thanks
happy bl

Attachments

c2967895.blend (45.1 KB)

Hi, Sorry didn’t get back to you yesterday, will look at this now and let you know my resulsts. :slight_smile:

This is the result I get using the Autocad DXF import in Blender 2.79
I checked it against viewing it in 3DE and also pulling it into LW, it looks the same in all of them.
Although large, it’s not too bad, scale by 0.25 puts it within the grid area more or less.

Attachments


dxf_test.blend (1.42 MB)

where are all the other objects ?
there is also the front and the back

there is like 10 objects over all
spread all over and bad scale

thanks
happy bl

Ricky … did you attach the original DXF? One possibility is that if blocks are used, they are not being exploded properly. Or, perhaps there’s an X-ref that needs another file. Hard to tell without using the original DXF in an application that is fully compatible with AutoCAD.

yes this was the original DXF from manufacturer

see import I did
but I already started removing things

how are blocks imported ?
is it like group in blender

strange things is that some parts don’t have the same scale then others
not certain why !

thanks
happy bl

Attachments


I still cannot find the original DXF, I looked back through the thread/
Can you attach the DXF?

see post 5 and change name for dxf

thanks
happy bl

2D object in Autocad are made of polyline generally ( if it have been created correctly ), or line, so yes basically thoses can be considered as curve… In general you want closed Polyline for export DXF anyway…

It is quite possible that Blender interpret closed curve as a full object too.

I will explode block before export the file.

Theres one guy here who is architect too who have post many time about how work with dxf and Blender . im pretty sure you can find his posts somewhere.

don’t remember that thread sorry!

but I don’t have autocad so cannot really do the explode block
is it possible to do it in the import script ?

don’t loose too much time on that model

I found another site with a 2D drawing so I was able to do it independent of the DXF file

but there are other models that I would like to be able to work with
so wish there a way to use only the import script for DXF is it ?

hope it is possible

mind you I do have the auto viewer
may be possible to see this DXF and make a view snippet and save it
function of the view !

thanks
happy bl

That’s literally all that showed up in the object, even in other 3D viewers.

Attachments


i’v did not change the DXF got only one file

so don’t understand why you could not see it

thanks
happy bl

The file is 46,145 bytes
EDIT: Oh, I’m an idiot, ignore me - gimme a minute. :-p
nope - hmm, gonna re-download the file
EDIt2: Nope - exactly the same result.

I’ve tried it in Lightwave, Deep Explorer 3D and Blender 2.75, 2.76, 2.78 and 2.79 and always get the same result as above. Very odd.

I do have 2 models DXF and one is only 45 KB the other is 250 KW
not certain why so much difference in size!

if you want to try one
find DXF on bottom of this page in CAD section
it is a Temp converter

https://www.phoenixcontact.com/online/portal/us?uri=pxc-oc-itemdetail:pid=2902049&library=usen&tab=1

thanks
happy bl

just check and your right I use the wrong DXF file
one has only a side view
the other has all the objects and 3D supposedly models
sorry my mistake

thanks
happy bl