Hidden line removal progress

 From:  Michael Gibson
6201.280 In reply to 6201.276 
Hi Matt,

> It seems some of the "weak" areas highlighted in pink need more resolution from the pixel grid to
> work but as i say it won't go above 30 without crashing. . . FYI the size of this part is approx 60cm square if that helps.

Right now the hidden line export will crash if it runs out of memory in the middle of the calculation. For the next release I'll try to tune this up to try and make it behave better like maybe just giving up on the export rather than crashing. But anyway that's almost certainly what's happening to you with the canvas size above 30 megapixels combined with a highly detailed model.

If you haven't tried this already, go to Options > View > "Meshing parameters", and set the "Mesh angle" parameter to 30 degrees, and uncheck the "Add detail to inflections" parameter right next to it (do this with MoI empty just after startup). That will make for a rougher looking viewport display but it will reduce memory consumption by quite a bit on heavy models like you've got there.

That might allow you to go up higher with the canvas size setting, which can have a max value of 75.

The overall approach of how the hidden line engine works just might not work very well with that kind of object structure where you've got such little tiny sized edges in comparison to the whole overall object size. If you can possibly cut the model up into some smaller sized pieces and only process one of those pieces at a time rather than a big sized chunk like that, that would probably help quite a bit.

Two of the areas where you've circled where there are little things shooting out - those are probably not actually related to canvas pixel size but are more likely to be surface trim problems where there was some problem getting a proper structured trim boundary during the STEP file import. Those particular surfaces will probably have to be repaired by separating them out, untrimming and retrimming them in order to get them fixed up. If you're able to send me a file with just those problem surfaces and the ones immediately surrounding them I can try to show you how to do that. There is an object repair tutorial here that covers some of the techniques involved: http://moi3d.com/forum/index.php?webtag=MOI&msg=446.17 It's also possible that it could be a mesh generation bug rather than an incorrect trim boundary import bug, it's difficult for me to know for sure without examining the actual geometry.

At any rate, the MoI export you show there even with its flaws at least gives you something that you can work with. I'll see about doing some tuneups to try and improve it further.

- Michael