Can't Export or add a final fillet - "Out of allowed scope" error

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
gallinka
Posts: 4
Joined: Tue Mar 28, 2023 3:24 am

Can't Export or add a final fillet - "Out of allowed scope" error

Post by gallinka »

I have tried to create this part several times. It is a simple design, basically a grommet for wire. There is a 3" diameter (76.2mm) 3/16" (4.7mm) thick "flange" with a 2" diameter hole in the center and a 3/16" of an inch wall thickness. The overall part is 14.28mm (3/16"/4.7mm for the flange, plus 3/8"/9.5mm deep hole).

So I created a sketch, drew a circle, and constrained it to 76.2 mm. I pad that to 4.7mm. I create another sketch (in the same body), draw a circle, constrained it to 55.56mm, and pad the sketch to 14.28mm. I then create a subtractive cylinder, 25.4mm in radius, 14.28mm deep (on the xy plane I think, I don't understand fully the dialog that opens up).

I get this error when I try to add a fillet:

Code: Select all

23:12:02  Part::Fillet: Link(s) to object(s) 'Cylinder' go out of the allowed scope 'Fillet'. Instead, the linked object(s) reside within 'Body Body'.
23:13:01  1e-07 <App> Document.cpp(3216): The graph must be a DAG.
23:13:01  0.175947 <App> Document.cpp(3571): __inch_wire_grommet_flange#Fillet still touched after recompute
23:13:01  0.177074 <App> Document.cpp(3216): The graph must be a DAG.
23:13:01  Part::Fillet: Link(s) to object(s) 'Cylinder' go out of the allowed scope 'Fillet'. Instead, the linked object(s) reside within 'Body Body'.
23:13:01  Recompute failed! Please check report view.
23:15:28  147.289 <App> Document.cpp(3216): The graph must be a DAG.
23:16:21  200.109 <App> Document.cpp(3216): The graph must be a DAG.
23:16:43  Recompute failed! Please check report view.
23:17:14  Recompute failed! Please check report view.
23:17:43  Recompute failed! Please check report view.
23:17:59  Recompute failed! Please check report view.
23:18:39  Recompute failed! Please check report view.
23:21:00  Recompute failed! Please check report view.
23:21:08  Recompute failed! Please check report view.
23:32:12  Recompute failed! Please check report view.
23:36:29  <Exception> Tree.cpp(2005): Dependency loop detected for Unnamed#Pad001
23:37:36  <ShapeBinder> ViewProviderShapeBinder.cpp(363): invalid selection
23:39:23  Recompute failed! Please check report view.

I also cannot export the drawing to an STL. I think the two pad operations are not bound to each other or something but honestly, this is all beyond me. I have no background in CAD and I have only been learning CAD/FreeCAD for a few weeks. Any help would be appreciated.
Last edited by gallinka on Tue Mar 28, 2023 9:44 am, edited 1 time in total.
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Can't Export or add a final fillet - "Out of allowed scope" error

Post by onekk »

gallinka wrote: Tue Mar 28, 2023 3:59 am ...
A file and some FreeCAD info following.

http://forum.freecadweb.org/viewtopic.php?f=3&t=2264

would be a good help to pinpoint the problem.

And if you use the <\> button to post code it will be more readable.

Help us to help you, as helpers here are smart, but voukd not yet read minds.

Kind Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: Can't Export or add a final fillet - "Out of allowed scope" error

Post by chrisb »

You have a cyclic dependency ("not a DAG"). Check the Dependency Graph for red arrows.

Out of allowed scope occurs, if you cross the Body unallowed, e.g. by applying a Part fillet to a PartDesign feature. These are shown in orange in the dependency graph.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
gallinka
Posts: 4
Joined: Tue Mar 28, 2023 3:24 am

Re: Can't Export or add a final fillet - "Out of allowed scope" error

Post by gallinka »

I am running FreeCAD version 20.2. I had to re-create the file. I could not remember how I subtracted the cylinder so I had to subtract a cylinder from both pad operations to get it to make a hole. I could only add a fillet to one of the cylinders, the other produced the error. Here is the file:
2inchgrommetflange.FCStd
(22.3 KiB) Downloaded 9 times
chrisb wrote: Tue Mar 28, 2023 8:57 am
You have a cyclic dependency ("not a DAG"). Check the Dependency Graph for red arrows.
I installed Graphviz and looked at it. It shows two bodies, fully contained in a box. I am not sure even if that is good or bad.


Thanks in advance for any help you can provide.
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: Can't Export or add a final fillet - "Out of allowed scope" error

Post by chrisb »

I don't see the DAG error in your file, but the fillet issue is exactly as suspected above. To repair:
- Delete Fillet
- make Body invisible
- make Body001 visible
- activate Body001 (this will also switch workbench)
- add a PartDesign fillet.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
papyblaise
Veteran
Posts: 7869
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Can't Export or add a final fillet - "Out of allowed scope" error

Post by papyblaise »

There are several reasons why it doesn't work:
the 2 bodies must be merged (Add boolean)
fillet only at the end
make the fillet in the same body and with PartDesign
there is a more logical workflow:
make the 1st Pad with a sketch that already contains the circle of the hole, make the 2nd cylinder in the same body by also making the hole at the same time, then the fillet
another solution: draw the section of the tube with its flange and the fillet, and rotate it

your finished version with the 1st solution:
Attachments
2inchgrommetflange finished.FCStd
(23.72 KiB) Downloaded 5 times
2inchgrommetflange finished.JPG
2inchgrommetflange finished.JPG (23.18 KiB) Viewed 345 times
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Can't Export or add a final fillet - "Out of allowed scope" error

Post by Shalmeneser »

:idea:
Attachments
2inchgrommetflange_SHALM.FCStd
(9.78 KiB) Downloaded 4 times
Capture d’écran 2023-03-28 192238.jpg
Capture d’écran 2023-03-28 192238.jpg (29.68 KiB) Viewed 246 times
Post Reply