Part ColorPerFace: Difference between revisions

From FreeCAD Documentation
(Minor change to docnav)
No edit summary
 
(17 intermediate revisions by 3 users not shown)
Line 4: Line 4:
<!--T:6-->
<!--T:6-->
{{Docnav
{{Docnav
|[[Part_Defeaturing|Defeaturing]]
|[[Part_CheckGeometry|Check geometry]]
|
|[[Part_Measure_Menu|Measure Menu]]
|[[Part_Module|Part]]
|[[Part_Workbench|Part]]
|IconL=Part_CheckGeometry.svg
|IconL=Part_Defeaturing.svg
|IconR=
|IconC=Workbench_Part.svg
|IconC=Workbench_Part.svg
|IconR=Part_Measure_Linear.svg
}}
}}



<!--T:7-->
<!--T:7-->
{{GuiCommand
{{GuiCommand
|Name=Part FaceColors
|Name=Part ColorPerFace
|MenuLocation=View → Color per face
|Empty=1
|MenuLocation=Contextual menu → Set colors
|Workbenches=[[Part_Workbench|Part]], [[PartDesign_Workbench|PartDesign]]
|Workbenches=[[Part_Workbench|Part]], [[PartDesign_Workbench|PartDesign]]
|SeeAlso=[[Std_SetAppearance|Std Appearance]]
|SeeAlso=[[Std_SetAppearance|Std Appearance]]
Line 25: Line 23:


<!--T:3-->
<!--T:3-->
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 ''[[Std_SetAppearance|SetAppearance]]''.
The [[Image:Part_ColorPerFace.svg|24px]] '''Part ColorPerFace''' tool 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 [[Std_SetAppearance|Std SetAppearance]] instead.


==Usage== <!--T:9-->
==Usage== <!--T:9-->
Line 31: Line 29:
<!--T:10-->
<!--T:10-->
To color faces:
To color faces:
# 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.
# Right-click on an object in the [[Tree_view|tree view]]. If the object supports the ''FaceColors'' feature, there is a context menu entry '''Set colors...''' and you can click on it.
# To select face(s):
# To select face(s):
## For a single face simply click on it, then select in the dialog its color
#* For a single face simply click on it.
#* To select multiple faces:
## 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.
#** Keep {{KEY|Ctrl}} pressed and click on several faces.
#** Or click the {{Button|Box selection}} button in the task panel. You can then drag a selection rectangle in the [[3D_view|3D view]] with the mouse. Every face that is partly inside the rectangle will be selected.
# Click {{Button|OK}} to close the dialog an accept the changes you made.
# Choose a color for the selected faces in the task panel. {{Version|0.20}}: The color can also get a transparency by setting the ''Alpha channel''.
# Click the {{Button|OK}} button to close the task panel and accept the changes.


<!--T:11-->
<!--T:11-->
Line 44: Line 44:
<!--T:12-->
<!--T:12-->
[[Image:Part_FaceColors-dialog.png]]
[[Image:Part_FaceColors-dialog.png]]
{{Caption|The FaceColors dialog}}
{{Caption|The FaceColors task panel}}



<!--T:13-->
<!--T:13-->
{{Docnav
{{Docnav
|[[Part_Defeaturing|Defeaturing]]
|[[Part_CheckGeometry|Check geometry]]
|
|[[Part_Measure_Menu|Measure Menu]]
|[[Part_Module|Part]]
|[[Part_Workbench|Part]]
|IconL=Part_CheckGeometry.svg
|IconL=Part_Defeaturing.svg
|IconR=
|IconC=Workbench_Part.svg
|IconC=Workbench_Part.svg
|IconR=Part_Measure_Linear.svg
}}
}}


</translate>
</translate>
{{Part_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
[[Category:User Documentation{{#translation:}}]]
[[Category:Command_Reference{{#translation:}}]]
{{clear}}

Latest revision as of 18:00, 13 April 2024

Part ColorPerFace

Menu location
View → Color per face
Workbenches
Part, PartDesign
Default shortcut
None
Introduced in version
-
See also
Std Appearance

Description

The Part ColorPerFace tool 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 Std SetAppearance instead.

Usage

To color faces:

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

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 task panel