# PixelCNC: CAM For Artists

CAM software developed by artists for artists to create unique and original works on a 3-axis CNC router or mill. · By Deftware

# Calculate Pocket Offset

A topic by valhallaCNC created Dec 29, 2021 Views: 73 Replies: 3
Viewing posts 1 to 2

After Medial axis operation. (EX. 20 deg v) with .35 max depth.  I have been using TAN(deg of vbit/2) x depth of cut of Vbit. For this example it would be TAN(20 / 2) x .35 = .06  It seems to work fine with Pocket Mill operation.  Does pocket operation take into account for 1/2 dia. of the pocket clearing bit ?

Thanks Joe

Developer

Ah, yes the pocketing operation includes the radius of the cutter for the purpose of cutting out the pocket contours at the specified contouring Z plane - so the user doesn't need to include it in the offset. In other words, an offset of zero will cut out a pocket that matches the canvas as contoured at the Contour Z plane.

Also, if you weren't already aware, you can enter math expressions into parameter text-edit boxes, such as:

`tan(20/2)*0.35`

...and PixelCNC will evaluate the expression and output the result :)

- Charlie

I put tan(20/2)*0.35 in the pocket offset it evaluates to .2269 . should be .067 Not evaluating the tan part part correctly

Developer (1 edit)

Woops! It's taking the input as radians rather than degrees. You can add in *pi/180 to convert degrees to radians, which kinda defeats the purpose of the functionality making things easier. I'll fix that up for the next release which should be out in the next week or two :)

- Charlie