Arch Building Part still touched after recompute
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Arch Building Part still touched after recompute
- load the file
- in TreeVies select object "myLayer1"
- in PropertyEditor --> Tab Data --> Group --> Value --> click on the three dots
- Add Column1 and Column2
- They will be grey, the original colors get lost.
To be honest, I am not sure if it is Arch or Link bug.
- in TreeVies select object "myLayer1"
- in PropertyEditor --> Tab Data --> Group --> Value --> click on the three dots
- Add Column1 and Column2
- They will be grey, the original colors get lost.
To be honest, I am not sure if it is Arch or Link bug.
- Attachments
-
- view-problem_03_layer.FCStd
- (30.85 KiB) Downloaded 61 times
Re: Arch Building Part still touched after recompute
BTW it exist on FreeCAD head ond on your GroupMod branch.
-
- Veteran
- Posts: 2190
- Joined: Tue Jan 03, 2017 10:55 am
Re: Arch Building Part still touched after recompute
I think that is a designed behavior. The color change code is at DraftLayer.py:194. The behavior is that if Layer.ViewObject.OverrideChildren is True (which is default, I think), then it will override the children color with its own.
BTW, here is a trick to find out which python code changes which property.
Code: Select all
App.setLogLevel('Property',4)
Re: Arch Building Part still touched after recompute
Got it. Yes it is designed behavior. To deactivate it one must set "Override Children" to False in Layers ViewProvider.
OK colors are fine, but still there are some problems ... I will post later on ...
Re: Arch Building Part still touched after recompute
- load the file
- change the visibility of the layer objects --> it will change the visibility of the objects
- set visibility of the buildings to True (myBuilding1 and myBuilding2)
- again change the visibility of the layer objects --> it will NOT change the visibility of the objects
EDIT: problems only in master noch in GroupMod branch
- change the visibility of the layer objects --> it will change the visibility of the objects
- set visibility of the buildings to True (myBuilding1 and myBuilding2)
- again change the visibility of the layer objects --> it will NOT change the visibility of the objects
EDIT: problems only in master noch in GroupMod branch
Re: Arch Building Part still touched after recompute
the layers work great with your branch https://github.com/realthunder/FreeCAD/tree/GroupMod
Re: Arch Building Part still touched after recompute
when will there be a PR for the GroupMod branch?
Re: Arch Building Part still touched after recompute
https://github.com/FreeCAD/FreeCAD/pull/2723
It's been sitting on the queue for 10 days. But Werner has a lot of work, and no computer, so merging has been slow.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: Arch Building Part still touched after recompute
More App Link problems ...
If the two columns in the file attached are moved (Draft move) they seam to be copied? Is it a bug or a feature?
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19181 (Git)
Build type: Release
Branch: master
Hash: 2504247d65271b937dd5f033a0efff9c0d7bf375
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)
If the two columns in the file attached are moved (Draft move) they seam to be copied? Is it a bug or a feature?
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19181 (Git)
Build type: Release
Branch: master
Hash: 2504247d65271b937dd5f033a0efff9c0d7bf375
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)