Color Parts

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!
chrisb
Veteran
Posts: 43084
Joined: Tue Mar 17, 2015 9:14 am

Re: Color Parts

Post by chrisb »

I can confirm this on my outdated version:

OS: macOS 10.13
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15525 (Git)
Build type: Release
Branch: master
Hash: 1a7d3d9a37fe43468c8ac84590c1db53e2b2000a
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
ldboehm
Posts: 81
Joined: Wed Jun 13, 2018 3:49 pm

Re: Color Parts

Post by ldboehm »

Thanks Chris.
Are you confirming it saves colors, or confirming it is not saving colors?
User avatar
meme2704
Veteran
Posts: 2926
Joined: Sat Apr 01, 2017 2:47 pm
Location: Vosges

Re: Color Parts

Post by meme2704 »

hi
how to confirm you? by example:
if you open my file, you see a red cube with a bleue corner ..... you have your answer
isn'it
Attachments
cube rouge.FCStd
(9.48 KiB) Downloaded 28 times
ldboehm
Posts: 81
Joined: Wed Jun 13, 2018 3:49 pm

Re: Color Parts

Post by ldboehm »

I can see those colors.
Can you try creating one where you have colored specific faces, and not the entire body?
User avatar
meme2704
Veteran
Posts: 2926
Joined: Sat Apr 01, 2017 2:47 pm
Location: Vosges

Re: Color Parts

Post by meme2704 »

or your mouse is color-blind, or your video card is dead, if I download my file (I did not save it), I can see the red cube and the blue corner
Are the solids that are colored not the faces
if you make a cut, the inner matter is gray as in my head :lol:
ldboehm
Posts: 81
Joined: Wed Jun 13, 2018 3:49 pm

Re: Color Parts

Post by ldboehm »

funny.
What I'm referring to is creating a model where you've colored the faces individual colors using the 'Set Color' method available in 0.18, then save it, and see if you open it and see the individual face colors.
chrisb
Veteran
Posts: 43084
Joined: Tue Mar 17, 2015 9:14 am

Re: Color Parts

Post by chrisb »

ldboehm wrote: Mon Feb 11, 2019 1:02 pm Thanks Chris.
Are you confirming it saves colors, or confirming it is not saving colors?
I confirm it is not saving colors. Or to be even more precise: The colors are lost on save and reload.

I made the following test:
- Create a PartDesign additive cube at its default sizes
- color exactly one face
- save
- revert the file.

I attach the file so we see if it's the saving or the loading.

Edit: file removed.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 43084
Joined: Tue Mar 17, 2015 9:14 am

Re: Color Parts

Post by chrisb »

I'm pretty sure it's the saving. I compared Document.xml with a plain cube and found only differences in creation time and uuids.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
ldboehm
Posts: 81
Joined: Wed Jun 13, 2018 3:49 pm

Re: Color Parts

Post by ldboehm »

Thanks Chris,
Should I assume you'll open an issue for this and hopefully will be fixed soon. :)
chrisb
Veteran
Posts: 43084
Joined: Tue Mar 17, 2015 9:14 am

Re: Color Parts

Post by chrisb »

issue #3830.
You may add a more recent FreeCAD info here or in the ticket. I left the target version open, this should not be the last show stopper for 0.18.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply