Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Locked
Layout Editor: issue connecting two turnouts
#layouteditor
JMRI 4.17.8+R7c13c6b, Java 1.8.0_221, Windows 10 (but also true in 4.17.7)
On my layout, I have a RH turnout connected via the normal route (as opposed to the diverging route) to a the point-end of a LH turnout.? When I try to draw this on a panel via Layout Editor, they won't connect (connection boxes stay red).? I can put a small piece of track between them and everything goes green.? Investigating further in Layout Editor:? - connecting normal route of LH directly to point-end of RH works fine - connecting diverging route of RH directly?to point-end of LH works fine - connecting diverging route of LH directly?to point-end of RH works fine. Just seems to be one configuration that has a problem.? No biggy since I can put an exra piece of track in Layout Editor even though not on my layout, but thought someone might be interested in case this is an issue for other connections. Jerry ___________________________________ jerryg2003@... |
Jerry, Turnouts are never connected directly to other turnouts. The automatic insertion of the required track segment between turnouts is somewhat dependent on the order of actions. ?If you move the successful turnouts apart, you will see the track segment. For block routing purposes, this track segment needs to have a block assigned. ?This will normally be the block from one of the neighbor turnouts. ?The LE Tools >> Check menu items can help identify block errors. Dave Sand ----- Original message ----- From: "JerryG via Groups.Io" <jerryg2003@...> Subject: [jmriusers] Layout Editor: issue connecting two turnouts Date: Sunday, December 29, 2019 10:37 PM JMRI 4.17.8+R7c13c6b, Java 1.8.0_221, Windows 10 (but also true in 4.17.7) On my layout, I have a RH turnout connected via the normal route (as opposed to the diverging route) to a the point-end of a LH turnout.? When I try to draw this on a panel via Layout Editor, they won't connect (connection boxes stay red).? I can put a small piece of track between them and everything goes green.? Investigating further in Layout Editor:? - connecting normal route of LH directly to point-end of RH works fine - connecting diverging route of RH directly?to point-end of LH works fine - connecting diverging route of LH directly?to point-end of RH works fine. Just seems to be one configuration that has a problem.? No biggy since I can put an exra piece of track in Layout Editor even though not on my layout, but thought someone might be interested in case this is an issue for other connections. Jerry ___________________________________ jerryg2003@... |
George -
i can consistently get the following situation to exhibit the issue: panels->new panel->layout editor options->grid options->show grid in edit mode [turn this off] options->grid options->snap when adding options->grid options->snap when moving turnout RH: shift-click to put this somewhere on panel turnout LH: shift-click to put this to the right of the first TO aligned horizontally but not touching right click/hold on the red square of the points end of the LH TO and drag (extending the line of the TO) to try to connect to the red square on the normal end of the RH TO. ?[ I can¡¯t get these to connect] alternatively, if I extend the normal end of the RH TO to attempt to meet the points and of the LH TO, that won¡¯t connect either. If I move the entire LH TO, it will connect most of the time (I thought I had a time or two when it didn¡¯t connect, but I couldn¡¯t reproduce consistently). ?Also, as I play around with extending and moving the ends of the TOs, there are times when I can no longer grab the points and of the TO which I extended. ?Obviously a somewhat obscure bug somewhere. ?
Hope this helps in debugging. ?As I said, there is an easy workaround of just adding a track segment between the TOs manually so definitely not a high priority.
And thanks for making Layout Editor such an incredibly useful and sophisticated tool!
Jerry ___________________________________
jerryg2003@... |
I don't think that there's any code to connect layout objects by dragging endpoints (except for track segments).
You can only connect them by dragging the entire object (again, except for track segments). If you make a turnout too small then trying to click an endpoint will click in its control circle instead. That may be what you're running into. Try turning on control circles (options menu -> turnouts) and maybe making them smaller. BTW: I find resizing relative to center annoying¡ I'd much prefer the opposite anchor(s) stay stationary and only the point I'm dragging move. Thoughts? I've also thought about add "real" units of measurement (inch, foot, yard, mile, mm, cm, km, etc.) such that maybe a pixel is 1/16 of an inch, minor grid marks are an inch and major grid marks are a foot (so 16 pixels to an inch (minor grid) and 12 minor grid to major grid). Or each pixel is a 1/10 of a meter, minor grid 1 meter, major grid 10 meters, etc. I could add a (virtual) ruler to measure distances and coordinates could have real world units. Thoughts? |
I don't think there's a good use for scale dimensions in the Layout Editor. I believe it isn't intended for scale representation of the layout, only a schematic. So, trying to make parts of it represent actual dimensions seems unnecessary and just a way to make entering the schematic more effort. If someone has examples of how it would be useful, I'll gladly stand corrected. Perhaps this should be a new topic. Don Weigt Connecticut, USA |
On Wed, Jan 1, 2020 at 02:21 PM, George Warner wrote:
I don't think that there's any code to connect layout objects by dragging endpoints (except for track segments).OK. Thanks.? Nice to know... (add to documentation?) If you make a turnout too small then trying to click an endpoint will click in its control circle instead. That may be what you're running into. Try turning on control circles (options menu -> turnouts) and maybe making them smaller.Don't think that was my problem as I left original size and even zoom'd the layout to make sure what I was grabbing. I agree completely - when I grab one endpoint of a TO to stretch it, I don't want other parts of TO to move at all. Jerry ? ___________________________________ jerryg2003@... |
If I decide to "try" it I'll make it 100% "opt-in" (meaning unless you opt-in you'll never know it's there).
I've been working with the developer of RailModeller Pro on his JMRI export and one of the "features" it has is "real" (inches, feet, mm or kilometer) units¡ (FYI: his layout editor uses a library of commercial tracks parts with the exact dimensions to match. So WYSIWYG. In theory exporting to JMRI would give you an exact scale representation of your layout.) Just wondered if it ("real" units) would be of interest to anyone using JMRI. Thanks for the feedback. |
As the length is used in dispatching, to figure out how many cars fit, I'd be very careful of changes here. My understanding is that inches and centimeters are treated as real-world length, and feet and meters are treated as scale lengh. So in HO a 50 foot track can hold a 40 foot boxcar(plus couplers) and is the (aprox) same length as a 7 inch track On Thu, Jan 2, 2020 at 4:08 PM George Warner via Groups.Io <geowar1=[email protected]> wrote: If I decide to "try" it I'll make it 100% "opt-in" (meaning unless you opt-in you'll never know it's there). |
to navigate to use esc to dismiss