Opened 8 years ago
Last modified 8 years ago
#4347 new enhancement
OMEdit: improve drawing of connections by correctly initiated x/y mode — at Version 2
Reported by: | Jan Kokert | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | normal | Milestone: | Future |
Component: | OMEdit | Version: | |
Keywords: | connection x/y mode initialization | Cc: |
Description (last modified by )
When a connection (e.g. from a resistor to a gnd) is drawn, OMEdit seems to have a default behavior that the first line is already fixed in vertical position and when clicking the first horizontal position is set by then forming a corner.
This is perfectly fine if the connectors of elements are oriented from left to right, which is the default orientation in MSL.
Users, of course, will turn e.g. resistors in a way, that the connectors are vertically aligned. Then the default line initialization orientation is a bit annoying.
I can imagine that it is a bit tricky for OMEdit (or the programmer :-P) to figure out, what the user actually mean. But what about the following:
Idea 1:
When starting a connection (by clicking and dragging) the user will already (roughly) point in the right direction e.g. 10 pixels up and 3 pixels left). By figuring out that amount and checking which is the most dominant one, the initial connection X/Y mode could be initiated properly.
Idea 2:
Another possibility is to update the x/y mode continuously until the first corner is set. So assume the start is at 0/0 and the mouse is at (10,3) then OMEdit is in y-fixed mode. If the mouse is moved (without clicking) to (10,23) then OMEdit switches to x-fixed mode.
Idea 3:
A further possibility is to allow manual switching of the mode by hitting the space bar. This is the default behavior in Eagle (a PCB layout program).
After this x and y mode is alternating.
I really hope that these ideas helps :D
Change History (2)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 8 years ago
Description: | modified (diff) |
---|