Sketcher External: Difference between revisions

From FreeCAD Documentation
No edit summary
(V0.22 -> V1.0)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Page_in_progress}}
<translate>
<translate>


Line 25: Line 24:


<!--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 special 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 sketch geometry.
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|1.0}}) 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.


</translate>
</translate>
[[FILE:Sketcher_ExternalEsempio1.png]]
[[Image:Sketcher_ExternalEsempio1.png]]
<translate>
<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.}}


==Usage== <!--T:8-->
==Usage== <!--T:8-->


<!--T:50-->
See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].


Line 41: Line 43:
#* 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.
#* 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}}.
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|X}}.
# The cursor changes to a white cross with the current tool icon.
# The cursor changes to a cross with the tool icon.
# Select an external edge or a vertex. See [[#Notes|Notes]].
# Pick edges and/or vertices to project onto in the sketch plane.
# 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 ==
== Notes == <!--T:51-->


<!--T:52-->
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]].
* 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.

* Circular dependencies are not allowed. You cannot link to an object that depends on the sketch itself.
* Only edges and vertices from objects from same coordinate system are allowed.
* 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]].

<!--T:32-->
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.

<!--T:33-->
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.

<!--T:34-->
* No circular dependencies are allowed.

<!--T:35-->
That means, you can't link to Pocket made with this sketch. You can't link to any object that depends on the sketch.

<!--T:36-->
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.

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

<!--T:12-->
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.

<!--T:28-->
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.
</translate>
[[FILE:Sketcher_ExternalEsempio2.png]]
<translate>
<!--T:44-->
This is the same sketch in edit mode, with the Pad upon which it is mapped hidden.

</translate>
[[FILE:Sketcher_ExternalEsempio4.png]]
<translate>

<!--T:13-->
When the sketch edit mode is closed, external Geometry lines are not visible.

</translate>
[[FILE:Sketcher_ExternalEsempio3.png]]
<translate>





Latest revision as of 09:47, 21 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 1.0) 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 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.