Sketcher MapSketch: Difference between revisions

From FreeCAD Documentation
(Undo revision 881140 by David69 (talk))
Tag: Undo
No edit summary
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:18-->
<!--T:18-->
{{Docnav
{{Docnav
|[[Sketcher_Dialog|Dialog]]
|[[Sketcher_ViewSection|View section]]
|[[Sketcher_ReorientSketch|Reorient sketch ]]
|[[Sketcher_ReorientSketch|Reorient sketch ]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ViewSection.svg
|IconL=
|IconR=Sketcher_ReorientSketch.svg
|IconR=Sketcher_ReorientSketch.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
Line 14: Line 15:
{{GuiCommand
{{GuiCommand
|Name=Sketcher MapSketch
|Name=Sketcher MapSketch
|MenuLocation=Part Design/Sketch → Map sketch to face...
|MenuLocation=Sketch → Attach sketch...
|Workbenches=[[Sketcher_Workbench|Sketcher]], [[PartDesign_Workbench|PartDesign]]
|Workbenches=[[Sketcher_Workbench|Sketcher]], [[PartDesign_Workbench|PartDesign]]
|SeeAlso=[[Sketcher_NewSketch|Sketcher New sketch]]
|SeeAlso=[[Sketcher_ReorientSketch|Sketcher ReorientSketch]], [[Sketcher_NewSketch|Sketcher NewSketch]]
}}
}}


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

This tool maps an existing sketch onto the face of a shape. PartDesign features created from this sketch will be fused with the underlying solid for additive features (Pad, Revolution) or be subtracted from the underlying solid in case of subtractive features (Pocket, Groove).
<!--T:2-->
The [[Image:Sketcher_MapSketch.svg|24px]] [[Sketcher_MapSketch|Sketcher MapSketch]] tool attaches a sketch to selected geometry.


<!--T:4-->
<!--T:4-->
Typical use cases are:
Please note that this tool is not used to create new sketches. It only maps, or remaps an existing sketch to the face of a solid or a PartDesign feature. Typical use cases are:
* The sketch was created on a standard plane (XY, XZ, YZ) and you want to map it to the face of a solid in order to build a feature upon it.
* The sketch was created on a standard plane (XY, XZ or YZ) and you want to attach it to the face of a solid in order to build a new feature upon it.
* The sketch was mapped on a specific face of a solid but you need to map it to a different face.
* The sketch was attached to a specific face of a solid but you need to attached it to a different face.
* Repairing a broken model.
* A broken model needs to be repaired.

</translate>
</translate>
[[File:Sketcher_MapSketch_00.png|480px|none]]
[[File:Sketcher_MapSketch_00.png|480px|none]]
Line 34: Line 38:


<!--T:3-->
<!--T:3-->
* Select the face of a PartDesign feature or a solid.
# Select an object with a shape, or one or more vertices, edges, and/or faces, and/or a plane.
# There are several ways to invoke the tool:
* Click on the {{Button|[[Image:Sketcher_MapSketch.svg|16px]] [[Sketcher_MapSketch|Map sketch to face]]}} icon in the toolbar (or go to the PartDesign or Sketch menu depending on which workbench is active)
#* Press the {{Button|[[Image:Sketcher_MapSketch.svg|16px]] [[Sketcher_MapSketch|Attach sketch...]]}} button.
* In the '''Select sketch''' dialog window that opens, select from the list the sketch to map to the face and click OK.
#* Select the {{MenuCommand|Sketch → [[Image:Sketcher_MapSketch.svg|16px]] Attach sketch...}} option from the menu.
* The sketch is automatically opened in edit mode.
# The '''Select sketch''' dialog opens.

# Select a sketch from the dropdown list.
==Use when repairing a broken model== <!--T:5-->
# Press the {{Button|OK}} button.

# The '''Sketch attachment''' dialog opens.
<!--T:6-->
# Select an [[Part_EditAttachment#Attachment_modes|attachment method]] from the dropdown list. Or select '''Don't attach''' to detach the sketch.
Sketcher MapSketch is often used when repairing a broken model.
# Press the {{Button|OK}} button.

<!--T:7-->
One common use case is when the dependency graph has been broken. (You can view the dependency graph by {{KEY|Tools}} → {{KEY|[[Std_DependencyGraph|Dependency graph]]}}.) This can happen when you delete a feature in the middle of your model tree. In the following example we will break and repair a model.

<!--T:8-->
This is the base model. It has one pad, a pocket, and a pad inside that pocket. Note that the dependency graph is linear.

<!--T:9-->
[[File:JschremppFCADEdit1.png]]

<!--T:10-->
Now we have deleted the pocket and the sketch that created the pocket (Pocket and Sketch001). Note that the dependency graph is broken. To repair this model we want to attach Sketch002 to the top face of Pad. In the view of the model you can see that it would be easy to select the wrong face.

<!--T:11-->
[[File:JschremppFCADEdit2.png]]

<!--T:12-->
To repair the model we first change the visibility of the solids. We make Pad001 hidden and we make Pad visible.

<!--T:13-->
[[File:JschremppFCADEdit3.png]]

<!--T:14-->
Now we select the top face of Pad and then select the Map A Sketch To A Face tool. In the dialog that appears we select Sketch002. Our model is now repaired. In the model view we make Pad001 visible and Pad hidden and we can see the correct model.


<!--T:15-->
[[File:JschremppFCADEdit4.png]]


<!--T:16-->
<!--T:16-->
{{Docnav
{{Docnav
|[[Sketcher_Dialog|Dialog]]
|[[Sketcher_ViewSection|View section]]
|[[Sketcher_ReorientSketch|Reorient sketch ]]
|[[Sketcher_ReorientSketch|Reorient sketch ]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ViewSection.svg
|IconL=
|IconR=Sketcher_ReorientSketch.svg
|IconR=Sketcher_ReorientSketch.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
Line 84: Line 63:
{{Sketcher Tools navi{{#translation:}}}}
{{Sketcher Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 11:36, 28 March 2024

Sketcher MapSketch

Menu location
Sketch → Attach sketch...
Workbenches
Sketcher, PartDesign
Default shortcut
None
Introduced in version
-
See also
Sketcher ReorientSketch, Sketcher NewSketch

Description

The Sketcher MapSketch tool attaches a sketch to selected geometry.

Typical use cases are:

  • The sketch was created on a standard plane (XY, XZ or YZ) and you want to attach it to the face of a solid in order to build a new feature upon it.
  • The sketch was attached to a specific face of a solid but you need to attached it to a different face.
  • A broken model needs to be repaired.

Usage

  1. Select an object with a shape, or one or more vertices, edges, and/or faces, and/or a plane.
  2. There are several ways to invoke the tool:
    • Press the Attach sketch... button.
    • Select the Sketch → Attach sketch... option from the menu.
  3. The Select sketch dialog opens.
  4. Select a sketch from the dropdown list.
  5. Press the OK button.
  6. The Sketch attachment dialog opens.
  7. Select an attachment method from the dropdown list. Or select Don't attach to detach the sketch.
  8. Press the OK button.