CAD Entities

Polyline Polyline

Polylines consist of multiple straight line and circular arc segments.

Polylines are used internally to represent toolpath shapes as they currespond well to gcode G1 (line) and G2,G3 (arc) moves.



True | False

Open polylines have two ends and no defined inside or outside.

Closed polylines are where the first and last points are the same and have a well defined inside and outside.

Note Polylines with first and last points having the same coordinates are not neccesarily closed. The closed marker should be set to True for these shapes otherwise unexpected results may occur.


This property contains a collection of polyline points. Clicking the [...] button to the right of the property will open up a window where the points can be editted directly.

Each point contains an X,Y and Z coordinate and a bulge parameter.

Bulge is defined as tan(sweepangle/4) for arc segments, where bulge=0 is a straight line.

Region Region

A region consists of a closed outer shape and a number of internal holes.

To create a region, select inner and outer shapes then use the Edit - Convert - To Region menu option, or press CTRL+R

Note: Currently, some shapes such as circles will need to be converted to polylines first before being used to create a region.

Circle Circle



The coordinates of the center of the circle


The diameter of the circle.

PointList PointList

Point lists are useful for defining points to be used for drilling operations.

As well as drawing directly, they can be created from the Draw-Point List menu operations

Divide Geometry

Evenly divides a selected shape into a given number and inserts a point at each division.

This is useful for generating a bolt hole pattern.

Step Around Geometry

Inserts a point at given distances around a selected shape.

Fill Geometry

Fills a closed shape with points.

Offset Fill Geometry

Fills a closed shape with points where alternating rows are offset by half the stepping distance.


Inserts a point at the center of each selected object.


Inserts a point at the extremities and center of a boundry rectangle enclosing each selected object.



This property contains a collection of points. Clicking the [...] button to the right of the property will open up a window where the points can be editted directly.

Rectangle Rectangle



New! This will round the corners of the rectangle to a given radius.


The height of the rectangle.


The coordinates of the lower left corner of the rectangle.


The width of the rectangle.

Text Text


Location (P1)This is the first and at the moment, only alignment point. The TextAlignmentH and TextAlignmentV options are all relative to this point.
Location2 (P2)This point is not currently used. The intention is to use it to define alignment options that evenly spread the text between two points, or perhaps as an alernative to the Rotate option.
CharSpaceThis option scales the width used for each character. The default is 1. A setting of 2 would double the space used for each character (but not the character itself).
LineSpaceThis scales the distance between each text line. The default is 1.
FontThis is the font name to use for the text. For a bit of fun, try clicking on this option, select a font, then use the up and down arrow to try different options.
HeightThis is the text height in drawing units.
TextThe text to enter. To enter multi line text, click the [...] button after this property.
TextAlignmentHLeft, Center or Right (relative to Location).
TextAlignmentVTop, Center or Bottom (relative to Location).
NOTE: Bottom is actually the baseline of the text. As per DXF I may add other options to differentiate absolute bottom and baseline.
BoldBold Font Style.
ItalicItalic Font Style.
RegularRegular Font Style.
StrikeOutStrikeOut Font Style. Not currently supported.
UnderlineUnderline Font Style. Not currently supported.

Arc Arc



The center of the arc.


The radius of the arc.


The start angle in degrees of the first arc point. Angle = 0 is along the positive X axis.


The sweep angle in degrees from the first to seconf arc point. Positive angles are counter clockwise and negative angles clockwise.


Lines have multiple segments, similar to polylines, but can only contain straight sections.

Surface Surface

Surfaces are triangle face meshes imported from STL and 3DS files.

Spline Spline

Splines (or NURBS) can currently only be imported from DXF files. Spline drawing is not yet supported.

Copyright (c) 2018 HexRay Ltd