sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Eneroth Railroad System (v 0.1.21)

    Scheduled Pinned Locked Moved Plugins
    364 Posts 43 Posters 80.3k Views 41 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • eneroth3E Offline
      eneroth3
      last edited by

      @box said:

      A fantastic plugin, but it does have something that bothers me. I like to use a limited number of toolbars and only open them up when I need them. Your toolbar, no matter which way you close it, will always reopen on startup unless you have actually disabled the plugin. Could you look at removing this behavior.

      The plugin should run toolbar.restore within a 0 timer t avoid some bug (apparently called 2902434) but for some reason my code uses .show instead 😲 . It'll be fixed for the next release but you can manually change it an line 1248 in main.rb now if you want to. I think this was the solution for a bug in SU 8 which doesn't support the plugin so it's probably not needed at all. 😕

      My website: http://julia-christina-eneroth.se/

      1 Reply Last reply Reply Quote 0
      • BoxB Offline
        Box
        last edited by

        Thanks, it was only a tiny thing in an otherwise superb plugin.

        1 Reply Last reply Reply Quote 0
        • deaneauD Offline
          deaneau
          last edited by

          WELCOME BACK <joke> JCE (sound like jaycey)</joke> Eneroth3.

          i have find some bugs and eastereggs in your plugin.

          more about this via PM.

          dean

          MADE, BORN AND LIVING IN BERLIN
          Big Thank You to all Programmers
          Some German words are so long that they have a perspective. M.Twain

          1 Reply Last reply Reply Quote 0
          • ppoublanP Offline
            ppoublan
            last edited by

            @eneroth3 said:

            By 'Translate camera', do you mean moving the camera relative to the train but without rotating and by 'Rotate around selection' the current behavior?

            Hi Christina,
            Easier to explain with sample. Here are some functions I used, to be called at each frame.
            Feel free to integrate/customize/mix as you want within your plugin.

            Here is the ruby file:
            camera_animation.rb

            And samples:

            rotate around

            target

            follow

            Pascal

            1 Reply Last reply Reply Quote 0
            • tt_suT Offline
              tt_su
              last edited by

              So, you created the animations in your videos with your own animation script?
              Have you published it anywhere other in that comment here? GitHub?

              1 Reply Last reply Reply Quote 0
              • ppoublanP Offline
                ppoublan
                last edited by

                @tt_su said:

                So, you created the animations in your videos with your own animation script?

                Yes for the cameras, not for the trains that are moved by Christina's Railroad plugin.

                @unknownuser said:

                Have you published it anywhere other in that comment here? GitHub?

                No. Its only few lines of code, that could/should be optimized... and adapted to custom needs. If any of the good developers that are here wants to improve it to make a more complete library it may be great...
                In fact I think those features are really missing to SU.

                1 Reply Last reply Reply Quote 0
                • tt_suT Offline
                  tt_su
                  last edited by

                  @ppoublan said:

                  If any of the good developers that are here wants to improve it to make a more complete library it may be great...

                  I'd encourage GitHub to publish code where you invite collaboration and enhancements from the community.

                  1 Reply Last reply Reply Quote 0
                  • leolouieL Offline
                    leolouie
                    last edited by

                    I have just downloaded the Railroad plugin, but there are no selections in the "Add Track" box. Is there a link to other components?

                    1 Reply Last reply Reply Quote 0
                    • eneroth3E Offline
                      eneroth3
                      last edited by

                      Pascal: The animations look great and I really like the 0.95 ratio thing to make it smoother. It looks just as filmed with a real stadicam. I think this library could grow and be used for much more than the train simulator. I agree with Thomthom about putting it on Github for more people to work on, then I can also add a link to it from the documentation of my plugin 👍 .

                      @leolouie said:

                      I have just downloaded the Railroad plugin, but there are no selections in the "Add Track" box. Is there a link to other components?

                      That's really odd. What Sketchup version are you using? 2013+ is needed.

                      My website: http://julia-christina-eneroth.se/

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        jonb42
                        last edited by

                        I'm having the same problem. I use SU 2013 and 2014 and in neither of them can I place track in a new drawing. When I open your example drawing however I am able to place track - it is as if a library was not loading but perhaps is already loaded in the example drawing.

                        Also in SU 2013 I get a script error - see attached photo. I'm using your latest version 1.13 I think dated the 9th of this month.

                        thanks though for this awesome plugin! I am really impressed and can't wait to place a train track throughout some new building model I want to show off to a customer!

                        Jon


                        Railroad script error-001.jpg

                        1 Reply Last reply Reply Quote 0
                        • eneroth3E Offline
                          eneroth3
                          last edited by

                          @jonb42 said:

                          I'm having the same problem. I use SU 2013 and 2014 and in neither of them can I place track in a new drawing. When I open your example drawing however I am able to place track - it is as if a library was not loading but perhaps is already loaded in the example drawing.

                          Also in SU 2013 I get a script error - see attached photo. I'm using your latest version 1.13 I think dated the 9th of this month.

                          thanks though for this awesome plugin! I am really impressed and can't wait to place a train track throughout some new building model I want to show off to a customer!

                          Jon

                          Hi Jon

                          This sounds very similar to an error on Mac that's one user has reported but that didn't occur for others. Can you add this code "puts js" to line 376 in track_insert_tool.rb and post the text printed in the console?

                          My website: http://julia-christina-eneroth.se/

                          1 Reply Last reply Reply Quote 0
                          • deaneauD Offline
                            deaneau
                            last edited by

                            Here an intresting links:

                            for all ENE-RR-Fans ( eneroth3railroad)

                            Index of /greg/rail/docs/clearance

                            favicon

                            (gritton.org)

                            Link Preview Image

                            this is a svg file UIC & AAR clearance.

                            for all non railroader.

                            this is the room that need the train without crash with other objects along and alongside the Track ( /bridge/tunnel/catenary/signals/and other trains.)

                            Link Preview Image
                            Loading gauge - Wikipedia

                            favicon

                            (en.wikipedia.org)

                            http://www.rgsonline.co.uk/Railway_Group_Standards/Infrastructure/Guidance%20Notes/GEGN8573%20Iss%201.pdf

                            for more search results: insert in google

                            aar clearance (american) AND/OR uic clearance (european+br)
                            ----

                            here a way to go to a simulator (sketchup to trainz(auran.com))

                            dhobh.net

                            favicon

                            (www.dhobh.net)

                            sometimes i work/play with this, too.

                            AND

                            railworks (Trainsimulator 2012/2013/2014/2015)

                            Link Preview Image
                            Error

                            favicon

                            (www.facebook.com)

                            Link Preview Image
                            | Dovetail Games

                            favicon

                            (www.dovetailgames.com)

                            sorry not a sketchup plugin avaiable only for blender/3dsmax. 😢
                            ----
                            and here my historical project for this games.

                            301 Moved Permanently

                            favicon

                            (rail-sim.de)

                            sorry german language however with pictures.

                            this is not an egoshooter!!!

                            dean
                            (loco driver student/retired)

                            all parts was build with original blueprints!!!

                            MADE, BORN AND LIVING IN BERLIN
                            Big Thank You to all Programmers
                            Some German words are so long that they have a perspective. M.Twain

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              jonb42
                              last edited by

                              @eneroth3 said:

                              Hi Jon

                              This sounds very similar to an error on Mac that's one user has reported but that didn't occur for others. Can you add this code "puts js" to line 376 in track_insert_tool.rb and post the text printed in the console?

                              Julia,

                              see attached screenshots.

                              In the ruby console what you see is left from me running some other plugin - so you can see the console is working. Actually, none of your tools writes anything to the console. You can see I've started the track tool here and nothing shows - except the script error dialog.

                              The other screenshot is showing where I put the "puts.js"

                              Another strange thing - while I was looking for track_insert_tool.rb I noticed there was only an instance of this file in the Program files etc SU 2013 Plugins folder, not in the SU 2014 folder. Is the plugin not compatible with 2014 or am I looking in the wrong place? I looked under ProgramData as well and searched c:\

                              Maybe the install process did not work properly?

                              thanks
                              Jon


                              railroad  7-24-2014 7-00-17 AM.jpg


                              railroad  7-24-2014 7-01-48 AM.jpg

                              1 Reply Last reply Reply Quote 0
                              • eneroth3E Offline
                                eneroth3
                                last edited by

                                Jon,

                                Sorry, I gave you the wrong line number because I've added more code above it in my local copy. The code needs to be on line 393 and without quotes:

                                puts js
                                

                                I've never installed a plugin from the Pluginstore so I don't know if it puts the files in the wrong location, however if it does the plugin shouldn't open at all.

                                It seems like something goes wrong when creating the javascript that is later executed in the web dialog so I'd like to know what code is executed (the variable named js). I really have no idea how this can work in my example model but not in new models. That is really odd.

                                Thanks

                                My website: http://julia-christina-eneroth.se/

                                1 Reply Last reply Reply Quote 0
                                • eneroth3E Offline
                                  eneroth3
                                  last edited by

                                  Dean,

                                  These links are quite inspiring. I've actually drawn 2 structural gauges (European ones) as rolling stocks included in the plugin that can be used to test tracks.

                                  @deaneau said:

                                  all parts was build with original blueprints!!!

                                  Do you know any online resources for original drawings?

                                  My website: http://julia-christina-eneroth.se/

                                  1 Reply Last reply Reply Quote 0
                                  • deaneauD Offline
                                    deaneau
                                    last edited by

                                    @eneroth3 said:

                                    Dean,

                                    These links are quite inspiring. I've actually drawn 2 structural gauges (European ones) as rolling stocks included in the plugin that can be used to test tracks.

                                    Yes i know, however your audience / targed group is bigger.
                                    i think you will that all continents of the world know your plugin.

                                    Trainz is an australian game with routs in AUS,USA,GBR,SWE,GER,FRA,RUS etc.
                                    the Game TS 2014 (2015) have routs in USA GBR,;FRA,CHN and in the next version YPN,too.

                                    yes i know some. however only open blueprints.

                                    you must know that blueprints of the GERMAN ICE is not opensource and normally you must pay a license when you show the ICE in your plugin.

                                    i think the best way is to contact DB Deutsche Bahn and ask.

                                    you must tell, that your project isn´t commercial and you will show kids how i build my railroad in 3d.
                                    AND you and the kids love the ICE. 😉

                                    the same you must write to the british railway etc. this sound in the ears better when you doining somethings with passion and love.

                                    you must know that i was loco driver student and this was very difficult to become any pages in pdf etc.
                                    i would would therefore recommend that you contact any users in the rail-sim.de forum or in the main auran forum.
                                    you can find there a woman ( Sandra-Marion/rail-sim.de). when you need support for a german translation for letters and contact i could help you...however you must do it by your self.
                                    i dont know what you need.

                                    normally the first address for me is the 3d warehouse than safe all side views with measures as pictures and build your loco,airplain,ship or what ever.

                                    some designer for games that give away freeware parts you could contact,too.

                                    here i could help in german language,too.

                                    however some designers could tell you, freeware is not free..you can this use for free in the game, its strictly forbidden to recompile etc.

                                    you must know, that i have 2-3 years to investigate,research for the BerlinWallProject.

                                    i have contacted Soldiers of the EAST GERMAN BORDER PATROLS to become any background knowhow about this.
                                    ok this is and was a very sad political theme/topic.

                                    normally, a Berlin People don´t search contact to the soldiers of the(Grenztruppen ( East German Border Patrol).
                                    my target was, all kids must see and know what is it the Wall, what feeling before and behind the wall etc.

                                    ok i could visuallize a LIMES, however i cant ask a roman soldier about this 😉

                                    i have contacted the producer of the movie Walled-in (Art-Com)

                                    Redirect Notice

                                    favicon

                                    (www.google.de)

                                    every time when i see this movie, it´s like the same under a very cold water shower or rolling icecubes over my back. 😢 😢 😢 😢 😢 and this turn me angry and sad. ooops sorry.

                                    @eneroth3 said:

                                    Do you know any online resources for original drawings?

                                    blueprints for buildings you must visit libraries or museums about architecture.

                                    the mother of all locos "The Rocket" you could find in Nurmberg (Germany) and in England

                                    http://wn.com/rainhill_trials

                                    ok when you have more questions you could ask.

                                    do you know the innotrans in Berlin?

                                    http://www.innotrans.de/

                                    in september 23-26 you can see the newest locos 😄

                                    i will pay a ticket in the next month.
                                    when you will come to berlin with your boyfriend or girlfriend etc. i could ask the owner off my appartment. he have appartmats for visitors, not so expansive like a hotel, i hope. otherwise we have many hotels/hostels and motels. 😄

                                    ok cu

                                    dean

                                    MADE, BORN AND LIVING IN BERLIN
                                    Big Thank You to all Programmers
                                    Some German words are so long that they have a perspective. M.Twain

                                    1 Reply Last reply Reply Quote 0
                                    • deaneauD Offline
                                      deaneau
                                      last edited by

                                      @eneroth3 said:

                                      Jon,

                                      ... I really have no idea how this can work in my example model but not in new models. That is really odd.

                                      Thanks

                                      Christina don´t be shy and ask the big T´s and F´s (TIG/Thomas/Fredo etc.)

                                      if you stay in the rain i would say, all will have a umbrella for you. i mean, nobody would tell you, "that your plugin...help your self"
                                      the first step you must doing your self, politly request help is a good idea. what i say/tell you..this you know by your self. 😄

                                      regards dean

                                      p.s. i´ll hope this will not sound like teacher or a a talk between father and daughter 😉

                                      MADE, BORN AND LIVING IN BERLIN
                                      Big Thank You to all Programmers
                                      Some German words are so long that they have a perspective. M.Twain

                                      1 Reply Last reply Reply Quote 0
                                      • deaneauD Offline
                                        deaneau
                                        last edited by

                                        my slogan is:

                                        @unknownuser said:

                                        To laugh often and much,
                                        to win the respect of intelligent people
                                        and the affection of children,
                                        to earn the appreciation of honest critics
                                        and endure the betrayal of false friends,
                                        to appreciate beauty, to find the best in others,
                                        to leave the world a bit better,
                                        whether by a healthy child,
                                        a garden patch, or a redeemed social condition;
                                        to know even one life has breathed easier because
                                        you have lived.

                                        This is to have succeeded!

                                        MADE, BORN AND LIVING IN BERLIN
                                        Big Thank You to all Programmers
                                        Some German words are so long that they have a perspective. M.Twain

                                        1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          jonb42
                                          last edited by

                                          @eneroth3 said:

                                          Jon,

                                          Sorry, I gave you the wrong line number because I've added more code above it in my local copy. The code needs to be on line 393 and without quotes:

                                          Julia,

                                          I am trying this on my mac laptop now (the last two emails were re my win7 desktop). I am having the same problem and am a little puzzled that no-one else is? I am using SU 2014 and the tool works like a dream when using in your example file - see attached screenshot, ruby coming out ok - but in a new document no activity at all just like in my Win 7 version.

                                          Note I did not attach a screenshot of it not working. You can imagine - nothing whatsoever on the ruby console, the track tool opens the "add track" dialog but both "from scratch" and "from selection" are blank, just like the screenshots I sent before.

                                          I went ahead and added "puts js" correctly ( 😄 you can tell I am no programmer!) into line 393 (which is blank, is that right?):

                                          js << "form.onkeyup = push_changes;"
                                          

                                          puts js
                                          #Show dialog

                                          You can see it here between the lines above/below.

                                          But it didn't help - didn't produce any better / more results.

                                          I've never had an issue with plugin install before. I went preferences > install plugin >chose the .rbz file, said yes I did trust it etc etc.

                                          And of course it works A+ with the example file.

                                          Have you tried a new file from scratch?

                                          JB


                                          Screen Shot 2014-07-24 at 10.21.33 PM.png

                                          1 Reply Last reply Reply Quote 0
                                          • eneroth3E Offline
                                            eneroth3
                                            last edited by

                                            Dean: Unless this specific bug occurs to any of those developers I don't know what they can do about it. I's probably something that is fixed really easily once it's found but it can only be found on a computer it occurs on.

                                            Jon: That's the right place 👍 . Did you activate the add track tool after adding this code?

                                            My website: http://julia-christina-eneroth.se/

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 15
                                            • 16
                                            • 17
                                            • 18
                                            • 19
                                            • 18 / 19
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement