Sketcher CarbonCopy: Difference between revisions

From FreeCAD Documentation
(several ways added so far)
(WIP)
Line 1: Line 1:
<languages/>
<languages/>
{{Page_in_progress}}
<translate>
<translate>


Line 24: Line 25:


<!--T:3-->
<!--T:3-->
The [[Image:Sketcher_CarbonCopy.svg|16px]] [[Sketcher_CarbonCopy|Sketcher CarbonCopy]] tool copies all the geometry and constraints from another sketch into the active sketch.
The [[Image:Sketcher_CarbonCopy.svg|24px]] [[Sketcher_CarbonCopy|Sketcher CarbonCopy]] tool copies all the geometry and constraints from another sketch into the active sketch.


<!--T:13-->
<!--T:13-->
Line 32: Line 33:


<!--T:5-->
<!--T:5-->
# Make sure you are in the edit mode of an existing [[Image:Sketcher_NewSketch.svg|16px]] [[Sketcher_NewSketch|Sketch]]. This sketch is the target of the operation.
# Make sure you are in the edit mode of an existing [[Sketcher_NewSketch|sketch]]. This sketch is the target of the operation.
# There are several ways to invoke the tool:
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:Sketcher_CarbonCopy.svg|16px]] [[Sketcher_CarbonCopy|Create carbon copy]]}} button.
#* Press the {{Button|[[Image:Sketcher_CarbonCopy.svg|16px]] [[Sketcher_CarbonCopy|Create carbon copy]]}} button.
#* Select the {{MenuCommand|Sketcher → Sketcher geometries → [[Image:Sketcher_CarbonCopy.svg|16px]] Create carbon copy}} option from the menu.
#* Select the {{MenuCommand|Sketcher → Sketcher geometries → [[Image:Sketcher_CarbonCopy.svg|16px]] Create carbon copy}} option from the menu.
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|W}}.
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|W}}.
# The cursor changes to a white cross with the current tool icon.
# The cursor changes to a white cross with the tool icon.
# Pick an edge from another sketch. This sketch is the source of the operation.
# Pick an edge from another sketch. This sketch is the source of the operation. See [[#Notes|Notes]].
# Geometry elements as well as constraints are copied into the active sketch.
# Geometry elements as well as constraints are copied into the active sketch.
# This tool always runs in continue mode: optionally copy additional sketches.
# Press {{KEY|Esc}} or the right mouse button to terminate the operation.
# To finish, right-click or press {{KEY|Esc}}, or start another geometry or constraint creation tool.


==Notes== <!--T:16-->
==Notes== <!--T:16-->
Line 47: Line 49:
* When sketches are used in the [[File:Workbench_PartDesign.svg|24px]] [[PartDesign_Workbench|PartDesign Workbench]], normally the sketch to carbon copy should be in the same {{Button|[[File:PartDesign_Body.svg|16px]] [[PartDesign_Body|PartDesign Body]]}} as the currently active sketch. If the sketch to be copied is not in the active [[PartDesign_Body|Body]], the mouse pointer will not allow selection. In this case, hold {{KEY|Ctrl}} to allow selection of sketches from other Bodies.
* When sketches are used in the [[File:Workbench_PartDesign.svg|24px]] [[PartDesign_Workbench|PartDesign Workbench]], normally the sketch to carbon copy should be in the same {{Button|[[File:PartDesign_Body.svg|16px]] [[PartDesign_Body|PartDesign Body]]}} as the currently active sketch. If the sketch to be copied is not in the active [[PartDesign_Body|Body]], the mouse pointer will not allow selection. In this case, hold {{KEY|Ctrl}} to allow selection of sketches from other Bodies.
* Normally, the sketch to select should be in a plane that is parallel to the currently active sketch. If the sketch to be copied is not parallel to the currently active sketch, hold {{KEY|Ctrl}}+{{KEY|Alt}} to allow selection of non-parallel sketches. The object will then be adjusted to the active sketch's plane. Noteː as of this writing this needs a save and reload of the document to make it visible. This works for sketches located outside of the currently active [[PartDesign_Body|Body]] as well.
* Normally, the sketch to select should be in a plane that is parallel to the currently active sketch. If the sketch to be copied is not parallel to the currently active sketch, hold {{KEY|Ctrl}}+{{KEY|Alt}} to allow selection of non-parallel sketches. The object will then be adjusted to the active sketch's plane. Noteː as of this writing this needs a save and reload of the document to make it visible. This works for sketches located outside of the currently active [[PartDesign_Body|Body]] as well.
* Since carbon-copied dimensional constraints use expressions they are rendered in a different color. The color can be customized with the [[Preferences_Editor|Preferences Editor]] at {{MenuCommand|Edit → Preferences → Sketcher → Colors → Constraint colors → Expression dependent constraint}}.
* If the Sketcher mode has been changed to construction mode using {{Button|[[File:Sketcher_ToggleConstruction.svg|24px]] [[Sketcher_ToggleConstruction|Toggle construction geometry]]}} all copied geometry will be created in construction mode.
* If the Sketcher mode has been changed to construction mode using {{Button|[[File:Sketcher_ToggleConstruction.svg|24px]] [[Sketcher_ToggleConstruction|Toggle construction geometry]]}} all copied geometry will be created in construction mode.



Revision as of 15:00, 23 March 2024

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.

Sketcher CarbonCopy

Menu location
Sketch → Sketcher geometries → Create carbon copy
Workbenches
Sketcher
Default shortcut
G W
Introduced in version
0.17
See also
None

Description

The Sketcher CarbonCopy tool copies all the geometry and constraints from another sketch into the active sketch.

Dimensional constraints which exist before the copy function remain linked to the original sketch's dimensional constraints through expressions.

Usage

  1. Make sure you are in the edit mode of an existing sketch. This sketch is the target of the operation.
  2. There are several ways to invoke the tool:
    • Press the Create carbon copy button.
    • Select the Sketcher → Sketcher geometries → Create carbon copy option from the menu.
    • Use the keyboard shortcut: G then W.
  3. The cursor changes to a white cross with the tool icon.
  4. Pick an edge from another sketch. This sketch is the source of the operation. See Notes.
  5. Geometry elements as well as constraints are copied into the active sketch.
  6. This tool always runs in continue mode: optionally copy additional sketches.
  7. To finish, right-click or press Esc, or start another geometry or constraint creation tool.

Notes

  • When sketches are used in the PartDesign Workbench, normally the sketch to carbon copy should be in the same PartDesign Body as the currently active sketch. If the sketch to be copied is not in the active Body, the mouse pointer will not allow selection. In this case, hold Ctrl to allow selection of sketches from other Bodies.
  • Normally, the sketch to select should be in a plane that is parallel to the currently active sketch. If the sketch to be copied is not parallel to the currently active sketch, hold Ctrl+Alt to allow selection of non-parallel sketches. The object will then be adjusted to the active sketch's plane. Noteː as of this writing this needs a save and reload of the document to make it visible. This works for sketches located outside of the currently active Body as well.
  • If the Sketcher mode has been changed to construction mode using Toggle construction geometry all copied geometry will be created in construction mode.

Limitations

  • The complete sketch is copied, it is not possible to select only a portion. However, after copying you can delete unwanted elements from the copied sketch.