A self-leveling container (10; 300) for laser welding a component, comprising a polygonal base surface, characterised in that the container (10; 300) comprises: a plurality of pleated sidewalls (14, 15, 16, 17), each comprising an associated distal sidewall end (20, 21, 22, 23) and an associated proximate sidewall end (26, 27, 28, 29), where the proximate sidewall end (26... 29) is sealed to the polygonal base surface; a polygonal frame having a plurality of frame segments (32, 33, 34, 35), each secured to an associated one of the distal sidewall ends (20... 23); a plurality of linear actuators (38, 39, 40, 41), each located with an associated frame intersection of the plurality of frame segments (32... 35); a plurality of linear actuator frame brackets (44, 45, 46, 47), each located adjacent to at least one of the associated frame intersections secured to the polygonal frame, where each of the plurality of linear actuator frame brackets (44... 47) is secured to a first axial end (50, 51, 52, 53) of an associated one of the plurality of linear actuators (38... 41); a plurality of linear actuator base surface brackets (56, 57, 58, 59), each located adjacent to an associated one of a plurality of base surface intersections of the polygonal base surface and secured to the base surface, where each of the plurality of linear actuator base surface brackets (56... 59) is secured to a second axial end of one of the plurality of linear actuators (38...41); and a plurality of accelerometers (70, 71, 72, 73), each located on one of the plurality of frame segments (32... 35), where each of the plurality of accelerometers (70... 73) provides an accelerometer signal indicative of position of the frame segment (32... 35) to which it is mounted. a plurality of pleated sidewalls (14, 15, 16, 17), each comprising an associated distal sidewall end (20, 21, 22, 23) and an associated proximate sidewall end (26, 27, 28, 29), where the proximate sidewall end (26... 29) is sealed to the polygonal base surface; a polygonal frame having a plurality of frame segments (32, 33, 34, 35), each secured to an associated one of the distal sidewall ends (20... 23); a plurality of linear actuators (38, 39, 40, 41), each located with an associated frame intersection of the plurality of frame segments (32... 35); a plurality of linear actuator frame brackets (44, 45, 46, 47), each located adjacent to at least one of the associated frame intersections secured to the polygonal frame, where each of the plurality of linear actuator frame brackets (44... 47) is secured to a first axial end (50, 51, 52, 53) of an associated one of the plurality of linear actuators (38... 41); a plurality of linear actuator base surface brackets (56, 57, 58, 59), each located adjacent to an associated one of a plurality of base surface intersections of the polygonal base surface and secured to the base surface, where each of the plurality of linear actuator base surface brackets (56... 59) is secured to a second axial end of one of the plurality of linear actuators (38...41); and a plurality of accelerometers (70, 71, 72, 73), each located on one of the plurality of frame segments (32... 35), where each of the plurality of accelerometers (70... 73) provides an accelerometer signal indicative of position of the frame segment (32... 35) to which it is mounted.