Trying to resolve "cyclic dependency detected"

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!
User avatar
meme2704
Posts: 2926
Joined: Sat Apr 01, 2017 2:47 pm
Location: Vosges

Re: Trying to resolve "cyclic dependency detected"

Postby meme2704 » Fri Mar 15, 2019 9:29 am

And, of course too, share the solution with other users.
Ok, in this case, it would be necessary to make a communication Urbis & Orbis and in Latin :lol:
I work very little with arch Wb which seems to me to be the most adaptable and less consumer of kO
For example the same sketch can be used several times: that of the outer walls is used for the walls, the foundations, the slab
another advantage, a sketch not closed and constituted of several segments even non-continuous or which intersect, works
With the Fenetre tool all doors and windows are placed in one operation,
same for the roof
Attachments
maison de maître.FCStd
(37.78 KiB) Downloaded 5 times
maison de maître.PNG
maison de maître.PNG (11.96 KiB) Viewed 228 times
t.lemaitre
Posts: 27
Joined: Sat Feb 23, 2019 11:18 pm

Re: Trying to resolve "cyclic dependency detected"

Postby t.lemaitre » Fri Mar 15, 2019 10:46 pm

Hello,

chrisb and kisolre, I try to find my redundant constraints.
The sketch view of the V0.17 shows them (or you can use the tool of the sketch Wb (Ctrl + Maj + R) if, like me, you didn't know :x). I tried it with a new sketch with redundant constraints.
Then, I looked in my three main sketches : Pièces_maison (284 constraints), Murs_maison and Murs_garage. There is no redundant constraints !!!


meme2704 wrote:
Fri Mar 15, 2019 9:29 am
For example the same sketch can be used several times: that of the outer walls is used for the walls, the foundations, the slab
another advantage, a sketch not closed and constituted of several segments even non-continuous or which intersect, works
With the Fenetre tool all doors and windows are placed in one operation,
same for the roof
Are we speaking about the same file I attached in my first message?
It's almost exactly what I did. For example, I'm using the sketch Murs_maison to build the wall, the slab, the cladding, etc.
Except for the windows : I want to be able to choose there position/size with a dimension between the windows and a partition for example.
I will however modify my workflow for the windows to stay parametric :
  1. draw a sketch representing the external limit of the windows (with constraints for the position)
  2. then make a window
  3. then attach the windows' sketch to the sketch drawn in the point 1


As I told, my report view were not much verbose and I find an option in the preferences to help me : I just added the message in the menu General and the tab "Fenêtre de sortie".
After a recompute, the result is :

Code: Select all

App::Document::recompute(): cyclic dependency detected
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
('comparison result:', 2)
('comparison result:', 2)
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
<input>:115:6: Could not resolve property: sectionfill
TIMING - ProjItem007 GO spent: 309.495 millisecs in HLRBRep_Algo & co
TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
COPLANAR
('comparison result:', 0)
('comparison result:', 0)
('comparison result:', 0)
('comparison result:', 0)
('comparison result:', 0)
('comparison result:', 0)
('comparison result:', 2)
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
<input>:125:6: Could not resolve property: sectionfill
TIMING - ProjItem006 GO spent: 408.582 millisecs in HLRBRep_Algo & co
TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
TIMING - ProjItem006 GO spent: 422.407 millisecs in HLRBRep_Algo & co
TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
TIMING - ProjItem001 GO spent: 381.431 millisecs in HLRBRep_Algo & co
TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
TIMING - ProjItem GO spent: 451.774 millisecs in HLRBRep_Algo & co
TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
TIMING - ProjItem002 GO spent: 388.700 millisecs in HLRBRep_Algo & co
TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
TIMING - ProjItem005 GO spent: 326.246 millisecs in HLRBRep_Algo & co
TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
TIMING - ProjItem GO spent: 453.397 millisecs in HLRBRep_Algo & co
TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
TIMING - ProjItem001 GO spent: 395.707 millisecs in HLRBRep_Algo & co
TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
TIMING - ProjItem002 GO spent: 414.161 millisecs in HLRBRep_Algo & co
TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
TIMING - ProjItem005 GO spent: 328.242 millisecs in HLRBRep_Algo & co
TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
TIMING - ProjItem007 GO spent: 333.505 millisecs in HLRBRep_Algo & co
TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
At the end, there is many lines like this:
TIMING - ProjItem006 GO spent: 408.582 millisecs in HLRBRep_Algo & co
TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
When you add every lines of this kind it gives 4,6 s. Almost what I'm waiting!
And then I understood I'm loosing my time because of the techdraw objects.
If I delete the group "Plans", FreeCAD is really faster than with: even if I still have my cyclic dependencies, I solved my problem of slowness (and may be the growing RAM too).
I thought cyclic dependencies were the source of the problem, but it's not.

Thank you all!
chrisb
Posts: 17597
Joined: Tue Mar 17, 2015 9:14 am

Re: Trying to resolve "cyclic dependency detected"

Postby chrisb » Sat Mar 16, 2019 5:27 am

It is probably not sufficient that some of your sketches don't have redundants. usually none of them should have them.
t.lemaitre
Posts: 27
Joined: Sat Feb 23, 2019 11:18 pm

Re: Trying to resolve "cyclic dependency detected"

Postby t.lemaitre » Sat Mar 16, 2019 2:47 pm

chrisb wrote:
Sat Mar 16, 2019 5:27 am
It is probably not sufficient that some of your sketches don't have redundants. usually none of them should have them.
For sure, I should not have redundants constraints. I will try to find and delete them.

Here is my current report after a global recompute of my file :

Code: Select all

Sketcher::RedundantSolving-DogLeg-
Sketcher Redundant solving: 1 redundants
Sketcher::setUpSketch()-T:0.024
Sketcher::Solve()-DogLeg-T:0.001
App::Document::recompute(): cyclic dependency detected
App::Document::recompute(): cyclic dependency detected
App::Document::recompute(): cyclic dependency detected
Sketcher::setUpSketch()-T:0.018
Sketcher::Solve()-DogLeg-T:0.001
Sketcher::RedundantSolving-DogLeg-
Sketcher Redundant solving: 1 redundants
Sketcher::setUpSketch()-T:0.002
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.002
Sketcher::Solve()-DogLeg-T:0.001
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Sketcher::RedundantSolving-DogLeg-
Sketcher Redundant solving: 1 redundants
Sketcher::setUpSketch()-T:0.005
Sketcher::Solve()-DogLeg- Failed!! Falling back...
Sketcher::Solve()-LevenbergMarquardt- Failed!! Falling back...
Sketcher::Solve()-BFGS- Failed!! Falling back...
Sketcher::Solve()-SQP(augmented system)- Failed!! Falling back...
Sketcher::Solve()-SQP(augmented system)-T:0.004
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::RedundantSolving-DogLeg-
Sketcher Redundant solving: 1 redundants
Sketcher::setUpSketch()-T:0.003
Sketcher::Solve()-DogLeg- Failed!! Falling back...
Sketcher::Solve()-LevenbergMarquardt- Failed!! Falling back...
Sketcher::Solve()-BFGS- Failed!! Falling back...
Sketcher::Solve()-SQP(augmented system)- Failed!! Falling back...
Sketcher::Solve()-SQP(augmented system)-T:0.001
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Loading Drawing module... done
('Debug: Error computing areas for ', u'Murs maison001', ': unable to project face: ', '[Vector (13833.0, 11980.0, 2504.0869565217417), Vector (-497.0, 11980.0, 2504.086956521741), Vector (-497.0, -497.0, 3697.5391304347836), Vector (8226.0, -497.0, 3697.5391304347836), Vector (8226.0, 2870.0, 3375.478260869567), Vector (13833.0, 2870.0, 3375.478260869567), Vector (13424.0, 3279.0, 3336.3565217391324), Vector (13424.0, 11571.0, 2543.208695652176), Vector (7817.0, 3279.0, 3336.356521739132), Vector (7817.0, -88.0, 3658.417391304349), Vector (-88.0, -88.0, 3658.4173913043487), Vector (-88.0, 11571.0, 2543.2086956521757)]', ' (face normal:', Vector (-4.1689547525126404e-17, 0.0952175768039399, 0.9954564847684633), ')')
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg- Failed!! Falling back...
Sketcher::Solve()-LevenbergMarquardt- Failed!! Falling back...
Sketcher::Solve()-BFGS- Failed!! Falling back...
Sketcher::Solve()-SQP(augmented system)- Failed!! Falling back...
Sketcher::Solve()-SQP(augmented system)-T:0.002
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Exception (Sat Mar 16 11:11:56 2019): Property not found: Dim001  
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Sketcher::RedundantSolving-DogLeg-
Sketcher Redundant solving: 1 redundants
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::RedundantSolving-DogLeg-
Sketcher Redundant solving: 1 redundants
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
('Debug: Error computing areas for ', u'Bardage maison001', ': unable to project face: ', '[Vector (13877.0, 12024.0, 2499.8782608695674), Vector (-541.0, 12024.0, 2499.8782608695665), Vector (-541.0, -541.0, 3701.747826086957), Vector (8270.0, -541.0, 3701.7478260869575), Vector (8270.0, 2826.0, 3379.6869565217403), Vector (13877.0, 2826.0, 3379.6869565217407), Vector (13833.0, 11980.0, 2504.0869565217417), Vector (-497.0, 11980.0, 2504.086956521741), Vector (13833.0, 2870.0, 3375.478260869567), Vector (8226.0, 2870.0, 3375.478260869567), Vector (8226.0, -497.0, 3697.5391304347836), Vector (-497.0, -497.0, 3697.5391304347836)]', ' (face normal:', Vector (-4.1689547525126404e-17, 0.0952175768039399, 0.9954564847684633), ')')
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.002
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::RedundantSolving-DogLeg-
Sketcher Redundant solving: 2 redundants
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.002
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0
Sketcher::setUpSketch()-T:0
Sketcher::Solve()-DogLeg-T:0.001
I can read there is redundant constraints and cyclic dependencies, but I don't know with which object!
chrisb wrote:
Fri Mar 15, 2019 12:30 am

Code: Select all

App::Document::recompute(): cyclic dependency detected
Document::recompute(): DWire071 still touched after recompute
Document::recompute(): Extrusion042 still touched after recompute
Document::recompute(): Sketch058 still touched after recompute
...
How do you get such a report, with the name of the objects? It will be helpful for me.
chrisb
Posts: 17597
Joined: Tue Mar 17, 2015 9:14 am

Re: Trying to resolve "cyclic dependency detected"

Postby chrisb » Sun Mar 17, 2019 7:21 am

I did nothing special. I used 0.18-almost-release-version and made a recompute. In 0.18 the sketches containing errors like redundancies are then marked with an exclamation mark.
t.lemaitre
Posts: 27
Joined: Sat Feb 23, 2019 11:18 pm

Re: Trying to resolve "cyclic dependency detected"

Postby t.lemaitre » Sun Mar 17, 2019 3:18 pm

Ok. Then I'll wait for the 0.18 release in the ppa.
Anybody knows the approximate delay for this?

PS : I browsed the Release_notes_0.18. It seems to be really interesting.
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Trying to resolve "cyclic dependency detected"

Postby NormandC » Sun Mar 17, 2019 3:27 pm

t.lemaitre wrote:
Sun Mar 17, 2019 3:18 pm
Ok. Then I'll wait for the 0.18 release in the ppa.
Anybody knows the approximate delay for this?
I'm supposed to do it this weekend, if I can stop procrastinating and browsing this forum... :oops:

Meanwhile you could simply add the freecad-daily PPA to your software sources, and install the freecad-daily package. It's currently equal to the final 0.18.16093 release, and it won't be updated for a few days I think. It won't conflict with the freecad-stable PPA.
t.lemaitre
Posts: 27
Joined: Sat Feb 23, 2019 11:18 pm

Re: Trying to resolve "cyclic dependency detected"

Postby t.lemaitre » Sun Mar 24, 2019 7:26 pm

After other bugs, I finally installed the ppa-daily version ;)
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Trying to resolve "cyclic dependency detected"

Postby NormandC » Mon Mar 25, 2019 12:39 am

Yeah, I haven't succeeded in packaging 0.18.16093 in the freecad-stable PPA yet, because I wanted to switch to a new alternative system allowing switching between Python 2 and Python 3. Kurt (kkremitzki), who did all the original work for Debian, will look at it when he gets a chance, hopefully soon.
User avatar
bejant
Posts: 5812
Joined: Thu Jul 11, 2013 3:06 pm

Re: Trying to resolve "cyclic dependency detected"

Postby bejant » Mon Mar 25, 2019 1:23 am

t.lemaitre wrote:
Sat Mar 16, 2019 2:47 pm
cyclic dependencies, but I don't know with which object!
Look at the Dependency Graph posted by chrisb and notice the red arrow pointing up from Sketch059 to Wall015 (you re-named them to French names).