mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-20 05:14:16 +02:00
04716b0731
qet.addCable(folio, designation, type, coreColors, length, x1, y1, x2, y2) does what the cable tool does after its dialog: a new cable whose trunk is the line between the two points, every conductor the line crosses taking the next core in order along the line, with the colour coreColors lists at that place. One undo step, through AddCableCommand. An empty designation takes the next free name. A conductor another cable already holds is refused rather than taken away, since a script cannot be asked the question the dialog asks. qet.cables() lists the project's cables. The qet MCP server gains the add_cable op for qet_edit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>