Bl
Bl
Bl
Bl
Bl
You are here:   Home »  Support & Updates »  FAQs and KB  
Bl

  FAQ: Common Answers to Importing from CAD File Formats


From its inception in 1988 Okino has long been an active developer and provider of CAD conversion software that has helped to bridge the CAD-world with the non-CAD animation and visual simulation worlds. The following are answers to very common questions posed by our users over the last decade and a half.


1. What is the best method to import from a specific CAD file format?
2. How do I do an ideal import from ProE/Creo, IGES or STEP from other CAD packages?
3. My models are imported too large or too small. Why?
4. Why does my imported model have a large number of objects named “Face #1, Face #2, etc”?
5. How do I best import from AutoCAD, Navisworks or Revit?
6. How do I import from Unigraphics (UG NX)?
7. How do I import from Microstation?
8. How do I convert models to/from MAXON's CINEMA-4D?
9. What advice do you have for importing CAD models into LightWave 9.5 or older?
10. What advice do you have for importing CAD models into LightWave 9.6 or newer?
11. If I have a truly massive assembly in native ProE/Creo file format how can I reduce its complexity?
12. I am finding cracks between surfaces of my CAD model after import. How can I reduce or eliminate them?
13. If I import a DXF or DWG file nothing appears in the view windows yet there is geometry listed in the Selector Window.
14. Can I import 800MB of solids data into 3ds max, Cinema-4D, Maya, Softimage or Lightwave?
15. Importing an IGES file via the Okino IGES importer appears to have lots of square planes in it. Why?
16. Importing models into Maya which have a large number of polygons takes forever. What is wrong?
17. What advice do you have on importing massive CAD files?


1. What is the best method to import from a specific CAD file format? - Top

In the minds of Okino staff there is usually only one "ideal" file format to import from any CAD package. If you don't want to read through our WEB pages or these FAQS then please send a quick email to Robert Lansdale right now and he'll provide the ideal answer + some overview if needed (lansd@okino.com, support@okino.com).

For our newest customer queries we always make reference to our "CAD data sourcing rules" page found online here.

Many of our notes can be found online here.

- Updated: February 16, 2020


2. How do I do an ideal import from ProE/Creo, IGES or STEP from other CAD packages? - Top

A very straightforward answer: use Okino's core Granite importer module, in particular for native ProE/Creo importing, STEP, IGES (BREP solids) and PARASOLID.

This is the backbone of our CAD conversion system. It is a wonderfully implemented and supported aspect of Okino software which we expect most of our user base to own.

For SolidWorks, Solid Edge, AutoCAD, Revit/Navisworks/Inventor/AutoCAD or Inventor please use our CAD/Pack module to import natively from these file formats.

- Updated: March 2, 2020


3. My models are imported too large or too small. Why? - Top

This probably relates to “units matching”. When the person modeled the original scene they implicitly or explicitly chose a “unit of measurement” for measuring sizes in the source modeling program. The imported geometry will have to be scaled in size to match the units of measurement from the source modeling program to the destination program. For example, Microstation files are always measured in millimeters while Maya and LightWave uses centimeters, and 3ds Max uses inches. Most Okino CAD importers will allow you to specify the desired units of measurement for your destination program which will provide automatic scaling.

- Updated: February 16, 2020


4. Why does my imported model have a large number of objects named “Face #1, Face #2, etc”? - Top

Most CAD modelers are BREP “solids” based which define each object by Bodies, Shells and Faces. Faces are one of the basic elements of a solids object. Okino’s CAD importers typically provide you with an option to import the objects “By Body” or “By Face”. Importing “By Body” will create a minimal number of objects in your scene. If these options are disabled (not available for the current import operation) then simply enable the “Optimize Hierarchy” or “Optimize Scene” checkbox that is available on almost all Okino CAD importers – this option was created to reduce the excessive number of “Face” elements. Alternatively, import into the stand-alone PolyTrans or NuGraf software and choose the “Optimize Number of Objects” command from the “Win” menu of the Selector Window’s main menu bar.

- Updated: February 16, 2020


5. How do I best import from AutoCAD, Navisworks or Revit? - Top

The preferred and ideal method is always via DWF-3D and Okino's DWF-3D importer.


- Updated: February 16, 2020


6. How do I import from Unigraphics (UG NX)? - Top

STEP AP214 files imported through Okino's STEP importer is the defacto method to import data from UG NX. We have found that STEP is much more precise and error free compared to using the moving-goalpost PARASOLID .x_t file format.


- Updated: March 2, 2020


7. How do I import from Microstation? - Top

This is best explained via our dedicated Microstation DGN importer help system. Okino spent over 20+ years writing the main DGN importer implementation and we are experts in all aspects of DGN files.

The best method to move data from Microstation will depend on what type of entities were used to create the Microstation scene, whether it was made with PARASOLID BREP solids ("smart solids") or built-up from endless numbers of basic Microstation elements like lines/curves/extrusions/revolutions.

3D piping models are often best converted using VRML2 format and a small pixel tolerance. Scenes created with PARASOLID entities ("smart solids") are most often best converted using STEP format. Otherwise, U3D export from Microstation and imported into Okino software via U3D works very well.

The Okino DGN importer, however, is the defacto method to handle any type of DGN file.

Do not use DWG, SketchUp or JT file formats for Microstation exports!

- Updated: February 16, 2020


8. How do I convert models to/from MAXON's CINEMA-4D? - Top

Please refer to our dedicated CINEMA-4D solutions page.
- Updated: February 16, 2020


9. What advice do you have for importing CAD models into LightWave 9.5 or older? - Top

LightWave 9.5 or older needs special attention and instructions in order to properly import CAD models. LightWave and 3ds Max have their origins in the mid-1980’s and both still cling to the usage of approximating “smoothing groups” instead of accurate vertex normals, the latter which is the modern method of representing mesh smoothing. Smoothing groups have the most problems with CAD data where they are a lot of abrupt angular changes within a single mesh object. To compound the problem LightWave only allows a single smoothing angle to be defined per mesh object which can be very limiting. Due to these facts, you will have to “guess” an appropriate smoothing angle for your data when exporting to LightWave files via the “Geometry Smoothing Angle” type-in box on the Okino LightWave exporter. In general, use a smoothing angle between 18 and 30 degrees. After import into LightWave you can interactively set this smoothing angle with the material editor.

But, there is one case you should be aware of. First of all, each object in the source CAD model becomes one .lwo file on disk, and thus can create a tremendous number of .lwo files. To overcome this situation enable the “Optimize Hierarchy” or “Optimize Scene” checkbox found on most Okino CAD importers; this will heavily reduce the complexity of the scene and create many fewer .lwo files. The only side effect of doing this is that some new "combined" objects may not smooth properly in LightWave due to the "single smoothing angle per object" (ie: a new combined object might now have a combination of creased and smoothed faces). If this problem occurs then you can either explode those objects based on material assignment inside LightWave or inside PolyTrans and the problem will go away.

- Updated: February 16, 2020


10. What advice do you have for importing CAD models into LightWave 9.6 or newer? - Top

For LightWave 9.6 or newer, just make sure to enable the "Explicit vertex normals" on the Okino LightWave exporter (so that the CAD vertex normals flow through to the LightWave program). Also, enable the "Optimize hierarchy" option where available on an Okino CAD importer so that the number of .lwo files created on disk will be minimized.

- Updated: February 16, 2020


11. If I have a truly massive assembly in native ProE/Creo file format how can I reduce its complexity? - Top

1) Use the “Shrink Wrap” feature inside the Pro/Engineer software. This will create a new assembly and related parts which represent the outer visible surfaces of the original assembly.

2) Make sure you have chosen the "Topology = Bodies" radio button on the native Granite ProE/Creo importer.

3) Change the tessellation sliders on the native Granite ProE/Creo importer to be higher than the 0.1% default settings (however, we expect that nearly all of our users will use these default settings for their ProE/Creo imports).

4) Go back to ProE/Creo and remove all useless or hidden sub-assemblies.

5) Okino software ships with a top notch polygon reduction system which we spent a good 3 years writing as the main reduction system for CAD files. It will remove 80% of polygonal data on average, or more, if the source data is over tessellated. As much as this is available to all users, we do not expect it to be used for CAD imports because our CAD importers provide fine control of NURBS to mesh tessellation during the import phase. It is up to yourself to determine if the use of the polygon reduction system is needed.

- Updated: February 16, 2020


12. I am finding cracks between surfaces of my CAD model after import. How can I reduce or eliminate them? - Top

Export from your CAD modeling program as “solids” and not “surfaces”. Then, use one of the PTC Granite importers such as ProE/Creo, IGES, ACIS, STEP or Parasolids. They will create a mesh based on the BREP (solids) representation of the model.

- Updated: February 16, 2020


13. If I import a DXF or DWG file nothing appears in the view windows yet there is geometry listed in the Selector Window. - Top

Okino's view windows implicitly only show objects up to 1 million units away from the camera to improve z-buffer drawing efficiency (10 million units in more recent versions of the software). We would recommend you update your DXF/DWG importer module (imp_dxf.dll) which will allow you to scale the imported geometry smaller so that the extent of the data is not so large.

- Updated: February 16, 2020


14. Can I import 800MB of solids data into 3ds max, Cinema-4D, Maya, Softimage or Lightwave? - Top

The realistic answer is that you need to be reasonable with the size of the source data set. If the data came from a solids modeling program then the data will be in parametric or NURBS geometric format. Once this data gets converted to a mesh representation it will expand by 10 to 100 times in size on average (in terms of memory usage). If the source data is highly curved (like an oil refinery plant with many tubes) then the meshed version of the solids data will become huge. In general if your source data is very large (say, over 800MB of source data) then you just have too much data to start with in the first place – remove excess and useless geometry items in the source modeling program, and use “Shrink Wrap” if you are using ProE/Creo. There is no definitive answer in terms of “What is too large” but in our experience assemblies up to 800MB in size can generally be imported, optimized and animated adequately in programs such as 3ds Max, Cinema-4D, Maya and LightWave.

- Updated: February 16, 2020


15. Importing an IGES file via the Okino IGES importer appears to have lots of square planes in it. Why? - Top

You need to export your IGES file as a “surfaced model” (128/144/142 entities) with “uv-space trim curves”. If you import the model, press F2 on the keyboard and scroll backwards in the message window then you may find that your IGES file has no “uv-space” trim curves defined in it. Alternatively, import via the PTC Granite IGES importer.

- Updated: February 16, 2020


16. Importing models into Maya which have a large number of polygons takes forever. What is wrong? - Top

A very long time ago, Maya v2.51 added the new capability of importing vertex normals for its mesh based objects (these are needed to represent the smoothing of the objects). However, the internal routines inside Maya can become incredibly slow to accept the vertex normals during an import process of large mesh models. The solution is to choose the “Create new vertex normals based on angles” radio button on the “Mesh” sub-panel of the PolyTrans-for-Maya “Import Options” panel; this will use smoothing groups instead of the more accurate vertex normals.

There are 6 more extensively worded "speed-up solutions & historical explanations" provided in the "Potential Speedups of the PolyTrans to Maya Transfer process" in the "Other pertinent info" section of the PolyTrans-for-Maya help file (ptio.chm). This can be accessed by pressing the Help button on the PolyTrans-for-Maya UI panel within Maya, or by viewing the ptio.chm file which is located in the 'maya\bin\plug-ins' directory. This section explains why Maya can be very slow to import CAD files (or any large file in general) and the methods which can be used to speed up the process.
- Updated: February 16, 2020


17. What advice do you have on importing massive CAD files? - Top

The import and handling of truly large CAD files has been the life's work and focus of Okino's founder and primary system architect Robert Lansdale since the late 1980's. He has spent thousands of hours writing friendly and educational emails to Okino's user base about how to make the import of large CAD files a simple process. Most of it comes down to a change in pure human perception.

From a realistic standpoint, most non-CAD programs were not written to handle more than 50k to 100k objects per scene. Chairs, tables and basketball objects do not require many objects in such programs. However, CAD files such as oil refineries or 3D plants can have tens of thousands to hundreds of thousands of objects per scene. Okino software has been written from day one to be a stepping stone program, allowing such complex files to be imported, optimized and then re-exported to 3D programs or file formats which cannot handle such extreme files. As an example, Okino software has been optimized to handle a particular 550k object CAD file over the years. Even so, there's always an upper limit to what any non-CAD-modeller program can handle.

In no particular order, some of the basic comments (in a simplified and shortened manner) are:

1) The following paragraphs will only scare most people reading this FAQ. In true reality most Okino customers just import their CAD files and never have to deal with memory issues or "files which are too big". This FAQ entry is geared more towards those people trying to import CAD files which are ultra massive.

2) You have to be realistic about how much data you are trying to import. One or two customers per year will approach Okino wanting to do a conversion which is not realistic. In extreme cases it will most often relate, for example, to the import of a 2GB Honda/GM car datasets from the original raw CAD files into 3ds Max, Maya, LightWave, CINEMA-4D or any number of downstream file formats. As the short answer, such conversions are not possible without some work. 2GB of CAD data is 2GB of pure NURBS geometry - there will be an explosion in size of 10 to 100 once that NURBS data is tessellated. Hence, 2GB of pure NURBS will convert to something like 10-20GB of mesh data. On top of that memory requirement, there will be the need for a second copy of data for the OpenGL display lists, and another 1 or 2 copies needed to optimize + re-export the data. This is why you will want to keep your CAD file size in the 300-500MB range for pure sanity.

3) As a gospel rule explained by Robert Lansdale in his daily emails, a very comfortable and sane CAD dataset size is in the 300-800MB range. That is an ideal upper limit size to a single CAD file, as the 10-100x expansion size due to tessellation will result in a file with a finite number of polygons that can be handled by most downstream 3D programs. Keep in mind that a $5k BREP solids modelling program is not the same as a major 3D animation system which was written originally in 1985 (as most were) and was never made to load + animate large CAD files. Just as so much water came be forced into a garden hose, there is only so much data that can be forced into a non-CAD program with a fixed amount of memory.

4) Make sure you have chosen the "Topology = Bodies" radio button found on most Okino CAD importers. That uses considerably less memory than the "Import by Faces" radio button. Also make sure you keep the "Optimize Hierarchy" checkbox enabled on each Okino CAD importer.

5) Change the tessellation sliders on the native Okino CAD importers to be higher than the 0.1% default settings if you wish a coarser import.

6) Go back to source CAD program and remove all useless or hidden sub-assemblies. We rarely mention this to our customers, but it is the most sane thing to do once a CAD file starts to get up past the 800MB file size. Trying to downsize a massive CAD file after tessellation does not make much sense -- it is much simpler and quite trivial to delete sub-assemblies in the source CAD program.

7) Okino software ships with a top notch polygon reduction system which we spent a good 3 years writing as the main reduction system for CAD files. It will remove 80% of polygonal data on average, or more, if the source data is over tessellated. As much as this is available to all users, we do not expect it to be used for CAD imports because our CAD importers provide fine control of tessellation during the import phase. It is up to yourself to determine if the use of the polygon reduction system is needed.

8) Within ProE/Creo or CATIA, use the “Shrink Wrap” feature to created simplified representations. This will create a new assembly and related parts which represent the outer visible surfaces of the original assembly. This can reduce the size of the source CAD file considerably.

- Updated: February 16, 2020


[Search our FAQs] - [Question Not Answered?] - [Return to the Okino home page]