Juan Bernardo Pastuszak
All projects

Self-initiated project, funded by the BAE Systems University Scholarship · 2026 to 2027

Mission-driven design and trade-off tool for 3D-printed UAVs

In a 3D-printed aircraft, every design change also moves the joints, the structure and the cuts between printed pieces. I’m building a tool that handles this: I define the mission, requirements and analyses, and an optimiser searches the design space and shows which variables drive each outcome. A printed flying wing, funded by the BAE Systems University Scholarship, will test its predictions in flight.

My contribution

I designed and wrote the tool: the geometry and structural rules, the design checks, the parametric CAD in build123d and the link to the analysis. I also specified the avionics and propulsion.

In progress: first design complete and electronics ordered; first flights planned for spring 2027

Render of the first flying-wing design, with the avionics hatch and the pusher motor
The first design, built from my parametric build123d model. It has not been printed yet.
Trade-off studiesOne concept optimised for different missions, showing what each requirement costs.
Air data printed into the skinPressure ports in the nose skin measure airspeed, angle of attack and sideslip in flight.
Towards eVTOL controlA better flight model for control laws, and a path to tail-sitter transition.
Mission and requirements endurance, speed, payload Design variables planform, aerofoils, structure Geometry and feature rules joints, hinges, servos, bay Optimiser objectives, constraints Analysis and checks mass, aero, loads, stability Inner structure generated in the space left Chosen design parametric CAD, build123d Print and ground checks mass, balance, controls Flight tests predicted against measured iterate flight data corrects the models
The tool’s workflow. The dashed path is the planned use of flight data.

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.

The three outer wing pieces cut open at mid-height, showing the diagonal grid, the spar channel and the elevon servo well, marked with an arrow
The outer wing pieces cut open at mid-height: the 45° grid, the spar channel and the elevon servo well, all generated by the rules.

A structure a printer can build

Each piece has a 0.6 mm skin stabilised by a 45° grid. A carbon spar carries the bending; the pieces slide onto it and one M4 bolt at the tip preloads every joint in compression.

Plan view of the first design showing the centre body, the hatch and three printed pieces on each wing
Plan view of the first design: a centre body and three printed pieces on each wing.

What the checks found before printing

The first design spans about 1.3 m and weighs an estimated 1.95 kg. The mass and balance checks found a static margin of about −3 %, against a target of 5 to 10 %, which would leave it unstable in pitch, and more structural mass than needed, so I will optimise it before printing.

Fast, used inside the optimiser Slower, used to check the chosen design Aerodynamics Structures Dynamics andcontrol OpenVSP / VSPAEROwhole-aircraft loads, derivatives XFOILsection drag, stall, aerofoils CFDbody blend, nacelle, check Thin-walled section theorybending stress, shear flow, torsion Abaqus FEAprinted skin, grid, joints, buckling MATLAB / Simulinkmodel, control-law design Gazebo + PX4 SITLsimulated flights, camera Pixhawk in flightlogs, identification loads derivatives Shaded: the fast level each optimisation uses. Planned for winter 2026 to 2027.
Analysis in levels of fidelity: fast estimates inside the optimiser, detailed checks on the selected design.

Trade-off studies across missions

The same concept can be optimised for different missions, such as long endurance or high speed, comparing how the planform, aerofoils, structure and mass change and which constraints become active.

This winter I’m adding analysis in levels of fidelity: OpenVSP, XFOIL and CFD for aerodynamics; thin-walled analysis and Abaqus for structures; MATLAB and Simulink, then Gazebo with PX4, for dynamics.

Nov 2026First design complete, electronics orderedWinter 2026Analysis in levels; mission trade-off studiesEarly 2027Optimised design printed and ground-checkedSpring 2027First flights: predictions against flight data2027Printed air data; AprilTag camera navigationLaterOwn control laws; tail-sitter and eVTOL
The plan. Only the first step has been completed.

Next: printed air data, towards eVTOL control

Printing lets the pressure ports and their channels be part of the nose skin itself, placed by the same rules as the rest of the aircraft. With a few small sensors they will measure airspeed, angle of attack and sideslip, checked against a pitot tube.

Better air data gives a more accurate model from flight, so control laws can be designed with less uncertainty. The longer-term aim is eVTOL control, possibly converting this wing into a tail-sitter, whose transition needs angle of attack far beyond a pitot tube’s range.

Later, a downward camera and AprilTag markers will give a measured reference for navigating without GPS, building on the pose estimation I wrote for the satellite project.

Tools and methods

Python, build123d, AeroSandbox, OpenVSP, pytest, PX4 on a Pixhawk 6C. Planned: XFOIL, CFD, Abaqus, MATLAB and Simulink, Gazebo, OpenCV with AprilTag