waam_path_weave_modifier — SPEC
Given a path in the XY plane (Z constant) continuously assess the instantaneous vector heading of that path.
Create a new path parametrically as a function of:
- the input path
- an amplitude value
- a wavelength value
given the amplitude and wavelength modulate a sine wave which is continuous (never any instantaneous discontinuity) and follows the input path (the input path should “thread” the center of the produced output sine wave path)
the function returns:
- output path
validate
Section titled “validate”input_path: input_data/test_path.gcode
amplitude: 2mm
wavelength: 3mm
;;;
save result path to output_data
also save a render of a 2D plot comparing the input path and the output path.