Issue with large IGES file

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
hemuman
Posts: 13
Joined: Wed Mar 09, 2011 11:14 am
Contact:

Issue with large IGES file

Post by hemuman »

I tried to open an IGES file happens to be 11MB in size, and FreeCAD stopped responding......I am using a CORE i7 machine with 6GB of RAM.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Issue with large IGES file

Post by NormandC »

Hi,

Have you tried letting FreeCAD run its course? I mean, how much time did you give FreeCAD before terminating its process? It's possible that the import just takes very long to compute.

I'm not sure if FreeCAD uses multiprocessors.
wmayer
Founder
Posts: 20310
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Issue with large IGES file

Post by wmayer »

Very likely you have set a too strict tolerance for the tessellation in the user preferences. Go to Edit > Preferences > Part design > Shape view and increase the "Maximum deviation" to e.g. 1%. If the loading still takes too long go back and increase the value again.

Actually, the loading from file is rather fast the long and memory consuming operation is the tessellation into triangle meshes for the display. If you choose a moderate deviation the algorithm is much faster, needs less memory and creates less triangles.

A file size of 11 MB is not that much. I already loaded STEP files with more than 40 MB.
I'm not sure if FreeCAD uses multiprocessors.
Unfortunately, not here. Using OCC functions from several threads is a bit tricky but it must be possible. Roman Lygin author of the CADExchanger project managed to do it but he has much more knowledge about the internals of OCC. On his blog he mentioned some tricks. Maybe we should have a look on it to see if it's possible to make it faster.
hemuman
Posts: 13
Joined: Wed Mar 09, 2011 11:14 am
Contact:

Re: Issue with large IGES file

Post by hemuman »

normandc wrote:Hi,

Have you tried letting FreeCAD run its course? I mean, how much time did you give FreeCAD before terminating its process? It's possible that the import just takes very long to compute.

I'm not sure if FreeCAD uses multiprocessors.
I waited for 5 minutes....Actually it loads the data into memory but it hangs while I try to move or rotate the 3D model in window. :roll: :roll: :roll:
Last edited by hemuman on Sun Apr 17, 2011 4:25 pm, edited 1 time in total.
hemuman
Posts: 13
Joined: Wed Mar 09, 2011 11:14 am
Contact:

Re: Issue with large IGES file

Post by hemuman »

Attached is the Original File.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Issue with large IGES file

Post by NormandC »

Your file is not attached. The forum has a 256KB limit so you'll have to use a hosting service and paste a link. You could use for example MegaUpload.

BTW did you try what Werner suggested?

I once opened a very large STEP file. It took more than 10-15 minutes to load, and each time I'd move or rotate the model, it would take a few minutes before the model window was active again.

Edit: original thread here: STEP import/large model performance
hemuman
Posts: 13
Joined: Wed Mar 09, 2011 11:14 am
Contact:

Re: Issue with large IGES file

Post by hemuman »

Yes I tried till 10% but same result.... :roll: :roll: :roll:
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Issue with large IGES file

Post by NormandC »

Maybe your IGES file is the problem. :roll: :roll: :roll:

Since you didn't manage to post a link to it, I guess we'll never find out. :roll: :roll: :roll:
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Issue with large IGES file

Post by yorik »

You can also send the file by email if you prefer (yorik.vanhavre [at] gmail.com), i'll upload it somewhere for everyone to be able to test...
( :roll: :roll: :roll: )
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Issue with large IGES file

Post by NormandC »

Let's add some more for good measure :roll: :roll: :roll:

;)
Post Reply