Skip to content
LiberoDraft LiberoDraft Help
Deutsch
Start › A Getting started › Files

Files

A LiberoDraft drawing is a single file with the extension .cad2d. It lies where you save it — on the computer, in the network or in a cloud folder. LiberoDraft itself stores nothing on a server.

All file commands are in a drop-down menu behind the button File — in the ribbon in the group File & import/export, in the classic toolbar at the far left. Both layouts open the same menu.

The file menu: (1) New drawing, (2) Open…, (3) Import drawing…, (4) Save, (5) Save As…, (6) Open with preview…, (7) Import DWG…, (8) Export DWG…, (9) Import STEP…
The file menu: (1) New drawing, (2) Open…, (3) Import drawing…, (4) Save, (5) Save As…, (6) Open with preview…, (7) Import DWG…, (8) Export DWG…, (9) Import STEP…
Classic toolbar: (1) the «File» button opens the same menu
Classic toolbar: (1) the «File» button opens the same menu — left halfleft half
Classic toolbar: (1) the «File» button opens the same menu — right halfright half
Classic toolbar: (1) the File button opens the same menu
EntryKeyCommand
🗎 New drawingCtrl + NNew drawing
📂 Open…Ctrl + OOpen
🖼 Open with preview…—Open with preview
⬆ Import drawing…—Import drawing
💾 SaveCtrl + SSave
💾 Save As…Ctrl + Shift + SSave As
ℹ Drawing info…—Drawing info
🧹 Check & clean up drawing…—Check & clean up drawing
⌨ Keyboard shortcutsF1Keyboard shortcuts
⬆ ⬇ Import DXF / Export DXF, ⚙ DXF profiles…—Import DXF, Export DXF, DXF profiles
⬆ ⬇ Import SVG / Export SVG—Import SVG, Export SVG
⬆ Import DWG…, ⬇ Export DWG…, ⬆ Import STEP…—DWG and STEP via add-ons

What the file contains

The file is readable text (JSON) and contains everything that belongs to the drawing: geometry, dimensions, hatches, constraints, layers, groups, block definitions, sheets of the paper space (each with its own groups, welds and constraints), the parts list fields of the drawing and inserted live parts lists including their overrides, the entries of the drawing info, the dimension style of the drawing and the last view. Not in the file are the program settings (grid, snap automatic, layout, favourites) — they belong to the computer: Storage locations.

Saving: two ways depending on the browser

Chrome and Edge offer the native save dialog: at the first Save you choose location and name, every further Ctrl + S silently writes back to the same file — also on a NAS or network drive. Firefox and Safari do not know this dialog; there the file is placed as a download in the browser's download folder (message Downloaded: …), and every save creates a new file.

If saving fails, the status bar reports it in red: Drawing not saved (reason) if the drawing cannot be assembled — then no file is created. If the linked file cannot be written (e.g. read-only), Ctrl + S reports Saving to ‹file› failed (reason) — choose a location and opens the file picker with the same content. In both cases the dot ● stays. Ctrl + Shift + S always opens the file picker, even for a drawing that is already linked to a file. The shortcuts Ctrl + N, Ctrl + O, Ctrl + S and Ctrl + Shift + S also work while the cursor is in the floating input field of a tool. Saving is locked while the block editor is open.

The file name is proposed from the drawing info (drawing no., title, revision, for example Z-2026-017_Lagerplatte_RevB); without entries the drawing is called Untitled or zeichnung.

Unsaved changes

As soon as the drawing has been changed, a dot ● precedes the file name in the browser tab, and the tooltip of the file name in the status bar reads … (ungespeichert). Before New drawing, Open and closing the tab LiberoDraft asks Discard unsaved changes?. A click on the file name in the status bar is a shortcut for Save As. Whatever does not change the drawing does not set the dot — Esc neither; a new layer (+ New in the Layers panel), however, does.

Drag and drop

Files can be dragged from the file explorer directly onto the drawing area:

  • .cad2d (or .json): replaces the current drawing — after a prompt if changes are pending.
  • .dxf and .svg: are imported into the current drawing, the view is fitted.
  • Images (PNG, JPG …): are inserted as an image in the centre of the picture.

If dropping a .dxf or .svg fails, the drawing stays as it was and the status bar reports in red “name” not inserted — drawing unchanged (reason). Other file types are rejected by the status bar with Only .cad2d, .dxf, .svg or image files.

Opening foreign formats

Open accepts .dxf and .svg besides .cad2d and creates a new drawing from them; Import DXF and Import SVG on the other hand insert into the existing drawing. For the exchange with other CAD programs use Export DXF and the DXF profiles; for web pages and office documents Export SVG. DWG and STEP files are not read by LiberoDraft itself; for them the file menu opens the add-ons (DWG and STEP via add-ons). A .dxf or .svg from which nothing readable results is rejected by Open; the open drawing stays. Open and New drawing end everything running, like Esc, and close the windows of the previous drawing; a part from outside (standard part, add-on) that hangs on the mouse stays there and lands in the new drawing.

DWG and STEP via add-ons

At the end of the file menu, set off by a separator, are ⬆ Import DWG…, ⬇ Export DWG… and ⬆ Import STEP…. Each entry opens the matching add-on in a new tab: LiberoDWG for DWG, STEP2LiberoDraft for STEP. LiberoDraft itself neither reads nor writes these formats — the entry only calls the add-on, the actual work is done there. The status bar tells you what to do there (Name stands for the name of the program):

  • Import DWG… opens LiberoDWG: “Name” opened — load the DWG file there and send it to LiberoDraft. 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: “Name” opened — save the drawing first, load it there and export it as DWG. So save the drawing first (Save), load it in LiberoDWG and export it there as DWG.
  • Import STEP… opens STEP2LiberoDraft: “Name” opened — load the STEP file there.

Like the menu Add-ons, the three entries are tied to the registration: if the operator requires registration and no start link is valid for more than 20 more days, a click on an entry shows the window 🔒 Not unlocked (Registration); the entries stay visible in the menu. If the program is not in 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 (Messages).

The three commands are also in the command search (Ctrl + F, type dwg or step, category File). A DWG or STEP file that you drag onto the drawing area is rejected by the status bar (Only .cad2d, .dxf, .svg or image files). If you only need DXF you need no add-on: Import DXF and Export DXF are built into LiberoDraft.

Drawing into drawing

Import drawing… fetches another .cad2d file into the open drawing — as loose elements or as a block, placed at the mouse or at the original coordinates, optionally with its sheets. Dialog: Import drawing. Ctrl + Z takes the import back, including the blocks, layers and parts list fields that came along, as long as they are not used anywhere else.

When a file is damaged

LiberoDraft checks every file before inserting it:

  • Opening fails (even only while inserting): the previous drawing stays exactly as it was — content, name, link, undo history. The status bar reports in red “file” cannot be opened — drawing unchanged (reason).
  • Single values are unreadable: they are cleaned up — an unreadable value falls back to the default (a colour to that of the layer), an element without readable geometry is dropped. The status bar reports in front ⚠ n damaged entries cleaned up · ….
  • Inserting fails (Import drawing…, DXF/SVG, block, standard part, Ctrl + V): the drawing stays unchanged, red message “name” not inserted — drawing unchanged (reason).
  • Saving or exporting fails: no file is created, the status bar names the reason in red.
Status bar after opening a damaged file: red message, the drawing is unchanged
Status bar after opening a damaged file: red message, the drawing is unchanged
Tip

Frequently needed parts are better saved as a block (Load block) or as a standard part (Save standard part); they then appear with name and preview in the panel.

Related topics