Sketcher External/pt: Difference between revisions

From FreeCAD Documentation
(Created page with "Sketcher External")
 
(Updating to match new version of source page)
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand|Name=Sketcher External|Workbenches=[[Sketcher Workbench|Sketcher]], [[PartDesign Workbench|PartDesign]]|Shortcut=E|MenuLocation=Sketch → Sketcher geometries → Sketcher External|SeeAlso=[[Sketcher_ConstructionMode|ConstructionMode]]}}

{{Docnav
|[[Sketcher_Split|Split]]
|[[Sketcher_CarbonCopy|Carbon copy]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_Split.svg
|IconR=Sketcher_CarbonCopy.svg
|IconC=Workbench_Sketcher.svg
}}

<div class="mw-translate-fuzzy">
{{GuiCommand/pt
|Name=Sketcher External
|Name/pt=Sketcher External
|MenuLocation=Sketch → Sketcher geometries → Sketcher External
|Workbenches=[[Sketcher_Workbench/pt|Sketcher]]
|Shortcut=X
|SeeAlso=[[Sketcher_ToggleConstruction/pt|Sketcher ConstructionMode]]
}}
</div>


==Description==
==Description==


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.
Use the {{Button|[[Image:Sketcher_External.svg|16px]] [[Sketcher_External|External geometry]]}} tool when you need to apply a constraint between sketch geometry and something outside of the sketch. 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 may be used as a reference for constraints within the sketch.


A note of caution, using this tool to link to generated (solid) geometry can lead to unexpected results due to [[Topological_naming_problem|Topological Naming Problem]]. Also see [[Feature_editing#Advice_for_creating_stable_models|Advice for stable models]].


[[FILE:Sketcher_ExternalEsempio1.png]]
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..


==Usage==
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.


* Create a new sketch, or open an existing sketch.
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.
* Press the {{Button|[[File:Sketcher_External.svg|16px]] [[Sketcher_External|External geometry]]}} button.
* Select an edge or a vertex that you want to link to in the sketch.
* Press {{KEY|Esc}}, or select another tool to stop importing geometry into the sketch.


=== Selection rules ===
* Only edges and vertices from objects from same coordinate system are allowed.


That is, the sketch and the object must be in same Body (when in Part Design workbench), or in same Part (when in Part workbench), or both outside of any Parts and Bodies.
[[FILE:Sketcher_ExternalEsempio1.png]]


For example, If the open sketch is in Body, you can use another sketch from Body as external geometry, but you can't use a sketch from Body001, or an edge from a Part Cube in the root of the project. Use Shapebinder feature to bring in a copy of the object into the coordinate system of open sketch. Then you will be able to use edges/vertices of Shapebinder object.
==Use==
* 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)


* No circular dependencies are allowed.

That means, you can't link to Pocket made with this sketch. You can't link to any object that depends on the sketch.

Sketch doesn't have to be on any face in order to use this tool. Links directly between sketches are possible, and encouraged, as they are more reliable.


===Appearance When Successfully Linked ===
===Appearance When Successfully Linked ===
Line 25: Line 53:


===Similarity to Construction Lines===
===Similarity to Construction Lines===
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.
External geometry (default colour magenta) lines are similar (default colour blue) [[Sketcher_ToggleConstruction|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.
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===
===Use Of External Geometry in a PartDesign Workbench Work Flow===
Line 33: Line 60:
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.
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.


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.
The external geometry can, for example, be used as a reference for a constraint being used to position a hole in an object at a specific location relative to an edge or vertex.


===Use Of External Geometry in a Part Workbench Work Flow===
===Use Of External Geometry in a Part Workbench Work Flow===
Part Workbench tools make new separate solids, unlike PartDesign tools which make a new feature of a single solid.


You can use any Part geometry that is in coordinate system of the sketch. It is advised to link to the earliest feature possible, as it forms a more stable link.
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==
==Example==
Line 53: Line 77:


[[FILE:Sketcher_ExternalEsempio4.png]]
[[FILE:Sketcher_ExternalEsempio4.png]]

When the sketch edit mode is closed, External Geometry lines are not visible.
When the sketch edit mode is closed, external Geometry lines are not visible.

[[FILE:Sketcher_ExternalEsempio3.png]]
[[FILE:Sketcher_ExternalEsempio3.png]]

{{clear}}

<languages/>
{{Docnav
|[[Sketcher_Split|Split]]
|[[Sketcher_CarbonCopy|Carbon copy]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_Split.svg
|IconR=Sketcher_CarbonCopy.svg
|IconC=Workbench_Sketcher.svg
}}

{{Sketcher_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Revision as of 17:51, 20 March 2022

Sketcher External

Localização do menu
Sketch → Sketcher geometries → Sketcher External
Bancadas de trabalho
Sketcher
Atalho padrão
X
Introduzido na versão
-
Veja também
Sketcher ConstructionMode

Description

Use the External geometry tool when you need to apply a constraint between sketch geometry and something outside of the sketch. 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 may be used as a reference for constraints within the sketch.

A note of caution, using this tool to link to generated (solid) geometry can lead to unexpected results due to Topological Naming Problem. Also see Advice for stable models.

Usage

  • Create a new sketch, or open an existing sketch.
  • Press the External geometry button.
  • Select an edge or a vertex that you want to link to in the sketch.
  • Press Esc, or select another tool to stop importing geometry into the sketch.

Selection rules

  • Only edges and vertices from objects from same coordinate system are allowed.

That is, the sketch and the object must be in same Body (when in Part Design workbench), or in same Part (when in Part workbench), or both outside of any Parts and Bodies.

For example, If the open sketch is in Body, you can use another sketch from Body as external geometry, but you can't use a sketch from Body001, or an edge from a Part Cube in the root of the project. Use Shapebinder feature to bring in a copy of the object into the coordinate system of open sketch. Then you will be able to use edges/vertices of Shapebinder object.

  • No circular dependencies are allowed.

That means, you can't link to Pocket made with this sketch. You can't link to any object that depends on the sketch.

Sketch doesn't have to be on any face in order to use this tool. Links directly between sketches are possible, and encouraged, as they are more reliable.

Appearance When Successfully Linked

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

External geometry (default colour magenta) lines are similar (default colour blue) 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

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.

The external geometry can, for example, be used as a reference for a constraint being used to position a hole in an object at a specific location relative to an edge or vertex.

Use Of External Geometry in a Part Workbench Work Flow

You can use any Part geometry that is in coordinate system of the sketch. It is advised to link to the earliest feature possible, as it forms a more stable link.

Example

This, below, is a sketch mapped to the top face of a solid created from a Pad of a previous sketch. The magenta lines are External Geometry linked to two edges of this pre-existing Pad.

In this case they are used as a reference for tangency constraints with the circumferences of one circle. They are also used as the reference for a horizontal and a vertical constraint to locate the centre of the second circle relative to the end and top of the Pad.

This is the same sketch in edit mode, with the Pad upon which it is mapped hidden.

When the sketch edit mode is closed, external Geometry lines are not visible.