Sketcher External: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
No edit summary
Line 2: Line 2:
<translate>
<translate>
<!--T:45-->
<!--T:45-->
{{Docnav
{{Docnav|[[Sketcher_Extend|Extend]]|[[Sketcher_CarbonCopy|CarbonCopy]]|[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher_Extend.svg|IconC=Workbench_Sketcher.svg|IconR=Sketcher_CarbonCopy.svg}}
|[[Sketcher_Extend|Extend]]
|[[Sketcher_CarbonCopy|CarbonCopy]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_Extend.svg
|IconR=Sketcher_CarbonCopy.svg
|IconC=Workbench_Sketcher.svg
}}


<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Sketcher External
|Name=Sketcher External
|Workbenches=[[Sketcher Workbench|Sketcher]]
|MenuLocation=Sketch → Sketcher geometries → Sketcher External
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Shortcut=X|MenuLocation=Sketch → Sketcher geometries → Sketcher External
|Shortcut=X
|SeeAlso=[[Sketcher_ToggleConstruction|ConstructionMode]]
|SeeAlso=[[Sketcher_ToggleConstruction|Sketcher ConstructionMode]]
}}
}}


Line 112: Line 120:


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


</translate>
</translate>

Revision as of 19:45, 2 December 2020

Sketcher External

Menu location
Sketch → Sketcher geometries → Sketcher External
Workbenches
Sketcher
Default shortcut
X
Introduced in version
-
See also
Sketcher ConstructionMode

Description

Use the Sketcher 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.
  • Click 'Sketcher External' 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

Selection rules for what objects can be imported differ drastically between FC v0.16 and FC v0.17.

v0.17 And later

  • 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 WB), or in same Part (when in part WB), 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.

Unlike in v0.16, 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.

v0.16 and older

  • You can only link to edges/vertices of the shape the sketch is mapped to.

For example. If Sketch was made on a face of Pad, you can only use edges/vertices of Pad. You can't use edges of Sketch that was used to make Pad. You can't use edges of Pad that are inherited onto a Pocket done with this sketch (you need to hide Pocket and unhide Pad to link new stuff in).

The sketch MUST be mapped to a face in order to use this tool.

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.

In v0.16 and older, the sketch must be mapped to a face to use this tool. Since v0.17, this limitation was lifted.

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.