In order to enable the extraction of the underlying TopoDS_Shape object from an object of type Shape, the Shape method should get a method
TopoDS_Shape Shape()
This is in analogy to the way it is done in OCCT (e.g. in the BRepPrimAPI class).
The main motivation to add this method is the fact that the implicit conversion of Shape to TopoDS_Shape, which is possible in C++ due to the implimented conversion operator in the class Shape, does't work in the SWIG generated python bindings.
In order to enable the extraction of the underlying TopoDS_Shape object from an object of type Shape, the Shape method should get a method
TopoDS_Shape Shape()This is in analogy to the way it is done in OCCT (e.g. in the BRepPrimAPI class).
The main motivation to add this method is the fact that the implicit conversion of Shape to TopoDS_Shape, which is possible in C++ due to the implimented conversion operator in the class Shape, does't work in the SWIG generated python bindings.