Basic TechDraw Tutorial: Difference between revisions

From FreeCAD Documentation
(Templates to categorize the page.)
(31 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<languages/>
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{TutorialInfo
{{TutorialInfo|Topic=Modeling|Level=Beginner|Author=WandererFan ([[User:WandererFan|WandererFan]])|Time=Less than an hour|FCVersion=0.17 or higher|Files=[https://github.com/FreeCAD/Examples/blob/master/Basic_Part_Design_Tutorial_Example_017_Files/Basic_Part_Design_Tutorial_017.fcstd Basic Part Design for v0.17 Sample][https://github.com/FreeCAD/Examples/blob/master/Basic_TechDraw_Tutorial_Example_Files/Basic_TechDraw_Tutorial.fcstd Basic TechDraw Tutorial Sample]}}
|Topic=Modeling

|Level=Beginner
<languages/>
|Author=[[User:WandererFan|WandererFan]]
|Time=Less than an hour
|FCVersion=0.17 or higher
|Files=[https://github.com/FreeCAD/Examples/blob/master/Basic_Part_Design_Tutorial_Example_017_Files/Basic_Part_Design_Tutorial_017.fcstd Basic Part Design for v0.17 Sample]<br />[https://github.com/FreeCAD/Examples/blob/master/Basic_TechDraw_Tutorial_Example_Files/Basic_TechDraw_Tutorial.fcstd Basic TechDraw Tutorial Sample]
}}


<!--T:40-->
==Introduction== <!--T:40-->
This tutorial introduces the new user to some of the tools and techniques used in the [[TechDraw Workbench|Technical Drawing (TechDraw) Workbench]]. This tutorial is not a complete and comprehensive guide to the TechDraw Workbench and many of the tools and capabilities are not covered. This tutorial will take user through the steps needed to produce technical drawings of the part from the [[Basic_Part_Design_Tutorial_017|Basic Part Design Tutorial]].
This tutorial introduces the new user to some of the tools and techniques used in the {{KEY|[[Image:Workbench_TechDraw.svg|24px]] [[TechDraw Workbench|Technical Drawing (TechDraw) Workbench]]}}. This tutorial is not a complete and comprehensive guide to the TechDraw Workbench and many of the tools and capabilities are not covered. This tutorial will take user through the steps needed to produce technical drawings of the part from the [[Basic_Part_Design_Tutorial_017|Basic Part Design Tutorial]].


== Before You Begin == <!--T:3-->
== Before You Begin == <!--T:3-->
Line 20: Line 26:
== Creating a Drawing == <!--T:6-->
== Creating a Drawing == <!--T:6-->
===Startup===
===Startup===
*You may wish to adjust your [[TechDraw_Preferences|preference]] settings before beginning. See Note 1.
*First open the file containing our 3D part. Then make sure you are in the TechDraw Workbench.
*First open the file containing our 3D part. Then make sure you are in the TechDraw Workbench.
* You will be selecting items in the Drawing window and/or the Combo panel. Selection in TechDraw works the same as in the 3D window. Items turn yellow when the cursor is in position to select them and turn green when selected. To select multiple items use the Ctrl key while clicking.
* You will be selecting items in the Drawing window and/or the Combo panel. Selection in TechDraw works the same as in the 3D window. Items turn yellow when the cursor is in position to select them and turn green when selected. To select multiple items use the {{KEY|Ctrl}} key while clicking.


===Views and Dimensions===
===Views and Dimensions=== <!--T:51-->
<!--T:51-->
All work in TechDraw begins with a Page. Pages are based on Templates and contain Views.
All work in TechDraw begins with a Page. Pages are based on Templates and contain Views.
# Click on [[Image:TechDraw_New_Default.png|32px]] [[TechDraw_New_Default|New Page from default Template]] to create a new Page.
# Click on [[Image:TechDraw_New_Default.svg|32px]] [[TechDraw_New_Default|New Page from default Template]] to create a new Page.
# Click on Body in the 3D window or in the Combo view.
# Click on Body in the [[3D view]] or in the [[Combo view]].
# Click on [[Image:Techdraw-view.png|32px]] [[TechDraw_NewView|Create new View]]. This will add the View to the page we just created.
# Click on [[Image:TechDraw_View.svg|32px]] [[TechDraw_View|Create new View]]. This will add the View to the page we just created.


<!--T:62-->
Now we have a View on the Page looking down at the top of the Body. It is a little small, though.
Now we have a View on the Page looking down at the top of the Body. It is a little small, though.


<!--T:63-->
[[Image:TDTut_TopView1to1.png|center]]
[[Image:TDTut_TopView1to1.png|center]]


<!--T:64-->
# Click on Page in the Combo view and scroll to the Scale property on the Data tab.
# Change the Scale from 1 to 2 and press Enter. The View will get bigger.
# Select Page in the [[Combo view]] and scroll to the Scale property on the Data tab.
# Change the Scale from 1 to 2 and press {{KEY|Enter}}. The View will get bigger.
# Drag the View away from the documentation block in the bottom right of the page.
# Drag the View away from the documentation block in the bottom right of the page.


<!--T:65-->
[[Image:TDTut_TopView2to1.png|center]]
[[Image:TDTut_TopView2to1.png|center]]


<!--T:66-->
Better, but a little boring. Let's add some Dimensions.
Better, but a little boring. Let's add some Dimensions.
# Click on the top-left Vertex (small dot), then Ctl-Click on the bottom-left vertex.
# Select (LMB) the top-left Vertex (small dot), then also select ({{Button|Ctrl}}-LMB) on the bottom-left vertex.
# Click on [[Image:TechDraw_Dimension_Vertical.png|32px]] [[TechDraw_Dimension_Vertical|New Vertical Dimension]]. Drag the dimension text away from the Body.
# Click on [[Image:TechDraw_Dimension_Vertical.svg|32px]] [[TechDraw_Dimension_Vertical|New Vertical Dimension]]. Drag the dimension text away from the Body.
# Try that again with the top-left and top-right Vertices and [[Image:TechDraw_Dimension_Horizontal.png|32px]] [[TechDraw_Dimension_Horizontal|New Horizontal Dimension]].
# Try that again with the top-left and top-right Vertices and [[Image:TechDraw_Dimension_Horizontal.svg|32px]] [[TechDraw_Dimension_Horizontal|New Horizontal Dimension]].


<!--T:67-->
[[Image:TDTut_TopView2Dims.png|center]]
[[Image:TDTut_TopView2Dims.png|center]]


===Editable Text=== <!--T:68-->


<!--T:69-->

===Editable Text===

We should add some documentation to our drawing.
We should add some documentation to our drawing.


<!--T:70-->
# Click on the small green square beside Title in the documentation block. You'll get a pop-up window where you can change Title to something more meaningful.
# Click on the small green square beside Title in the documentation block. You'll get a pop-up window where you can change Title to something more meaningful.
# Just for practice, put your name in the Designed by Name field the same way.
# Just for practice, put your name in the Designed by Name field the same way.


<!--T:71-->
[[Image:TDTut_DocBlock.png|center]]
[[Image:TDTut_DocBlock.png|center]]


<!--T:72-->
Getting better. Let's add some text to the page.
Getting better. Let's add some text to the page.


<!--T:73-->
# Click on [[Image:Techdraw-annotation.png|32px]] [[TechDraw_NewAnnotation|New Annotation]]. A text block will appear in the middle of the page.
# Click on [[Image:TechDraw_Annotation.svg|32px]] [[TechDraw_NewAnnotation|New Annotation]]. A text block will appear in the middle of the page.
# Drag the text block away from the main View.
# Drag the text block away from the main View.
# Click on Annotation in the Combo view and scroll to the Text property on the Data tab.
# Click on Annotation in the Combo view and scroll to the Text property on the Data tab.
#Click in the data area, the click on the ellipsis at the right of the field. You'll get a pop-up window where you can change the text to something more meaningful.
#Click in the data area, then click on the ellipsis at the right of the field. You'll get a pop-up window where you can change the text to something more meaningful.


<!--T:74-->
[[Image:TDTut_Annotation.png|center]]
[[Image:TDTut_Annotation.png|center]]


<!--T:75-->
Before we leave this Page, let's see what it will look like when we print it.
Before we leave this Page, let's see what it will look like when we print it.


<!--T:76-->
# Click on [[Image:TechDraw_Toggle.png|32px]] [[TechDraw_Toggle|Toggle Frames]]. The Vertices and View frames will disappear. You can get them back by clicking Toggle again.
# Click on [[Image:TechDraw_Toggle.png|32px]] [[TechDraw_Toggle|Toggle Frames]]. The Vertices and View frames will disappear. You can get them back by clicking Toggle again.


<!--T:77-->
[[Image:TDTut_Toggle.png|center]]
[[Image:TDTut_Toggle.png|center]]


Line 80: Line 99:
Let's create a multiview drawing using a different Template as a starting point. We'll be using the First Angle convention, but you can change to Third Angle if that is your local convention.
Let's create a multiview drawing using a different Template as a starting point. We'll be using the First Angle convention, but you can change to Third Angle if that is your local convention.


<!--T:78-->
# Click on [[Image:TechDraw_New_Pick.png|32px]] [[TechDraw_New_Pick|New Pick]]. A file chooser dialog will appear. Select a template file. We're going to use "ANSIB.SVG". A new tab will appear.
# Click on [[Image:TechDraw_New_Pick.svg|32px]] [[TechDraw_New_Pick|New Pick]]. A file chooser dialog will appear. Select a template file. We're going to use "ANSIB.SVG". A new tab will appear.
# Select "Body" and "Page001" (if you have more than one page in your document, you need to tell TechDraw which one to use).
# Select "Body" and "Page001" (if you have more than one page in your document, you need to tell TechDraw which one to use).
# Click on [[Image:Techdraw-projgroup.png|32px]] [[TechDraw_NewProjGroup|New Projection Group]]. The familiar small view in the middle of the page will appear and a dialog will appear in the Task panel.
# Click on [[Image:TechDraw_NewProjGroup.svg|32px]] [[TechDraw_NewProjGroup|New Projection Group]]. The familiar small view in the middle of the page will appear and a dialog will appear in the Task panel.
# Click on several boxes in the Secondary Views section of the dialog.
# Click on several boxes in the Secondary Views section of the dialog.
# Drag the View labelled "Front". All the other Views move with it.
# Drag the View labelled "Front". All the other Views move with it.
# Change the Scale drop down box from Page to Custom and change the Custom Scale to 2:1. Press the OK button.
# Change the Scale drop down box from Page to Custom and change the Custom Scale to 2:1. Press the {{Button|OK}} button.


<!--T:79-->
[[Image:TDTut_ProjGroup21.png|center]]
[[Image:TDTut_ProjGroup21.png|center]]


<!--T:80-->
# In the View labelled "TopLeftFront", select the two Vertices at the extreme ends of the front edge of the work piece.
# In the View labelled "TopLeftFront", select the two Vertices at the extreme ends of the front edge of the work piece.
# Click on [[Image:TechDraw_Dimension_Length.png|32px]] [[TechDraw_Dimension_Length|New Length]]. Drag the dimension text away from the Body.
# Click on [[Image:TechDraw_Dimension_Length.svg|32px]] [[TechDraw_Dimension_Length|New Length]]. Drag the dimension text away from the Body.


===Linking Dimensions to 3D Model===
===Linking Dimensions to 3D Model=== <!--T:81-->
Do you notice a problem with the dimension we just created?
Do you notice a problem with the dimension we just created?


<!--T:82-->
[[Image:TDTut_NewLengthDim.png|center]]
[[Image:TDTut_NewLengthDim.png|center]]


<!--T:83-->
From the first part of this tutorial, we know that the work piece is 53 mm wide, but our new dimensions reads 43.27. This is because "TopLeftFront" is an [https://en.wikipedia.org/wiki/Isometric_projection isometric projection], and our first drawing was an [https://en.wikipedia.org/wiki/Orthographic_projection orthogonal projection]. To get the right value, we need to link our dimension directly to the 3D model.
From the first part of this tutorial, we know that the work piece is 53 mm wide, but our new dimensions reads 43.27. This is because "TopLeftFront" is an [https://en.wikipedia.org/wiki/Isometric_projection isometric projection], and our first drawing was an [https://en.wikipedia.org/wiki/Orthographic_projection orthogonal (multiview) projection]. To get the right value, we need to link our dimension directly to the 3D model.


<!--T:84-->
# Note the name of our faulty dimension in the Combo panel. We'll need it in a minute.
# Note the name of our faulty dimension in the Combo panel. We'll need it in a minute.
# Change to the 3D tab and select the Vertices at the ends of the front edge of the work piece. Also select Page001.
# Change to the 3D tab and select the Vertices at the ends of the front edge of the work piece. Also select Page001.
# Click on [[Image:TechDraw_Dimension_Link.png|32px]] [[TechDraw_Dimension_Link|New Links]]. A dialog will open in the Task panel.
# Click on [[Image:TechDraw_Dimension_Link.png|32px]] [[TechDraw_Dimension_Link|New Links]]. A dialog will open in the Task panel.
# In the dialog, move our dimension from the Available column to the Selected column. Press OK.
# In the dialog, move our dimension from the Available column to the Selected column. Press {{Button|OK}}.
# Return to Page001. Our dimension should now read the correct value of 53. (if you still see 43.27, you may need to press the Recompute button or drag the dimension value a bit until it changes.)
# Return to Page001. Our dimension should now read the correct value of 53. (if you still see 43.27, you may need to press the {{Button|Recompute}} button or drag the dimension value a bit until it changes.)


== Going Further == <!--T:85-->


<!--T:86-->
In this tutorial you have learned enough about TechDraw to produce a drawing like this one (by [[User:Normandc|NormandC]]). See Note 2.


<!--T:87-->
== Going Further ==

In this tutorial you have learning enough about TechDraw to produce a drawing like this one (by [[User:NormandC|NormandC]]).

[[Image:TDTut_FC018_TechDraw_Dim_Iso_View_01_NC.png|center]]
[[Image:TDTut_FC018_TechDraw_Dim_Iso_View_01_NC.png|center]]






<!--T:88-->
There is much more functionality in TechDraw for you to explore - Section Views, Detail Views, Svg Symbols, Images, face hatching.
There is much more functionality in TechDraw for you to explore - Section Views, Detail Views, Svg Symbols, Images, face hatching.

== Notes == <!--T:89-->
# There is an excellent set of suggested preferences in this [https://www.forum.freecadweb.org/viewtopic.php?f=3&t=30083#p248189 Forum post].
# This drawing was produced in v0.18. It shows dimensions in the proper format for an isometric view. In v0.17 the extension lines will be perpendicular to the edge rather than aligned with the axes.


== Additional Resources == <!--T:37-->
== Additional Resources == <!--T:37-->


<!--T:54-->
<!--T:54-->
*[[TechDraw_Module|TechDraw Wiki pages]]
*FreeCAD file of this exercise for comparison (made with 0.17) [https://github.com/FreeCAD/Examples/blob/master/Basic_TechDraw_Tutorial_Example_Files/Basic_TechDraw_Tutorial.fcstd Download]
*FreeCAD file of this exercise for comparison (made with 0.17) [https://github.com/FreeCAD/Examples/blob/master/Basic_TechDraw_Tutorial_Example_Files/Basic_TechDraw_Tutorial.fcstd Download]


</translate>
</translate>
{{Tutorials navi{{#translation:}}}}
{{clear}}
{{TechDraw Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Revision as of 05:18, 25 February 2020

Tutorial
Topic
Modeling
Level
Beginner
Time to complete
Less than an hour
Authors
WandererFan
FreeCAD version
0.17 or higher
Example files
Basic Part Design for v0.17 Sample
Basic TechDraw Tutorial Sample
See also
None

Introduction

This tutorial introduces the new user to some of the tools and techniques used in the Technical Drawing (TechDraw) Workbench. This tutorial is not a complete and comprehensive guide to the TechDraw Workbench and many of the tools and capabilities are not covered. This tutorial will take user through the steps needed to produce technical drawings of the part from the Basic Part Design Tutorial.

Before You Begin

Download the sample file from the Part Design tutorial.

The Task

In this tutorial, you will be using the TechDraw Workbench to create a 2D drawings of the 3D part below. We will create multiple Views of the part and add key dimensions. This Tutorial will not use every feature and tool available within the TechDraw Workbench, but should use enough to give the user of this tutorial a basic foundation upon which to build their knowledge and skills.

The Part

Creating a Drawing

Startup

  • You may wish to adjust your preference settings before beginning. See Note 1.
  • First open the file containing our 3D part. Then make sure you are in the TechDraw Workbench.
  • You will be selecting items in the Drawing window and/or the Combo panel. Selection in TechDraw works the same as in the 3D window. Items turn yellow when the cursor is in position to select them and turn green when selected. To select multiple items use the Ctrl key while clicking.

Views and Dimensions

All work in TechDraw begins with a Page. Pages are based on Templates and contain Views.

  1. Click on File:TechDraw New Default.svg New Page from default Template to create a new Page.
  2. Click on Body in the 3D view or in the Combo view.
  3. Click on Create new View. This will add the View to the page we just created.

Now we have a View on the Page looking down at the top of the Body. It is a little small, though.

  1. Select Page in the Combo view and scroll to the Scale property on the Data tab.
  2. Change the Scale from 1 to 2 and press Enter. The View will get bigger.
  3. Drag the View away from the documentation block in the bottom right of the page.

Better, but a little boring. Let's add some Dimensions.

  1. Select (LMB) the top-left Vertex (small dot), then also select (Ctrl-LMB) on the bottom-left vertex.
  2. Click on New Vertical Dimension. Drag the dimension text away from the Body.
  3. Try that again with the top-left and top-right Vertices and New Horizontal Dimension.

Editable Text

We should add some documentation to our drawing.

  1. Click on the small green square beside Title in the documentation block. You'll get a pop-up window where you can change Title to something more meaningful.
  2. Just for practice, put your name in the Designed by Name field the same way.

Getting better. Let's add some text to the page.

  1. Click on New Annotation. A text block will appear in the middle of the page.
  2. Drag the text block away from the main View.
  3. Click on Annotation in the Combo view and scroll to the Text property on the Data tab.
  4. Click in the data area, then click on the ellipsis at the right of the field. You'll get a pop-up window where you can change the text to something more meaningful.

Before we leave this Page, let's see what it will look like when we print it.

  1. Click on File:TechDraw Toggle.png Toggle Frames. The Vertices and View frames will disappear. You can get them back by clicking Toggle again.



Multiple Views of a Single Part

Let's create a multiview drawing using a different Template as a starting point. We'll be using the First Angle convention, but you can change to Third Angle if that is your local convention.

  1. Click on File:TechDraw New Pick.svg New Pick. A file chooser dialog will appear. Select a template file. We're going to use "ANSIB.SVG". A new tab will appear.
  2. Select "Body" and "Page001" (if you have more than one page in your document, you need to tell TechDraw which one to use).
  3. Click on File:TechDraw NewProjGroup.svg New Projection Group. The familiar small view in the middle of the page will appear and a dialog will appear in the Task panel.
  4. Click on several boxes in the Secondary Views section of the dialog.
  5. Drag the View labelled "Front". All the other Views move with it.
  6. Change the Scale drop down box from Page to Custom and change the Custom Scale to 2:1. Press the OK button.
  1. In the View labelled "TopLeftFront", select the two Vertices at the extreme ends of the front edge of the work piece.
  2. Click on New Length. Drag the dimension text away from the Body.

Linking Dimensions to 3D Model

Do you notice a problem with the dimension we just created?

From the first part of this tutorial, we know that the work piece is 53 mm wide, but our new dimensions reads 43.27. This is because "TopLeftFront" is an isometric projection, and our first drawing was an orthogonal (multiview) projection. To get the right value, we need to link our dimension directly to the 3D model.

  1. Note the name of our faulty dimension in the Combo panel. We'll need it in a minute.
  2. Change to the 3D tab and select the Vertices at the ends of the front edge of the work piece. Also select Page001.
  3. Click on File:TechDraw Dimension Link.png New Links. A dialog will open in the Task panel.
  4. In the dialog, move our dimension from the Available column to the Selected column. Press OK.
  5. Return to Page001. Our dimension should now read the correct value of 53. (if you still see 43.27, you may need to press the Recompute button or drag the dimension value a bit until it changes.)

Going Further

In this tutorial you have learned enough about TechDraw to produce a drawing like this one (by NormandC). See Note 2.


There is much more functionality in TechDraw for you to explore - Section Views, Detail Views, Svg Symbols, Images, face hatching.

Notes

  1. There is an excellent set of suggested preferences in this Forum post.
  2. This drawing was produced in v0.18. It shows dimensions in the proper format for an isometric view. In v0.17 the extension lines will be perpendicular to the edge rather than aligned with the axes.

Additional Resources

  • FreeCAD file of this exercise for comparison (made with 0.17) Download

Template:Tutorials navi