View Issue Details

IDProjectCategoryView StatusLast Update
0004350FreeCADBugpublic2022-01-24 19:16
ReporterTedM Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformWindowsOSWindows 10 Home OS Version1909 18363.836
Target Version0.20 
Summary0004350: Pad or Pocket of ShapeString in Part Design causes BOPcheck to abort (OCC bug)
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

Note: Tracking this ticket and upstream in OCC bugs in FreeCAD forum thread
Tags#ready-for-migration, 0.19, OCC Bug, OCC NotOnRoadmap, 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

Kunda1

2020-12-31 12:20

administrator   ~0015184

Last edited: 2020-12-31 12:21

Can someone bump the upstream ticket, please ? (and also confirm this exists on OCC 7.5.0?)
This ticket is being tracked from OCC Bugs in the Bugtracker forum thread.

yorik

2022-03-03 13:55

administrator   ~0016898

This ticket has been migrated to GitHub as issue 6065.

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
2020-05-30 15:20 Kunda1 Steps to Reproduce Updated
2020-05-30 15:20 Kunda1 Additional Information Updated
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
2020-12-03 00:21 Kunda1 Summary Pad or Pocket of ShapeString in Part Design causes BOPcheck to abort => Pad or Pocket of ShapeString in Part Design causes BOPcheck to abort (OCC bug)
2020-12-31 12:18 Kunda1 Additional Information Updated
2020-12-31 12:18 Kunda1 Tag Attached: OCC NotOnRoadmap
2020-12-31 12:20 Kunda1 Note Added: 0015184
2020-12-31 12:21 Kunda1 Note Edited: 0015184
2021-02-06 06:49 abdullah Target Version => 0.20
2022-01-24 19:16 Kunda1 Tag Attached: #ready-for-migration