Combine models intersection / logical operator intersection by script

Hi everyone,
does anybody know how to run intersection between two models (using combine models module) or two segments (using logical operators in segment editor) by python script??

Thank you very much for your help.

There is the CombineModels module in the Sandbox extension that will allow you to do that. Check the test to see how it’s done by code

Thank you very much @mau_igna_06.
I tried to implment the code but i have a little problem: the output model is empty. I used getNode() to get my input models, is that right or should i use something else?
thank you again for your help

You can search “booleanoperation” on yhe BoneReconstructionPlanner extension to see how ot is done in that extension