dennis-guse.de
PlanoraCAD user guide

Text, DXF, SVG and canvas

Here you write text in a sketch, bring in drawings from other programs and put a picture on a plane as a template.

Writing text

  1. Open a sketch.
  2. Choose "Create" → "Text".
  3. Click twice in the drawing area. This draws the frame for the text.
  4. The "Text" section opens in the sketch palette on the right. Type your text there. Enter starts a new line.
  5. Set the font and size if you like (see below). The preview shows every change right away.
  6. Click "OK" or press Ctrl+Enter.

Esc or "Cancel" creates nothing, not even a frame.

The settings in the "Text" section:

  • "Font": all fonts on your computer. There is a search field.
  • "Bold" and "Italic"
  • "Height": the height of the letters. The default is 5 mm.
  • "Character Spacing": in percent.
  • "Angle": rotates the text inside the frame.
  • "Flip": mirrors the text horizontally or vertically.
  • "Alignment": left, center or right, and in a frame also top, middle or bottom.

The frame consists of four construction lines. You can put dimensions and constraints on it to fix position, size and angle. Dimensions do not go on the letters themselves.

Height as a formula

The "Height" field also takes a formula with parameters, for example Width / 4. If the parameter changes, the text grows or shrinks with it. More about parameters is on Parameters and formulas.

Parameters in the text

If you write {Name} in the text, the program inserts the value of the parameter "Name". For example, {Width} mm becomes "20.00 mm". The file keeps what you typed. If you delete a parameter that is only used in a text, the program asks first. If you then choose "Replace with value", {Name} stays in the text literally, and the sketch shows a warning.

Rotating text and the frame

A single text in a frame has a rotate handle in the "Select" tool. It sits a little above the top line of the frame. Drag it, and the text rotates around corner 0 of the frame. While you drag, the angle appears in a field next to the pointer. Esc or a right-click cancels. If a constraint holds the angle, the text stays put and the reason is shown at the bottom. If the text no longer fits in its frame, the frame grows with it. It does not shrink by itself.

Text on a curve

  1. In the "Text" section, set the kind to "Text On Path".
  2. Click a curve, for example a circle or an arc.
  3. Under "Placement", choose whether the text is "Above" or "Below" the curve.

The letters stand one by one on the curve and turn with it. If the curve changes, the text follows. With the box "Fit to Path" ticked, the text spreads over the whole length of the curve.

Screenshot: text on top of a circular arc, the "Text" section of the sketch palette on the right
Screenshot: text on top of a circular arc, the "Text" section of the sketch palette on the right

Changing and exploding text

  • Change: double-click the text, or click "Edit Text" in the sketch palette under "Edit".
  • Select: clicking one letter selects the whole text. Move, copy, rotate and scale take the whole text along.
  • Explode Text: in the menu "Edit" → "Modify" or in the sketch palette under "Edit". Afterwards the letters are fixed, separate curves. Only undo brings the text back.

Trim, fillet, offset, patterns and mirror only work after exploding.

Extruding text

The letters are profiles. The inside of "o", "a" or "B" stays open. When extruding, one click on a letter selects the whole text. Ctrl + click selects a single letter.

If you open a file on a computer without the font, the program sets the text in the Montserrat font and tells you. The font name stays in the file. On a computer with the font the text looks as before again.

Insert DXF

DXF is a common format for 2D drawings. This is how you bring a DXF file into a sketch:

  1. Choose "Insert" → "Insert DXF …".
  2. Pick the file under "Choose a DXF file".
  3. Choose the "Plane": click a plane or flat face in the view, or a base plane in the "Origin" folder.
  4. Check the "Units". The program takes them from the file. If the file names none, the unit from the settings applies.
  5. Shift the drawing with "X Offset" and "Y Offset" if needed.
  6. Under "Insert Mode", choose "Single Sketch" or "One Sketch per Layer". In the "DXF Layers" list you untick what you don't need.
  7. Check the preview in the view and click "OK".

If a sketch is already open, everything goes into that sketch.

Lines, circles, arcs, ellipses, polylines, splines, points, texts and blocks are read. The geometry stays free. You can dimension and change it. Ends that touch are joined into one point. This turns closed outlines into profiles.

Dimensions, hatches, fills, images and 3D parts are skipped. A message tells you afterwards what was left out.

Screenshot: "Insert DXF" window with file, plane, units, insert mode and layer list, the preview in the view next to it
Screenshot: "Insert DXF" window with file, plane, units, insert mode and layer list, the preview in the view next to it

Insert SVG

SVG files come, for example, from graphics or drawing programs.

  1. Choose "Insert" → "Insert SVG …".
  2. Choose the file and the plane as for DXF.
  3. Position the picture. There are the fields "X Offset", "Y Offset", "Z Angle", "Scale", "Flip Horizontal" and "Flip Vertical". You can also move, rotate and scale the preview with the grips in the view.
  4. Click "OK".

SVG curves are inserted as fixed. If you want to change them, select them and click "Fixed" under "Constraints". This removes the fix.

Text in an SVG file is skipped. Convert it to paths in the graphics program first.

The box "Control Point Frame" permanently shows the control points of inserted splines.

Canvas: a picture as a template

A canvas puts a picture on a plane, for example a photo of a part. Then you can sketch over it.

  1. Finish any open sketch. It does not work while a sketch is open.
  2. Choose "Insert" → "Canvas …".
  3. Pick the picture under "Choose an image (PNG, JPG, TIFF)".
  4. Choose the "Plane" or a flat face.
  5. Set "Opacity", position, "Z Angle" and "Scale". With "Keep aspect ratio" the picture is not distorted.
  6. Click "OK".

By default one pixel is one millimeter. With "Display Through" on, you also see the picture through bodies. With "Selectable" off, your clicks go through the picture.

Canvases are listed in the feature tree in the "Canvases" folder, each with an eye. Double-click or right-click → "Edit Canvas" opens the settings again. The picture itself cannot be replaced there.

Screenshot: photo as a semi-transparent canvas on a plane, the "Canvases" folder in the feature tree
Screenshot: photo as a semi-transparent canvas on a plane, the "Canvases" folder in the feature tree

Calibrating a canvas

This is how you bring the picture to the right size:

  1. Right-click the canvas in the feature tree and choose "Calibrate".
  2. Click two points on the picture whose real distance you know.
  3. Type the real distance into the field at the pointer and press Enter.

The picture is scaled so that the distance is correct. Esc cancels. A hidden canvas cannot be calibrated.

Canvases are only a drawing aid. They are not included in technical drawings or exports.

Save a sketch as DXF

You can pass on a finished, flat sketch as a DXF file, for example for a laser cutter or a milling machine:

  1. In the feature tree, right-click the sketch.
  2. Choose "Save As DXF".
  3. In the window, choose the "Unit". The display unit of the document is preselected.
  4. Tick "Projected Geometry" and "Construction Geometry" if they should come along. The "Points" tick takes the sketch points along.
  5. Choose the file. The name of the sketch is suggested as the file name.

The document does not change. Only flat sketches work. For a 3D sketch the program says "Only planar sketches can be saved as DXF."

Large and broken files

The program reads large files in the background. A bar shows the progress, and "Cancel" stops it. If a file is broken or too large, the window shows the reason and nothing is created. Inserting can be undone in one step.

Older program versions

Sketches with text and documents with a canvas are saved in a newer format. Older versions of PlanoraCAD cannot open them. Inserted DXF and SVG curves need no new format, unless the control point frame is on. A text height with a formula needs file format 22. An older version then reports that the file was created with a newer program version.

Limits

  • Text: no single-line fonts, no automatic line wrapping, no adjustable line spacing, no vertical text, no underline. Parameters inside the text only work as {Name}.
  • Text cannot be embossed or engraved onto curved faces.
  • No DWG and no 3D data from DXF. DXF and SVG can be inserted here. You can only write a sketch as a file in DXF format, see above. Exporting drawings is described under Import and export.
  • No canvas on curved faces. If several canvases overlap, their order is not fixed.
  • Long chains of arcs (for example rounded polylines with hundreds of arcs) calculate much faster since 0.0.2-dev.3 than before.

Next: 3D sketch

Source code on GitHub · Send feedback