[Bug tracker #4360] Bug in 0.19? BOPcheck fails on pocket of ShapeString
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 tracker #4360] Bug in 0.19? BOPcheck fails on pocket of ShapeString
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21125 (Git)
Build type: Release
Branch: master
Hash: 40600a55c2fe71ff589be677f6e427ccc937d003
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
I think this is a bug and I don't see it reported in the bug tracker. I'm asking for confirmation or to see if I'm in error.
I'm embossing a ShapeString into a solid using a pocket, not going all the way through. Making the pocket works fine and I see no issues with what I've done.
However, Doing Analyze Geometry for Errors with all BopCheck options enabled produces "Pocket: Result has multiple solids. This is not supported at this time" which isn't true. I'm also noticing several Python syntax warnings, which may or may not be associated, (The previous pocket of a sketch of a circle produces no error.
Again, is this a bug or am I missing something?
Thanks
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21125 (Git)
Build type: Release
Branch: master
Hash: 40600a55c2fe71ff589be677f6e427ccc937d003
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
I think this is a bug and I don't see it reported in the bug tracker. I'm asking for confirmation or to see if I'm in error.
I'm embossing a ShapeString into a solid using a pocket, not going all the way through. Making the pocket works fine and I see no issues with what I've done.
However, Doing Analyze Geometry for Errors with all BopCheck options enabled produces "Pocket: Result has multiple solids. This is not supported at this time" which isn't true. I'm also noticing several Python syntax warnings, which may or may not be associated, (The previous pocket of a sketch of a circle produces no error.
Again, is this a bug or am I missing something?
Thanks
- Attachments
-
- shapestring.FCStd
- (102.55 KiB) Downloaded 44 times
Last edited by TedM on Thu May 28, 2020 3:19 pm, edited 1 time in total.
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: Bug in 0.19? BOPcheck fails on pocket of ShapeString
Confirmed:
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21125 (Git)
Build type: Release
Branch: master
Hash: 40600a55c2fe71ff589be677f6e427ccc937d003
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
It looks like it fails the self-intersection test. A workaround is to convert the shapestring to a sketch using Draft workbench Draft to Sketch tool, then use the sketch. This is not parametric as changes to the shapestring won't get reflected in the sketch or subsequent pocket operation.
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21125 (Git)
Build type: Release
Branch: master
Hash: 40600a55c2fe71ff589be677f6e427ccc937d003
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
It looks like it fails the self-intersection test. A workaround is to convert the shapestring to a sketch using Draft workbench Draft to Sketch tool, then use the sketch. This is not parametric as changes to the shapestring won't get reflected in the sketch or subsequent pocket operation.
- Attachments
-
- shapestring(v2).FCStd
- (119.35 KiB) Downloaded 40 times
Re: Bug in 0.19? BOPcheck fails on pocket of ShapeString
Should I add this to the bug tracker?
Re: Bug in 0.19? BOPcheck fails on pocket of ShapeString
No. You didn't use the ShapeString for the pocket, so you should remove it from the body. Then CheckGeometry doesn't show errors. I cannot test the following, because I don't have the font, but you may try to use the ShapeString directly for pocketing.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Bug in 0.19? BOPcheck fails on pocket of ShapeString
I'm sorry, but I'm not understanding this answer. I did use the ShapreString directly for the pocket. By the way, it'd not just this font, My actual application used a different one.
It's true I can work around the problem by converting the ShapreString to a sketch but isn't my approach valid? Shouldn't it pass a geometry check?
Re: Bug in 0.19? BOPcheck fails on pocket of ShapeString
So I tried and 0.18.4 and even 0.17.13541 fails with any pocketed shapestring... This is under Windows. Could somebody try to pass BOP check to any pocketed shapestring? It either gives "BOPAlgo OperationAborted" or crashes FreeCAD.
Re: Bug in 0.19? BOPcheck fails on pocket of ShapeString
No, you don't use the ShapeString to pocket. In the attached file you use a sketch that has the same shape as the ShapeString and this is a problem.
Either delete the ShapeString, or better delete your last pocket and its sketch, and directly pocket the ShapeString.
The approach shown in the attached file isn't valid, or at least suboptimal.It's true I can work around the problem by converting the ShapreString to a sketch but isn't my approach valid? Shouldn't it pass a geometry check?
Re: Bug in 0.19? BOPcheck fails on pocket of ShapeString
I made from scratch a minimal ShapeString pocketing in PartDesign and confirm the check unexpectedly terminates with a "BOPAlgo OperationAborted".
Re: Bug in 0.19? BOPcheck fails on pocket of ShapeString
This is how the dependency graph of your model looks like. ShapeString is not used for anything:
- Attachments
-
- Snip macro screenshot-7d5472.png (21.81 KiB) Viewed 1647 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: Bug in 0.19? BOPcheck fails on pocket of ShapeString
I think some of you are mistaking my file for the OP's. He did not use a sketch for the pocket. My example for a workaround was to create the sketch and use it for the pocket.