Tutorials CadCraft help Walkthroughs
Pictures in a drawing
Place a PNG, JPEG, BMP, GIF or TIFF picture, clip it to a rectangle or a polygon, show the pictures a DWG uses, and plot them sharp.
Written for CadCraft 0.12. The same help is inside the app: press F1.
What you will make
A company logo placed in a title block, clipped to the part you want, and a PDF in which it prints at its own resolution.
Place a picture
- Type
IMAGEATTACH(orIAT) and press ReturnEnter. Pick a PNG or JPEG file. Specify the lower-left corner: click, or type a point.Specify its width: the width in drawing units. ReturnEnter keeps the offered width: one unit per pixel, or the width you gave this file last time (the prompt says which).Specify its rotation angle: ReturnEnter for none.
The picture is one object: select it by its frame, and move, copy, rotate, scale or erase it like any block.
Paste a screenshot or a copied picture
- Copy the picture (a screenshot with Windows key+Shift+S / Cmd+Ctrl+Shift+4 / your screenshot tool, or Copy image in another program or a browser).
- Point at where it should go on the drawing and press ⌘VCtrl+V.
The picture's lower-left corner lands at the pointer (or the middle of the view), 40 % as wide as what you see; move, scale and clip it like any picture. Its name is the drawing's with -picture-1.png (then -2, …), and the history says so. Edit › More › Paste a picture does the same from the menu (the browser may ask first).
A DWG keeps only the name of a picture's file, so saving the drawing also saves the picture as its own file. Keep the two in the same folder: the drawing shows the picture from there. In the browser that is a second download, and the history says so. With nothing but CadCraft objects on the clipboard, ⌘VCtrl+V pastes those, as before.
Paste an area copied in MarkupCraft
Copy area in MarkupCraft copies part of a sheet as a picture that knows how big it is. CadCraft pastes it at that size.
- In MarkupCraft, copy the area (a rectangle, a circle or a freeform shape; Copy as overlay if you want to see your drawing through it).
- In CadCraft, press ⌘VCtrl+V, or type
PASTEAREA(orPAREA), or choose Edit › More › Paste a copied area. Specify the lower-left corner of the copied area: click, or type a point. A frame of the area's size follows the pointer.
How big it lands:
- The sheet had a drawing scale: at its real size, in the drawing's units (a 1:50 detail of a 2 m stair is 2 m long in a metre drawing, 78.74 in an inch drawing). Nothing more is asked.
- The sheet had no scale: CadCraft says its size on paper and asks for a scale: type
100for a 1:100 sheet, press ReturnEnter for the paper size, or typeP, click two points on the pasted picture and type how far apart they really are (asSCANSCALEdoes). The lower-left corner stays where you put it.
A drawing with no units takes millimeters, as a PDF underlay does. An overlay keeps its paper see-through and starts as faded as it was copied; outside a circle or a freeform shape is see-through too. The pasted area is a picture like any other: move, rotate, scale, clip or erase it, and the whole paste is one undo step. Saved as a DWG it is an IMAGE with its fade and transparency.
⌘VCtrl+V pastes the area when the picture on the clipboard is the area's, or when the area was copied after anything you copied in CadCraft (and in the last 6 hours). Otherwise it pastes as before. PASTEAREA pastes the last copied area at any time.
Show the pictures a DWG uses
A DWG stores only where its pictures were on the computer that made it, so CadCraft shows each one as a frame with its file name until it has the file.
When you open such a drawing, CadCraft lists the missing picture files by name and asks for them: Choose files (several at once) or Choose folder that holds them (CadCraft looks by file name, also in the folders inside it). Not now leaves the frames; you can ask again at any time:
- Type
IMAGE(orIM). The command line lists each picture file and whether it shows. - Choose
FilesorFolder, then pick them. A file whose name contains the one the drawing names also counts, because exports often add a project prefix.
A picture in JPEG 2000, PCX, TGA, MrSID or another format CadCraft does not read stays a frame, and the list says so: save it as PNG or JPEG under the same name and give CadCraft that file. In Studio, a picture file next to the drawing in a folder you have already given Studio is found by itself.
In a PDF, SVG or PNG the pictures print at the place they have on screen. If a picture's file cannot be read as a picture, the PDF says so after it is made.
Clip a picture
- Type
IMAGECLIP(orICL) and select the picture. - Choose
Rand click two corners, orPand click the points of a polygon, then ReturnEnter.Dremoves the clip.
Plot pictures
Pictures go into the PDF as pictures, at their own resolution and under the lines. In the Plot dialog, Pictures can cap them at 600, 300 or 150 dpi to make the file smaller. A JPEG goes in as it is.
What is saved where
| Format | Pictures |
|---|---|
| DWG (every version) | As pictures (IMAGE), with their clip |
| DXF | As their frames with the file name; the save says so |
Objects from other programs (OLE)
A drawing can hold objects another program made, such as a picture from a paint program or a spreadsheet range (OLE objects). CadCraft doesn't run or edit them, and can't insert new ones. What it does:
- On screen and in the PDF, an OLE object opens as a frame at the place its data gives, in a DXF and in a DWG (also inside a block; AutoCAD 2018 files too). If the object saved a picture of itself, that picture is drawn inside the frame. If the picture is a Windows metafile that draws (what Word, Excel and Visio objects usually save), CadCraft draws it itself: lines, shapes, fills, text and the bitmaps inside it, on screen, in the PDF and in the SVG. Features it cannot draw (clipping, gradients, patterned brushes) are left out and the history says how many. An object with no picture shows a label with its type, such as "Microsoft Excel Worksheet (OLE)". You can move, copy and erase the frame like a block.
- Saving with
SAVEASto a DWG or DXF 2000 writes each object back as an OLE object with its data unchanged (the frame's new place is written into it). An object whose data does not say where it sits is kept as it is and is not shown. TypeOLELISTto see what the objects are (type, size, whether each saved a picture) and to put a copy of a picture where you choose: Place asks for the number, the lower left corner and the width, and draws a frame with the picture in it. That copy is a frame you can move or erase; the object itself stays in the drawing and is still written back when you save. - An object that came from a DXF is saved in a DWG as its frame and label only; the history says so. Save as DXF 2000 to keep the object itself.
- A metafile that holds only one bitmap shows that bitmap. A metafile that cannot be read at all, or draws nothing CadCraft can show, leaves the frame and label.
Common mistakes
| You see | Why | Fix |
|---|---|---|
| A frame with a file name | CadCraft does not have the file | IMAGE, then pick the file |
| "That is not a picture" | The object picked is not a picture | Pick the picture's frame |