Help with scripted structure - facets not appearing (due to holes?)


#1

Hi @msaygin, @bkhanaliloo,

I wanted to know if anyone could help me.

I’m attempting to write a script that will produce a ring structure geometry. I’ve read both How to draw a (truncated) cone in DEVICE using the ‘planar solid’ object and https://kb.lumerical.com/en/ref_sim_obj_planar_solid_-_scripting_examp.html, however the ring structure is not building correctly. The facets on the bottom of the ring are not created, yet it appears (to me) that I’ve created my script correctly. Sadly, I can’t figure out why this is happening.

Coincidentally, when I copy/paste the script from https://kb.lumerical.com/en/ref_sim_obj_planar_solid_-_scripting_examp.html into the MODE script file editor, the example also fails to draw several facets. However, the example from How to draw a (truncated) cone in DEVICE using the ‘planar solid’ object loads exactly as advertised. The only difference I see is that the truncated cone has no holes in it.cladding_ring.lsf (2.5 KB)

Any thoughts? Thanks


#2

Hi @jkoehl,

Would you provide the sketch of the structure you want?
It is generally a good idea to use some visual aid when discussing the script for structures.

Thanks,

Shin-Sung