Sketcher External: Difference between revisions

From FreeCAD Documentation
No edit summary
(Marked this version for translation)
 
(70 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<languages/>
<translate>
<translate>

<!--T:45-->
{{Docnav
|[[Sketcher_Extend|Extend]]
|[[Sketcher_CarbonCopy|Carbon copy]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_Extend.svg
|IconR=Sketcher_CarbonCopy.svg
|IconC=Workbench_Sketcher.svg
}}

<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand|Name=Sketcher_External|Workbenches=[[Sketcher Workbench|Sketcher]], [[PartDesign Workbench|PartDesign]]|Shortcut=E|MenuLocation=Sketch → Sketcher geometries → Sketcher External|SeeAlso=[[Sketcher_ConstructionMode|ConstructionMode]]}}
|Name=Sketcher External
|MenuLocation=Sketch → Sketcher geometries → Create external geometry
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Shortcut={{KEY|G}} {{KEY|X}}
|SeeAlso=[[Sketcher_ToggleConstruction|Sketcher ConstructionMode]]
}}


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


<!--T:3-->
<!--T:3-->
The [[Image:Sketcher_External.svg|24px]] [[Sketcher_External|Sketcher External]] tool projects edges and/or vertices belonging to objects outside the sketch onto the sketch plane. The projected geometry is called "external geometry". It stays parametrically linked to its source objects. External geometry edges are marked with a dedicated [[Sketcher_Preferences#Appearance|color]] (default magenta) and ({{Version|0.22}}) linetype. Similar to construction geometry, external geometry is not visible outside the sketch, it is intended to help define constraints and other geometry inside the sketch itself.
When a sketch is mapped to a face of a solid, the Sketcher External Geometry tool can be used to link to an edge or vertex of that solid. It works by inserting a linked construction geometry into the sketch. The default colour of externally linked edges, is magenta. As with standard non-linked construction geometry (blue), the externally linked geometry is only visible when the sketch is in edit mode and is not directly used in the subsequent result, from use of the sketch in another tool. Both types of construction geometry are used as a reference for constraints, within the sketch.


</translate>
[[Image:Sketcher_ExternalEsempio1.png]]
<translate>
<!--T:49-->
{{Caption|The two magenta lines are external geometry linked to edges of a pre-existing [[PartDesign_Pad|Pad]]. They are used to constrain the circles.}}


<!--T:4-->
==Usage== <!--T:8-->
This tool is used constrain elements of a sketch with reference to an element of an external solid, to which the sketch has been mapped. For example, it could be used to pocket a hole in the centre of a solid or 30mm from one end etc..


<!--T:5-->
<!--T:50-->
See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
The external geometry tool can only be applied to edges and/or vertices of the solid to which the sketch has been mapped. Consequently you can only link to elements of 3d solids. The edges may be straight, an arc or a circle.


<!--T:42-->
You can not link to an external geometry of the solid which will be created from the sketch you are currently editing. This seems logical, however is a common issue when re-editing a sketch. When re-editing a sketch of a PartDesign feature which is mapped to the face of a solid (e.g. if you want to go back and change a sketch for a Pad002 where that sketch was mapped to a face of another Pad001) it is necessary to hide the solid the currently being edited sketch created (Pad002) and un-hide the previous solid (Pad001), so that you can see the previous solid (Pad001) if you wish to be able to apply the external geometry tool to one of its elements.
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:Sketcher_External.svg|16px]] [[Sketcher_External|Create external geometry]]}} button.
#* Select the {{MenuCommand|Sketcher → Sketcher geometries → [[Image:Sketcher_External.svg|16px]] Create external geometry}} option from the menu.
#* Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|[[Image:Sketcher_External.svg|16px]] Create external geometry}} option from the context menu.
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|X}}.
# The cursor changes to a white cross with the tool icon.
# Select an external edge or a vertex. See [[#Notes|Notes]].
# External geometry is created.
# This tool always runs in continue mode: optionally keep selecting external edges and/or a vertices.
# To finish, right-click or press {{KEY|Esc}}, or start another geometry or constraint creation tool.


== Notes == <!--T:51-->


<!--T:7-->
<!--T:52-->
* Only edges and vertices from objects within the same coordinate system can be selected. The sketch and the object must be in same [[PartDesign_Body|Body]], or the same [[Std_Part|Part]], or both in the global coordinate system. Use a [[PartDesign_SubShapeBinder|Binder]] to bring a copy of the object into the current coordinate system if required.
[[FILE:Sketcher_ExternalEsempio1.png]]
* Circular dependencies are not allowed. You cannot link to an object that depends on the sketch itself.
* Links to elements from other sketches are possible, and encouraged, as they are more reliable than links to generated (solid) geometry. The latter can suffer from the [[Topological_naming_problem|Topological Naming Problem]]. See [[Feature_editing#Advice_for_creating_stable_models|Advice for stable models]].


==Use== <!--T:8-->
* Create a new sketch on face of a solid (Click on the solid face, then click the create sketch button) or map an existing sketch to a selected face of a solid (first select a single face of a solid then use the "Map Sketch to Face" tool).
* Click the 'Sketcher External' button
* Select the edge, or vertex, of the solid that you want to link to in the sketch (remember this must be an edge or vertex of the solid to which the sketch is mapped)


<!--T:43-->
{{Docnav
|[[Sketcher_Extend|Extend]]
|[[Sketcher_CarbonCopy|Carbon copy]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_Extend.svg
|IconR=Sketcher_CarbonCopy.svg
|IconC=Workbench_Sketcher.svg
}}


===Appearance When Successfully Linked === <!--T:15-->
A (default magenta) coloured line will be overlaid when an edge is successfully linked (the vertices will be red), and will be visible in your sketch only while your sketch is in edit mode.

===Similarity to Construction Lines=== <!--T:16-->
External geometry (default colour magenta) lines are similar (default colour blue) [[Sketcher_ConstructionMode|Contruction lines]] except in that the external geometry magenta lines are parametrically linked back to an element of the solid to which the sketch is mapped.
Construction geometry are lines that are internal to the sketch, are only visible when the sketch is in edit mode and will be used for constraint references only, and not directly for later solid operations, like Pad or Pocket.


===Use Of External Geometry in a PartDesign Workbench Work Flow=== <!--T:18-->

<!--T:19-->
In the PartDesign workbench work flow, the External Geometry tool is used to assist in the positioning of an aspect of the solid you are constructing, relative to the previous stage in its construction. PartDesign workbench is intended to produce one single solid, therefore these sketches with external geometry are used to create a new feature of that one single solid.

<!--T:21-->
The external Geometry tool can, for example, be used as a reference for a constraint being used to position a hole in an object, at a specific location.

===Use Of External Geometry in a Part Workbench Work Flow=== <!--T:24-->
Part Workbench tools make new separate solids, unlike PartDesign tools which make a new feature of a single solid.

Some of the Part workbench tools can use a sketch for input. Where this is the case, the sketch can use the External geometry tool if the sketch is mapped to a face of a solid in a similar way to the PartDesign workbench.

Unlike a PartDesign tool, the result of a Part tool will be a separate solid and the placement parameters can be modified after construction. The sketch will define the location of the solid constructed from it, when its placement parameters are set to zero. Any changes made to these placement values will move the solid relative to the location defined by the sketch.

==Example== <!--T:11-->

<!--T:12-->
The magenta lines are External Geometry selected on two objects of the same extrusion products with previous sketch.
In this case they are used to create the constraints of tangency with the circumferences.
The line on the smaller rectangle is not used.
[[FILE:Sketcher_ExternalEsempio2.png]]
The active sketch with the basic forms hidden and external geometries visible.

<!--T:13-->
[[FILE:Sketcher_ExternalEsempio4.png]]
When the sketch is closed, External Geometry lines are not visible.
[[FILE:Sketcher_ExternalEsempio3.png]]
{{clear}}
</translate>
</translate>
{{Sketcher_Tools_navi{{#translation:}}}}
<languages/>
{{Userdocnavi{{#translation:}}}}

Latest revision as of 11:35, 15 April 2024

Sketcher External

Menu location
Sketch → Sketcher geometries → Create external geometry
Workbenches
Sketcher
Default shortcut
G X
Introduced in version
-
See also
Sketcher ConstructionMode

Description

The Sketcher External tool projects edges and/or vertices belonging to objects outside the sketch onto the sketch plane. The projected geometry is called "external geometry". It stays parametrically linked to its source objects. External geometry edges are marked with a dedicated color (default magenta) and (introduced in version 0.22) linetype. Similar to construction geometry, external geometry is not visible outside the sketch, it is intended to help define constraints and other geometry inside the sketch itself.

The two magenta lines are external geometry linked to edges of a pre-existing Pad. They are used to constrain the circles.

Usage

See also: Drawing aids.

  1. There are several ways to invoke the tool:
    • Press the Create external geometry button.
    • Select the Sketcher → Sketcher geometries → Create external geometry option from the menu.
    • Right-click in the 3D view and select the Create external geometry option from the context menu.
    • Use the keyboard shortcut: G then X.
  2. The cursor changes to a white cross with the tool icon.
  3. Select an external edge or a vertex. See Notes.
  4. External geometry is created.
  5. This tool always runs in continue mode: optionally keep selecting external edges and/or a vertices.
  6. To finish, right-click or press Esc, or start another geometry or constraint creation tool.

Notes

  • Only edges and vertices from objects within the same coordinate system can be selected. The sketch and the object must be in same Body, or the same Part, or both in the global coordinate system. Use a Binder to bring a copy of the object into the current coordinate system if required.
  • Circular dependencies are not allowed. You cannot link to an object that depends on the sketch itself.
  • Links to elements from other sketches are possible, and encouraged, as they are more reliable than links to generated (solid) geometry. The latter can suffer from the Topological Naming Problem. See Advice for stable models.