Skip to content

Commit

Permalink
Added SiEPIC menu
Browse files Browse the repository at this point in the history
Former-commit-id: 766f495
  • Loading branch information
lukasc-ubc committed Nov 22, 2015
1 parent 5c436f0 commit f521516
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion klayout_dot_config/pymacros/INTERCONNECT.lym
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<shortcut/>
<show-in-menu>true</show-in-menu>
<group-name/>
<menu-path/>
<menu-path>siepic_menu.end</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
<text># Python script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<shortcut/>
<show-in-menu>true</show-in-menu>
<group-name/>
<menu-path/>
<menu-path>siepic_menu.layout_submenu.end</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
<text># Python script
Expand Down
2 changes: 1 addition & 1 deletion klayout_dot_config/pymacros/SiEPIC_EBeam_Clear_Errors.lym
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<shortcut>C</shortcut>
<show-in-menu>true</show-in-menu>
<group-name>SiEPIC</group-name>
<menu-path/>
<menu-path>siepic_menu.end</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
<text># Python script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<shortcut>H</shortcut>
<show-in-menu>false</show-in-menu>
<group-name/>
<menu-path/>
<menu-path>siepic_menu.end</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
<text># Python script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<shortcut>W</shortcut>
<show-in-menu>true</show-in-menu>
<group-name/>
<menu-path/>
<menu-path>siepic_menu.end</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
<text># Python script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<autorun>false</autorun>
<autorun-early>false</autorun-early>
<shortcut/>
<show-in-menu>true</show-in-menu>
<show-in-menu>false</show-in-menu>
<group-name/>
<menu-path/>
<menu-path>siepic_menu.end</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
<text># Python script
Expand Down
2 changes: 1 addition & 1 deletion klayout_dot_config/pymacros/SiEPIC_EBeam_Verification.lym
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<shortcut>V</shortcut>
<show-in-menu>true</show-in-menu>
<group-name/>
<menu-path/>
<menu-path>siepic_menu.end</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
<text># Python script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<shortcut/>
<show-in-menu>true</show-in-menu>
<group-name/>
<menu-path/>
<menu-path>siepic_menu.end</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
<text># Python script
Expand Down Expand Up @@ -208,7 +208,7 @@ clock_verify_layout = time.clock()


# Output the Spice netlist:
text_Spice = generate_Spice_file(topcell, optical_waveguides, optical_components)
text_Spice,_ = generate_Spice_file(topcell, optical_waveguides, optical_components)
if 'wtext' in globals():
wtext.insertPlainText(text_Spice)
clock_netlist = time.clock()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<shortcut>Shift+W</shortcut>
<show-in-menu>true</show-in-menu>
<group-name/>
<menu-path/>
<menu-path>siepic_menu.end</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
<text># Python script
Expand Down
6 changes: 5 additions & 1 deletion klayout_dot_config/pymacros/SiEPIC_Install.lym
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<prolog/>
<epilog/>
<doc/>
<autorun>false</autorun>
<autorun>true</autorun>
<autorun-early>false</autorun-early>
<shortcut/>
<show-in-menu>false</show-in-menu>
Expand Down Expand Up @@ -51,5 +51,9 @@ t = "siepic_menu"
if not(menu.is_menu(t)):
menu.insert_menu("help_menu",t,"SiEPIC")

s = "layout_submenu"
r = "Layout Generation"
if not(menu.is_menu(t + "." + s)):
menu.insert_menu(t+".end",s,r)
</text>
</klayout-macro>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<shortcut/>
<show-in-menu>true</show-in-menu>
<group-name/>
<menu-path/>
<menu-path>siepic_menu.end</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
<text># Python script
Expand Down

0 comments on commit f521516

Please sign in to comment.