View Issue Details

IDProjectCategoryView StatusLast Update
0002811PartDesignBugpublic2017-01-28 11:32
ReporterSebKuzminsky Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Platformamd64OSDebianOS VersionStretch
Product Version0.16 
Summary0002811: two pockets that interact mess up the model
DescriptionHi there, I'm running a current package from the Wily freecad-stable PPA on Debian Jessie. I've run into what seems like a bug in Part Design.

I tried to attach both a Freecad model and a screenshot to this bug, but it looks like the tracker only supports one attached file so here's a link to a screenshot of what I see: http://highlab.com/~seb/pocket-bug-screenshot.png
Steps To ReproduceStart a new project.
Create a new sketch on the XY plane (named "Sketch").
Use the Rectangle sketcher geometry to make a 1 inch by 1 inch square, with one point at the origin.
Close the sketch and use Pad to turn it into a 1 inch cube.
Open a new sketch on the top surface of the cube ("Sketch001").
Use Lines and "Center and endpoint" arcs to create a smaller square with rounded corners.
Close the sketch and use the Pocket tool to make a pocket from it.
Note that at this point, the model looks perfect, just like you'd expect

Open a new sketch on the same surface of the cube ("Sketch002"). Make this one a slightly larger square, doesn't need rounded corners. Two adjacent sides should coincide with two sides of Sketch001. I used dimension constraints on the points of the sketches to accomplish this.
Close the sketch and try to turn it into a pocket.

The model turns black and looks all messed up. An error message "Pocket: Cut out of support failed" appears.

The attached model demonstrates the issue.

Making the second sketch slightly larger or smaller (so that its edges don't line up with the edges of Sketch001) makes the problem go away.
Additional InformationOS: Debian GNU/Linux testing (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6707 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f
Python version: 2.7.10
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

Same behavior on the official Debian Testing package of freecad (0.16+dfsg2-2).
TagsNo tags attached.
FreeCAD Information

Activities

SebKuzminsky

2016-12-05 04:57

reporter  

pocket-bug.fcstd (18,126 bytes)

normandc

2016-12-16 02:50

manager   ~0007525

Deleted "Superficie utile.jpg" image uploaded by morris62 because it has absolutely no relevance here! Is he a spammer or what?!?

normandc

2016-12-16 02:59

manager  

normandc

2016-12-16 03:01

manager   ~0007526

Sebastian, you can upload as many files as you want (I think), but you do need to upload them one by one.

Running an Ubuntu package on Debian may not be a good idea. Very often their libraries diverge and it can cause problems.

As for the issue at work: I believe it's a precision issue, it can be solved by replacing the dimensional constraints to the sketch origin with linked external geometry to the existing cutout.

See attached file "pocket-bug-fixed_normandc1.fcstd". I created two linked external points and applied point on object constraints between them and the rectangle.

In the future, please report such problems to the forum first before creating a report here, so we can evaluate if it's worth reporting to the tracker. See Bug submission guidelines: http://forum.freecadweb.org/viewtopic.php?f=3&t=5236

As it is, the devs may close this report as a non-issue.

Kunda1

2017-01-28 11:30

administrator  

pocket-bug-screenshot.png (191,126 bytes)   
pocket-bug-screenshot.png (191,126 bytes)   

Kunda1

2017-01-28 11:32

administrator   ~0008042

I just read @normandc reply as I was about to fix this ticket up.
> As it is, the devs may close this report as a non-issue.
Done.

Issue History

Date Modified Username Field Change
2016-12-05 04:57 SebKuzminsky New Issue
2016-12-05 04:57 SebKuzminsky File Added: pocket-bug.fcstd
2016-12-07 14:43 morris62 File Added: Superficie utile.jpg
2016-12-16 02:49 normandc File Deleted: Superficie utile.jpg
2016-12-16 02:50 normandc Note Added: 0007525
2016-12-16 02:59 normandc File Added: pocket-bug-fixed_normandc1.fcstd
2016-12-16 03:01 normandc Note Added: 0007526
2017-01-28 11:30 Kunda1 File Added: pocket-bug-screenshot.png
2017-01-28 11:32 Kunda1 Note Added: 0008042
2017-01-28 11:32 Kunda1 Status new => closed
2017-01-28 11:32 Kunda1 Resolution open => no change required