Remove redundant geometry from seat

This commit is contained in:
Leni Aniva 2025-05-30 01:35:55 -07:00
parent ef0b0dad91
commit 758b51c9db
Signed by: aniva
GPG Key ID: D5F96287843E8DFB
1 changed files with 3 additions and 3 deletions

View File

@ -1051,7 +1051,7 @@ class Onbashira(Model):
t1 = 10 t1 = 10
base_w = 17.0 base_w = 17.0
theta = math.pi / self.n_side theta = math.pi / self.n_side
theta2 = theta * 0.5 theta2 = theta * 0.7
theta1 = theta * 1.3 theta1 = theta * 1.3
cover_thickness = 4.0 cover_thickness = 4.0
track_width = 7.0 track_width = 7.0
@ -1079,13 +1079,13 @@ class Onbashira(Model):
]) ])
.reset() .reset()
.polygon([ .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)), (r1 * math.cos(theta2), r1 * math.sin(theta2)),
(r0 * math.cos(theta2), r0 * math.sin(theta2)), (r0 * math.cos(theta2), r0 * math.sin(theta2)),
(r0 * math.cos(theta), r0 * math.sin(theta)), (r0 * math.cos(theta), r0 * math.sin(theta)),
]) ])
.polygon([ .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)), (r1 * math.cos(theta2), -r1 * math.sin(theta2)),
(r0 * math.cos(theta2), -r0 * math.sin(theta2)), (r0 * math.cos(theta2), -r0 * math.sin(theta2)),
(r0 * math.cos(theta), -r0 * math.sin(theta)), (r0 * math.cos(theta), -r0 * math.sin(theta)),