I would like to know if there is a way to directly subtract two layers because I could not figure it out yet.
My case is the following:
1) I generate a text with the following command: nd.text(text='Nazca-Design', height=50, layer='layer1', align='lc', box_layer='layer2').put(0, 0)
2) I generate a rectangle shape with the command: nd.strt(length=500, width=400, layer='layer1').put(0,0)
Now I would like to subtract from layer1 the layer2 (generated by the nd.text function).