We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76b8784 commit 5362247Copy full SHA for 5362247
rocketpy/rocket/aero_surface.py
@@ -426,12 +426,12 @@ def final_shape(x):
426
# Evaluate final geometry parameters
427
self.shape_vec = [nosecone_x, nosecone_y]
428
if abs(nosecone_x[-1] - self.length) >= 0.001: # 1 milimiter
429
+ self._length = nosecone_x[-1]
430
print(
431
"Due to the chosen bluffness ratio, the nose cone length was reduced to m.".format(
432
self.length
433
)
434
- self._length = nosecone_x[-1]
435
self.fineness_ratio = self.length / (2 * self.base_radius)
436
437
return None
0 commit comments