Today's activity include #vectors #points and #math.
Once I crack this for my context case, I get to be very happy. It is old code Infound that I have been using for YEARS. It has worked this whole time until I tries pipes and content that was perfectly vertical. I had a slick way (then) of getting my number fast, but never considered the how I got it, and it was strictly bad math!! I had a div by zero issue since the X1Y1 and X2Y2 were equal, and I was using maths for a 2D situation.
What I literally need is X here, because it is the number I need to find distance from primary pipe end to place a branch node.
This has real world implications wherein we save a LOT of money at the shop by this process correcting broken branch nodes-- at the fabrication stage, this point is used to automate cuts for the taps on the pipe, and cut them out by plasma torch.