mirror of https://github.com/KLayout/klayout.git
Adding transformation to shapes_of_pin, shapes_of_terminal
This commit is contained in:
parent
04caf13d8d
commit
9f7e84d9e7
|
|
@ -33,7 +33,7 @@ output_layers = {
|
|||
if net
|
||||
|
||||
net.each_subcircuit_pin do |pin|
|
||||
shapes = l2n_data.shapes_of_pin(pin)
|
||||
shapes = l2n_data.shapes_of_pin(pin, RBA::Trans::new(RBA::Vector::new(100, 200)))
|
||||
shapes.keys.each do |li|
|
||||
output_layers[l2n_data.layer_name(li)].data.insert(shapes[li])
|
||||
end
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ output_layers = {
|
|||
if net
|
||||
|
||||
net.each_terminal do |terminal|
|
||||
shapes = l2n_data.shapes_of_terminal(terminal)
|
||||
shapes = l2n_data.shapes_of_terminal(terminal, RBA::Trans::new(RBA::Vector::new(100, 200)))
|
||||
shapes.keys.each do |li|
|
||||
output_layers[l2n_data.layer_name(li)].data.insert(shapes[li])
|
||||
end
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue