Problem of color display

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
revolver1941
Posts: 19
Joined: Sat Aug 30, 2014 9:47 am

Problem of color display

Post by revolver1941 »

Hi all,
There is a problem of color display of Geometric Primitives in part workbench.
As the first figure show, a line and a circle is built using the part workbench.
1.PNG
1.PNG (21.67 KiB) Viewed 1466 times
Then save the file after setting the Line Color.
The color of the line and circle turns into black when opening the file again as shown in the second figure. But the property value of Line Color remain unchanged.
2.PNG
2.PNG (21.9 KiB) Viewed 1466 times
OS: Windows 8
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.7447 (Git)
Build type: Release
Branch: master
Hash: 898bd8bb4cbe2c9b26aa6c1f7362e48752a3e4de
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
revol
User avatar
r-frank
Veteran
Posts: 2180
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: Problem of color display

Post by r-frank »

Hello revol.

If i am not mistaken you are mixing two things up ...

Your circle is a Sketch element, therefor you should change the color of the sketcher elements(lines).
The Line Color refers to the color of the edges of solids.

Select the cube and change its line color to verify ...

Roland
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
revolver1941
Posts: 19
Joined: Sat Aug 30, 2014 9:47 am

Re: Problem of color display

Post by revolver1941 »

Hi Roland,
r-frank wrote:Your circle is a Sketch element, therefor you should change the color of the sketcher elements(lines).
The Line Color refers to the color of the edges of solids.
Thanks for reply. I know what you mean. But even the cube also has this problem. I'm not sure if I am the only one having this problem because the 0.15 and 0.16 edition works OK. The files saved by 0.17 edition can be opened and displayed correctly by old editions. Only 0.17 edition has the problem. Can you have a try and tell me the result?

Create a new document and create a cube. Then set the Line Color. Save File and close FreeCAD.
3.PNG
3.PNG (25.22 KiB) Viewed 1443 times
Run FreeCAD again and open the saved file. The color of line turns in black although the property value has not changed.
4.PNG
4.PNG (29.98 KiB) Viewed 1443 times
revol
Post Reply