Skip to content

Commit 3eeba99

Browse files
maint: fix unused variables and pin requests>=2.25.0 for CI stability
1 parent 13defa6 commit 3eeba99

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ numpy>=1.13
22
scipy>=1.0
33
matplotlib>=3.9.0 # Released May 15th 2024
44
netCDF4>=1.6.4
5-
requests
5+
requests>=2.25.0
66
pytz
77
simplekml
88
dill

tests/animation_verification/rocket_stl.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ def create_rocket_stl(filename="rocket_model.stl", length=100, radius=10):
1919

2020
# More realistic proportions
2121
nose_length = length * 0.25
22-
body_length = length * 0.65
2322
engine_length = length * 0.1
2423

2524
# Fin parameters
@@ -134,9 +133,6 @@ def add_quad(v1, v2, v3, v4):
134133
for fin_num in range(num_fins):
135134
fin_angle = 2 * math.pi * fin_num / num_fins
136135

137-
# Fin vertices
138-
fin_base_center = [0, 0, body_z_end * 0.5]
139-
140136
# Inner fin edge (attached to rocket)
141137
inner_x = math.cos(fin_angle) * radius
142138
inner_y = math.sin(fin_angle) * radius
@@ -211,10 +207,6 @@ def write_stl(faces, filename):
211207
f.write(struct.pack('<H', 0))
212208

213209
# Simplified geometry - create a more detailed rocket than original but simpler than full version
214-
num_segments = 16
215210
faces = []
216211

217-
# Add more triangles for better shape...
218-
# (You can combine the face generation logic from above with this write_stl function)
219-
220212
write_stl(faces, filename)

0 commit comments

Comments
 (0)