Color Parts

Post here for help on using FreeCAD's graphical user interface (GUI).
chrisb
Posts: 14562
Joined: Tue Mar 17, 2015 9:14 am

Re: Color Parts

Postby chrisb » Mon Feb 11, 2019 6:23 am

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)
ldboehm
Posts: 36
Joined: Wed Jun 13, 2018 3:49 pm

Re: Color Parts

Postby ldboehm » Mon Feb 11, 2019 1:02 pm

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

Re: Color Parts

Postby meme2704 » Mon Feb 11, 2019 2:25 pm

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 6 times
ldboehm
Posts: 36
Joined: Wed Jun 13, 2018 3:49 pm

Re: Color Parts

Postby ldboehm » Mon Feb 11, 2019 3:29 pm

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

Re: Color Parts

Postby meme2704 » Mon Feb 11, 2019 4:04 pm

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: 36
Joined: Wed Jun 13, 2018 3:49 pm

Re: Color Parts

Postby ldboehm » Mon Feb 11, 2019 5:16 pm

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
Posts: 14562
Joined: Tue Mar 17, 2015 9:14 am

Re: Color Parts

Postby chrisb » Mon Feb 11, 2019 6:34 pm

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

Re: Color Parts

Postby chrisb » Mon Feb 11, 2019 6:38 pm

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.
ldboehm
Posts: 36
Joined: Wed Jun 13, 2018 3:49 pm

Re: Color Parts

Postby ldboehm » Mon Feb 11, 2019 8:22 pm

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

Re: Color Parts

Postby chrisb » Tue Feb 12, 2019 6:29 am

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.