Before going further it is necessary to understand what the orientation of the projectbox is. It should be clear that the projectbox has six “planes”.
The top is called Lid the bottom is called Base. The plane closest to the Y-axis is the back. left is closest to the X-axis. The plane opposite back (which is furthest from the Y-axis) is called front and the plane opposite “left” is called “right”
There are three "Coordinate System" to choose from creating objects for the Project Box.
yappCoordPCB : Every posX, posY and posZ is related to the PCB (for most
of the objects this is the default)
yappCoordBox : Every posX, posY and posZ is related to the outside of the
yappCoordBoxInside : Every posX, posY and posZ is related to the inside of the box
The zero point ([x=0, y=0, z=0]) is left-back at the top of the PCB.
The zero point of this coordinate system is the outside of the box.
The zero point of this coordinate system is the inside of the box.
Using this coordinate system has the benefit that changing this thickness of the walls (wallThickness) does not move the created objects.
Adding objects to the projectBox
For every type of object and often for each plane there is an array in which you can specify where the objects should be (in that plane). For instance the default for cutouts is the yappCoordPCB coordinate system. That means that they all have (pcb)[0,0,0] as their starting point. If, at any time, you decide to enlarge the edges around the PCB (padding) or to make the pcbStandoffs higher, the cutouts will move neatly with the position of the PCB.