Part ColorPerFace: Difference between revisions

From FreeCAD Documentation
m (style fix)
No edit summary
 
(32 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Template:VeryImportantMessage|The Std_SetColors name or any similar name does not exist in the FreeCAD code base. We need to find another name for the page, or transfer its content to an existing page. Added WrongPageName category. ''- NormandC''}}
{{Template:VeryImportantMessage|yes, this feature is part of the Part WB, so its name should be Part_FaceColors. Work is in progress to fix this --[[User:Uwestoehr|uwestoehr]] ([[User talk:Uwestoehr|talk]]) 17:28, 2 August 2020 (UTC) }}
<translate>
<translate>


<!--T:6-->
{{Docnav
{{Docnav
|[[Part_Defeaturing|Defeaturing]]
|[[Part_CheckGeometry|Check geometry]]
|
|[[Std Measure Menu|Measure]]
|[[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:2-->
<!--T:7-->
{{GuiCommand
{{GuiCommand
|Name=Part FaceColors
|Name=Part ColorPerFace
|MenuLocation=View → Color per face
|Empty=1
|Workbenches=[[Part_Workbench|Part]], [[PartDesign_Workbench|PartDesign]]
|MenuLocation=Contextual menu → Set colors
|SeeAlso=[[Std_SetAppearance|Std Appearance]]
|Workbenches=[[Part Workbench|Part]], [[PartDesign Workbench|PartDesign]]
|SeeAlso=[[Std SetAppearance|Appearance]]
}}
}}

[[Image:Std_SetColors-dialog.png|frame|The FaceColors dialog|left]]


==Description== <!--T:2-->
==Description== <!--T:2-->


<!--T:3-->
<!--T:3-->
The '''FaceColors''' feature allows you to define a color for each face or surface of an object. 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==
==Usage== <!--T:9-->


<!--T:10-->
# 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.
To color faces:
# 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-->
To reset all face colors:
# Click {{Button|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 {{Button|Cancel}} button.

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


<!--T:13-->
{{Docnav
|[[Part_Defeaturing|Defeaturing]]
|
|[[Part_Workbench|Part]]
|IconL=Part_Defeaturing.svg
|IconR=
|IconC=Workbench_Part.svg
}}


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

{{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