The trim is OK, but this is not the same thing…
please check this:
I neet to make a simulation of 3D printer extruder
Width of extruder is the offset of central line (sin) (to simulate the width of extruder) and in the next line I need the inverse of the line (like a mirror)
So, you can check in the image the mirror of lines and the simulation of width (offeset left and right to de central line)
I’m trying to understand how to make this in your code.