mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-01-16 13:08:15 +01:00
Fixed display position in tests.
This commit is contained in:
parent
463c620cc3
commit
ff40a276e1
@ -24,9 +24,10 @@ use <../vitamins/pcb.scad>
|
||||
|
||||
module displays()
|
||||
layout([for(d = displays) pcb_length(display_pcb(d))], 10)
|
||||
translate([0, pcb_width(displays[$i]) / 2])
|
||||
vflip()
|
||||
display(displays[$i]);
|
||||
let(d = displays[$i], offset = display_pcb_offset(d))
|
||||
translate([-offset.x, pcb_width(display_pcb(d)) / 2 - offset.y])
|
||||
vflip()
|
||||
display(d);
|
||||
|
||||
if($preview)
|
||||
let($show_threads = true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user