Freecad toggles visibility automatically when editing, how to stop that?

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!
jmaustpc
Veteran
Posts: 11212
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Freecad toggles visibility automatically when editing, how to stop that?

Post by jmaustpc »

seppelw wrote: Mon Apr 22, 2019 3:55 pm
freedman wrote: Mon Apr 22, 2019 3:48 pm I have all selected in Visibility, that doesn't fix it here. I have seen this issue for over a year, I just toggle and move on.
Hello,

it does not solve the problem, but at least it makes me feel better :? .

Best Regards, Seppel
Provide a file and explain exactly what we have to do to it to see what you are seeing.
jmaustpc
Veteran
Posts: 11212
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Freecad toggles visibility automatically when editing, how to stop that?

Post by jmaustpc »

freedman wrote: Mon Apr 22, 2019 3:27 pm I've seen this, I presume it's well known. I attached a file, if you open the last sketch and close it the model disappears.
interesting, if you set your last (2nd, Pad001) feature to un-hidden, then edit the first sketch for the first sketch, then auto hidden works properly. It only keeps that last Pad hidden after you edit the second sketch upon which it is based.

Also if I attach another sketch a your last Pad's face and create a third Pad, then all the problems go away for the complete file, i.e. it auto hides and comes back again after exiting edit mode of your formerly problematic sketch.
freedman
Veteran
Posts: 3106
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: Freecad toggles visibility automatically when editing, how to stop that?

Post by freedman »

Scanning my last few brain cells, I did report this and resetting my config files fixed everything.

I will check later, gotta go.
jmaustpc
Veteran
Posts: 11212
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Freecad toggles visibility automatically when editing, how to stop that?

Post by jmaustpc »

freedman wrote: Mon Apr 22, 2019 4:29 pm Scanning my last few brain cells, I did report this and resetting my config files fixed everything.

I will check later, gotta go.
if you do that again, please rename rather than delete, if that fixes the issue, we might be able to look at your old settings and work out what is going on.
jmaustpc
Veteran
Posts: 11212
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Freecad toggles visibility automatically when editing, how to stop that?

Post by jmaustpc »

I have worked out what is happening with regards to PartDesign.

The settings in preferences, apply to the default settings to be applied to the properties of new sketches. These properties can be changed in the property editor (or on creation).

When you change the preference settings, there is a button you can click on to apply the changes to all existing sketches or you can just go to the sketch that is giving grief and change its individual property value.

In this case the issue seems to be the "Hide Dependent" property. My setting hence my sketches all had that set to true. So for me it all worked properly. Your file did not because its property values were of course remembered and you had it set to "False". As soon as I toggled that value in your sketch, your file worked perfectly again like all of my files.

However there does seem to be a bug in there because if I set "Hide Dependent" to "False", the dependent Pad still gets hidden anyway as soon as I enter sketch edit mode. However when I exit edit mode the Pad remains set to hidden rather than being left at unhidden the whole time.
Screenshot_20190423_034930.png
Screenshot_20190423_034930.png (38.94 KiB) Viewed 2093 times
seppelw wrote: Mon Apr 22, 2019 3:43 pm Hello,

I use the BIM workbench,I created some walls based on Draft-Faces,... then I toggled the visibility to just see the Draft-Rectangles, I move one and after I moved it toggles all the visibility to on.

Why is it toggling visibility at all?

Thank you, Best Regards, Sebastian
If you post a file and a proper description of how to get what you are seeing in BIM (does it happen in Arch?). Then I will test that and see what is going on. Its possibly something similar.


Its extremely late here now, actually early since its well past midnight, so I am off to bed. If some others can test and confirm this, and test the other similar/associated Sketcher properties behaviour in PartDesign, that would be great. I will create a bug tracker ticket tomorrow if no one else has done so by then.



OS: Kubuntu 18.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.1.
Build type: Release
Python version: 3.6.7
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Australia (en_AU)
User avatar
seppelw
Posts: 115
Joined: Tue Jan 16, 2018 11:12 pm
Location: CH/DE

Re: Freecad toggles visibility automatically when editing, how to stop that?

Post by seppelw »

Hello,

I'm sorry, I tried to model my private home project to play(containing overlaid plans from the architect), so I can not, it will take me a while to come up with an example to show it. Hopefully I find some time on the weekend to reproduce the problem.

Best Regards, Seppel
freedman
Veteran
Posts: 3106
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: Freecad toggles visibility automatically when editing, how to stop that?

Post by freedman »

I kind-of understand the phrase (see pic) but when it actually gets applied, not a clue. And from what I read it seems backwards. I know now to keep it checked. ;)
jmaustpc, thanks for the footwork on figuring out how that works, this might fix a few of my models.
Attachments
pref.JPG
pref.JPG (9.87 KiB) Viewed 2056 times
jmaustpc
Veteran
Posts: 11212
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Freecad toggles visibility automatically when editing, how to stop that?

Post by jmaustpc »

This is the bug report regarding PartDesign WB

issue #3943
freedman
Veteran
Posts: 3106
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: Freecad toggles visibility automatically when editing, how to stop that?

Post by freedman »

I get it; maybe it should read:
"When entering Sketcher hide dependent objects"
glebius
Posts: 1
Joined: Tue Apr 27, 2021 4:18 pm

Re: Freecad toggles visibility automatically when editing, how to stop that?

Post by glebius »

Hi!

Was the problem fixed in 0.19.1? I have a problem that seems to be the same. When I toggle visibility of a certain part, others turn off. After adding a certain amount of parts it is just no longer possible to make the whole body visible.
Post Reply