Hi, Fred, currently the python-meep interface does not have the convenient geometry-building function as scheme-meep does. (The reason is that the geometry is not implemented in meep itself, but in the libctl code, which is not processed by SWIG when building python-meep.)
I think the most versatile tool for structure definition in 3D is still the callback function. However, having run thousands of python-meep simulations in the last year, I also felt the need of simplifying this task, so I prepared a little Python module, which implements geometrical primitives as functions and handles the material polarizabilities conveniently. Many other functions for shapes like helix or prism might be implemented similarly. But a much more effective solution would be to implement the structure definition into the python-meep module. I cannot guess which technical way would be the easiest: Would it be possible to run SWIG on both libmeep and libctl? Or should the python-meep module contain the libctl functionality compiled into its own code? Definitely these functions would be extremely useful in python-meep and I would be happy to help making them available. Regards, Filip 2013/3/8, Stecher, Fred <[email protected]>: > > Hi, > > I am considering using Python-Meep. I have been using Scheme Meep in 3D. > Generating a simple coil in Scheme meep is not easy. In Python meep you have > 2d POLYGONS. Are there 3D Prisms? Also, is there a list of scheme to python > equivalent commands? > > Thanks, > > Fred > > _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

