This question is for someone with experience of Python coding of Inkscape extensions. Others need not waste their time, unless they really like a challenge!
I've written a Python extension that calculates the intersections between the line segments of different lines/polyline objects. I want to append new nodes to both objects at these intersection points (obviously in the correct node path order) but I have no idea how to approach this. The code in other extension scripts (e.g. "Modify Path\Add Nodes...") includes the use of node.set()
, but I can't come close to figuring out how this is supposed to work. The script is available here if needed, but I don't see how that can help as there is no problem with it - it just produces intersection coordinates.
Grateful for any assistance.