Dynamically cutting a hole in a plane

Hi. I was wondering if it’s possible to cut an irregular shaped hole in a plane so that another model can fit in the cutout section without the collisions of the plane not allowing me to go into said cutout. I realize this can be done by a modeling program, but I would like to be able to create a hole anywhere on the plane without having to edit the model through another program.

This is what I’m trying to do through Panda3D.

You may need to modify or add geometry data of the object to do this but it could not be such easy. The most difficult part in my view should be retopologizing. If you have a proper algorithm, you can deal with that.

I recommend finding a CSG library for Python (I think they are out there). CSG features fall outside the scope of Panda3D.

1 Like