Hmm, I don’t know how shaped windows work, (I’ve never heard of it before, I always assumed they were just rectangular windows with alpha), but you might be able to parent your Panda window to your shaped Wx window, using the setParentWindow in the WindowProperties.
Before importing DirectStart, you need to do:
from pandac.PandaModules import loadPrcFileData
loadPrcFileData("", "window-type none")
Then, after you have created a wxPython window (I believe you must also have called Update or so on it), do this:
I haven’t tested it, but something along the lines of that could work.
I would have no clue how to adjust the shape based on the model, you would need to write code for that, I think.
Really, you’re better off with an undecorated window with transparent background.
Shaped windows are common in 2-d applications. They are very rare in 3-d applications. The 3-d hardware is just not designed to make alpha windows that you can see through to your desktop. People have done it, but only by using tricks involving copying the framebuffer image to RAM every frame and then loading it onto a 2-d widget.