Rules from mission to printable parts
I encoded the aircraft as rules with a fixed order. Features such as joints, hinges, servos and the avionics bay claim their space first, and the inner structure is generated in what remains, so the design stays valid as the variables change.
Each rule has a fast form that returns signed margins, such as bed fit, clearances and collisions, in 10 to 20 ms per design: fast enough for an optimiser. I wrote the CAD as code in build123d, so the chosen design is rebuilt from the same rules and checked with exact cross-sections.


