We have moved the forum to https://forum.ngsolve.org. This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.
Put the above code into a my_script.py file, and add a last line `Draw(geo)`. By running a terminal in the location where you saved the script, you can run this with the gui by calling `netgen my_script.py`, and then continue in the gui.
Hi,
it appears that there is some mix-up between the occ wrapper code and the i-tutorial code, which use the netgen.csg Shpere object. Could you please post you example file?