Tutorials CadCraft help Walkthroughs
Plot to PDF
Make a PDF of a sheet at full size, or of the model at a scale or fitted to the paper, print it from the browser or from Studio, or save it as a PNG or SVG.
Written for CadCraft 0.11. The same help is inside the app: press F1.
What you will make
A PDF of a sheet at full size, then a quick PDF of the model at 1:100, and a printout.
The PDF is made inside your browser; nothing is uploaded. It is a vector PDF: lines stay sharp at any zoom, and text can be searched.
Plot a sheet
- Click the sheet's tab under the drawing.
- Press ⌘PCtrl+P, click Plot, or type
PLOTand press ReturnEnter.
The Plot to PDF dialog opens. It says which sheet it plots and on what paper, "at full size … as you see it". The preview on the right shows the sheet.
- In Plot style, choose Monochrome (black) for black lines, Colour (as drawn) to keep the colors, Grayscale, or a table of your own (see Plot style tables). The sheet keeps this choice: it is saved with the drawing.
- In Line weight, choose a pen width from 0.13 mm to 0.70 mm. Lines with the default lineweight print at this width; lines with their own lineweight (layer or object, or their color's pen in the table) print at that.
- Click Download PDF.
The browser downloads a PDF named after the drawing and the sheet, for example Drawing1-A-101 Plan.pdf. The history reports its size in bytes and its paper size in millimeters.
A sheet always plots at 1:1 on its own paper. To change the paper, change it on the sheet itself (see Set up a sheet). Layers set not to plot are left out, and so are viewport frames.
Every sheet in one PDF
With two or more sheets, the Plot to PDF dialog has All sheets in one PDF; or type PUBLISH. ReturnEnter takes every sheet; S (Some) asks for their names, separated by commas. One PDF downloads with a page per sheet, in tab order, each at its own paper size, and a bookmark per sheet with its name. Each sheet plots with its own plot style table; a sheet with none chosen uses the one you last chose in the dialog, and the pen width you last chose.
Plot the model
- Click the Model tab.
- Press ⌘PCtrl+P.
The dialog says it plots the model onto a sheet of paper, and shows more settings:
- In Area, choose what to plot:
- Everything (extents): the whole drawing.
- What is on screen: the area you see in the drawing now.
- A window…: then click Pick, click two corners on the drawing, and the dialog comes back.
- In Paper, choose a size: ISO A4 to A0, Letter, Legal, Tabloid and ANSI C and D, or ARCH C, D and E.
- In Orientation, choose Landscape or Portrait.
- In Scale, choose Fit to paper or a scale such as
1:100.
Under the settings, a line reports the scale and how big the area comes out on the paper. If it is bigger than the paper, it says so: the edges are cut off. Choose a smaller scale, a bigger paper, or Fit to paper.
- Click Download PDF.
A model plot leaves a 5 mm margin round the edge, because most printers cannot print to the edge. Fit to paper gives an odd scale (the history and the info line say "(fitted)"); choose a standard scale when the drawing must measure true.
Plot style tables
A plot style table says what each of the 255 standard drawing colors prints as, the way a color-dependent plot style table (CTB) does in other CAD programs. Three are built in:
| Table | Prints |
|---|---|
| Colour (as drawn) | Every object in its own color. |
| Monochrome (black) | Every color black: the usual choice for drawings. |
| Grayscale | Every color as its gray, so colors stay apart on a black-and-white printer. |
To make your own, for example red lines thick and black, everything else thin:
- In the Plot to PDF dialog, click Edit tables… (or type
PLOTSTYLES). - Click New, and type a name such as
officein Name. To start from a built-in table instead, choose it in Table and click Copy. - Click a color in the grid. ⇧Shift+click selects a range of colors, ⌘Ctrl+click adds one more, and Select every colour takes them all.
- Set what the selected colors print as: The table itself has two more settings: Lineweights, the widths it knows (a printed line goes to the nearest of them), and Linetype scale, a factor on the dashes of every linetype that is not an ISO one.
- Prints in: Its own colour, Black or Another colour….
- As a gray: the color as its gray.
- Ink (%): 100 is full ink, 50 is half way to white (screening), for background lines.
- Lineweight: Its own lineweight keeps the object's or layer's lineweight; a value prints every line of that color at that width.
- Linetype: print every line of that color with another linetype (for example everything red dashed); Use the object's linetype leaves them.
- Line end and Line join: butt, square or round ends, and miter, bevel or round corners (round, as before, when you set nothing).
- Fill style: a solid fill of that color prints as hatch lines (horizontal or vertical bars, slants, crosshatch, diamonds, square dots) instead of ink, for printers and plans where flat ink is too heavy.
- Click Done. The table is kept in the drawing, and the sheet (or the model) now plots with it. Cancel drops the changes.
A colour with its own pen shows a dot in its corner, and a dot at the bottom when it sets a lineweight. An object with a true color (not one of the 255) uses the pen of the nearest standard color.
The drawing keeps its tables and each sheet's choice when you save as DWG (2000 to 2018) or DXF (R12 or 2000), and opens with them again. Other programs see the name in each sheet's page setup (office.ctb), not the table itself. A drawing from another program whose page setup names a table such as monochrome.ctb plots with the built-in table of that name; for any other name the dialog says the drawing does not have it, and plots the drawing colors until you choose a table or make one with that name.
To use a table in another drawing, click Export in Plot style tables (it saves office.plotstyle.json), then Import… in the other drawing. Import… also takes a .ctb file from another program: it is read from the published description of the format and has not yet been checked against a real file. The colour, screening and lineweight of each color are read; grayscale, pen numbers, linetypes, line ends and joins and fill styles are not, and a named table (.stb) is refused. Compare the first plot with what you expect, and send us the file if it is wrong.
In the browser, click Print…. CadCraft makes the PDF and opens the browser's own print dialog for it. Choose "Actual size" or 100% (not "Fit") there to keep the scale. If the browser will not print from the page, the PDF opens in a new tab instead: print it from there with ⌘PCtrl+P.
You can also click Open to print: the PDF opens in a new browser tab, and you print it from there.
Safari
Safari may show the PDF and wait for you to use File, then Print.
If your browser blocks the new tab, CadCraft downloads the PDF instead and says so in the history. Allow pop-ups for the site to open it in a tab next time.
In CadCraft Studio, the Plot to PDF dialog lists the printers of the computer. Choose the Printer, the Paper in the printer and the number of Copies, then click Print…. Same as the plot picks the printer's paper that is the size of the sheet (A3 for an A3 sheet); when the printer has none, it uses its own paper and fits the sheet to it. On Windows the sheet is sent as a 300 dpi picture, because Windows cannot print a PDF without a PDF program; on Linux and macOS the PDF itself goes to the system's print service. Nothing leaves the computer.
Picture and SVG files
Download PNG saves the plotted sheet as a picture at 300 dpi (lowered only when a very large sheet would be bigger than the browser can make; the history says so). Download SVG saves it as a scalable drawing in millimeters, with the lines and text of the plot. Both come from the same plot as the PDF, with the same plot style, line weight and area. Pictures placed in the drawing are in the PDF only; the history says how many were left out.
Pictures
Pictures print at their own resolution, under the lines. Pictures in the dialog caps them at 600, 300 or 150 dpi for a smaller file. Lines, text and hatches always stay sharp (vector), and transparency stays transparency. See Pictures in a drawing.
Settings that are remembered
The dialog remembers your last paper, orientation, scale and line weight in this browser. The plot style table is kept with each sheet in the drawing; a sheet with none chosen starts on the one you chose last. A picked window is kept until you reload the page; after that the dialog starts at Everything (extents).
Common mistakes
- The PDF is blank or the buttons are grey. There is nothing to plot (an empty model), or A window… is chosen and no window is picked yet ("Pick the window to plot.").
- Text shows "?" in the PDF. Text in Polish, Czech, Cyrillic, Greek and the other scripts of Europe prints as itself: the PDF then carries the letters it needs (from the Liberation Sans font, which has Helvetica's widths), and the text can still be selected and searched. Chinese, Japanese and Korean text prints as itself too: when a drawing has it, the plot fetches a larger font (about 10 MB, once) and the PDF carries only the characters used, so it needs a connection the first time (not in an offline copy that was saved before). Hebrew prints from the same embedded font as Latin text, and Arabic, Persian and Urdu text makes the plot fetch one more font (under 1 MB, once); right-to-left lines are ordered and their letters joined (see Text). Rare ideographs outside those fonts, and scripts that need complex shaping such as Hindi, print as "?", and the history counts them.
- All lines are the same thickness. Their lineweight is the default: give layers or objects a Lineweight in the right panel (see Line weights and linetypes), or set lineweights per color in a plot style table.
- "(not in this drawing)" next to the plot style. The drawing came from another program and names a table it does not include. Choose one of the tables, or make one with that name.
- Construction lines printed. Set their layer not to plot: click its printer button in the Layers panel.
- The printout is the wrong size. The printer scaled it. Print at actual size.
- ⌘PCtrl+P opened the browser's print dialog. The cursor was in a box in the right panel, or another dialog was open. Press ReturnEnter or EscEsc to leave the box, then try again, or click Plot.
- ⌘PCtrl+P did nothing. A command is running. Press EscEsc first.