This documentation is not finished. Please help and contribute documentation.
GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.
See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.
|
|
| Menu location |
|---|
| CAM → Toggle Operation |
| Workbenches |
| CAM |
| Default shortcut |
| P X |
| Introduced in version |
| - |
| See also |
| None |
Descrizione
The CAM OpActiveToggle command toggles the DatiActive property of a selected CAM operation.
If this property is set to false, the operation is treated as inactive. Its path is not shown in the 3D View, and it is ignored by commands such as CAM Inspect and
CAM Post.
Usage
- Select an operation in the Operations group belonging to a Job. A deactivated operation can be recognized by its grayed out label and icon.
- There are several ways to invoke the command:
- Press the
Toggle Operation button.
- Select the CAM →
Toggle Operation option from the menu.
- Use the keyboard shortcut: P then X.
- Press the
- The result depends on the selected operation:
- If you have selected an active operation the command deactivates it:
- The operation icon is replaced with the command icon:
.
- The operation icon and label are grayed out.
- The paths generated from the operation disappear from the 3D View.
- When using the
CAM Inspect command or the
CAM Post command, the operation's G-code is not provided.
- If the operation has dressups, they are also shown in an inactive state in the Tree View.
- The operation icon is replaced with the command icon:
- If you have selected a deactivated operation the command activates it:
- The operation icon is replaced with that belonging to the operation.
- The operation icon and label are no longer grayed out.
- The paths generated from the operation are recomputed and displayed in the 3D View.
- When using the
CAM Inspect command or the
CAM Post command, the operation's G-code is provided again.
- If you have selected an active operation the command deactivates it:
Scripting
See also: FreeCAD Scripting Basics.
Example:
# Place code example here.
Questa pagina è recuperata da https://wiki.freecad.org/CAM_OpActiveToggle