- Scratch code at https://www.kaggle.com/code/superjunk/notebookfdb0c5e39b uses matplotlib to draw a parametrically-designed sewing pattern for a spheroid. The larger curve is offset to cut. The curve inside it is to fold adjacent parts and sew. It looks as if you could actually do it with only one panel if desired, unsure.
- ellipse height = height # i think this is a mistake and instead should be the vertical arclength so basically i plotted the side view, but instead i need more a surface view where y is transformed to be a polar value, stretching the pattern vertically toward the top.
I ended up making a general solve_eqn function so I would spend less time laboriously deriving unsolvable relations for one-time approximate values. Makes things much easier. Attached image is a draft sewing pattern for a sphere of radius 1. Ideally the flat ends of the border would be rounded, but I was excited to just get the lines to connect right without intersecting. Yay! import matplotlib.pyplot as plt plt.gca().set_aspect('equal', adjustable='box') plt.plot(*sewing_points(spheroid_rx=1, spheroid_ry=1, panel_count=4, offset=0, resolution=0.1)) plt.plot(*sewing_points(spheroid_rx=1, spheroid_ry=1, panel_count=4, offset=0.25, resolution=0.1)) plt.savefig('spheroid.png') plt.show()