The application provides a 3D printing strength enhancement method based on an interlayer alternating variable-width slice strategy, relates to the technical field of 3D printing slice
algorithm of FDM technology, and comprises four steps of wall
body region identification, odd-even layer
line width distribution, path center coordinate calculation and
extrusion amount compensation: firstly, the vertical wall
body region is identified through layering
processing, contour comparison and threshold determination; then, a
standard line width, a wide
line width and a narrow
line width are set, the odd
layers adopt the uniform
standard line width, and the even
layers form an alternating variable-width structure by adjusting the line widths of the outermost and innermost walls; the path center coordinates are calculated according to the line width difference, so that the even layer paths are transversely staggered relative to the odd layer paths; and the E-axis feeding amount of the extruder is adjusted based on the volume
conservation principle. The application has the beneficial effects that: the mechanical
interlocking structure is formed by interlayer staggering and embedding, the interlayer V-shaped gap of traditional printing is filled, the plane strength of the XY axis, the strength of the Z axis and the interlayer bonding force of the printed part are significantly improved, the hardware equipment does not need to be changed, and the implementation cost is low.