sketchucation logo sketchucation
    • 登入
    ℹ️ 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)

    已排程 已置頂 已鎖定 已移動 Plugins
    364 貼文 43 Posters 80.3k 瀏覽 41 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • D 離線
      driven
      最後由 編輯

      @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 條回覆 最後回覆 回覆 引用 0
      • OxerO 離線
        Oxer
        最後由 編輯

        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 條回覆 最後回覆 回覆 引用 0
        • D 離線
          driven
          最後由 編輯

          @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 條回覆 最後回覆 回覆 引用 0
          • OxerO 離線
            Oxer
            最後由 編輯

            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 條回覆 最後回覆 回覆 引用 0
            • N 離線
              nick9111
              最後由 編輯

              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 條回覆 最後回覆 回覆 引用 0
              • eneroth3E 離線
                eneroth3
                最後由 編輯

                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 條回覆 最後回覆 回覆 引用 0
                • D 離線
                  dacastror
                  最後由 編輯

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

                  😐

                  1 條回覆 最後回覆 回覆 引用 0
                  • eneroth3E 離線
                    eneroth3
                    最後由 編輯

                    @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 條回覆 最後回覆 回覆 引用 0
                    • DesertRavenD 離線
                      DesertRaven
                      最後由 編輯

                      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 條回覆 最後回覆 回覆 引用 0
                      • D 離線
                        driven
                        最後由 編輯

                        @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 條回覆 最後回覆 回覆 引用 0
                        • genma saotomeG 離線
                          genma saotome
                          最後由 編輯

                          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 條回覆 最後回覆 回覆 引用 0
                          • pilouP 離線
                            pilou
                            最後由 編輯

                            @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 條回覆 最後回覆 回覆 引用 0
                            • eneroth3E 離線
                              eneroth3
                              最後由 編輯

                              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 條回覆 最後回覆 回覆 引用 0
                              • F 離線
                                faust07
                                最後由 編輯

                                This is unbelievable! Is this still SketchUp or already The next level? I love to visit this very effective modelling and the implementation of Your own animation system! Thank You that we were allowed to see this! Sorry for my bad english...

                                1 條回覆 最後回覆 回覆 引用 0
                                • McGyverM 離線
                                  McGyver
                                  最後由 編輯

                                  I was just looking at this amazing plugin, I wish I could have had this a couple of years ago when I used to build G scale LGB layouts for people. I would have been great for visualization.
                                  I also just had a look at your site, amazing and brilliant stuff! Especially the castle!... I would also like to thank you for the Texture Positioning tools! Texture Randomizer and Texture Aligner will be huge time savers! Thank you for sharing your work!

                                  [Visit My ShareCG Freebie Gallery](http://www.ShareCG.com/pf/full_uploads.php?pf_user_name)

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • deaneauD 離線
                                    deaneau
                                    最後由 編輯

                                    Hello,
                                    what do you think about to have a streetsystem, based on your railroad plugin?

                                    regards dean


                                    _2014.06.12_07h29m59s_001_00798.jpg

                                    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 條回覆 最後回覆 回覆 引用 0
                                    • pilouP 離線
                                      pilou
                                      最後由 編輯

                                      Or coupled with City Street generator by Thomthom?

                                      http://sketchucation.com/forums/download/file.php?id=28088&t=1

                                      http://sketchucation.com/forums/download/file.php?id=33633

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

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • pilouP 離線
                                        pilou
                                        最後由 編輯

                                        Animation works very fine with LightUp ! 😎
                                        You can orbit, zoom etc around anything during the animation! Terrific! ☀
                                        Just a little question : there is no negative speed? Restart in the other side ? ?
                                        How makes the inverse walk of the train ? (I am very beginner to this! 😳
                                        Button "Reverse" seems stuck ?

                                        http://s6.postimg.org/u33hd7ftd/train.jpg

                                        train1.jpg

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

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • deaneauD 離線
                                          deaneau
                                          最後由 編輯

                                          @unknownuser said:

                                          Or coupled with City Street generator by Thomthom?

                                          Hello Pilou,
                                          i have experimented with Railroad as "Street Designer".
                                          my problem will be crossroads (X 90°,45° etc. and Y like a switch in railroad.

                                          look here

                                          _2014.06.12_10h19m15s_002_00799.jpg_2014.06.12_10h21m49s_003_00800.jpg

                                          Regards 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 條回覆 最後回覆 回覆 引用 0
                                          • pilouP 離線
                                            pilou
                                            最後由 編輯

                                            Generally crossroad are some dangerous for rails' train! 😄

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

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 15
                                            • 16
                                            • 17
                                            • 18
                                            • 19
                                            • 19 / 19
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement