Adding transformation to shapes_of_pin, shapes_of_terminal

This commit is contained in:
Matthias Koefferlein 2024-06-06 21:01:52 +02:00
parent 04caf13d8d
commit 9f7e84d9e7
4 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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.