TechDraw SaveDXF
Jump to navigation
Jump to search
Outdated translations are marked like this.
This command exists up to version 0.18. Starting from version 0.19 it is replaced by TechDraw ExportPageDXF
Menu location |
---|
TechDraw → Export page Dxf |
Workbenches |
TechDraw |
Default shortcut |
Introduced in version |
- |
See also |
Descriere
Fișierul Dxf de pagină de export salvează o pagină de desen ca fișier Dxf
Cum se folosește
- Selectați o pagină în arborescență (dacă documentul cinținte pagini multiple).
- apasă butonul
Save page as Dxf
- Se va deschide un dialog de salvare a fișierelor. Selectați o locație și un nume de fișier.
Limitations
- Radial and Diameter dimensions will only export properly if they are "inside" the arc.
- Scaling is not supported. The DXF will be drawn in the actual size of the TechDraw page.
- Units are not supported. The DXF will be drawn in millimeters (mm). Dimension text will be shown exactly as displayed in TechDraw.
- TechDraw can't export a DraftView or an ArchView to DXF. These views are SVG elements generated internally by the Draft Workbench, so there is no geometrical shape to export. To export a view as DXF, it must have been created with TechDraw View or TechDraw NewProjGroup. For example, select an Arch SectionPlane, then use Draft Shape2DView to create a flat projection shape, and then use TechDraw View on this object. Alternatively, select the objects from the tree view or the 3D viewport, and export to DXF using File → Export.
- The title block of a page is an SVG template as well, so it will not be exported to DXF either.
- In general, TechDraw can only export to DXF those elements that are supported by the
Import::ImpExpDxfWrite
class of the Import Module.
Note
- Această funcție este disponibilă în v0.18 și ulterior.
- Această funcție exportă versiunile R12 (AC1009) și R14 (AC1014) ale Dxf.
- R12este o versiune mai veche, mai simplă a standardului, dar trebuie citită de majoritatea celorlalte programe.
- R14 is the default version. It includes support for splines among other things.
- There are 2 parameters that affect Dxf output:
- Preferences → Mod → Import → DxfVersionOut - valid entries are 12 or 14. Default is 14.
- Preferences → Mod → Import → DiscretizeEllipses - true: splines/ellipses are polylines false: spline/ellipses are written as splines/ellipses. Default is false.
- If the FreeCAD document contains multiple pages, you will have to select the desired page in the tree before pressing the export button.
- Dimensiunile radiale și diametrice vor fi utilizate numai dacă sunt "în interiorul" arcului.
- Scalarea nu este acceptată. Dxf va fi desenat în dimensiunea reală a paginii TechDraw.
- Unitățile de măsură nu sunt suportate - Dxf va fi desenată în mm. Dimensiunea textului va fi afișată exact așa cum este afișat în TechDraw.
Script
See also: TechDraw API and FreeCAD Scripting Basics.
The SaveDXF tool can be used in macros and from the Python console by using the following functions:
TechDraw.writeDXFPage(page,filename)
TechDraw
- Pages: New Default, New Pick
- Views: New View, New Projection Group, New Section, New Detail, New Annotation, New Draft, New Arch, Spreadsheet
- Clips: Clip, ClipPlus, ClipMinus
- Dimensions: New Length, New Horizontal, New Vertical, New Radius, New Diameter, New Angle, New Angle3Pt, New Links
- Decoration: Hatch Area, Geometric Hatch, New Symbol, New Image, Toggle Frames
- Utilities: SaveSVG, SaveDXF
- Additional: Preferences, Import-Export Preferences; Hatching, LineGroup, Templates; TechDraw API, TechDrawGui API
User documentation

- Installation: Windows, Linux, Mac; Getting started
- Basics: About FreeCAD, Workbenches, Preferences, Document structure, Interface Customization, Properties, Mouse Model; Tutorials
- Workbenches: Arch, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Plot, Points, Raytracing, Reverse Engineering, Robot, Ship, Sketcher, Spreadsheet, Start, Surface workbench, TechDraw, Test Framework, Web
- Scripting: Introduction to Python, FreeCAD scripting tutorial, FreeCAD Scripting Basics, How to install macros, Gui Command, Units Modules: Builtin modules, Workbench creation, Installing more workbenches Meshes: Mesh Scripting, Mesh Module Parts: The Part Module, Topological data scripting, PythonOCC, Mesh to Part Coin scenegraph: The Coin/Inventor scenegraph, Pivy Qt interface: PySide, Using the FreeCAD GUI, Dialog creation Parametric objects: Scripted objects Other: Code snippets, Line drawing function, Embedding FreeCAD, FreeCAD vector math library, Power users hub, Python, Macros, FreeCAD Scripting Basics, Topological data scripting