BUG : Hidden corruption of surfaces
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
BUG : Hidden corruption of surfaces
Take a look at this sceenshots.
Part (shell) dispayed normal, but operation with this leads to incorrect result (for example, split apart with plane) If copy-pastle to another project, or export / import wiht STEP, part will shown broken Originally, this part was imported from another project, then cloned and downscaled, after simple copy was created to lose history.
And it shows good, but internally it not good =)
Also if downgrade "broken" part to faces, the corruption will shown.
I have tried to reproduce all steps from original part, but it was not happens. So this is workaround
OS: Ubuntu 18.04.4 LTS (Unity:Unity7:ubuntu/unity)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: df9282dc12d45996bb83cb42f6da10fd82519a47
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Russian/Russia (ru_RU)
Part (shell) dispayed normal, but operation with this leads to incorrect result (for example, split apart with plane) If copy-pastle to another project, or export / import wiht STEP, part will shown broken Originally, this part was imported from another project, then cloned and downscaled, after simple copy was created to lose history.
And it shows good, but internally it not good =)
Also if downgrade "broken" part to faces, the corruption will shown.
I have tried to reproduce all steps from original part, but it was not happens. So this is workaround
OS: Ubuntu 18.04.4 LTS (Unity:Unity7:ubuntu/unity)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: df9282dc12d45996bb83cb42f6da10fd82519a47
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Russian/Russia (ru_RU)
Re: BUG : Hidden corruption of surfaces
If close and then open project file, faces shown corrupted. Seems like corruption was made "on the fly" in current session.
If this is interesting and you know how to make "snapshot" - i may try to do it.
After opening "broken file", repot has "The mesh data structure has some defects"
If this is interesting and you know how to make "snapshot" - i may try to do it.
After opening "broken file", repot has "The mesh data structure has some defects"
Re: BUG : Hidden corruption of surfaces
Did the flaw on the surface also reveals when you force a full recompute?
Re: BUG : Hidden corruption of surfaces
No, only after interraction, close / open / copy - paste or export import into another project.
Sorry i have accidentally closed buggy session
May be next time... Or I can attach good and broken parts if it may help to understand the reason.
Sorry i have accidentally closed buggy session
May be next time... Or I can attach good and broken parts if it may help to understand the reason.
Re: BUG : Hidden corruption of surfaces
Moved from Open discussion.
What does Part->CheckGeometry say? You may attach a file for further inspection.
What does Part->CheckGeometry say? You may attach a file for further inspection.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: BUG : Hidden corruption of surfaces
Lot of errors.
In attachment "corrupted" and "good" (reassemled) parts
In attachment "corrupted" and "good" (reassemled) parts
- Attachments
-
- corrupted_part.FCStd
- (920.45 KiB) Downloaded 14 times
Re: BUG : Hidden corruption of surfaces
Another corruption happens
After setting refine to true for cut operation, this face was corrupted irrevocably. It shown normally, but part check says that Edge1 is very small edge.
Using this face within shell will produce unexcpected results after operation on that shell (cut for example)
After setting refine to true for cut operation, this face was corrupted irrevocably. It shown normally, but part check says that Edge1 is very small edge.
Using this face within shell will produce unexcpected results after operation on that shell (cut for example)
- Attachments
-
- broken_face.FCStd
- (4.61 KiB) Downloaded 12 times
- OficineRobotica
- Posts: 433
- Joined: Thu Feb 21, 2019 8:17 am
- Contact:
Re: BUG : Hidden corruption of surfaces
If i can add my testimony.... i'vd hit a very similar issue https://forum.freecadweb.org/viewtopic. ... 20#p423898
https://forum.freecadweb.org/viewtopic. ... 90#p432800
but this time in linkstage3 branch.
At first we thought it was a Boolean operation and then we tried to blame a fillet issue but now that you mention it I hit this kind of problem after refine on a feature.
This has happened on another model and always after a refine. After that the model is almost irecovreble if not by deleting allot of features prior to the refine seted one. It seems to happen with occ 7.4
Sorry for the confused report, I'm on mobile, but it seems a important issue. Unfortunatly it can cause allot of time loss when modelling
https://forum.freecadweb.org/viewtopic. ... 90#p432800
but this time in linkstage3 branch.
At first we thought it was a Boolean operation and then we tried to blame a fillet issue but now that you mention it I hit this kind of problem after refine on a feature.
This has happened on another model and always after a refine. After that the model is almost irecovreble if not by deleting allot of features prior to the refine seted one. It seems to happen with occ 7.4
Sorry for the confused report, I'm on mobile, but it seems a important issue. Unfortunatly it can cause allot of time loss when modelling
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
Re: BUG : Hidden corruption of surfaces
Yes this is very bad bug that consume lot of time and happens often.
Mostly I have faced with this problem when shell vs solid operations. For example, cut solid from shell to make hole.
I think we should not use refine for that type of operations because this is not safe now and problem is not visible right after refine.
Also there is no way to rollback. Face corrupted without chance to get it back to "normal" state.
Current my workaround for this bug - remove corrupted face and make new one.
Mostly I have faced with this problem when shell vs solid operations. For example, cut solid from shell to make hole.
I think we should not use refine for that type of operations because this is not safe now and problem is not visible right after refine.
Also there is no way to rollback. Face corrupted without chance to get it back to "normal" state.
Current my workaround for this bug - remove corrupted face and make new one.
Re: BUG : Hidden corruption of surfaces
HardRock wrote: ↑Sat Oct 17, 2020 10:23 pm After setting refine to true for cut operation, this face was corrupted irrevocably. It shown normally, but part check says that Edge1 is very small edge.
Using this face within shell will produce unexcpected results after operation on that shell (cut for example)
Code: Select all
f1.getTolerance(1)
>>> 11.237659910743833