@if (loadError) { } @if (busy) {
@if (thumbnail) { The preview picture saved in the DWG }

{{ busy }}@if (busySeconds) { {{ busySeconds }} s }

} @if (!opened) {

Drag & drop a .dwg or .dxf here, or browse

Tap to choose a .dwg or .dxf

AutoCAD, LibreCAD, SolidWorks and laser-cutter exports · nothing is uploaded

} @if (opened) {
{{ fileName }} @if (fromDwg) { DWG, converted · }{{ version }}@if (unitsLabel) { · units: {{ unitsLabel }} } · {{ itemCount.toLocaleString() }} item{{ itemCount === 1 ? '' : 's' }}
@if (fromDwg) { }
@if (dxfOpen) {

Save as DXF

@if (fromDwg) {

The drawing converted by LibreDWG to an ASCII DXF of the same version as the DWG ({{ dxfVersion }}): model, layouts, blocks, layers, linetypes and text, with each layer left on, off or frozen as it was. A few newer or rarer kinds of object may not come across. Open it in LibreCAD, QCAD, Inkscape, a laser cutter’s or CNC router’s software, or any other program that reads DXF.

} @else {

{{ fileName }} is already a DXF, so there is nothing to convert. Open a .dwg here to save it as a DXF; or press PDF… to make a PDF of this one. Save as R12 makes a copy of the outlines and text for older software.

}

The DXF keeps the DWG's own version; LibreDWG cannot write an older one. Save as R12 is for programs that read only the oldest DXF, as many laser cutters, vinyl cutters and CNC routers do: an AutoCAD R12 DXF in millimetres of the model's lines, arcs, circles, polylines, splines and solid fills, each traced as a polyline on its own layer, with blocks exploded, and the text as R12 text, a line at a time, at its place, height, angle and colour. Hatch patterns and layouts are left out.

@if (r12Note) {

{{ r12Note }}

}
} @if (picOpen) {

Save as a picture

The whole of this tab ({{ sheet?.name }}) on white, with the layers you have on and lineweights as on screen, at most {{ maxSide.toLocaleString('en') }} pixels a side and {{ maxMp }} megapixels. A size in dpi uses the paper, scale and margin set under PDF….

@if (picError) { }
} @if (pdfOpen) {

Save as PDF

@if (pdfHasOwnPaper) {

A layout with its own page setup prints whole at full size (1:1) on that paper; its page setup’s own plot scale, plot area and offset are not read. The paper, margin and scale here are for the model and for layouts without a page setup.

}
}
@if (sheets.length > 1) {
@for (s of sheets; track $index) { }
}
@if (tool === 'area') {
@if (areaResult; as a) { Area {{ a.area }} · perimeter {{ a.perimeter }} · {{ a.what }} } @else if (areaMode === 'points') { Click the corners in turn; the area shows from the third. Clicks snap to the nearest corner or end. } @else { Click inside a closed polyline, circle or hatch to measure it (the smallest one round the click), or just outside its edge when it is not inside another. A hatch’s islands are taken away. } @if (areaPoints.length) { } @if (areaPoints.length || areaShape) { }
} @if (tool === 'info') {
@if (infoRows.length) {
@for (r of infoRows; track r.k) {
{{ r.k }}
{{ r.v }}
}
} @else { Click a line, circle, hatch or text to see what it is: type, layer, colour, length, radius or area, and the block it belongs to. }
} @if (tool === 'measure') {

@if (measurement; as m) { Distance {{ m.d }} · ΔX {{ m.dx }} · ΔY {{ m.dy }} · angle {{ m.angle }}{{ m.where }} } @else if (measure) { Now click the second point. } @else { Click two points to measure between them. Clicks snap to the nearest corner or end within a few pixels. }

}

Ctrl + scroll (Cmd on a Mac) or pinch to zoom, drag to pan.@if (skippedLabel) { Not drawn: {{ skippedLabel }}. }@if (hatchesAsTint) { {{ hatchesAsTint }} hatch pattern{{ hatchesAsTint === 1 ? ' is' : 's are' }} too dense or too detailed to draw line by line and {{ hatchesAsTint === 1 ? 'is' : 'are' }} shown as a tint of {{ hatchesAsTint === 1 ? 'its' : 'their' }} colour. }@if (truncated) { This drawing expands to more than this viewer can draw at once, so only part of it is shown, and layouts past that point are left out. }@if (tooDeep) { Some blocks are nested inside themselves or more than 16 deep; those copies are left out. }

}

Convert many drawings at once

Choose several .dwg and .dxf files, or a whole folder of them, and turn each into a PDF or (for a DWG) a DXF. They come back in one ZIP with their folders kept, made one after another in your browser; nothing is uploaded. Up to {{ maxBatch }} files at a time, each up to {{ maxBatchMb }} MB.

@if (batchTarget === 'pdf') {

These PDF settings are the same as under PDF… for an open drawing, and apply to every file. A scale a drawing does not fit is not shrunk: that file is skipped and the list says why. Layers are printed as each file has them on or off.

}
@if (batchError) { } @if (batch.length) {

@if (batchRunning) { Converting {{ batchAt }} of {{ batch.length }}… } @else { {{ batchDone }} of {{ batch.length }} converted to {{ batchTarget === 'pdf' ? 'PDF' : 'DXF' }}{{ batchSkipped.length ? ', ' + batchSkipped.length + ' skipped' : '' }}{{ batchStopped ? ', stopped before the rest' : '' }}. } @if (batchOthers) { {{ batchOthers }} other file{{ batchOthers === 1 ? ' was' : 's were' }} left alone. } @if (batchCapped) { Only the first {{ maxBatch }} drawings are taken; convert the rest in another go. }

@if (batchRunning) { } @else { @if (batchZip) { } }
@if (batchSkipped.length) { } }