You can write your topic however you want, but you need to answer these questions:
What do you want to achieve?
I want to make a module which will allow me to create holes inside parts. By that I mean that, as an example, if I were to place a block with same orientation but different size inside a cube, it’d separate the cube into smaller sections so it’d fit the format of the hole.
I am aware that there is a mathematical solution to this, but I haven’t been able to find it online.
I cannot use Unions because of performace reasons.
What solutions have you tried so far?
I tried copying the part and doing a bit of messing around, but overall wasn’t able to cut the section. my method would also only work if there was one hole, and not multiple!
Now you could use math to do it, but you can alternatively use this which is extremely easier. It can be costly on performance, so just be aware of that before you go super heavy into scripting with this.
Reviving this topic because its needed for a new project. Yes! Exactly what you mean, I want to make holes on parts by separating the part in question into smaller sections
Narrowing your field may allow for finding a simpler solution to a simpler problem. For instance, in your example, all of your parts are axis-aligned rectangular prisms. Will that be the case for all of your intersections, or is the geometry more complex in your use case?