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.
    • Rich O BrienR Online
      Rich O Brien Moderator
      last edited by

      Added to PluginStore

      Download the free D'oh Book for SketchUp πŸ“–

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

        @rich o brien said:

        Added to PluginStore

        πŸ‘

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

        1 Reply Last reply Reply Quote 0
        • L Offline
          Lz
          last edited by

          Very impressive. It's a shame that it doesn't seem to work on my SU 8 (i'm using WinXP btw). But i'm planning on upgrading anyway so i might take another look sometime in the future.

          either way, if you need help adding new rolling stock/locomotives for future versions, please let me know and i'll gladly try to help out with some models. German locomotives are one of my favorites too.

          1 Reply Last reply Reply Quote 0
          • OxerO Offline
            Oxer
            last edited by

            I tried to install on Mac 10.9.3 &SU2014 but it appears Load Error

            %(#BF0000)[Error al cargar archivo ene_railroad.rb
            Error: #<TypeError: wrong argument type nil (expected Regexp)>
            /Users/Oxer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/ene_railroad.rb:202:in `gsub'
            /Users/Oxer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/ene_railroad.rb:202:in `module:Ene_Railroad'
            /Users/Oxer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/ene_railroad.rb:200:in `<top (required)>']

            "The result is the end what is important is the process" by Oxer
            [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

            1 Reply Last reply Reply Quote 0
            • ElibjrE Offline
              Elibjr
              last edited by

              Wow! There is no word to describe how amazing this plugin is! There is a LOT of work here! Like someone said before,I would love to see this in conjunction with the "Enderoth Roadway System" with moving cars! πŸ˜„ This could then be the basis for a 'City Engine' like interface to generating a full city infrastructure system! Create a SketchUp parametric building modeler and you can develop set for model trains, virtual cities for the big screen and Real world studies for municipalities. Then export the whole thing component by component to a 3d printer and have a physical model to take to a municipal presentation for zoning! πŸ˜‰ This, my dear, is a real Sketchup game changer! Thank you for all the hours you spent on this! This should be voted as plugin on the month! Awesome! Sketchup: "The Next Big Thing". Can't wait to have fun with it! πŸ‘

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

                @lz said:

                Very impressive. It's a shame that it doesn't seem to work on my SU 8 (i'm using WinXP btw). But i'm planning on upgrading anyway so i might take another look sometime in the future.

                either way, if you need help adding new rolling stock/locomotives for future versions, please let me know and i'll gladly try to help out with some models. German locomotives are one of my favorites too.

                There seems to be some bug with the observers in older SU versions 😞 . However you can try it in Sketchup 2013. I've tried to make it as easy as possible to initialize own rolling stocks and it would be really fun if you and other people made your own and sharde πŸ˜„ . At the moment there's some strange bug when saving a rolling stock to the library so after doing so it's best to restart SU to avoid it from crashing later.

                @oxer said:

                I tried to install on Mac 10.9.3 &SU2014 but it appears Load Error

                %(#BF0000)[Error al cargar archivo ene_railroad.rb
                Error: #<TypeError: wrong argument type nil (expected Regexp)>
                /Users/Oxer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/ene_railroad.rb:202:in `gsub'
                /Users/Oxer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/ene_railroad.rb:202:in `module:Ene_Railroad'
                /Users/Oxer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/ene_railroad.rb:200:in `<top (required)>']

                Oh 😲 , I thought it would break on web dialogs and possibly multiple document interface. I'll look into this error.

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

                1 Reply Last reply Reply Quote 0
                • OxerO Offline
                  Oxer
                  last edited by

                  Thansk for the reply!!
                  This is a incredible plugin πŸ‘ , I would like play with it on Mac, waiting your fix. πŸ˜’

                  "The result is the end what is important is the process" by Oxer
                  [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    driven
                    last edited by

                    @eneroth3 said:

                    ...
                    Oh :shock: , I thought it would break on web dialogs and possibly multiple document interface. I'll look into this error.

                    on mac

                    File::ALT_SEPARATOR
                    nil

                    so it runs with PLUGIN_ROOT = File.dirname(__FILE__) unless defined?(self::PLUGIN_ROOT)

                    WebDialog needs a show_modal conditional for mac...

                    seems to work...

                    john

                    also, to see the docs...
                    menu.add_item("Documentation") { UI.openURL('file://' + (File.join(PLUGIN_ROOT, "ene_railroad", "docs", "home.html"))) }

                    PS. the track builds the trains run, speed works... very cool...

                    I'll have a closer look at the code on the weekend...

                    One question, why do you get/need the screen/window position/size?

                    learn from the mistakes of others, you may not live long enough to make them all yourself...

                    1 Reply Last reply Reply Quote 0
                    • OxerO Offline
                      Oxer
                      last edited by

                      Hi driven, I have changed the PLUGIN_ROOT in ene_railroad.rb and in the line for Documentation Menu (main.rb) and it works on Mac now. πŸ‘
                      I tested some features, not all, and for the moment they work but there are problems with the Add Rolling Stock window:

                      1. Library Tab --->You can't do scroll in the window, you don't type in the Filter input field and the default Stock is selected and fixed, you can't select another stock.

                      Library Tab
                      2. Create Tab --> The images of the steps don't appear and in the first step when you select a model to create the Rolling Stock the window goes to background.

                      Create Tab

                      "The result is the end what is important is the process" by Oxer
                      [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        driven
                        last edited by

                        @oxer,

                        a temporary fix for the disappearing dialogs is to change all dialog.show to dialog.show_modal, I think there's 11 including the @dialog ones, I just used 'Text Wrangler' find and replace on the whole folder...

                        I'll have a look at the html and js tonight

                        john

                        learn from the mistakes of others, you may not live long enough to make them all yourself...

                        1 Reply Last reply Reply Quote 0
                        • OxerO Offline
                          Oxer
                          last edited by

                          Thanks driven for your help!!
                          I'll try that.

                          "The result is the end what is important is the process" by Oxer
                          [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                          1 Reply Last reply Reply Quote 0
                          • N Offline
                            nick9111
                            last edited by

                            I like to make different transportation zone models and I will play a lot with this plugin! If there will be a road and cars version it could just make me happy πŸ˜›

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

                              I have a quite big project in school right now so that's why I haven't been able to look into these bugs yet. I think I'll be more active here in a few dayss

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

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                dacastror
                                last edited by

                                I have the following error
                                error.jpg
                                I use windows 7 and tried this plugin in sketchup 8 and sketchup 2014

                                😐

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

                                  @driven said:

                                  @oxer,

                                  a temporary fix for the disappearing dialogs is to change all dialog.show to dialog.show_modal, I think there's 11 including the @dialog ones, I just used 'Text Wrangler' find and replace on the whole folder...

                                  I'll have a look at the html and js tonight

                                  john

                                  I'm working on fixing these bugs now. Was the unresponsive rolling stock library fixed by making the dialogs modal or is that a different error?

                                  @dacastror said:

                                  I have the following error
                                  [attachment=0:2f896uym]<!-- ia0 -->error.jpg<!-- ia0 -->[/attachment:2f896uym]
                                  I use windows 7 and tried this plugin in sketchup 8 and sketchup 2014

                                  😐

                                  The plugin is not supposed to work in SU 8 but should in 2014. I cannot reproduce this error πŸ˜• .

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

                                  1 Reply Last reply Reply Quote 0
                                  • DesertRavenD Offline
                                    DesertRaven
                                    last edited by

                                    Hi Eneroth, congratulations to to your plug in, this is amazing work. I also am a big fan of your other plug-ins for SU, they are Dynamite!.

                                    On a different note, do you know the Unity 3D gaming engine? I was wondering if you can write this plug in for the unity engine? I'd be interested in a script to run a train on a pre-defined track. Since this is looking pretty good on SU I'm sure a step up to Unity would be the sh.t.

                                    Anyway, great work!

                                    simplicity is the ultimate sophistication

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      driven
                                      last edited by

                                      @eneroth3 said:

                                      the unresponsive rolling stock library fixed by making the dialogs modal or is that a different error?

                                      No, it's something to do with your 'selected' item never releasing focus to other selections...

                                      I had a quick look, but because your using a table, there wasn't an instant fix...

                                      I'll have another look and see if I can help with any further info,,,

                                      john

                                      I can't find what is generating this error???

                                      learn from the mistakes of others, you may not live long enough to make them all yourself...

                                      1 Reply Last reply Reply Quote 0
                                      • genma saotomeG Offline
                                        genma saotome
                                        last edited by

                                        You folks surprise me... there are several very popular Railroad simulators available these days (AFAIK all for the PC) and all of them enjoy large numbers of people doing 3d CAD models.

                                        There is one Simulator in particular where Sketchup models are very common: MSTS/Open Rails. MSTS was a 2001 product from Microsoft; Open Rails is an Open Source replacement that reads all of the MSTS file formats but uses current hardware/software. I operate in this market as both a content producer and a forum host (http://www.elvastower.com -- guests can view almost everything w/o having to register).

                                        Here's are a couple of examples of my own Sketchup models in one of these sims: http://imageshack.com/a/img607/1407/65ry.jpg , http://imageshack.com/a/img31/1582/p2ii.jpg , http://imageshack.com/a/img841/8291/op1s.jpg .

                                        Sketchup does not do animation and so other CAD tools come into play, such as here: http://imageshack.com/a/img845/7695/xgss.png

                                        As you can see from the images, Rail sims are also world sims; My own projects represent a portion of Downtown Chicago ca. 1950 and a 120 mile span between Oakland and Sacramento CA, also .ca 1950. Some folks, like myself, go for the whole picture... others just do models... most of us also run the simulators.

                                        Railroad simulators are a tiny, tiny fraction of the expense of physical model railroading as a whole lot of content is free.

                                        If anyone is interesting in finding out more, drop me a PM and I'll try and answer your questions.

                                        1 Reply Last reply Reply Quote 0
                                        • pilouP Offline
                                          pilou
                                          last edited by

                                          @unknownuser said:

                                          Sketchup does not do animation

                                          Seems Eneroth Railroad System make it! πŸ˜‰

                                          Or even Lightup πŸ˜‰ Minute 0.50

                                          Frenchy Pilou
                                          Is beautiful that please without concept!
                                          My Little site :)

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

                                            I've added my first British locomotive to the plugin!

                                            scostman.png

                                            I tried to record myself drawing the flying Scotsman and add it to my railroad plugin, not really as a complete tutorial that explains everything in detail but more as inspiration and to get the general idea of how you make the moving parts etc. However it accidentally got almost 4 hours long so I doubt anyone will ever watch it xD

                                            Adding it to the the rolling stock library and making stuff like moving parts and dynamic text work starts at 2:48:04 in case you'd like to go directly to that:P .

                                            In the Insert Rolling Stock dialog you can press a button to open the folder rolling stocks are saved to, unzip the attached zip there and reopen the dialog to make the locomotive appear in the list.

                                            Feel free to make some of the trains you like and share them here πŸ˜„


                                            Flying Scotsman for Eneroth Railroad System

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

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 18
                                            • 19
                                            • 2 / 19
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement