Part compound: Color not handled properly

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
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Part compound: Color not handled properly

Post by Roy_043 »

If I have two Part primitives with distinct shape colors and and use them as base objects for a Part Compound, the nested objects retain their color even though the compound has its own (different) shape color. But if I then change the shape color of the compound the color of the nested object is overridden. This is strange obviously. But stranger still: If I next change the position of one of the nested objects, the shape color of the nested objects again has priority over that of the compound. Seems like a bug to me.

Code: Select all

OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19263 (Git)
Build type: Release
Branch: master
Hash: c4ca00a1d5b7922ef1d2ae3e820bb34ffdb64d9f
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Dutch/Netherlands (nl_NL)
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Part compound: Color not handled properly

Post by thomas-neemann »

Roy_043 wrote: Fri Jan 17, 2020 3:14 pm
I currently have the problem that if I want to move an "assembly" with differently colored parts with transform, I create a compound. most of the time the colors stay the same, which is what i intend to do. they sometimes get lost with complex assemblies, i haven't been able to reproduce it so far. While searching for the problem I came across this post.



I can confirm


edit

same with draft upgrade

Code: Select all

OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.0.33345 (Git) AppImage
Build type: Release
Branch: master
Hash: a3c4f4bb01f5201daf666852444a8f9c5adbda8d
Python 3.10.11, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Last edited by thomas-neemann on Fri Jun 02, 2023 8:06 am, edited 1 time in total.
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Part compound: Color not handled properly

Post by thomas-neemann »

Bildschirmfoto_2023-06-02_09-54-07.png
Bildschirmfoto_2023-06-02_09-54-07.png (1.59 KiB) Viewed 451 times
keeps the colors, but after taransform i can't dissolve it again without losing the colors.



everything works with box selection, draft move/rotate
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Part compound: Color not handled properly

Post by thomas-neemann »

this works in all cases (so far)


viewtopic.php?t=78765
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Post Reply