can now cast objects from original SofaPython bindings