From 6d527cbbb839f354e63a3b34013cbb785b6ed81b Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Sat, 15 Apr 2023 17:55:26 -0300 Subject: [PATCH] Make hdmi out position parametric --- notebook_nueva/dimensions.py | 2 ++ notebook_nueva/modelo.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/notebook_nueva/dimensions.py b/notebook_nueva/dimensions.py index bde08b3..502091a 100644 --- a/notebook_nueva/dimensions.py +++ b/notebook_nueva/dimensions.py @@ -69,6 +69,8 @@ cpu_offset_y = 2 battery_offset_x = 15 battery_offset_y = 3 +# HDMI out hole from back-left corner of the case +hdmi_out_offset_x = 138 ## Dimensions for the Tandy lid diff --git a/notebook_nueva/modelo.py b/notebook_nueva/modelo.py index 2a1493a..4a094d8 100644 --- a/notebook_nueva/modelo.py +++ b/notebook_nueva/modelo.py @@ -65,7 +65,7 @@ def model(): width=dim.width, height=dim.height, thickness=dim.base_thickness, - offset_x=138, + offset_x=dim.hdmi_out_offset_x, offset_y=0, bottom_face=None, back_face=">Y",