Rather than drip feeding, it's best to spit it out exactly what you require at the outset because it's taking a while to understand your end goal.
When you say the line needs to be cut at different depths, what feature of the line should control that depth ?
For example, the V-Engrave MOP only works between 2 lines, the tool plunges to a depth so that it touches both lines, hence if the lines are far apart it plunges deep, if the lines are close together it plunges shallow.
The Semitone plugin uses greyscale values, i.e. the darker the line or point the deeper the plunge.
So, what should control the depth of cut in your application ?