realthunder / FreeCAD

Link branch FreeCAD
Other
799 stars 46 forks source link

[Problem] Pocket to datum plane fails with "Null face in SketchBased::getSupportFace()!" #970

Closed psommerfeld closed 7 months ago

psommerfeld commented 8 months ago

Is there an existing issue for this?

Version

0.21 (Development)

Full version info

[code]
OS: macOS 14.0
Word size of FreeCAD: 64-bit
Version: 2024.207.0.14555 (Git shallow)
Build type: Release
Branch: _conda_cache_origin_head
Hash: 0c0f69ad4806682096b51f7669d5f1cb83f9c7d7
Python 3.11.6, Qt 5.15.8, Coin 4.0.1, Vtk 9.2.5, OCC 7.7.2
Locale: C/Default (C)
Installed mods: 
  * fasteners.backup1686222008.1392 0.3.50 (Disabled)
  * ProDarkThemePreferencePack 1.0.0
  * BIM 2021.12.0
[/code]

Subproject(s) affected?

None

Problem description

This works with FreeCad main branch so it can't be OCC issue.

  1. Try to create pocket of "sk hex insert" to face datum "datum inside plane" (or any datum plane, it seems)
  2. Get this error: Document.cpp(3424): Failed to recompute wire_stripper#Pocket: Null face in SketchBased::getSupportFace()! Screenshot 2024-03-18 at 10 52 30 AM

Anything else?

Same issue with previous Link stage release (2023.05.21).

Code of Conduct

realthunder commented 8 months ago

Could you please post your file here, or email to me?

psommerfeld commented 8 months ago

wire stripper.FCStd.zip Here is my project

psommerfeld commented 7 months ago

Any update??

realthunder commented 7 months ago

Sorry, missed you comment. The above commit fixed issue. The bug affects sketches that attach to non face object. As a workaround, you can change the the support of Sketch002 to be the same as Sketch001, instead of attaching to it.

psommerfeld commented 7 months ago

Ok, that's a good enough workaround for now. Thanks!