TechDraw TemplateHowTo: Difference between revisions
({{TutorialInfo}} template) |
(FCVersion=0.17) |
||
Line 7: | Line 7: | ||
|Time=60 minutes |
|Time=60 minutes |
||
|Author=[http://freecadweb.org/wiki/index.php?title=User:wandererfan wandererfan] |
|Author=[http://freecadweb.org/wiki/index.php?title=User:wandererfan wandererfan] |
||
|FCVersion=0. |
|FCVersion=0.17 |
||
}} |
}} |
||
Revision as of 23:16, 24 November 2018
Tutorial |
Topic |
---|
Drafting |
Level |
Intermediate |
Time to complete |
60 minutes |
Authors |
wandererfan |
FreeCAD version |
0.17 |
Example files |
None |
See also |
None |
Introduction
This tutorial shows you how to create an SVG file that can be used as a bacground template for the TechDraw Workbench pages.
This tutorial assumes you are moderately familiar with Inkscape and SVG, as well as FreeCAD and the TechDraw Workbench.
Steps
We're going to make a simple template for US Letter size paper in landscape orientation. A copy of the result of this HowTo is available in your FreeCAD Template directory (HowToExample.svg).
- open a new document in Inkscape
- in Document Properties
- select a page size (US Letter) & orientation (landscape)
- set default units and page size units to mm (279.4 x 215.9)
- use the XML Editor to add freecad namespace clause to the <svg> item
- xmlns:freecad="http://www.freecadweb.org/wiki/index.php?title=Svg_Namespace "
- draw outlines, zone numbers, centerlines, etc
- draw the boxes and lines for the title block.
- add and position your static text
- add and position your editable text
- you now have your finished artwork - something like this:
- use the XML Editor to add "freecad:editable" tag to each editable <text> item
- assign a meaningful field name to each editable text
- use XML editor to adjust viewbox to match your page size in mm
- your template will now appear much too big.
- We need to shrink it.
- Edit>Select All in All Layers (or box select. make sure you select everything)
- adjust the W: and H: spinboxes to match your artwork's size in mm
- page-size less any applicable margins
- use "Align and Distribute" or X/Y spinboxes to position artwork on page if required.
- your template should now look right, just like it did in the finished artwork picture above.
- ensure that all your editable texts are "ungrouped" (shift-ctl-g)
- select everything on your page (box select or Edit>SelectAll) and Edit>Copy
- Layer>Delete Current Layer
- Edit>Paste in Place
- Your template should now look right and shouldn't have any unwanted transforms
- Save your template
- try it in FreeCAD.
Notes
- Don't use Layers until you've mastered template creation without them. Layers (and Groups) can automatically insert unwanted transforms into your SVG.
TechDraw
- Pages: Insert Default Page, Insert Page using Template, Redraw Page, Print All Pages
- Views: Insert View, Insert Active View, Insert Projection Group, Insert Section View, Insert Complex Section View, Insert Detail View, Insert Draft Workbench Object, Insert Arch Workbench Object, Insert Spreadsheet View, Insert Clip Group, Share View, Project Shape
- Stacking: Move view to top of stack, Move view to bottom of stack, Move view up one level, Move view down one level
- Decorations: Hatch Face using Image File, Apply Geometric Hatch to Face, Insert SVG Symbol, Insert Bitmap Image, Turn View Frames On/Off
- Dimensions: Insert Length Dimension, Insert Horizontal Dimension, Insert Vertical Dimension, Insert Radius Dimension, Insert Diameter Dimension, Insert Angle Dimension, Insert 3-Point Angle Dimension, Insert Horizontal Extent Dimension, Insert Vertical Extent Dimension, Link Dimension to 3D Geometry, Insert Balloon Annotation, Insert Axonometric Length Dimension, Insert Landmark Dimension, Adjust Geometric References of Dimension
- Annotations: Insert Annotation, Add Leaderline to View, Insert Rich Text Annotation, Add Cosmetic Vertex, Add Midpoint Vertices, Add Quadrant Vertices, Add Centerline to Faces, Add Centerline between 2 Lines, Add Centerline between 2 Points, Add Cosmetic Line Through 2 points, Add Cosmetic Circle, Change Appearance of Lines, Show/Hide Invisible Edges, Add Welding Information to Leader, Add Surface Finish Symbol, Add Hole or Shaft Tolerances
- Extensions:
- Attributes and modifications: Select Line Attributes, Cascade Spacing and Delta Distance, Change Line Attributes, Extend Line, Shorten Line, Lock/Unlock View, Position Section View, Position Horizontal Chain Dimensions, Position Vertical Chain Dimensions, Position Oblique Chain Dimensions, Cascade Horizontal Dimensions, Cascade Vertical Dimensions, Cascade Oblique Dimensions, Calculate the area of selected faces, Calculate the arc length of selected edges, Customize format label
- Centerlines and threading: Add Circle Centerlines, Add Bolt Circle Centerlines, Add Cosmetic Thread Hole Side View, Add Cosmetic Thread Hole Bottom View, Add Cosmetic Thread Bolt Side View, Add Cosmetic Thread Bolt Bottom View, Add Cosmetic Intersection Vertex(es), Add an offset vertex, Add Cosmetic Circle, Add Cosmetic Arc, Add Cosmetic Circle 3 Points, Add Cosmetic Parallel Line, Add Cosmetic Perpendicular Line
- Dimensions: Create Horizontal Chain Dimensions, Create Vertical Chain Dimensions, Create Oblique Chain Dimensions, Create Horizontal Coordinate Dimensions, Create Vertical Coordinate Dimensions, Create Oblique Coordinate Dimensions, Create Horizontal Chamfer Dimension, Create Vertical Chamfer Dimension, Create Arc Length Dimension, Insert '⌀' Prefix, Insert '〼' Prefix, Remove Prefix, Increase Decimal Places, Decrease Decimal Places
- Export: Export Page as SVG, Export Page as DXF
- Additional: Line Groups, Templates, Hatching, Geometric dimensioning and tolerancing, Preferences
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub