View Issue Details

IDProjectCategoryView StatusLast Update
0004350FreeCADBugpublic2020-05-30 15:20
ReporterTedM Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformWindowsOSWindows 10 Home OS Version1909 18363.836
Product Version0.19 
Summary0004350: Pad or Pocket of ShapeString in Part Design causes BOPcheck to abort
DescriptionForum link

After successfully making a pocket or pad of a ShapeString within a Part Design body, BOP Check fails with "Solid1 : Solid : BOPAlgo OperationAborted".
Steps To Reproduce
  1. Create new document.
  2. Go to Part Design workbench and create a body.
  3. Create a sketch of a fully constrained rectangle and pad it.
  4. Go to Draft workbench and create a ShapeString, small enough to fit in the rectangle.
  5. Go back to Part Design workbench.
  6. Move the ShapeString into the body and position so it is sitting on the surface of the pad.
  7. Using the shapeString, either make a pocket into (but not through) the solid or make a pad onto the surface of the solid.
  8. Go to Part workbench.
  9. Select the body and select "Analyzes Geometry for Errors".
  10. Check "Run BOP Check" and, under "Individual BOP Checks", check "Self-Intersect".
  11. Click "Run Check".
  12. Error result is "... Solid : BOPAlgo OperationAborted".
Additional InformationAlso tested under release 0.18.4 and "Analyzes Geometry for Errors" with BOPCheck enabled simply causes FreeCAD to crash (program closes).

The examples use an open-source font from Google for portability. My original encounter was using a native Windows font.

Note: It has been suggested that this may be related to an upstream OCC bug: https://tracker.dev.opencascade.org/view.php?id=31522
Tags0.19, OCC Bug, Part Design, shapestring, upstream
FreeCAD InformationOS: 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)

Activities

TedM

2020-05-28 05:37

reporter  

Roboto-Bold.ttf (170,348 bytes)
shapestringcut.FCStd (75,091 bytes)
shapestringpad.FCStd (106,140 bytes)

TedM

2020-05-30 07:21

reporter   ~0014442

When reading through the forum thread, please ignore early replies disputing the problem. There was confusion from some of the posters where they were looking at a suggested workaround file instead of my original.

Further testing reported on the forum thread show these results:
  • Lone ShapeString => No error
  • ShapeString with Part/Extrude => Error
  • ShapeString with PartDesign/Pad => Error
  • ShapeString with PartDesign/Pocket => Error
  • Any failing case above exported as STEP then reimported => No error
  • ShapeString converted to sketch then Extrude/Pad/Pocket => No error
  • Error only occurs if the text/font includes curves. Text without curves, for example "TTTTkkkk" in a sans-serif font => No error

It has been suggested that this may be a duplicate of https://tracker.dev.opencascade.org/view.php?id=31522

@chrisb reports that the problem also occurs under MacOS:
OS: macOS High Sierra (10.13)
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: C/Default (C)

Kunda1

2020-05-30 15:20

administrator   ~0014446

Updated ticket to reflect it may be an upstream bug. Please notate ticket if in fact it is an I will track both this ticket and upstream via a forum thread that tracks OCC bugs in FreeCAD: https://forum.freecadweb.org/viewtopic.php?t=20264

Issue History

Date Modified Username Field Change
2020-05-28 05:37 TedM New Issue
2020-05-28 05:37 TedM File Added: Roboto-Bold.ttf
2020-05-28 05:37 TedM File Added: shapestringcut.FCStd
2020-05-28 05:37 TedM File Added: shapestringpad.FCStd
2020-05-28 05:40 TedM Tag Attached: 0.19
2020-05-28 05:40 TedM Tag Attached: Part Design
2020-05-28 05:40 TedM Tag Attached: shapestring
2020-05-30 07:21 TedM Note Added: 0014442
2020-05-30 15:19 Kunda1 Tag Attached: OCC Bug
2020-05-30 15:19 Kunda1 Tag Attached: upstream
2020-05-30 15:20 Kunda1 Description Updated View Revisions
2020-05-30 15:20 Kunda1 Steps to Reproduce Updated View Revisions
2020-05-30 15:20 Kunda1 Additional Information Updated View Revisions
2020-05-30 15:20 Kunda1 FreeCAD Information 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 vers... => 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...
2020-05-30 15:20 Kunda1 Note Added: 0014446