Page 1 of 1

Saving after mesh extraction

Posted: Tue Feb 23, 2021 10:45 pm
by Mark Rawson
Hello everybody
I hit a problem with mesh extraction operation, while trying to reduce size of a mesh. I have reproduced this in meshops example. Here are the steps:
- I load the attached Scr6254_SphereMesh.mdgwhich is a sphere.
- Go to menu tools > Extract
- Enter location (5,8,0) and radius 4
- click Update Proximity. I get this picture, which looks correct:
Before.png
Before.png (51.81 KiB) Viewed 13295 times
- click extract. I get correct result also:
After.png
After.png (24.68 KiB) Viewed 13295 times
- Save as res.mdg
The res.mdg is empty when I load in in the installed viewer or my program, although the file is not empty and looks OK.
I would appreciate any help
Thank you

Re: Saving after mesh extraction

Posted: Wed Feb 24, 2021 12:53 am
by Prashant Kande
Hi Mark

The sample was built from C++ code and it has a bug: In ExtractionProximityDlg::Extract() there is m_iExtractedEnt->SetTransient(VARIANT_TRUE); which should not be there. Other languages are OK. If you delete the line it will work OK. We have fixed this for v6.2.

The saved mode will also have an invisible original mesh.

Thank you for reporting