View Issue Details

IDProjectCategoryView StatusLast Update
0004029PartDesignBugpublic2019-06-19 14:58
ReporterfabricoAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
PlatformAMD64OSUbuntuOS Version18.04.2 LTS
Product Version0.18 
Target Version0.19Fixed in Version 
Summary0004029: Pocket operation yields invalid result with "Refine = True"
DescriptionCertain pocket geometries yield invalid results with missing surfaces or distorted shapes when their "Refine" property is set to "True". See examples in the forum thread for details.

forum thread
Steps To ReproduceUse Part Design Workbench in the provided file.

Behavior1:
1) Open the attached file.
2) Create a new sketch on the front face of the part.
3) Draw a circle somewhere on the face of the part.
4) Close the sketch.
5) Attempt to create a pocket with the sketch.
6) The part disappears.
7) Cancel the pocket task.
8) Hover over "Body" in the tree.
9) An error message appears: "Tip shape is empty (but must be executed)"

Behavior2:
1) Open the attached file.
2) Right click on "SubtractivePipe" in the tree.
3) Select "Set tip".
4) Create a new sketch on the front face of the part.
5) Draw a circle somewhere on the face of the part.
6) Close the sketch.
7) Attempt to create a pocket with the sketch.
8) The pocket is created.
9) Click OK for the pocket task.
10) No error is evident.

openBrain's posted reply revealed that the part had a missing surface before the attempted pocket. This missing surface is the evidence of the bug.


openBrain : it seems user level root cause is that setting "Refine=True" on the CableSlitPocket in the example file fails (a face vanishes leading to an invalid solid). Setting "Refine=False" solves the problem.
Moreover, despite step 3 of Behavior2 may prevent the bug to happen, there is still a missing face.
Additional InformationOS: Ubuntu 18.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.1.
Build type: Release
Python version: 3.6.7
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
TagsNo tags attached.

Activities

fabrico

2019-06-19 08:38

reporter  

test.FCStd (150,534 bytes)

openBrain

2019-06-19 10:57

developer   ~0013260

@fabrico : I added some details in your ticket so devs hopefully don't have to go to the forum to get a basic understanding of the possible cause. Hope you're OK with that. ;)

Issue History

Date Modified Username Field Change
2019-06-19 08:38 fabrico New Issue
2019-06-19 08:38 fabrico File Added: test.FCStd
2019-06-19 10:34 openBrain Severity feature => minor
2019-06-19 10:55 openBrain Summary Pocket operation yields invalid result. => Pocket operation yields invalid result with "Refine = True"
2019-06-19 10:55 openBrain Description Updated View Revisions
2019-06-19 10:55 openBrain Steps to Reproduce Updated View Revisions
2019-06-19 10:57 openBrain Note Added: 0013260
2019-06-19 14:58 Kunda1 Status new => confirmed
2019-06-19 14:58 Kunda1 Target Version => 0.19