Stupid Import...
-
Hi there. I'm new to this forum, but I've been using SketchUp for about two years now. Normally, SketchUp is the only program I use for 3D modeling, but I recently encountered a problem while trying to import a dxf file. The import went smoothly, but I ended up with nothing but I wireframe. It's a simple model, but it has thousands of triangular faces (or rather, it's supposed to). Tracing over lines works, but it takes too stinkin' long. Is there any way that I can get solid faces without having to trace over everything?
-
Try the make faces ruby script you can find at Smustard for free:
http://www.smustard.com/scripts/Use it in a few areas at a time as a file that large might crash it.
Hope that helps.
-
If the original file has the faces, they might be too small to import correctly. This can possibly be corrected by importing the model to a larger scale, using, for instance, Meters instead of Centimeters as the import unit. When the faces are correctly formed in SU, you can then scale the model back to its original size.
SU has difficulties with faces with edges shorter than 1 mm approximately.
Anssi
-
What is the source of your dxf files? If you are creating you own models, build the surfaces as 3dFaces, a entity that imports into Su as a surface. It is my understanding that the current ACAD 3D file imports into Su as surfaces (I do not have a current version of ACAD, and can not verify this), or as a final option, if you have access to programing, write a editor that will take the coplanar polylines in a dxf file and convert them into 3dFaces. This would be especially helpful in the case of a lot of triangular polylines.
-
Thanks for the quick replies. I ended up importing the model in 3DS format, although it crashed SketchUp the first time I tried it. Still, it's good to know that there is a solution for small DXF format models.
Advertisement