Dear Filip, Thanks. I went with your suggestions. 1. I tried 1st option (with 100 overlapping block) but still it is not perfectly inclined. I feel potentially infinite number of small overlapping blocks is theoretical approach. Please correct, if I am understanding wrong. 2. Could you please forward python meep codes, I will see if I can get something out of it. 3 One more point I want to know that is there no way to give angle parameter in geometry? so that geometry will be inclined to XY plane.
With Best Regards ......... Prem Prakash Singh(CSIR-SRF) Centre for nano science and Engineering and Department of Mechanical Engineering, Indian Institute of Science, Bangalore, premn...@mecheng.iisc.ernet.in On Wed, Dec 4, 2013 at 2:05 PM, Filip Dominec <filip.domi...@gmail.com>wrote: > Dear Prem, > as far as I know, this task would require either > 1) to build the desired structure by overlapping a big (potentially > infinite) number of overlapping blocks, > or > 2) load the structure pixel-by-pixel either from a data file, or from > a mathematical expression. > I spent several days implementing the 2nd way in Python and now I can > define virtually any inclined/bent/distorted object. Some info is at > http://fzu.cz/~dominecf/misc/meep/ and I can send the fresh sources to > you. But it uses python-meep. > F. > > 2013/12/3, prem prakash singh <prem0prak...@gmail.com>: > > Dear Meep users, > > I want to design two inclined fiber for coupling. In Cartesian system, I > > didn't get any angle parameter for design. So whenever I am selecting > > block or cylinder, it comes parallel to X-Y axis not inclined. Could any > > one please educate me to design such inclined geometry. > > Required structures is appended below. > > > > [image: Inline image 1] > > > > With Best Regards ......... > > > > Prem Prakash Singh > > IISc > > >
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss