Saving after mesh extraction

Forum for reporting problems
Post Reply
Mark Rawson
Posts: 0
Joined: Tue Feb 23, 2021 10:28 pm

Saving after mesh extraction

Post 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 12952 times
- click extract. I get correct result also:
After.png
After.png (24.68 KiB) Viewed 12952 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
Attachments
Scr6254_SphereMesh.mdg
(35.52 KiB) Downloaded 637 times

Prashant Kande
Posts: 121
Joined: Mon Apr 04, 2016 4:55 am

Re: Saving after mesh extraction

Post 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

Post Reply