How to deform a line inside the drawing

Hello, guys!

It would help me a lot to get an answer on this.

I need to know how to deform a line inside the drawing, if por example, I have one piece of metal (image 1) and need to deform the line along the rest of the drawing.
Wenever i try to do this, I use envelope mode and attach the deformation in the same chain, like I did with the orange piece (image 2), but for some reason, the deformation inside the drawing deforms the fill and the drawing go all over the place.

I’ve tried to reduce and change the zones of influence, but until now it hasn’t worked.

Capturar3.PNG