It looks like you've found a bug. I copied your steps and made another file from scratch, but with Constraints applied differently, to confirm: I'll update my FreeCAD version and will try again...mslonik wrote:But my intention is to use ThroughAll option:
Unfortunately if I apply this option, Pocket disappears. My question is: why is that?
Yes, I see that changing the length works. In my file it seems the problem happens at the lower edge of the model where Y = -12.5 mm and Z = 0 mm when the edge of the Pocket also goes through Y = -12.5 mm and Z = 0 mm along the X axis. It's where the hypotenuse crosses the horizontal axis in this screen grab of my Sketch003 in the attached file: I thought that having a vertex in the Pocketing Sketch at Y = -12.5 mm and Z = 0 mm caused the problem, but that's not it. The problem is that if any portion of the hypotenuse passes through those points, the Pocket fails. A Cut using a solid that has a face along these points also fails. But if I move my Sketch and Sketch001 down 1 mm so they are at Z = -1 mm, which makes the bottom face of the tube steel at Z = -1 mm, Pocketing "Through All" works, and a Cut also works. The following model is forked at Cut to show the different scenarios while Sketch and Sketch001 have been moved to Z = -1 mm.quick61 wrote:In Sketch002, change the distance constraint from 25mm to 25.1mm and it should work just fine. It looks like OCE is having a bit of a problem with the rounded edges.
Also, Sketch zew" has Redundant Constraints (which I mistakenly thought might be causing the problem), and it would have been simpler to apply Point To Point Tangency Constraints between the line segments and arcs.quick61 wrote:First, you're using more constraints than is needed in your sketches and more distance constraints than required.
Indeed, it works just fine Workaround is simple indeed, but I guess I have to keep it mind. Is there any chance to get warning from FreeCAD about such a problem?In Sketch002, change the distance constraint from 25mm to 25.1mm and it should work just fine.
Thank you for this lesson. I'm a newbie to 3D modelling and in particular to FreeCAD, just started about 2 months ago. My background is automatics and electronics. Never before I had any practise with 3D programs. Nevertheless I don't afraid of new challenges, so I'm very grateful for any remarks which will help me to improve my workflow.I'll also offer some observations on your model.
Should I do something about it, e.g. report a bug to OCE team (http://tracker.dev.opencascade.org/bug_report_page.php)?This is a bit of a bug in OCE and we don't have much we can do about it on this end.
and does not work with the latest OCE from tanderson's OCC 6.9.1 with OCE patches.wmayer wrote:OCC version: 6.6.0