Body position z-direction and start/end depth of paths

Hi, I am new to FreeCAD and have a quite basic question/problem:

When I extrude a sketch to a pad, it is usually done in +z direction, so upwards. So my model starts at depth 0 mm and ends let’s say at 20 mm height.

But when I want to create the model with CNC milling machine, I would like to have the highest point at z=0 (and not 20) as the surface of the wood.

So I basically want to create the milling paths from z = 0 to z = -20, and not from z = 20. to z = 0.

I found that I can change the position of the body. So when I set z = -20, the model gets 20 mm lower with the highest point at z = 0.

BUT: The milling path for a 3D pocket still has a start depth of 20 and an end depth of 0. And it is not possible to manually change the end depth (only the start depth can be changed). So the milling path is somehow above the model and ends at z = 0 - where it should actually start because this is the surface of the wood.

Sorry for not being able to better explain my problem, but maybe someone understands and can help…

Or would be the right way to extrude in reverse direction to get directly below z (instead of above)? But building the model upwards and then setting the highest point to z = 0 would be my preference.

THANK YOU :slight_smile:

Hi and welcome to the forum!

You should model your object in the most clear and convenient way!

When it comes to milling, you have in the job a clone Model-Body, where you can adjust the position to your liking, eg. move it down with an expression using the length of the highest pad.

From the wiki:

this operation is used to rough out a pocket with non-vertical walls and/or non-horizontal bottom.

Does this describe your pocket ? If so sharing a model may help.
This model in the image below was created with the origin at the bottom.
SetOrigin3.png
And just in case something basic is being misunderstood…
SetOrigin1Ann.png
then make the “Cube” invisible
SetOrigin2.png
btw: I’m on 0.21.0 AppImage. What’s yours ?