p(6) - Cutout Depth
Last updated
Last updated
In the previous paragraph we have only used the basic options for most of the objects but as you have seen from the API's, most objects have more options to tailer the project box to your needs. We will now dive in the advanced cutouts options.
All cutout objects have the following optional parameters:
p(6) - depth
This parameter defines how far from the outside of the lid this cutout should extend. This can be handy if you need a pcbStand or connector that is close to this cutout. Look at this code:
And:
The result for the first object is on the left, for the second on the right: