How to set electronic part legs colour?

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!
User avatar
PiotrG
Posts: 30
Joined: Wed Nov 27, 2019 11:57 am

How to set electronic part legs colour?

Post by PiotrG »

It is my first try to do what I need with FC (I use 0.18 Windows 7 64 bit)
In thread:
https://forum.freecadweb.org/viewtopic.php?f=3&t=42110
I've got from Willem the file: diode-willem.FCStd.

I found how to change its colour (Body->Property->View->Shape Color).
I found how to change legs colour (Chamfer->right click->Set colors...).

I'm happy with the result (screen shot attached) but....
When I save the file (File -> Save As and NewName.FCStd) and then open it my Shape Colour setting is OK, but my legs color setting is lost and legs have the same colour as the body.

I am no familiar with FC concepts, specially regarding colors (reading about FC and some workbenches I didn't noticed any information about colors settings). So what is going on:
- it is a bug and legs colour should be saved to file,
- it is a bug and FC should not allow me to set legs colour as the Body is assumed to be made of one material so one colour,
- it is OK and everyone knows that colour setting sometimes is only temporary just to help distinguish part fragments,
- the element made of different materials should be defined as Part and not Body,
- others?

What I should do to have element with black body and light gray legs?
Attachments
bridge.png
bridge.png (50.67 KiB) Viewed 1096 times
User avatar
HarryGeier
Veteran
Posts: 1231
Joined: Mon Jul 10, 2017 12:36 pm
Location: Hof Germany

Re: How to set electronic part legs colour?

Post by HarryGeier »

i am not very familiar with Kicad and their objects. But a friend of mine has a bunch of videos on that matter..including FreeCad & Kicad

https://www.youtube.com/channel/UCWUKQQ ... MXcdGzs_UQ
Kaum macht man´s richtig , gehts´s
My Video Tutorials on Youtube: https://www.youtube.com/channel/UCoe3B ... p8Q/videos
My FreeCAD Stuff on Hidrive: https://my.hidrive.com/share/qr3l1yddy6#$/
User avatar
Willem
Veteran
Posts: 1854
Joined: Fri Aug 12, 2016 3:27 pm
Location: Lisse, The Netherlands

Re: How to set electronic part legs colour?

Post by Willem »

In Part design you can do only one color for a body.
When you design in the Part workbench you can use more colors for a boolean union.
Attachments
diode-willem2.FCStd
(26.01 KiB) Downloaded 26 times
User avatar
PiotrG
Posts: 30
Joined: Wed Nov 27, 2019 11:57 am

Re: How to set electronic part legs colour?

Post by PiotrG »

Willem wrote: Tue Jan 07, 2020 8:25 pm When you design in the Part workbench
Thanks. I think now I have all what I need to do rest myself.
Now I don't know yet the sequence of operations to get the file like that but it should be only a question of some experiments.
I didn't read about Part workbench (I hoped Pard Design + Sketcher + A2plus + TechDraw + KiCadStepUp (it suggest also to use Manipulator and Defeaturing) would be enough for me).
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: How to set electronic part legs colour?

Post by openBrain »

Willem wrote: Tue Jan 07, 2020 8:25 pm In Part design you can do only one color for a body.
When you design in the Part workbench you can use more colors for a boolean union.
AFAIK all objects can have their faces colored independently. ;)
User avatar
Willem
Veteran
Posts: 1854
Joined: Fri Aug 12, 2016 3:27 pm
Location: Lisse, The Netherlands

Re: How to set electronic part legs colour?

Post by Willem »

@ Openbrain
With Appearence you can color objects and no individual faces. In Freecad 0.16 you could do individual faces but that is over now
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: How to set electronic part legs colour?

Post by openBrain »

Willem wrote: Wed Jan 08, 2020 2:20 pm @ Openbrain
With Appearence you can color objects and no individual faces. In Freecad 0.16 you could do individual faces but that is over now
Absolutely not. I do it often with 0.18 and 0.19. ;)
freedman
Veteran
Posts: 3467
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: How to set electronic part legs colour?

Post by freedman »

In Part design and Part, if I click on a face and set the appearance the whole object changes color. Am I missing something?

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16085 (Git)
User avatar
papyblaise
Veteran
Posts: 8002
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: How to set electronic part legs colour?

Post by papyblaise »

Hi
The differance Partdesign againth Part is : in Partdesign you have to draw each element in one distinct Body and color it : you have 3 separate parts ; in Part you can color each part in the same fusion and have in fact one part
Attachments
color.PNG
color.PNG (17.99 KiB) Viewed 922 times
drmacro
Veteran
Posts: 8984
Joined: Sun Mar 02, 2014 4:35 pm

Re: How to set electronic part legs colour?

Post by drmacro »

Ok, so I can think of a couple ways to do it...but, I'm wondering what is the best/easiest way.

How do you model this so that the color of the ends and body can be separate colors:
DaytonCap.jpg
DaytonCap.jpg (292.59 KiB) Viewed 891 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Post Reply