Newbie: Strange behavior

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!
Stonefire
Posts: 33
Joined: Wed Feb 06, 2019 9:49 pm

Re: Newbie: Strange behavior

Postby Stonefire » Wed Feb 13, 2019 2:18 pm

Ok - thanks...

This is the latest file...

Sincerly

Steen
openBrain
Posts: 2380
Joined: Fri Nov 09, 2018 5:38 pm

Re: Newbie: Strange behavior

Postby openBrain » Wed Feb 13, 2019 2:30 pm

Stonefire wrote:
Wed Feb 13, 2019 2:18 pm
Ok - thanks...

This is the latest file...

Sincerly

Steen
Missing attachment. ;)
Stonefire
Posts: 33
Joined: Wed Feb 06, 2019 9:49 pm

Re: Newbie: Strange behavior

Postby Stonefire » Wed Feb 13, 2019 2:51 pm

sorry
Stonefire
Posts: 33
Joined: Wed Feb 06, 2019 9:49 pm

Re: Newbie: Strange behavior

Postby Stonefire » Wed Feb 13, 2019 2:52 pm

hmmm
Attachments
MoTag 12d.FCStd
(826.7 KiB) Downloaded 7 times
openBrain
Posts: 2380
Joined: Fri Nov 09, 2018 5:38 pm

Re: Newbie: Strange behavior

Postby openBrain » Wed Feb 13, 2019 3:18 pm

Here is the clue I have ATM.
I mark all the design for recompute and after recomputing, I see that 4 of the sketches can't be actually updated (they are marked with the blue check mark).
They match with the ones with the red arrow in the Dependency Graph.
The remarkable thing is that when you hover the sketches with the mouse in the combo view, those 4 sketches are displayed as "Touched" in the status bar while others are "Valid". Unfortunately I don't know what exactly it could mean.
I tried to enter the sketches, fully constrain them and force an update but it doesn't solve the problem.

Deeper investigation :
It seems that I guess right and that FC sees a cyclic dependency. Here the message in the Report Panel :

Code: Select all

App::Document::recompute(): cyclic dependency detected
Document::recompute(): Sketch206 still touched after recompute
Document::recompute(): Sketch196 still touched after recompute
Document::recompute(): Sketch203 still touched after recompute
Document::recompute(): Sketch241 still touched after recompute
EDIT : lot of typos :oops:
Last edited by openBrain on Wed Feb 13, 2019 3:40 pm, edited 1 time in total.
openBrain
Posts: 2380
Joined: Fri Nov 09, 2018 5:38 pm

Re: Newbie: Strange behavior

Postby openBrain » Wed Feb 13, 2019 3:23 pm

Actually it seems it comes from sketch mapping issues.
I dirtily remapped all troubling sketches and they can recompute.
I guess that you mapped sketches to faces that are somewhat dependent on the sketches themselves, creating cyclic dependency.
You have to review your mapping to attach sketches to origin planes (eventually with offset), to datum plane, or only to preceding faces. ;)
Stonefire
Posts: 33
Joined: Wed Feb 06, 2019 9:49 pm

Re: Newbie: Strange behavior

Postby Stonefire » Wed Feb 13, 2019 3:32 pm

Hi OpenBrain

Ok- Thanks - I'll try to do that...

Sincely
Steen
GeneFC
Posts: 1025
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Newbie: Strange behavior

Postby GeneFC » Wed Feb 13, 2019 3:43 pm

OK, here is how to get back to a good starting point.

Several of the sketches have some sort of bad reference or self-reference, as shown in the Dependency Graph. For each of those sketches follow these steps.

1. Select sketch and then go to menu item Part Design >> Reorient sketch

Reorient 1.png
Reorient 1.png (267.03 KiB) Viewed 126 times

2. "Sketch has support" prompt will come up

Click "Yes".

Reorient 2.png
Reorient 2.png (14.38 KiB) Viewed 126 times

3. If the sketch has a reference, good or bad, the next prompt will come up. Click "Cancel". If there was no reference, that window will not show up.

Reorient 3.png
Reorient 3.png (16.35 KiB) Viewed 126 times

4. The Dependency Graph is now clean. You can proceed to rebuild your model by positioning and attaching sketches correctly.

DG.PNG
DG.PNG (52.07 KiB) Viewed 126 times

Gene
Last edited by GeneFC on Wed Feb 13, 2019 4:23 pm, edited 1 time in total.
Stonefire
Posts: 33
Joined: Wed Feb 06, 2019 9:49 pm

Re: Newbie: Strange behavior

Postby Stonefire » Wed Feb 13, 2019 3:57 pm

Hi OpenBrain

Ok- Thanks - I'll try to do that...

Sincely
Steen
Stonefire
Posts: 33
Joined: Wed Feb 06, 2019 9:49 pm

Re: Newbie: Strange behavior

Postby Stonefire » Wed Feb 13, 2019 6:42 pm

Hi

Now I think I'm getting somewhere ;-)

No red arrows no more... ;-)

Have made a new loft - made a clone of it and placed it correctly...when making a cut I cant move it into the body without it change direction...

I need it inside the body to extrude new parts onto it....I've tried but the result is on the original loft-part ...and not on the cut-part...

Sincerly
Steen
Attachments
3.FCStd
(403.4 KiB) Downloaded 7 times