• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] Eneroth Railroad System (v 0.1.21)

Scheduled Pinned Locked Moved Plugins
364 Posts 43 Posters 80.2k Views
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.
  • E Offline
    eneroth3
    last edited by 24 Jul 2014, 19:47

    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
    • D Offline
      deaneau
      last edited by 25 Jul 2014, 04:48

      @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

      Link Preview Image
      Rainhill Trials

      Rainhill Trials on WN Network delivers the latest Videos and Editable pages for News & Events, including Entertainment, Music, Sports, Science and more, Sign up and share your playlists.

      favicon

      World News (wn.com)

      ok when you have more questions you could ask.

      do you know the innotrans in Berlin?

      Link Preview Image
      Startseite - InnoTrans

      InnoTrans, internationale Fachmesse für Verkehrstechnik. Die InnoTrans bietet die Plattform für nationale und internationale Anbieter und Nachfrager des Personen- und Güterverkehrs.

      favicon

      (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
      • D Offline
        deaneau
        last edited by 25 Jul 2014, 05:33

        @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
        • D Offline
          deaneau
          last edited by 25 Jul 2014, 06:00

          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 25 Jul 2014, 06:52

            @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
            • E Offline
              eneroth3
              last edited by 25 Jul 2014, 10:01

              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
              • E Offline
                eneroth3
                last edited by 25 Jul 2014, 15:10

                Dean: My names are both Julia and Christina but most people say Christina. And I don't understand what that image has to do with anything.

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

                1 Reply Last reply Reply Quote 0
                • D Offline
                  deaneau
                  last edited by 25 Jul 2014, 18:42

                  @eneroth3 said:

                  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.

                  yes thats right.

                  ok what is now your right given name? julia,christina or julia-christina, or J.C. (jeysee).

                  <joke>ok in the month of july we say julia and in the wintertime (near x-mas we say chris..tina and all other month we say ene? 😉</joke>

                  nice WE

                  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 25 Jul 2014, 22:31

                    @eneroth3 said:

                    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?

                    On my macbook last night adding the "puts js" did absolutely nothing, as I mentioned in my last post.

                    The plugin did work on my macbook when I used it with your example file, so it seems to be acting in the same way as the Window version.


                    Now today I just tried adding the "puts js" on line 393 on my Win 7 computer and did get something to show on the console, see attached image.

                    • Jon

                    puts js ruby console 7-25-2014 2-22-09 PM.jpg

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      deaneau
                      last edited by 26 Jul 2014, 00:56

                      @jonb42 said:


                      Now today I just tried adding the "puts js" on line 393 on my Win 7 computer and did get something to show on the console, see attached image.

                      • Jon

                      do you use the same sketchup version and the same plugin version WIN/MAC?

                      the most developer use notepad++ for pc.

                      you can activate the compare plugin and compare the window and the mac version.

                      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
                      • D Offline
                        deaneau
                        last edited by 26 Jul 2014, 01:12

                        @jonb42 said:


                        Now today I just tried adding the "puts js" on line 393 on my Win 7 computer and did get something to show on the console, see attached image.

                        • Jon

                        do you use the same sketchup version and the same plugin version WIN/MAC?

                        the most developer use notepad++ for pc.

                        you can activate the compare plugin and compare the window and the mac version.

                        im not sure could be that the mac version need some lines different code, to solve the problem.

                        if Christina send you a small bugfix for your mac, this will not mean, that you bugfix the pc version.

                        i recommend that you deinstall the pc version and install the newest again.

                        if this doesn´t solve your problem, deactivate all plugins and let activated the railroad plugin. look what happend.

                        when you have no errors, switch on the plugins step by step (dont forget to restart sketchup.

                        here i have no problems with dialogue-windows.

                        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
                        • E Offline
                          eneroth3
                          last edited by 26 Jul 2014, 07:49

                          @jonb42 said:

                          @eneroth3 said:

                          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?

                          On my macbook last night adding the "puts js" did absolutely nothing, as I mentioned in my last post.

                          The plugin did work on my macbook when I used it with your example file, so it seems to be acting in the same way as the Window version.


                          Now today I just tried adding the "puts js" on line 393 on my Win 7 computer and did get something to show on the console, see attached image.

                          • Jon

                          This is exactly what I need 😄 . Something in the javascript code in the console goes wrong at character 597 and it depends on the model file being open. I'll look in to it right away.

                          Thanks!!

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

                          1 Reply Last reply Reply Quote 0
                          • E Offline
                            eneroth3
                            last edited by 26 Jul 2014, 08:05

                            I think I've found it. When the plugin tries to write the currently used parallel distance (4,5 m written in whatever unit Sketchup is set to) to the input field. The code cannot be executed if it contains a ' sign since that's also used as quotes to define where the string starts and ends.

                            To the computer it becomes "this " is a quote" and it doesn't know how to read it. This also explains why my file works since it uses metric units that doesn't have the ' sign in them.

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

                            1 Reply Last reply Reply Quote 0
                            • E Offline
                              eneroth3
                              last edited by 26 Jul 2014, 08:24

                              Found a fix!

                              If you replace

                              js << "document.getElementById('center_distance').value='#{@@center_distance.to_s}';"
                              

                              with

                              js << "document.getElementById('center_distance').value=#{@@center_distance.to_s.inspect};"
                              

                              it should work. Also you don't need to do any of the things Dean said.

                              Thanks for the help finding this 😄 😄 !

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

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                deaneau
                                last edited by 26 Jul 2014, 10:47

                                @eneroth3 said:

                                Found a fix!

                                If you replace

                                js << "document.getElementById('center_distance').value='#{@@center_distance.to_s}';"
                                

                                with

                                js << "document.getElementById('center_distance').value=#{@@center_distance.to_s.inspect};"
                                

                                it should work. Also you don't need to do any of the things Dean said.

                                Thanks for the help finding this 😄 😄 !

                                cool,

                                what i have written is for me the last option. temporair backup is sometimes helpful for me.

                                Thematic balise and animated components (in your plugin).

                                you have written in the Manual that i can insert code. can do this only a programer and what can the balise really.

                                ok on your tabletop (your own homepage)a train can change color, speed etc.

                                can a balise conected to a signal and a magnet? if i look at your tabletop i cant find the balise.

                                balise will be visible.

                                look here

                                Link Preview Image
                                Punktförmige Zugbeeinflussung - Wikipedia

                                favicon

                                (en.wikipedia.org)

                                Link Preview Image
                                European Train Control System - Wikipedia

                                favicon

                                (en.wikipedia.org)

                                dont read that all look at the pictures

                                in the german version of Indusi you can find some pictures more.

                                ( Fahrzeugausrüstung ) and ( Streckenausrüstung )

                                actually i have not blueprints about balises to build this exactly in sketchup.

                                i can only use photos and a measure to find out how big is the object circa.

                                ok i dont want simulate a 100% railway situation however in renderings and movies this looks better if i see that the signal switch back to RED/YELLOW/GREEN/WHITE/BLUE etc.

                                a balise can change the color of the loco, or the headlight can switch to backlight etc, this could be possible for signals, too.

                                here a singnal book for the SJ (swensk)and here

                                http://www.transportstyrelsen.se/Global/Regler/Jarnvag/JTF/Bilaga%203_H%20Signaler%20system%20H_rattad%20version.pdf?epslanguage=sv

                                and
                                a signal book for DB (tysk)

                                http://fahrweg.dbnetze.com/file/3179912/data/rw_301_bekanntgabe_5.pdf

                                in germany we have 3 different signalsystems

                                HP HL KS

                                HP origin western germany DB (Deutsche Bundesbahn old)

                                HL eastern germany Deutsche Reichsbahn (DDR-GDR)

                                KS is the newest system for DB Deutsche Bahn AG

                                Semaphores will be possible in East and West.

                                A german Locodriver must know all signals in this signal book.

                                and a loco driver student must know the text,the names of the signals and the meaning like an actors the script for the movie.
                                this is a hard work for the old man like me.

                                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 Reply Last reply Reply Quote 0
                                • E Offline
                                  eneroth3
                                  last edited by 26 Jul 2014, 11:23

                                  Dean,

                                  I have no idea what you got the things about bug fixes not working on different platforms, comparing files, uninstall, deactivate plugins and all that from. Everything indicated it was the same bug on both platform and I've found a fix for it that should work unless there are more separate bugs in the code.

                                  The balise is for now only a technical feature for running code and has nothing to do with the physical model. I chose that name because it best described something on the track that makes something happen when some train runs by it. I've thought about extending this feature to include something that is drawn to the model, either a signal or an actual balise, but that's for the future. In that case I also rename the feature "Balise/Signal" or something similar and it will still be possible to not show it at all because it doesn't make sense to have a balise on the track or a signal next to it that paints trains.

                                  The documentation has lots of examples that can be used in balises without being a programmer. Just copy and paste it. You can also read the balise code in the example model by double clicking on a balise with the balise tool open.

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

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    deaneau
                                    last edited by 26 Jul 2014, 17:47

                                    here a nice feature, for the real model railroad.

                                    Link Preview Image
                                    404 Not Found

                                    Page description

                                    favicon

                                    (www.roco.cc)

                                    german language (roco(R) is a austrian producer, a picture/movie tell more than 1000 word.

                                    why i insert here a Model Railroad Movie?

                                    ENEroth-RR could be a planning software/plugin for kids to planing the own Tabletop.

                                    is only a idea.

                                    EDIT:
                                    at the top of the page you can switch to your language

                                    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
                                    • E Offline
                                      eneroth3
                                      last edited by 27 Jul 2014, 08:08

                                      Since there isn't a word for an invisible, non-physical point that can make just about anything happen when a train passes it I chose the word that best describes it. I could have called it Invisible-wisard-that-can-only-stand-on-a-track-and-do-magic-once-hit-by-a-train but it makes less sense to the user. Since the feature was/is primarily used to control train speed I think the name suits it.

                                      My dad is a model railroader. Mostly Märklin H0 and Z.

                                      I've thought about implementing some sort of track library with different pre-defined tracks, e.g. for model railroads but there are other features that have higher priority now.

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

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jonb42
                                        last edited by 27 Jul 2014, 08:33

                                        @eneroth3 said:

                                        Found a fix!

                                        If you replace

                                        js << "document.getElementById('center_distance').value='#{@@center_distance.to_s}';"
                                        

                                        with

                                        js << "document.getElementById('center_distance').value=#{@@center_distance.to_s.inspect};"
                                        

                                        it should work. Also you don't need to do any of the things Dean said.

                                        Thanks for the help finding this 😄 😄 !

                                        It works!

                                        A look of blank amazement crossed Sophie's face when the track appeared right beside her... (see screenshot)

                                        Thanks again for the great plugin! I also enjoyed touring your castle.

                                        And yes, I held off on the install / uninstall process 😄

                                        • Jon

                                        Screen Shot 2014-07-27 at 12.23.04 AM.png

                                        1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          jonb42
                                          last edited by 27 Jul 2014, 08:55

                                          Speaking of model railways I'd appreciate the option to choose scale when placing track / stock. Model railways are for the most part scale models and therefore you shouldn't have to do anything that different for them except scale... At least for me:)

                                          In specific I used to have model trains mostly of the Hornby 00 scale which is 1:76 according to Wikipedia though I also had a small set of 000 (1:152) and some O (1:43.5). For the animation I want to do I'd like to use something close to the 0 scale.

                                          Simple enough to scale it myself after creation of course however easier to route track through an existing model if it is already a scale that makes sense therein.

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

                                          Advertisement