Part FaceColors: Difference between revisions

From FreeCAD Documentation
No edit summary
(mention a new feature)
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
<!--T:6-->
<!--T:6-->
{{Docnav
{{Docnav
|[[Part_Defeaturing|Defeaturing]]
|[[Part_CheckGeometry|CheckGeometry]]
|
|
|[[Part_Module|Part]]
|[[Part_Workbench|Part]]
|IconL=Part_CheckGeometry.svg
|IconL=Part_Defeaturing.svg
|IconR=
|IconR=
|IconC=Workbench_Part.svg
|IconC=Workbench_Part.svg
Line 16: Line 16:
{{GuiCommand
{{GuiCommand
|Name=Part FaceColors
|Name=Part FaceColors
|MenuLocation=Contextual menu → Set colors
|MenuLocation=Context menu → Set colors
|Workbenches=[[Part_Module|Part]], [[PartDesign_Workbench|PartDesign]]
|Workbenches=[[Part_Workbench|Part]], [[PartDesign_Workbench|PartDesign]]
|SeeAlso=[[Std_SetAppearance|Std Appearance]]
|SeeAlso=[[Std_SetAppearance|Std Appearance]]
}}
}}
Line 34: Line 34:
## For a single face simply click on it, then select in the dialog its color
## For a single face simply click on it, then select in the dialog its color
## To select multiple faces, either keep {{KEY|Ctrl}} pressed and click on several faces.<br>Or click in the dialog on the button {{Button|Box selection}}. Then you can drag with the mouse a selection rectangle in the model. Every face that is partly in the selection rectangle will be selected.
## To select multiple faces, either keep {{KEY|Ctrl}} pressed and click on several faces.<br>Or click in the dialog on the button {{Button|Box selection}}. Then you can drag with the mouse a selection rectangle in the model. Every face that is partly in the selection rectangle will be selected.
# Choose in the dialog a color for the selected faces.
# Choose in the dialog a color for the selected faces. {{Version|0.20}}: The color can also get a transparency by setting the ''Alpha channel''.
# Click {{Button|OK}} to close the dialog an accept the changes you made.
# Click {{Button|OK}} to close the dialog an accept the changes you made.


Line 48: Line 48:
<!--T:13-->
<!--T:13-->
{{Docnav
{{Docnav
|[[Part_Defeaturing|Defeaturing]]
|[[Part_CheckGeometry|CheckGeometry]]
|
|
|[[Part_Module|Part]]
|[[Part_Workbench|Part]]
|IconL=Part_CheckGeometry.svg
|IconL=Part_Defeaturing.svg
|IconR=
|IconR=
|IconC=Workbench_Part.svg
|IconC=Workbench_Part.svg

Revision as of 16:23, 11 June 2022


Part FaceColors

Menu location
Context menu → Set colors
Workbenches
Part, PartDesign
Default shortcut
None
Introduced in version
-
See also
Std Appearance

Description

The FaceColors feature allows you to define a color for each face or surface of an object. This way you can assign multiple colors to one part. To color whole parts, use instead is the feature SetAppearance.

Usage

To color faces:

  1. Right-click on an item in the tree view. If the items supports the FaceColors feature, there is a context menu entry Set colors... and you can click on it.
  2. To select face(s):
    1. For a single face simply click on it, then select in the dialog its color
    2. To select multiple faces, either keep Ctrl pressed and click on several faces.
      Or click in the dialog on the button Box selection. Then you can drag with the mouse a selection rectangle in the model. Every face that is partly in the selection rectangle will be selected.
  3. Choose in the dialog a color for the selected faces. introduced in version 0.20: The color can also get a transparency by setting the Alpha channel.
  4. Click OK to close the dialog an accept the changes you made.

To reset all face colors:

  1. Click Set to default. This sets the colors of all faces of the part to the default color. The button works instantly, i.e. you can not revert this with the Cancel button.

The FaceColors dialog