Today we're diving into the lathe CAD. We draw a part with our finger, tell it how it needs to be machined, and turn it into a program that the lathe actually runs, without writing a single line of code.
The CAD opens from the lathe menu, under CAD CAM, and you'll also find it in the home menu. From the home screen you draw without a machine, and you copy or save the program to a file. If you enter from the lathe, instead, the program comes out already set for the control you're using, and once it's ready you'll find it in the simulator.
On the sheet the red line is the Z axis, the spindle axis, and the green one is the X axis. On the lathe you only draw the upper half of the part: the program knows it rotates and takes care of the rest. At the bottom you can always see where your finger is, in Z and in X. With two fingers you zoom in or out, and dragging moves the sheet.
In the top bar you have the arrow to exit, undo and redo, then External and Internal, the orange G-code button and the three dots, where you'll find load example, open, save, print, layers and snap. Snap is the grid your finger locks onto: with one millimeter every point falls on the right millimeter, and for small details you go down to a tenth.
At the bottom there's the row of tools, and you scroll sideways. With Line you tap the starting point and then the next one, and the line keeps going in a chain. A trick: hold your finger down and move it, the crosshair follows and the point is set when you lift your finger. Oblique Line shows you the angle, useful for cones; the arc needs a start, an end and a point on the curve, the circle needs the center and the radius.
To save time let's load the example: a shaft with three diameters, twenty, thirty and forty, fifty millimeters long. We finish it with a chamfer on the face and a fillet on the shoulder, a groove where the thread ends and the thread itself, with its size, pitch and tolerance class. With Hole you write diameter and depth; Radial Hole and Radial Slot work on the diameter with the live tool; Facing levels off the face before roughing.
To make changes there's Select: one tap picks up an element, a box picks up several, and dragging moves them. Then there's Trim, Offset and Mirror. Dimensions are for the drawing to be printed, and with a double tap on a dimension you can add the tolerance.
The most important part is the toolpath: it's the path the tool has to follow, and without a toolpath the G-code can't be made. Tap Toolpath channel 1 and pick up the profile segments one after another, starting from the face. If the part has a hole to be bored, in Internal you draw the hole profile and create its toolpath.
Then tap G-code: you'll find the stock, the tools, the feed rates, the cutting speed and the depth of cut, all already set but fully editable. Press Generate and the program goes back to the lathe, with the right stock in the chuck. You'll find it in PROG: press MEM, then CYC START, and watch the lathe make the part you drew.
You save the drawing from the three dots and reopen it whenever you want. With Print you fill in the title block and get the technical drawing as a PDF, ready to send, share or print.
In the next video we'll go deeper into the lathe panel.
Download CNC Code and try it for free: https://www.cncsimulator.it




