AlphaPrism is in active development: features may change and you may run into bugs. Keep backups of your work.Known issuesReport a bug
Skip to content

CAM setup ​

Stock, G54 work zero and shared tool settings.

CAM setup: Start: the finished part compared with Result: stock around the part.
Prism help example. Define the stock and the work zero that every operation uses. Leave a little extra stock on every side. Work zero should match how you will touch off on the machine. View full size
Top and side views show the same work zero at the lower-left corner of the stock top.
Concept diagram. G54 is the coordinate origin used by the posted program. Clearance is a travel height above the stock. View full size
Prism CAM Setup with a plate selected as the model body
Choose the model, name the setup and set stock allowances before generating operations. View full size

In the app

Define axis-aligned stock around one model, G54 work zero and shared tool settings for new 2.5D operations. Tool axis is global +Z. Changing a setup requires regenerating its toolpaths.

How to use ​

  1. Choose CAM setup. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Model body (solid).
  3. Adjust the settings and check the preview in the viewport.
  4. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
Setup nameSetup 1Text
Stock allowance XY3 mm0 to 10000 mm
Top allowance1 mm0 to 10000 mm
Bottom allowance0 mm0 to 10000 mm
Work zero (G54)Stock lower-left cornerStock lower-left corner, Model origin, Stock lower-middle, Stock lower-right, Stock left-middle, Stock center, Stock right-middle, Stock upper-left, Stock upper-middle, Stock upper-right, Picked point
Tool diameter6 mm0.1 to 100 mm
Cutting feed800 mm/min1 to 20000 mm/min
Plunge feed300 mm/min1 to 10000 mm/min
Spindle speed12000 rpm100 to 60000 rpm
Clearance above stock5 mm0.5 to 100 mm
Work zero height (Z)Top of stockTop of stock, Bottom of stock, Model origin
Picked zero X0 mm
Picked zero Y0 mm
Machine X axis pointsAlong model +XAlong model +X, Along model +Y, Along model −X, Along model −Y

Script it ​

Command name cam_setup. See Python scripting and the command reference.

python
import cadkit as cad

cad.run("cam_setup", slots={"Model body": ...}, setup_name="Setup 1", stock_allowance_xy=3)