To produce a Section operation in the Main Menu select Operations - > Boolean - > Section
This operation creates the section between 2 shapes.
The Result will be any GEOM_Object (EDGE or WIRE).
TUI Command: geompy.MakeSection(s1, s2)
Arguments: Name + 2 shapes.
Advanced option: Set presentation parameters and subshapes from arguments.
Example:
The initial shapes
The resulting object
Our TUI Scripts provide you with useful examples of the use of Boolean Operations.