daid / LegacyCura

Read this, it's important! NEW CURA DEVELOPMENT IS HAPPENING AT https://github.com/Ultimaker/Cura, this is the Cura 15.04 archive. Cura 2.1 and newer is on the Ultimaker github.
https://www.ultimaker.com/pages/our-software
584 stars 429 forks source link

Slicing fails with more than 10M vertexes or 3M faces #804

Open loelkes opened 10 years ago

loelkes commented 10 years ago

Hi, the slicing process fails if there are more than 10.000.000 vertexes or 3.000.000 faces on the buildplate. Cura / the slicing engine seems to need more tahn 4GB of RAM at this point and crashes, so this looks like a typical 32bit-limitation ???

Theese are the last log lines from the SteamEngine in case of fail:

Reading mesh from socket with 10459347 vertexes
Loaded from disk in 5.164s
Analyzing and optimizing model...

Sometimes it says

Unknown exception

This is the maximum i was able to get with Cura.

Reading mesh from socket with 8883435 vertexes
Loaded from disk in 4.415s
Analyzing and optimizing model...
Face counts: 2961145 -> 2942019 99.4%
Vertex counts: 8883435 -> 1471389 16.6%
Size: 98.533000 88.165000 93.223000

I use Cura 14.03 on Windows 7 (64bit).

nallath commented 10 years ago

It's not that strange that it cashes; The model is f*ckhuge. Cura makes a simplification of the model up to a few micron anyway, so a model that big won't increase the quality of the machine paths. I can strongly recomend using smaller models.

daid commented 10 years ago

Most likely a memory issue. Cura puts all the verts in a hashmap, which can get really big with so many points. A 64bit build of the engine might work but that does add a lot of complexity.

I am surprised that you managed to load so many triangles in the GUI, which is usually the first to give.

loelkes commented 10 years ago

I am installing a second SSD in the workstation. I will report how far i got with the 64bit version :-D