• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[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.
  • P Offline
    pilou
    last edited by 17 Jun 2014, 07:35

    Are you interested by a French translation of the documentation ? πŸ˜„
    If someone don't yet made it! πŸ˜’
    Started πŸ˜„
    http://railroadsystem.weebly.com/

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

    1 Reply Last reply Reply Quote 0
    • E Offline
      eneroth3
      last edited by 17 Jun 2014, 10:29

      @deaneau said:

      @eneroth3 said:

      deaneau: Instead of manually modelling the fence you could add it as a track type and be able to use it in all sorts of curves without ever having to remodel it! The plugin adds parametric behavior for just this.

      oh realy? could you guide me with a movie?
      that will be interesting for other ,too.

      thank you Dean

      It's all in the documentation. So far placing objects along the track is written in the Tie/Sleeper section but it's done in the same way even no matter what kind of objects there are. Also the existing tracks are great to understand how track types work. The truss bridge in particular shows how to place objects along the track.

      @unknownuser said:

      Are you interested by a French translation of the documentation ? πŸ˜„
      If someone don't yet made it! πŸ˜’
      Started πŸ˜„
      http://railroadsystem.weebly.com/

      So far the plugin is under quite heavy development and the docs are changing. For instance I might rewrite the Tie/Sleepers section to make it more clear that it can be used to place any objects along the track. Perhaps it's better to wait with the translation until the plugin doesn't change as much.

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

      1 Reply Last reply Reply Quote 0
      • P Offline
        pilou
        last edited by 17 Jun 2014, 12:08

        No problem, i can change anything at any time! πŸ˜„

        And the advantage for me of this actual translation is that I learn it in the same time! πŸ˜‰

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

        1 Reply Last reply Reply Quote 0
        • E Offline
          eneroth3
          last edited by 17 Jun 2014, 12:46

          @unknownuser said:

          No problem, i can change anything at any time! πŸ˜„

          And the advantage for me of this actual translation is that I learn it in the same time! πŸ˜‰

          Then it sounds like a good idea πŸ‘ πŸ‘

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

          1 Reply Last reply Reply Quote 0
          • O Offline
            Oxer
            last edited by 17 Jun 2014, 13:01

            I have translated the plugin to Spanish Language but I'll wait to the final version to translate the documentation.
            Eneroth, has you had time to investigate the problem with the ""Add Rolling Stock" window on Mac?

            "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
            • P Offline
              pilou
              last edited by 17 Jun 2014, 15:40

              About the translation of the plugin itself, does exist a system multi language?

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

              1 Reply Last reply Reply Quote 0
              • E Offline
                eneroth3
                last edited by 17 Jun 2014, 16:04

                @oxer said:

                I have translated the plugin to Spanish Language but I'll wait to the final version to translate the documentation.
                Eneroth, has you had time to investigate the problem with the ""Add Rolling Stock" window on Mac?

                I've looked into the web dialog and tested it with the desktop version of Safari for windows. The problem with the unresponsive library was due to Safari's way of interpreting z-index (I used it to make the tabs appear on top of the content but now I've applied the z-index to the tabs instead). The problem with the Create guide was that Safari thought of line breaks as elements and changed their properties instead of the images/text when trying to show a specific step.

                Hopefully this will work in Sketchup too πŸ‘

                @unknownuser said:

                About the translation of the plugin itself, does exist a system multi language?

                There is a system made by the Sketchup team to put all text strings in separate files that can be loaded in different languages. However since it's a Sketchup API feature I can't find any documentation for it. I guess I could look through some other plugins to better understand it but I think it still would be difficult to dynamically add these text strings to web dialogs.

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

                1 Reply Last reply Reply Quote 0
                • D Offline
                  deaneau
                  last edited by 17 Jun 2014, 18:04

                  lightup for sketchup have a language handler . however lightup is in a separat folder named Tools.

                  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 17 Jun 2014, 18:09

                    Version 0.1.11 is now published! Hopefully it should work better on Mac now (feedback greatly appreciated as usual!!) and some updates have been made to make streets work better.

                    Plugin download: http://sketchucation.com/pluginstore?pln=ene_railroad

                    An example of streets and intersections, and some videos showing how to alter them, is posted on the previous page.

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

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      eneroth3
                      last edited by 17 Jun 2014, 21:29

                      Any feedback how the new version works on Mac?

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

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        pilou
                        last edited by 17 Jun 2014, 22:57

                        What append of the previous version?
                        We must kill it ? Or the new version overwrite the previous automatically ?

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

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          Aerilius
                          last edited by 18 Jun 2014, 08:29

                          The LanguageHandler has been published too early with an unfinished design and without considering the feedback that ruby developers gave. Since it's now part of the API, I'm not sure if there will ever be changes. It might certainly be "just enough" for new plugins, but it was too limited to make older plugins use it in place of our own translation libraries and many other plugins have also not switched to this new API.

                          If you are curious how one can translate a webdialog with one single method call, take a look into my Translate.rb (like in AttributeInspector or ToolbarEditor).

                          1 Reply Last reply Reply Quote 0
                          • E Offline
                            eneroth3
                            last edited by 18 Jun 2014, 11:29

                            @unknownuser said:

                            What append of the previous version?
                            We must kill it ? Or the new version overwrite the previous automatically ?

                            You should be able to just install it over the old version. However you may need to restart Sketchup. Otherwise you could first delete the old version's files but then make sure you haven't made any custom track types or rolling stocks you want to keep.

                            @aerilius said:

                            The LanguageHandler has been published too early with an unfinished design and without considering the feedback that ruby developers gave. Since it's now part of the API, I'm not sure if there will ever be changes. It might certainly be "just enough" for new plugins, but it was too limited to make older plugins use it in place of our own translation libraries and many other plugins have also not switched to this new API.

                            If you are curious how one can translate a webdialog with one single method call, take a look into my Translate.rb (like in AttributeInspector or ToolbarEditor).

                            That's too bad πŸ˜• . I'll look into your code but I'm not sure what I'll eventually do. Even if all text in the plugin itself is translated titles and description of track types and other content will be in just one language, unless I ask the user for one string in each language.

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

                            1 Reply Last reply Reply Quote 0
                            • P Offline
                              pilou
                              last edited by 18 Jun 2014, 15:22

                              For languages to translate a cool easy thing is put a "*" before the first word of the original!
                              So with an text editor it's very easy to got to this * then translate! β˜€

                              Beacause for a no Rby maker it's very hard to go to the good place! 😳

                              @unknownuser said:

                              You should be able to just install it over the old version

                              No few old folders/files/ will persist if they have not the same names ?

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

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                Aerilius
                                last edited by 18 Jun 2014, 16:25

                                Pilou, it's right that for non-ruby makers it is difficult to find the right place. The same is true even for ruby developers!!!
                                Marking strings with a '*' only works around the source of the problem. You would have to do the same edits again everytime when an update is released. If we want to support more options/languages/etc., we can separate code and data into different files.

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  pilou
                                  last edited by 18 Jun 2014, 16:30

                                  Yes that is the ideal solution!
                                  But at this date if I want translate the plugin i don't see more simple and speedy way before creation of a new system! πŸ˜„
                                  Of course that oblige the auteur to lost some time to put the "*" πŸ˜‰

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

                                  1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    eneroth3
                                    last edited by 18 Jun 2014, 21:57

                                    The work of manually translating would be lost in some week or so. Unless the text strings are separated from the code there's not really any idea doing it. However I'm not really sure of what to do since user created content (including track types shipped with the extension) would just be in the user's language unless the user translates it themselves to all languages.

                                    Randomly mixed languages is just annoying and one of the reasons I really hate it when websites and softwares tries to make Swedish translations.

                                    However, if anyone is really keen to translate you could make a spreadsheet (like in excel) with the original string and translation next to each other. πŸ˜„

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

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      pilou
                                      last edited by 18 Jun 2014, 22:28

                                      @unknownuser said:

                                      original string and translation next to each other.

                                      Of course yes, but without the "*" it's a nightmare for a totally noob of Ruby for pick exactly that is must be translated or not! πŸ˜‰

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

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        mwm5053
                                        last edited by 19 Jun 2014, 00:06

                                        Hi Eneroth3 not getting any thing in dialogue box. I'm on Mac with Safari 7.0.4 and SU 2014 everything up to date.


                                        Screen Shot 2014-06-18 at 5.57.18 PM.png

                                        2011 iMac
                                        SU 2015 Pro, 2017 Make
                                        V2 Twilight
                                        macOS Sierra 10.12.5

                                        1 Reply Last reply Reply Quote 0
                                        • E Offline
                                          eneroth3
                                          last edited by 19 Jun 2014, 07:58

                                          @mwm5053 said:

                                          Hi Eneroth3 not getting any thing in dialogue box. I'm on Mac with Safari 7.0.4 and SU 2014 everything up to date.

                                          Hi

                                          Is it the same for all dialogs or just this one?

                                          Thanks!

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

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

                                          Advertisement