Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
@@ -31,7 +31,28 @@ def lancet():
|
||||
return p
|
||||
|
||||
|
||||
def kh101():
|
||||
# Retain the existing low body, underbody pod and tail locations. Sweep the
|
||||
# deployed wings in short panels and add restrained seams to the housing.
|
||||
p = g.ogive(-16, -8, 2.9, "kh101", 4) + g.oct_z(-8, 27, 2.9, "kh101")
|
||||
p = [dict(e, **{"from": [e["from"][0], e["from"][1] - .5, e["from"][2]],
|
||||
"to": [e["to"][0], e["to"][1] - .5, e["to"][2]]}) for e in p]
|
||||
for i in range(6):
|
||||
x0 = 2.5 + i * 3
|
||||
x1 = min(20.5, x0 + 3.05)
|
||||
p += g.both(g.B(x0, 6.9, 2 + i * .65, x1, 7.5, 11 - i * .12,
|
||||
"kh101", {"down": "kh101_belly"}))
|
||||
p += [g.B(-.4, 10, 20, .4, 16, 28, "kh101")] + g.both(g.B(1.5, 6.9, 22, 8, 7.4, 28, "kh101"))
|
||||
p += [g.B(-1.9, 3.2, 12, 1.9, 5.4, 26, "dark_metal"),
|
||||
g.B(-1.6, 3.5, 11.4, 1.6, 5.1, 12, "bare_nozzle"),
|
||||
g.B(-1.5, 3.6, 26, 1.5, 5, 28, "bare_nozzle"),
|
||||
g.B(-1.1, 3.9, 28, 1.1, 4.7, 28.4, "glow_ember"),
|
||||
g.B(-1, 10, -2, 1, 10.6, 10, "dark_metal")]
|
||||
return p
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
parts = lancet()
|
||||
export("lancet", parts)
|
||||
print("lancet", len(parts), "elements")
|
||||
for name, make in [("lancet", lancet), ("kh101", kh101)]:
|
||||
parts = make()
|
||||
export(name, parts)
|
||||
print(name, len(parts), "elements")
|
||||
|
||||
Reference in New Issue
Block a user