Fig. 1: G-Code limitations and T-Code introduction.

a Exemplary multimaterial lattice structure displaying defects due to G-Code interruptions from material switching commands, with arrows pointing to defects occurring before the interface due to dead volume in the nozzle and delayed execution of the pressure boxes. b Schematic of a single filament with multiple auxiliary commands along its length. c G-Code interruptions lead to discontinuity and frequent stops in the velocity profile of the 3D printer. d These interruptions result in over-extrusion defects, which become more pronounced at reduced accelerations. e, f Comparison of total print times as a function of the number of auxiliary actions at e various velocities (acceleration = 1000 mm/s2) and f various accelerations (velocity = 20 mm/s); assuming a linear velocity profile for the 3D printer, the graphs show the print time comparison between conventional G-Code and the time-sync solution, or T-Code which g decouples the auxiliary commands from the printer’s motion, ensuring an uninterrupted velocity profile and h a reduction in defects regardless of acceleration. i The exemplary multimaterial lattice printed using the T-Code method demonstrates a reduction in defects. Scale bars = 5 mm. Source data provided as a Source data file.