Drawing Workbench: Difference between revisions

From FreeCAD Documentation
m (Docnav)
(Marked this version for translation)
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
<!--T:66-->
<!--T:69-->
{{Docnav
{{Docnav|[[Part Module|Part Module]]|[[Raytracing Module|Raytracing]]|IconL=Workbench_Part.svg|IconC=Online Help Toc.svg|
|[[Draft Workbench|Draft Workbench]]
IconR=Workbench_Raytracing.svg}}
|[[FEM Workbench|FEM Workbench]]
</translate>
|IconL=Workbench_Draft.svg
[[Image:Workbench_Drawing.svg|64px]]
|IconC=Online Help Toc.svg
<translate>
|IconR=Workbench_FEM.svg

}}
== Introduction == <!--T:64-->


<!--T:51-->
<!--T:51-->
{{VeryImportantMessage|Development of the [[Drawing Workbench]] stopped in FreeCAD 0.16, and the new [[TechDraw Workbench]] aiming to replace it was introduced in v0.17. Both workbenches are still provided in v0.17, but the Drawing Workbench may be removed in future releases.}}
{{VeryImportantMessage|Development of the [[Drawing Workbench]] stopped in FreeCAD 0.16, and the new [[TechDraw Workbench]] aiming to replace it was introduced in v0.17. Both workbenches are still provided in v0.17, but the Drawing Workbench may be removed in future releases.}}

<!--T:72-->
[[Image:Workbench_Drawing.svg|thumb|128px|Drawing workbench icon]]

== Introduction == <!--T:64-->


<!--T:1-->
<!--T:1-->
Line 18: Line 23:
</translate>
</translate>
{{TOCright}}
{{TOCright}}
[[Image:Drawing_extraction.png|800px]]
[[Image:Drawing_extraction.png|600px]]
<translate>
<translate>


Line 99: Line 104:


<!--T:47-->
<!--T:47-->
{{Docnav
{{Docnav|[[Part Module|Part Module]]|[[Raytracing Module|Raytracing]]|IconL=Workbench_Part.svg|IconC=Online Help Toc.svg|
|[[Draft Workbench|Draft Workbench]]
IconR=Workbench_Raytracing.svg}}
|[[FEM Workbench|FEM Workbench]]

|IconL=Workbench_Draft.svg
<!--T:67-->
|IconC=Online Help Toc.svg
{{Drawing Tools navi}}
|IconR=Workbench_FEM.svg
}}


<!--T:68-->
{{Userdocnavi}}
[[Category:Obsolete Workbenches]]
</translate>
</translate>
{{Drawing Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
[[Category:Obsolete Workbenches{{#translation:}}]]

Revision as of 22:39, 18 March 2020

Development of the Drawing Workbench stopped in FreeCAD 0.16, and the new TechDraw Workbench aiming to replace it was introduced in v0.17. Both workbenches are still provided in v0.17, but the Drawing Workbench may be removed in future releases.
Drawing workbench icon

Introduction

The Drawing module allows you to put your 3D work on paper. That is, to put views of your models in a 2D window and to insert that window in a drawing, for example a sheet with a border, a title and your logo and finally print that sheet.

Tools

These are tools for creating, configuring and exporting 2D drawing sheets

  • Insert a view: Inserts a view of the selected object in the active drawing sheet
  • Annotation: Adds an annotation to the current drawing sheet
  • Clip: Adds a clip group to the current drawing sheet
  • Open Browser: Opens a preview of the current sheet in the browser
  • Ortho Views: Automatically creates orthographic views of an object on the current drawing sheet
  • Symbol: Adds the contents of a SVG file as a symbol on the current drawing sheet
  • Draft View: Inserts a special Draft view of the selected object in the current drawing sheet
  • Spreadsheet View: Inserts a view of a selected spreadsheet in the current drawing sheet
  • Save sheet: Saves the current sheet as a SVG file
  • Project Shape: Creates a projection of the selected object (Source) in the 3D view.

Workflow

The document contains a 3D shape object (Schenkel) from which we want to produce a drawing. Therefore a "Page" is created. A page it's instantiated from a template, for example, the "A3_Landscape" template. The template is an SVG document which can hold a page frame, a logo, and other elements.

In this page we can insert one or more views. Each view has a position on the page, a scale factor, and additional properties. Every time the page or the view or the referenced object changes, the page is regenerated and the page display updated.

Scripting

At the moment the graphical user interface workflow is very limited, so the scripting API is more interesting.

See the Drawing API example page for a description of the functions used to create drawing pages and views.

The macro CartoucheFC allows you to create a custom information box on an A3 landscape page.

Templates

FreeCAD comes bundled with a set of default templates, but you can find more on the Drawing templates page.

Extending the Drawing Module

Some notes on the programming side of the drawing module will be added to the Drawing Documentation page. This is to help quickly understand how the drawing module works, enabling programmers to rapidly start programming for it.

Tutorials

External links