Differentiable modelling and optimization of multi-planar slicing for multi-axis additive manufacturing | Synapse