RichardTonkin
Is there any way I can merge two pieces of track together? The opposite of 'Cut flex here'. For example, I create a 90 deg arc 12 in radius which uses up 18.85 inches of flex and I want to merge the leftover piece to it as a straight so that in practice I use the flex track more efficiently, ie not so many unnecessary joins to make.
I had a look in the manual and nothing jumped out at me. I'm sure I'm not the only person who would want to do this.
RhB_HJ
Very easily done: Select the leftover piece, disconnect, right click, select "straight track". That's it.
RichardTonkin
RhB_HJ,
Not sure I understood that, or maybe I posed the question badly. I just want to join two pieces of track together, say an arc and a straight, so that they are shown as one piece, ie no join and hence no little circle is drawn where the arc and the straight join, and therefore appear as one piece in the list of materials.
BritsTukker
I didn't understand HJ's reply either.
As far as I know, there's no way to do this.
Of course, when you actually build the thing, you make the pieces as long as possible, so straight-easement-curve can be all one piece if it fits within the length of the flex - you don't cut each track piece as its shown on the drawing.
RichardTonkin
Brits,
I realise that, I just thought it might be a useful feature. It would enable one to tidy up the layout in some areas.
glakedylan
greetings Richard and welcome to AR and the forum...
unless one is using sectional track the track plan identifies where track would be located if one prints out a 1:1 rendering. and, if using sectional track it would make no sense I can think of to merge two or more sections together into one. in the information that a track plan provides it does indicate how many total inches of flex track used/needed. this feature would make sure you have enough track and not too much (at least within a section of flex).
if it makes your track plan more informational for some reason to be able to see in AR two or more sections as being part of a one piece whole, you can isolate those sections and create a section with just those track pieces, assigning them a color that is easily seen. and, of course, you can decrease the size of connection indicators in the "settings" section if you want the circles to not show.
I hope that helps. again, welcome!
peace,
Gary L Lake Dillensnyder
RhB_HJ
Welll, now I get it ..... if you create a curve of certain radius and angle you won't have a "leftover" piece. Using flex track the only time you have "leftover" pieces is when you cut straight track. Then AR knows how long the two pieces are. It also knows how long the pieces are when you cut a designated radius but it won't tell you what angle or what radius those pieces are.
Let me ask you a question: if you could add on that "leftover" piece, how would you know where the radius starts? Having the connecting points when using flex track is what defines precise points for the geometric boundary of the track object. That's what I like to have; I seldom use free-form curves since , in my opinion, they lack definition.
Mike from CT
RichardTonkin wrote
Brits,
I realise that, I just thought it might be a useful feature. It would enable one to tidy up the layout in some areas.
I started to say that it's be impossible to accomplish from a programming POV, but I suppose that it'd be possible by creating some sort of invisible "sub-pieces" of track that are presented as a single piece.
But, that said, you'd lose information (like radius) and still might not get the optimal division of track - either in terms of minimum lengths of unusable "residue" or in terms of selecting the more trouble-free places (e.g., on a tangent, rather than a curve) or visually acceptable (e.g., between ties rathr than in the middle of a tie) places to join two pieces.
David's advice (with which I agree) is buy roughly 110% of what Anyrail says you need for flex track. The alternative is buy 100%, work on the layout only during normal business hours, and count on your local hobby shop (assuming you have one just down the road) to have any additional sections on hand. (Of course, if you're like I am, that's actually more expensive than buying the 110% in advance. I can't go into the LHO and leave with only what I went in for; there's always something else I need and I know I'll figure out why I need it some day. I have stuff I bought several years ago still waiting for that "some day" to come.)
RichardTonkin
glakedylan, I agree with you about creating sections of different colours, that's probably the best way to do it.
RhB_HJ, Some parts of my layout start out as a defined arc but then I join straight bits on the end and have sometimes had to manipulate several pieces together to get just the curve I want, in particular to line up with points. In your terminology I have created free-form curves out of necessity. I don't think not knowing where the original arc and straight joined is a problem.
When I actually start cutting track I intend printing a full size plan, join the pieces together and then mark the track position on the board. I haven't tried this yet but I think it's probably the best way for me, especially as some of my bends are quite tight and on the lower limit.
Mike, I just picked up your post so I'll add my reply in with my other comments. In my experience as a software developer (many years) I think that there are not many problems which can't be programmed, the problem is tying down the requirements and stopping them creeping. I don't see it as any more difficult than joining two pieces of track together, leaving out the circle which indicates the join and then adding the separate lengths together so they are treated as one on the plan and in the list of materials. Obviously one could only add fexitrack together, not points etc.
My LHO which sells Peco Code 55 N gauge flexitrack at sensible prices is about an 80 mile round trip. I could order online but I think it's a minimum of 15 pieces.
David
The problem is that flex is currently defined as a Bézier curve with four control points. This choice makes it extremely simple and intuitive to bend the track.
So merging track then comes down to combining two Bézier curves into one, which is mathematically impossible except for the most trivial cases. The alternative is to have Bézier curves with more than four control points.
Translating this back to flex track, this means you could have a variable number of control points per bit of flex. This makes everything very complicated, and probably does more evil than good for most users.
So yes, this is a known restriction and will not be fixed in the near future. Of course you can always replace small bits of flex with a new longer stretch of flex track.
David.
RhB_HJ
Richard,
How big is this layout going to be that you would have problems adding up the separate pieces? ;) Since I'm usually inspired by the real world as often as not I use easements i.e. the sequence is tangent track> easement track> defined radius track> easement track > tangent track. In the ideal world if you could "chop" that config into standard length of flex and then print out the materials list that would be "super", however as David pointed out it gets a bit tricky merging a standard curve to a tangent. Adding an easement would be even more interesting.
chaz
RhB_HJ wrote
however as David pointed out it gets a bit tricky merging a standard curve to a tangent. Adding an easement would be even more interesting.
Even harder is adding an eased track between 2 straight pieces, a curve and a straight, 2 different curves or 2 pieces of flex track...located anywhere on you layout.
It is possible, however, to draw a guideline between the tracks, that is totally eased. This guideline takes into account the position, rotation and geometry of both tracks.
However, the ability to draw the guideline, does not mean that David can calculate the positions of the flex track control points. Fortunately, that easy to do by hand.
We connect a piece of flex track between the two tracks and then manipulate the control points until the flex track covers the guideline.
The Lagrange Polynomial Approximation strikes again. 8)
Chaz
BritsTukker
Mike from CT wrote
(Of course, if you're like I am, that's actually more expensive than buying the 110% in advance. I can't go into the LHO and leave with only what I went in for; there's always something else I need and I know I'll figure out why I need it some day. I have stuff I bought several years ago still waiting for that "some day" to come.)
I sympathise: I just spent the day at a model railway exhibition. I went with a list of five items I needed. I found three of them, but not at prices I was prepared to pay since I knew I could get them cheaper elsewhere. Instead, I came home with a loco and five passenger coaches that weren't even on my 'wish list' .....
Mike from CT
David wrote
The problem is that flex is currently defined as a Bézier curve with four control points. This choice makes it extremely simple and intuitive to bend the track.
So merging track then comes down to combining two Bézier curves into one, which is mathematically impossible except for the most trivial cases. The alternative is to have Bézier curves with more than four control points.
Translating this back to flex track, this means you could have a variable number of control points per bit of flex. This makes everything very complicated, and probably does more evil than good for most users.
So yes, this is a known restriction and will not be fixed in the near future. Of course you can always replace small bits of flex with a new longer stretch of flex track.
David.
David, the reason I decided it wasn't "impossible" is programming an additional version of the connect function ("weld"?) would really be a lot like combining various shapes into an object - creating a "meta track", as it were. Within that meta-track would be the actual bezier curves comprising the functions for the various pieces. Add an "unweld" option and the meta-track disappears, replaced by the sections from which it was comprised. The trickiest part would be deciding how to represent this meta-piece on the status line... :D .
Is it worth doing? Actually, the more I think about it, the more it might be. When I'm designing, I store various track combinations off to the side of the layout space that I think I'll probably reuse elsewhere, since it's easier to keep them distinct, rather than have to dig them out by copying a rectangle of track and clearing out the unwanted track in rectangle copied. If I could define (and copy) a meta track, it actually would be easier. Imagine a fairly standard occurrence like a siding parallel to the main at a prescribed distance from it. That requires a turnout, often a short section of straight and a curve or easement, then imagine if I could define a "start spur - 1.05 inch CL spacing" meta-piece....
I'd rate it as a nice-to-have feature, but there's certainly an easy work-around (those bits and pieces off to the side of the layout space in the plan).
Mike from CT
BritsTukker wrote
Mike from CT wrote
(Of course, if you're like I am, that's actually more expensive than buying the 110% in advance. I can't go into the LHO and leave with only what I went in for; there's always something else I need and I know I'll figure out why I need it some day. I have stuff I bought several years ago still waiting for that "some day" to come.)
I sympathise: I just spent the day at a model railway exhibition. I went with a list of five items I needed. I found three of them, but not at prices I was prepared to pay since I knew I could get them cheaper elsewhere. Instead, I came home with a loco and five passenger coaches that weren't even on my 'wish list' .....
LOL.... You got the idea.
Last exhibition I went to, I went looking for a new, better way to clean track. Didn't find that, but did buy 5 ExactRail refrigerated cars and now I need to find a cold storage wholsesale distribution plant worthy of the reefers. Last year, I bought two of the sets (total 10 structures) of the International Hobby Supply's Homes of Yesterday and Today series, because there are only so many ways one can disguise the DPM/Woodland Scenics buildings. But I don't even have a residential/main street area on my layout at the moment. At least I have a place where the wholesale distributor would fit - unless I decide I "really need" something else there, next time I wander into a danger zone.
RhB_HJ
What an undisciplined bunch. :o ;D ;D ;D
Mike from CT
RhB_HJ wrote
What an undisciplined bunch. :o ;D ;D ;D
I think I was very disciplined.
ExactRail had 25 differently numbered reefers I didn't need and I bought only 5 of them. If that isn't the epitome of discipline, I don't know what is.... ::)
C.R. Wagus
I just got around to reading this discussion. Mike's term 'meta track' reminded me that I have done the same thing he mentioned. I created a file with combinations of all the PECO track sections, switches, crossings, etc. I then developed various parallel track, crossing track, yard ladders, etc. using NMRA guidelines. When I work on a new layout, I cut and paste from this track file into my layout file. This works well but if I could combine these 'modules' into a single entity like a User Object (meta track) and place them in my layout like a User Object from my personal track library, this would be a great help. The program does a fantastic job of allowing the user to easily place and connect track from the many track libraries. However, suppose you are using switches that when connected provide a crossover between two parallel tracks. If you are willing the use the track centerline distances provided by the manufacturer, this is a piece of cake. However, if you want to change that distance (go around a station or factory) or in some cases use NMRA guidelines, the stub end of the switches cannot be directly connected. As Mike mentioned, a small piece of transition track or easement may be required. I accomplish this by placing a length of flex track connected to my chosen switch. I then add a parallel track at the desired center distance. Next, I attach a section of flex track to the stub end of the switch which crosses the parallel flex track. This gives me the proper intersection point. Next I drag an opposing switch across this intersection. By zooming in, I find I can locate this second switch very accurately. Now all I have to do is cut the flex track between the two switches at the end of the stub of the second switch and delete the extended portion of the connecting flex track. A little slight manipulation of the connecting track lets me make a connection and I have two parallel tracks with a crossover set of switches. Copying this section and flipping or rotating the copy allows me to create a double crossover. After this, if I delete two of the switches and replace them with a short section of curved flex track, I have a passing siding. Numerous yard ladders and staging configurations can also be created in this way. My track library file lets me save configurations that I think I will use frequently. Since I enjoy creating layouts in the manner of a mental challenge or puzzle, I can save a lot of time by not having to recreate these common features from scratch. Creating 'meta tracks' would be a big improvements in this process, especially if they were stored in a track user object library. As an engineer, I understand the mathematic and graphic difficulties in literally merging linear and non linear objects. It does seem a grouping instead of a merging is a good work around to enhance the user friendly aspects of the program without adding great complexity and the attendant potential for errors and glitches. I have shared some of my track library files with other AR users in my local NMRA club and they have all indicated that they found this approach to save them time, especially since I did all the original module building.
C.R. Wagus