Importing a DXF drawing
The flat roof outline and drains straight from a CAD drawing in DXF format. How to prepare the drawing, assign the layers and check what the import will do.
What FredIQ takes over from the drawing
From a DXF drawing, FredIQ takes only the roof outline and the drains. It ignores the other layers.
- Roof outline: one closed curve (polyline), or one closed loop of lines and arcs, on one layer. Arcs are taken over as arcs.
- Drains: points, circle centres or inserted blocks. Drains can be read from at most 8 layers.
- The scale is taken over from the drawing.
- Openings, superstructures, valleys and edge types are not taken over. You add them in the editor.
A simplified DXF drawing with the outline on a single layer works best. The import cannot read DWG files: save them as a DXF in ASCII format in your CAD program.
The import stops and states the reason when the outline layer contains:
- two separate outlines, or an outline with an opening inside. FredIQ does not pick “the larger one”.
- an open outline. The import closes a gap of up to 1 mm between the first and the last point of a polyline, or between the ends of neighbouring lines, by itself and tells you about it.
- an outline whose edges cross.
- an outline of lines that branches, has a line twice or does not lie in one horizontal plane. The message gives the coordinate of the place in the drawing.
- a polyline together with separate lines or arcs. Leave only one of them on the layer, even if the lines lie exactly on the polyline.
- circles, lines inside blocks, or curves that FredIQ does not read (splines, hatches).
When the import does not find an outline, it offers
Use as underlay. The same drawing opens in the editor as the background without a new upload, and you trace the roof over it, see Background and scale.
Where to find the import
The DXF import is in the flat roof editor:
- on an empty roof, in the
How would you like to start?card, with theImport DXFoption, - at any time with the
Import DXFbutton in the editor's top bar.
A roof with an uploaded background (PDF, image or a crop of a DXF drawing) does not offer the import. Create a new roof for the DXF drawing, see Several roofs in one project.
1. Drawing
- Drag the DXF file into the window, or click
Choose a file. - Click
Continue. - The page shows a preview of the drawing and what could not be read from it. Nothing has been written to the project yet.
2. Layers
- For the layer with the roof outline, choose
Outline. - For the layers with drains, choose
Drains. - Leave the other layers at
Ignore. Drawing unit: if the drawing states it, it is used. If not, choose millimetres, centimetres, metres or inches. FredIQ never guesses the unit. Millimetres and metres differ by a factor of a thousand, and the difference would not be visible in the result. If you know the drawing header does not match the drawing, clickChange unitand choose the right one.- Click
Show what would be imported.
The import rejects a drawing in a unit it cannot convert (for example in feet). Change the unit in your CAD program and export the drawing again.
3. Review
Import resultshows the size, the area, the number of drains and the units. It shows a changed unit after the write as well: what the header states, what you chose and the resulting size.- If a side of the roof is shorter than 1 m, FredIQ does not say the drawing is ready and warns that this usually means a wrong unit. Change the unit, or confirm the size with the checkbox. Nothing is written without the confirmation.
- The import rejects a roof with a longer side over 320 m. This too usually means a wrong unit, and the message offers to change it.
- The
What the import would do to the existing roofpart lists what would be overwritten and what will disappear. - The import replaces; it does not merge anything. What is not in the drawing will not be in the roof after the import either: drawn openings, superstructures, valleys and edge types disappear.
- Nothing has been written yet. It is only written with the
Import into the roofbutton. For a roof that already has content, the button is calledReplace the roof with the drawingand asks for an additional confirmation. - After the import, the editor opens. If the import reports warnings, the page lists them and you go to the editor with the
Open in editorbutton.
After the import
- The
Stepswindow in the editor shows that the outline and the scale come from the DXF. - Add openings, superstructures and edge types, see Perimeter edge types. Then continue as with a drawn roof.
- Results that the roof had before the import need to be calculated again.
- A drawing from FredIQ can be inserted back into the original drawing, see DXF export. If you change the scale after the import, the export no longer fits the original drawing and FredIQ produces a separate drawing in millimetres.
- If you changed the unit during the import, correct it in the original drawing as well. Otherwise your CAD program may rescale the inserted drawing.
Updated