[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA-dev: proposed changes to drag on PCB
Hello,
I have now pushed on a little further and am experimenting with dragging
components. This short video:
http://www.rowetel.com/images/rubberband_demo_component.avi
shows a component being dragged and the tracks automatically rerouted to
preserve nice 45 degree angles.
This is just a first pass that works with limited cases, I need to think
about how to extend it. In this case it actually inserts a new track
segment during the drag, then adjusts the rubber-banded track to be 45
degrees. However I don't want to keep adding new track segments for
every move.
The rubber band list connected to the dragged object only extends "one
track deep", I need to to know two tracks away to adjust for 45 deg I
think. Maybe I can build another rubber band list off the connected
track.
If I can work out how to extend this demo to general cases it could save
a lot of time in editing tracks. I have seen high-end Windows packages
that do this, and even re-route to avoid collisions with other tracks
when u drag a component.
Editing tracks is where I seem to spend most of my time when working
with PCB hence my interest in improving this area.
Cheers,
David
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev