Tutorials CivilCraft help Getting started
Files you can open, save and export
Point files, LandXML and CivilCraft projects in; projects, LandXML, DXF and PDF out; what each keeps, where the files go, and what changes offline.
Written for CivilCraft 0.11. The same help is inside the app: press F1.
CivilCraft opens files from your computer and saves by downloading files back to it. Nothing is uploaded and nothing is kept on a server. See also Your files.
What it opens
Click Open (or press ⌘OCtrl+O) and choose a file, or drag the file from Finder / File Explorer / your file manager onto the plan. One file at a time; files over 200 MB are refused. A LandXML or project file over 32 MB is read in pieces of about 4 MB, never as one block of text; while a LandXML opens, expect it to use roughly 13 times the file's size in memory (a 69 MB file used about 0.9 GB in our test).
| Kind | File names | What happens |
|---|---|---|
| Point file | .csv, .txt, .pnt, .xyz (any text file) | The Import points dialog opens. The points replace the project's points; alignments, pads and pipes stay. |
| LandXML | .xml, .landxml | A new project is made from the file (you are asked first if the current one has unsaved changes). |
| CivilCraft project | .civilcraft.json (any .json) | The project opens as it was saved (you are asked first if the current one has unsaved changes). |
CivilCraft decides by the file's ending, then by its first characters: text starting with { is read as a project, text starting with < as LandXML, anything else as a point file. A file the open box grays out can still be dropped on the plan.
Details: Point file formats, LandXML: what is read and written.
What it saves
Save (⌘SCtrl+S) writes two files side by side, named after Name in the left panel: <name>.civilcraft.json, the project you go on editing, and <name>.ifc, the same design as IFC 4.3 for everyone else (see IFC export and import). Each file records the other, and the IFC also carries a compressed copy of the project, so an IFC sent on its own still reopens fully editable.
- In Studio both files are written next to each other, in place.
- In Chrome and Edge the first Save asks for a folder and writes both into it; later saves go to the same folder. Cancel the folder question to download both instead.
- In other browsers both files download, the project file first.
Opening either file looks for the other. Open both together (or drop both), or open one: in Studio the other is found in the same folder; in a browser CivilCraft asks you to add it, or to go on with the one you have. If the IFC was changed by another program after CivilCraft saved it, or one file is older than the other, the project opens from the newer design and the Problems panel says what happened, with Save now (writes both files again) and Show the IFC's geometry as reference. An IFC on its own that another program changed opens from its copy of the project with what still matches: alignments it changed take its geometry, objects it removed are left out, and the rest of its changes are listed, not taken. A project file from before 0.7.1 opens as before.
The project file keeps:
- every point (number, coordinates, elevation, description) and the name of the point file they came from
- the surface settings: group choices, drawn breaklines, the boundary, the longest outside edge, and a TIN read from LandXML
- the display settings
- alignments with their PIs, radii and start station, their design profiles (PVIs and curve lengths) and corridor settings
- pads and the pipe network with its rules
It does not keep the undo history. Surfaces, contours, daylight lines and volumes are not stored; they are rebuilt from the saved inputs when the project opens. A project file from a newer CivilCraft is refused with a message that names its version.
What it exports
| Button | File | Contents |
|---|---|---|
| LandXML | <name>.xml | LandXML 1.2: points, the existing ground (and the graded surface when there is one) as TIN surfaces, alignments, ground and design profiles, the pipe network |
| DXF | <name>.dxf | R12 DXF of the plan linework as it is displayed, on named layers |
| DWG | <name>.dwg | The same linework as a DWG drawing, in the format you pick (2000 to 2018) |
<name>.pdf | A vector plot of the plan on a sheet, at a scale you pick | |
| GLB or OBJ (on the 3D view's bar) | <name>-3d.glb, <name>-3d.obj | What the 3D view shows as a 3D model: meters, Y up, true scale, around a recorded local origin |
What each one leaves out: Exchange LandXML, Export the plan to DXF (DWG too), Plot the plan to PDF, Export the site in 3D.
Where the files go
Saved and exported files go wherever your browser puts downloads, usually the Downloads folder. To choose a folder each time:
Chrome or Edge
Open the browser's Settings, then Downloads, and turn on Ask where to save each file before downloading.
Firefox
Open Settings, then General, and under Files and Applications choose Always ask you where to save files.
Safari
Open Safari > Settings > General and set File download location to Ask for each download.
If you save twice with the same name, the browser may add a number to the second file, for example Site (1).civilcraft.json. Open the newest one next time.
Online and offline
CivilCraft works only on your computer either way: opening reads the file in the browser, saving downloads it. To open CivilCraft with no connection at all, save it for offline use first:
- While online, click Save for offline in the app bar at the top.
- The button counts up ("Saving 12 of 30") and then shows Offline ready. CivilCraft is small (about 0.6 MB), so this takes a moment. The saved copy includes this help and the sample site.
- With no connection, open the same address (or a bookmark of it). Everything works, including Open the sample site.
The button's other states:
- Could not save: some files did not download. Check the connection and click it to try again.
- Offline not available: this browser window cannot keep an offline copy (private windows and some managed computers block it). Use a normal window.
Click Offline ready to see when the copy was saved, with two choices: Save again (get the newest version) and Remove the offline copy. Save again before a site visit so the copy matches the newest build. More in Offline.
Offline
You are offline now. If CivilCraft was saved for offline use, everything works, including the sample site. If not, keep working in this tab, but do not reload it until you are online again; without a saved copy, Open the sample site fails with "The sample could not be loaded".
Cloud saving is not available yet, and desktop builds are not out yet. Today, the files you save are the only copy: keep them somewhere that is backed up.
Add-ons a file uses
When you save a project that holds data from an add-on (the Building regulations ticks, or an Address to site source), the file records which add-ons and which versions. Open it on a computer that lacks one and a bar above the plan says so and offers to add it from your account's list. The record is only a note: the file opens either way.
Undo from Studio
Inside CadCraft Studio, each step you finish in CivilCraft is told to Studio, so its project-level undo can take back the latest step across apps. Studio only undoes a step when CivilCraft's own undo stack is exactly as that step left it; after you open another file it skips this window.
Closing with unsaved changes
When the project has unsaved changes and you close the tab, reload, or leave the page, the browser asks whether you want to leave. Its wording and look belong to the browser and cannot be changed by CivilCraft. New, and opening a project or LandXML file, ask in CivilCraft's own Unsaved changes box instead, with Cancel, Don’t save and Save a copy.