Skip to content

Commit

Permalink
add bbox function to straight
Browse files Browse the repository at this point in the history
  • Loading branch information
joamatab committed Oct 18, 2023
1 parent 57a6edf commit e1f937a
Show file tree
Hide file tree
Showing 12 changed files with 132 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,15 @@ settings:
width_wide: null
child: null
default:
add_bbox: null
add_pins: true
cross_section: xs_sc
layer: null
length: 10.0
npoints: 2
width: null
full:
add_bbox: null
add_pins: true
cross_section:
add_pins_function_module: gdsfactory.samples.pdk.fab_c
Expand Down
96 changes: 96 additions & 0 deletions test-data-regression/test_netlists_sample_doe_function_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,31 @@ instances:
default:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 4.0
length_y: 0.6
radius: 10.0
straight:
function: straight
full:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 1
length_y: 0.6
radius: 20
straight:
function: straight
function_name: ring_single
info: {}
info_version: 2
Expand Down Expand Up @@ -128,23 +136,31 @@ instances:
default:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 4.0
length_y: 0.6
radius: 10.0
straight:
function: straight
full:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 1
length_y: 0.6
radius: 30
straight:
function: straight
function_name: ring_single
info: {}
info_version: 2
Expand Down Expand Up @@ -223,23 +239,31 @@ instances:
default:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 4.0
length_y: 0.6
radius: 10.0
straight:
function: straight
full:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 1
length_y: 0.6
radius: 40
straight:
function: straight
function_name: ring_single
info: {}
info_version: 2
Expand Down Expand Up @@ -318,23 +342,31 @@ instances:
default:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 4.0
length_y: 0.6
radius: 10.0
straight:
function: straight
full:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 1
length_y: 0.6
radius: 50
straight:
function: straight
function_name: ring_single
info: {}
info_version: 2
Expand Down Expand Up @@ -413,23 +445,31 @@ instances:
default:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 4.0
length_y: 0.6
radius: 10.0
straight:
function: straight
full:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 2
length_y: 0.6
radius: 20
straight:
function: straight
function_name: ring_single
info: {}
info_version: 2
Expand Down Expand Up @@ -508,23 +548,31 @@ instances:
default:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 4.0
length_y: 0.6
radius: 10.0
straight:
function: straight
full:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 2
length_y: 0.6
radius: 30
straight:
function: straight
function_name: ring_single
info: {}
info_version: 2
Expand Down Expand Up @@ -603,23 +651,31 @@ instances:
default:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 4.0
length_y: 0.6
radius: 10.0
straight:
function: straight
full:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 2
length_y: 0.6
radius: 40
straight:
function: straight
function_name: ring_single
info: {}
info_version: 2
Expand Down Expand Up @@ -698,23 +754,31 @@ instances:
default:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 4.0
length_y: 0.6
radius: 10.0
straight:
function: straight
full:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 2
length_y: 0.6
radius: 50
straight:
function: straight
function_name: ring_single
info: {}
info_version: 2
Expand Down Expand Up @@ -793,23 +857,31 @@ instances:
default:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 4.0
length_y: 0.6
radius: 10.0
straight:
function: straight
full:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 3
length_y: 0.6
radius: 20
straight:
function: straight
function_name: ring_single
info: {}
info_version: 2
Expand Down Expand Up @@ -888,23 +960,31 @@ instances:
default:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 4.0
length_y: 0.6
radius: 10.0
straight:
function: straight
full:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 3
length_y: 0.6
radius: 30
straight:
function: straight
function_name: ring_single
info: {}
info_version: 2
Expand Down Expand Up @@ -983,23 +1063,31 @@ instances:
default:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 4.0
length_y: 0.6
radius: 10.0
straight:
function: straight
full:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 3
length_y: 0.6
radius: 40
straight:
function: straight
function_name: ring_single
info: {}
info_version: 2
Expand Down Expand Up @@ -1078,23 +1166,31 @@ instances:
default:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 4.0
length_y: 0.6
radius: 10.0
straight:
function: straight
full:
bend:
function: bend_euler
bend_coupler:
function: bend_euler
coupler_ring:
function: coupler_ring
cross_section: xs_sc
gap: 0.2
length_x: 3
length_y: 0.6
radius: 50
straight:
function: straight
function_name: ring_single
info: {}
info_version: 2
Expand Down
Loading

0 comments on commit e1f937a

Please sign in to comment.