Layouts and plotting
The drawing is made at full size in model space (in meters). To print, you set up a sheet in a layout (paper space): the paper size, the orientation, the margins, the title block and the viewports, which show the model inside the sheet at the chosen scale (1:50, 1:100...). As in AutoCAD, the Model, Layout1, Layout2 and + tabs sit below the drawing area; every new drawing already has Layout1 and Layout2.

The layout tabs
- Click a tab: goes to it (the Model tab returns to the view it had).
- Double-click: renames it (Enter confirms, Esc cancels).
- Right-click: New layout, Copy, Delete, Rename, Page Setup Manager and Plot.
- Dragging a tab over another changes the order.
- +: a new layout at the end, with the page setup of the current one.
The first time a layout is opened, it gets a viewport in the printable area showing the whole model (AutoCAD's LAYOUTCREATEVIEWPORT). On the right of the ribbon, the PAPER/MODEL button shows where you are drawing and switches from one to the other.
Since 2027.0.0-beta.11
On paper, measurements are in sheet millimeters (an A3 landscape sheet goes from 0,0 to 420,297): what you type, the status bar coordinates and the inquiries (DIST, AREA, ID) are in mm. A dimension on paper measures in mm (a 100 mm line gets the dimension "100,00"). Styles (the default text, the dimension arrows and text, the hatch pattern, the multiline width, the table and leader texts) come out on the sheet at the size they print: in a drawing in meters, like BadBit's, the styles are made for the model at 1:100, so the default 0.25 m text is 2.5 mm on the sheet; in a drawing in mm from AutoCAD, the styles are already the sheet's (2.5 is 2.5 mm). A height typed on paper is in mm. CHSPACE moves a dimension between model and paper without changing the measured value or its size on the sheet. Lines, text, dimensions, hatches and blocks drawn on paper stay only in that layout (the title block, the notes); the editing commands, selection, snaps and Select All look only at the space you are in. Tables, attributes and associative dimensions also work on paper (the dimension stays linked to the paper object it snapped to).
As in AutoCAD, the viewport does not go into a block: BLOCK and WBLOCK of objects leave the viewport in the layout (WBLOCK takes only the objects of the current space, into the model of the new drawing). INSERT of a file and an external reference (XATTACH) bring only the model of the other drawing, and the block editor (BEDIT) has no layouts.
LAYOUT (alias LO)
Enter layout option [Copy/Delete/New/Template/Rename/SAveas/Set/?] <Set>:
- New (
N): the name (the default is the next free Layoutn). - Copy (
C): the source layout (the current one with Enter) and the name of the copy ("Layout1 (2)" with Enter). The copy takes the viewports and everything on its paper. - Delete (
D): the layout and what is on its paper. The drawing always keeps at least one layout. - Rename (
R): the layout and the new name (unique names, without< > / \ " : ; ? * | , = ``and different from "Model"). - Set (
S): the layout that is shown on screen (orModel). - ?: lists the layouts.
- Template (
T) and SAveas (SA) are not available yet.
Each option is one undo step.
Viewports: MVIEW (alias MV)
On paper (not inside a viewport), MVIEW creates a viewport:
Specify corner of viewport or [ON/OFF/Fit/Lock/Object/Polygonal] <Fit>:
- Two corners: a rectangular viewport. It starts out showing the whole model.
- Fit (
For Enter): a viewport the size of the printable area. - Polygonal (
P): the vertices of the outline, one by one;C(or Enter) closes it,Uremoves the last one. The Polygonal button on the Layout viewports panel starts directly here. - Object (
O): click a closed polyline, a circle or an ellipse on paper; its outline becomes the viewport's. - ON and OFF (
ON,OFF): click the viewport; when off, it does not show the model (not even in the plot). - Lock (
L):ONorOFFand the click on the viewport. With the scale locked, zooming inside it does not change the scale.
The viewport is a paper object: it moves, copies, erases, rotates (the outline only) and scales (the model inside grows with it) like the others, has grips at the corners (on a rectangular one, dragging a corner keeps the rectangle) and appears in the properties palette with the scale, the lock and whether it is on. The scale is shown as in AutoCAD, in any drawing unit: the Standard scale is the name in the drawing's scale list (1:100) or Custom, and the Custom scale is the paper-to-drawing ratio (0.01 at 1:100). In a drawing in mm, a viewport at 1:100 shows 1:100 and 0.01, not the internal factor (100,000 mm of model per meter of paper). The center, width and height of the viewport are also shown in the drawing unit (on an A3 sheet in a drawing in mm, the viewport that fills the sheet is 400 mm wide, not 0.4). It goes on the current layer; put viewports on a non-plotting layer so the border does not come out on paper.

Inside and outside the viewport: MSPACE and PSPACE (MS, PS)
- MSPACE (
MS), a double-click inside a viewport or the PAPER button on the ribbon: enters the viewport. Its border becomes thick, in the highlight color, and drawing now happens in model space, through the viewport: everything you draw goes to the model and also appears in the other viewports. A click in another viewport makes it the active one. - Inside the viewport, the mouse wheel and the middle button change the view of the viewport (the paper stays still), unless it is locked; zoom extents (middle double-click) fits the whole model in the viewport. The change goes into the drawing when you leave the viewport, as a single undo step ("ZOOM").
- ZOOM and PAN typed inside the viewport also change its view: ZOOM Window fits the two corners by the shape of the layout viewport (not the screen), Center puts the point at its middle with the given height,
2Xzooms around its center and ZOOM Previous goes back to its previous view (each layout viewport, the paper of each layout and the model have their own list). They also work right after MSPACE, at the same instant (a script, automation), and never change the viewports of another layout, nor those of a copied layout. - On the status bar, next to the annotation scale, the viewport scale appears: choosing 1:50 in the list sets the viewport to 1:50 (1 m of model becomes 20 mm on paper). With the viewport locked, the list only shows it.
- PSPACE (
PS), a double-click outside the viewport or the MODEL button on the ribbon: goes back to paper.

Layers per viewport: VPLAYER
Enter an option [Freeze/Thaw]:, then the layer names (separated by commas; * matches anything, as in PAR*), and Enter an option [All/Current] <Current>: — only in the active viewport (MSPACE) or in all those of the layout. A layer frozen in a viewport disappears only there (on screen and in the plot); in the others and in the model it remains.
Plot: PLOT (Ctrl+P)
The Plot dialog has the same organization as AutoCAD's:
- Printer/plotter: the printers installed on the system (the list is looked up when the dialog opens; meanwhile, "Looking for the system printers…" appears) and the BadBit CAD file outputs: BadBit PDF (vector), PNG image and BadBit SVG (vector). A printer that is not ready appears with its status: "queue stopped", "offline", "not accepting jobs". See Printing to system printers.
- Paper size: with a system printer, the papers it reports (with their dimensions); with the file outputs, A4 to A0 and the US sizes (Letter, Legal, Tabloid, ANSI C to E).
- Orientation: Portrait or Landscape.
- Plot area: Layout (the whole sheet, at 1:1), Extents (everything drawn), Display (what is on screen) and Window (the Window< button asks for the two corners in the drawing). You can also plot from the Model tab (Extents, Display or Window).
- Offset: Center the plot or the X and Y from the corner of the printable area.
- Scale: Fit to paper or one of the scales in the drawing's list (SCALELISTEDIT, see the Grid and units chapter); Scale lineweights. The scale is the true ratio in the drawing unit: in a drawing in mm, 1:100 takes a 10,000 × 5,000 mm rectangle to 100 × 50 mm on paper, just like 10 × 5 m in a drawing in meters. In the Model tab, below the list, the same scale appears the way AutoCAD writes it, 1 mm = N units (1:100 is
1 mm = 100 mmin a drawing in mm and1 mm = 0.1 min one in meters; in a unitless drawing, as in AutoCAD,1 mm = 100 units). - Plot style table: the
.ctbpen tables imported into the profile (Options, Profiles tab). Each color of the drawing comes out with the color, lineweight and screening (fading) that the table specifies: for example, color 1 at 0.50 mm in black. True colors (RGB) do not go through the color-dependent table. - Options: plot object lineweights and plot with plot styles.
- Printable margin: the part of the sheet the output does not print. With a system printer, these are the margins it reports for the paper (they appear below, for reference only); for the file outputs (and for a printer that does not report them), the margin you type (5 mm by default).
- Preview…: the preview. Apply to layout: saves the setup in the layout (one undo step). OK: chooses the file and plots (or, with a system printer, sends it to the printer).

Plotting runs in the background: a card in the corner shows the progress and a Cancel button, and you can keep drawing. At the end, the command line says where the file was saved.
Printing to system printers
As in AutoCAD, the Printer/plotter list of the Plot dialog shows the printers installed on the computer before the BadBit CAD file outputs. When you choose one:
- Paper size becomes the list of papers of the printer (a plotter shows the large sheets; an office printer, A4, Letter, Legal...), and the margins become the ones it reports for the paper, already in the chosen orientation.
- Number of copies: from 1 to 999.
- Plot to file (PDF): instead of sending it to the printer, saves the PDF of the sheet (the same one that would go to it).
- Properties…: the printer options beyond paper and orientation. On macOS and Linux, a dialog with the options the printer accepts (quality, paper type, color or grayscale, duplex, tray), each with the printer's default on the first line; on Windows, the printer driver's own dialog. What you choose applies to the next print jobs on that printer while BadBit CAD is open.
- Images (attached images and the images inside attached PDFs; the PDF's lines go as lines): they go to the printer with the original pixels, with no resolution reduction, on every system; the printer itself fits the image to its print resolution. The same applies to the PDF and SVG saved to a file.


OK sends the sheet to the printer in the background, with the same progress card and Cancel button as plotting to a file; you can keep drawing. At the end, the command line says which printer it went to and the job number in the queue. If the printer queue is stopped or the printer is offline, the job waits in the queue and the command line warns you; if the system refuses it the warning appears there, without freezing anything: "printer X is not accepting jobs", in the program's language, when the printer is refusing jobs; the system's own message for any other reason (for example, the print service does not respond).
The sheet comes out to scale: BadBit CAD sends the sheet at the paper size and asks the system not to fit it (1:50 stays 1:50 on paper).
The printer is stored in the page setup. Chosen in Page Setup (PAGESETUP, Modify…), it goes into the layout, in the .bbd file, by name. When the drawing is opened on another computer that does not have that printer, the Plot dialog warns you ("The printer … does not exist on this computer: using the default, …") and uses the system default printer, with the paper of the same name or the same dimensions (otherwise, its default paper), as AutoCAD does. With no printer installed at all, the BadBit CAD PDF is used.
PUBLISH also prints: in Publish to, choose The printer of each page setup. Each checked layout goes to the printer of its page setup (those set to a file output go to the system default printer); consecutive layouts on the same printer, paper and orientation go as a single job.
On each system:
- macOS and Linux: the CUPS printers (the same ones as in System Settings on the Mac and in the printer manager on Linux). BadBit CAD sends the PDF it generates itself. Without CUPS installed, or with the service stopped, the list shows only the file outputs and the command line gives the reason. On Linux, if the printer description file (PPD) cannot be read, the papers come by their standard name (A4, Letter...) and the margin is the typed one.
- Windows: the printers installed in Windows, with the driver's papers and margins; the sheet is drawn directly to the driver. Transparencies come out blended with the white of the paper.
- Browser: there are no system printers; the list shows only the file outputs.
What comes out on the sheet:
- Vector lines in PDF and SVG, with round ends and corners; linetypes (dashed) as on screen.
- Text as geometry (the strokes of the BadBit CAD font; with TrueType fonts, solid letters, with the inside of the "O" hollow): the PDF opens the same on any computer, without fonts. This also applies to the text of dimensions, leaders, tolerances, attributes and tables.
- Hatches (the pattern lines and the background), solids and filled arrowheads as filled areas, with transparency; gradients in small bands of color.
- Tables with the background, borders and text of each cell in its own color and lineweight.
- Blocks and external references with everything inside them (hatches, tables, attributes, other blocks), by the same rule as on screen (ByBlock takes the color, lineweight and linetype of the insertion; layer "0" takes the insertion's layer), also in nested blocks.
- Viewports clipped by their outline (rectangular or polygonal), with the layers frozen in them left out and annotative objects at the viewport scale (those that support its scale).
- Only the layers that are on, not frozen and set to plot.
- PNG comes from the same rasterizer as the viewport without a GPU, at the chosen DPI (A3 at 150 DPI: 2480 × 1754 pixels).
Page setup: PAGESETUP
The Page Setup Manager lists the model and the layouts with the output and paper of each one; Modify… opens the same dialog as plotting, which here saves the setup in the layout (OK) without plotting. Each layout's setup goes into the .bbd file; the model's lasts while the drawing is open.

Preview: PREVIEW (PRE)
The sheet as it will come out, with pens and lineweights, in a window over the drawing; Plot from there goes straight to the file.

Export: EXPORT, EXPORTPDF, PUBLISH
- EXPORTPDF: the sheet on screen (the layout or the model) to a PDF, with its page setup.
- EXPORT (
EXP): PDF, SVG or PNG, by the extension chosen in the file dialog. EXPORTSVG and EXPORTPNG go directly. - PUBLISH: check the layouts; they go, each with its own page setup, into one multi-page PDF.
The Output tab of the ribbon has the Plot panel (Plot, Page setup, Preview) and the Export to DWF/PDF panel (Export PDF, Export, Publish); the Layout tab has the Layout panel (New layout, Page setup, Layout options) and the Layout viewports panel (Rectangular, Polygonal, Enter viewport, Back to paper and, under the small arrow, VPLAYER).

Still missing
- The choices in the printer's Properties… only last while BadBit CAD is open (AutoCAD saves them in a
.pc3file); printing from the browser. - On screen, annotative objects appear in all viewports at the current annotation scale (CANNOSCALE); in the plot, each viewport uses its own scale.
- Layout from a template (
.dwt), LAYOUT's SAveas, named page setups and the "VP Freeze" column in the layer manager (for now, VPLAYER). - On the CPU path, panning and zooming on the sheet redraw the whole sheet (on the GPU path, the cached frame works as in the model).
Changing space: CHSPACE
Moves objects between model and paper through the viewport, keeping their appearance: from inside a viewport (MSPACE), the chosen model objects go to paper, at the place and size they appear in it (divided by the viewport scale); from paper (PSPACE), they go to the model through the layout's only viewport or, with several, through the one you activate (double-click inside it) before Enter. The command line says how many were moved and the scale factor. In the Model tab, CHSPACE does not apply (as in AutoCAD). It is in the expanded Modify panel (Home tab).