Hi Werner, [snip] > Ok. The code is ready for integration. Anyone like to give it a try?
Cool! I will take it for a spin. I look forward to seeing your changes in action, cause I was quite impressed with the original patch's functionality. > I've not decided yet which settings should go to the system-gschemrc > file: > Whether the magnetic mode is on/off by default, and all tuning variables > in the top of the o_net.c file I think it should be turned on by default, with a rc-keyword to turn it off in the gschemrc file and a way of turning it off on the fly for the session (in the Options menu). > ------- > /* magnetic options */ > /* half size of the magnetic marker on the screen. */ > #define MAGNETIC_HALFSIZE 6 > > /* define how far the cursor could be to activate magnetic */ > #define MAGNETIC_PIN_REACH 50 > #define MAGNETIC_NET_REACH 20 > #define MAGNETIC_BUS_REACH 30 > > /* weighting factors to tell that a pin is more important than a net */ > #define MAGNETIC_PIN_WEIGHT 5.0 > #define MAGNETIC_NET_WEIGHT 2.0 > #define MAGNETIC_BUS_WEIGHT 3.0 > ----- > > Which variables should go into the configuration file? I will play with your branch and maybe I'll have some suggestions. > Another minor thing is that if your in the magnetic mode and your close > to a possible connection and you don't want to connect. > > You can zoom in to make the distance bigger and the magnetic marker > disappears. > The other possibility is to use a modifier key: > * overwrite the nonorthogonal mode when using magnetic nets and use the > CTRL modifier key > * use the ALT modifier key A modifier might be a good idea, though we have to be careful with the ALT key cause some desktop environments (and WM) like to assign that to move window (that's why alt is not used by gschem) More comments to follow once I get a chance to play with it, -Ales _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
