From 758b51c9db6ba2b62ac6ade16469c09c88fcdd65 Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Fri, 30 May 2025 01:35:55 -0700 Subject: [PATCH] Remove redundant geometry from seat --- nhf/touhou/yasaka_kanako/onbashira.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nhf/touhou/yasaka_kanako/onbashira.py b/nhf/touhou/yasaka_kanako/onbashira.py index b696ca0..7936fb2 100644 --- a/nhf/touhou/yasaka_kanako/onbashira.py +++ b/nhf/touhou/yasaka_kanako/onbashira.py @@ -1051,7 +1051,7 @@ class Onbashira(Model): t1 = 10 base_w = 17.0 theta = math.pi / self.n_side - theta2 = theta * 0.5 + theta2 = theta * 0.7 theta1 = theta * 1.3 cover_thickness = 4.0 track_width = 7.0 @@ -1079,13 +1079,13 @@ class Onbashira(Model): ]) .reset() .polygon([ - (r1 * math.cos(theta), r1 * math.sin(theta)), + (r1 * math.cos(theta1), r1 * math.sin(theta1)), (r1 * math.cos(theta2), r1 * math.sin(theta2)), (r0 * math.cos(theta2), r0 * math.sin(theta2)), (r0 * math.cos(theta), r0 * math.sin(theta)), ]) .polygon([ - (r1 * math.cos(theta), -r1 * math.sin(theta)), + (r1 * math.cos(theta1), -r1 * math.sin(theta1)), (r1 * math.cos(theta2), -r1 * math.sin(theta2)), (r0 * math.cos(theta2), -r0 * math.sin(theta2)), (r0 * math.cos(theta), -r0 * math.sin(theta)),