Part FaceColors: Difference between revisions

From FreeCAD Documentation
(float around image)
mNo edit summary
 
(33 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 FaceColors
|MenuLocation=Context menu → Set colors
|Empty=1
|Workbenches=[[Part_Workbench|Part]], [[PartDesign_Workbench|PartDesign]]
|MenuLocation=Not yet available
|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. '''Note:''' ''FaceColors'' is designed to color faces. To color whole pars, there is the feature ''[[Std_SetAppearance|SetAppearance]]''.
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 the [[Std_SetAppearance|SetAppearance]] feature 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>
Line 42: Line 61:
[[Category:User Documentation{{#translation:}}]]
[[Category:User Documentation{{#translation:}}]]
[[Category:Command_Reference{{#translation:}}]]
[[Category:Command_Reference{{#translation:}}]]
[[Category:WrongPageName]]

{{clear}}
{{clear}}

Latest revision as of 09:59, 31 October 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 the SetAppearance feature 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