Skip to content
LiberoDraft LiberoDraft Help
Deutsch
Start › C Topics › Import and export

Import and export

What belongs to data exchange

LiberoDraft stores its own drawings as a .cad2d file (Save). For exchanging data with other programs and for templates from the workshop there are five further routes:

RouteWhat for
Import DXF / Export DXFexchange with other CAD programs — geometry, layers, colours, dimensions, hatches and blocks
Import SVG / Export SVGvector graphics from illustration and layout programs, output for web and documentation
Import DWG… / Export DWG…, Import STEP…DWG and STEP via the add-ons LiberoDWG and STEP2LiberoDraft — the file menu opens the respective program in a new tab
Insert imagephoto, scan or screenshot as a template to trace
Import drawingtake a second LiberoDraft drawing into the open one

Export is described on two pages: the commands under Export DXF and Export SVG, the prompts and option windows under Export prompts and DXF options.

Access

All import and export commands live in the File menu File — in the classic toolbar and in the ribbon the same button opens the same menu.

File menu: (1) Check & clean up drawing…, (2) Import DXF, (3) Export DXF, (4) DXF profiles…, (5) Import SVG, (6) Export SVG, (7) Import DWG…, (8) Export DWG…, (9) Import STEP…
File menu: (1) Check & clean up drawing…, (2) Import DXF, (3) Export DXF, (4) DXF profiles…, (5) Import SVG, (6) Export SVG, (7) Import DWG…, (8) Export DWG…, (9) Import STEP…

Insert image Image, Coordinate table Coordinates and Axis cross Axis cross sit in the ribbon group “File” as buttons of their own.

Ribbon, group “File”: (1) File menu, (2) Print, (3) Insert image, (4) Coordinate table, (5) Insert axis cross
Ribbon, group “File”: (1) File menu, (2) Print, (3) Insert image, (4) Coordinate table, (5) Insert axis cross

In the classic toolbar the whole group “File & import/export” sits in the overflow menu “☰” on the far left at a window width of 1400 pixels, below the “Add-ons” group; on wider screens it is open in the toolbar. “Save As…” can also be reached with Ctrl + Shift + S.

Classic toolbar, overflow menu “☰” open: (1) the “☰” button, (2) Insert image, (3) Coordinate table, (4) Axis cross
Classic toolbar, overflow menu “☰” open: (1) the “☰” button, (2) Insert image, (3) Coordinate table, (4) Axis cross

DWG and STEP

LiberoDraft itself imports and exports DXF and SVG. For DWG and STEP there are three entries at the end of the file menu, set off by a separator, that open the matching add-on in a new tab — that is all they do, reading and writing happens there:

  • ⬆ Import DWG… opens LiberoDWG. LiberoDWG reads DWG files and LiberoDraft files itself, saves as a LiberoDraft file or hands over directly to LiberoDraft.
  • ⬇ Export DWG… opens the same program. Save the drawing first, load it in LiberoDWG and export it there as DWG.
  • ⬆ Import STEP… opens STEP2LiberoDraft; there you load the STEP file.

Like the menu Add-ons, the entries are tied to the registration, and they are also in the command search. Details and the status bar messages: Files — DWG and STEP via add-ons.

What happens to the layers on import

A DXF brings its own layers. LiberoDraft creates a layer for every DXF layer that does not exist yet and puts the elements there. Which DXF name leads to which layer is governed by the active DXF profile: it holds layer mappings (with the wildcards * and ?), the line type translation and the “Normalise” switch, which pulls every object onto the layer default instead of keeping its own colour.

Panel “Layer” after the import: the layer “KONTUR” from the DXF file has been added, “ACHSEN” already existed
Panel “Layer” after the import: the layer “KONTUR” from the DXF file has been added, “ACHSEN” already existed

Without a profile the rule is: an explicit object colour is kept, otherwise the element inherits the layer colour; the line width always comes from the layer. The SVG import knows no layers — every element ends up on the active layer.

The check after every import

After a DXF or SVG import the check runs automatically. If it finds anything, the status bar reports the number and the dialog Check & clean up drawing opens by itself; if everything is in order, only the message appears. After a DXF import LiberoDraft additionally shows the import overview with a tally of the elements read in and recommended clean-ups.

Note

Foreign polylines cannot carry element and angle dimensions. The import overview therefore offers to explode them into lines right away — which can be undone with Ctrl + Z.

When import or export fails

  • Opening: if “Open…” fails — also for a DXF or SVG file, also only while inserting —, the previous drawing stays as it was (content, name, undo history). The status bar reports in red ““file” cannot be opened — drawing unchanged (reason)”. A DXF or SVG file from which nothing readable results is refused by “Open…”.
  • Inserting: if inserting fails — dropping or importing DXF or SVG, “Import drawing…”, “Load block”, standard part, Ctrl + V, transfer from an add-on —, the drawing likewise stays unchanged; red message ““name” not inserted — drawing unchanged (reason)”.
  • Damaged values: unreadable values in a file, a package or in the LiberoDraft data of a DXF are cleaned up while reading (an unreadable value falls back to the default, an element without readable geometry is dropped). The status bar then reports in red at the front “⚠ n damaged entries cleaned up · …”.
  • Export: if creating a file fails — DXF, SVG, block as file, parts list as CSV, standard part, settings, profile file —, no file is created, and the status bar reports in red what failed, with the reason (Messages about printing and exporting).
  • DWG and STEP: if an entry does not open the add-on because it is missing from the list of add-ons, the status bar reports in red Add-on “LiberoDWG” not found in the list or Add-on “STEP2LiberoDraft” not found in the list; if registration is required and no start link is valid, the window 🔒 Not unlocked appears (Messages for file and tools).
  • Undo: Ctrl + Z after an import also takes back the blocks, layers and parts list fields brought in, provided they are not used anywhere else.
  • Too dense hatch: if a hatch from a DXF would result in more than 200,000 lines, LiberoDraft shows it as an area in its colour (Hatches).

Limits

PointState 4.0.55
SVG export from the modeldrawn like the printout, with everything visible (Printing); dimensions, hatches and annotations are presentation in the SVG and do not come back as dimensions on SVG import
Imagesare not exported to DXF; in the SVG they appear
Sheetsthe paper space is written flattened on DXF and SVG export, no paper-space structure is created
DWG and STEPare not read or written by LiberoDraft itself but via the add-ons LiberoDWG and STEP2LiberoDraft; the file menu only opens them
File selectionimport and export run through the browser file dialog; the output is downloaded

Related topics

Related topics