• 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 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.
  • E Offline
    eneroth3
    last edited by 4 Jul 2014, 09:55

    I'm working on making the documentation for custom track types easier to understand with images explaining how to draw extrusion profiles and such. However I ran into an issue at the naming convention of tracks. Tunnels' and bridges' name should start with "Tunnel" or "Bridge" to make them easier to find in the alphabetic track type list. However I don't know what label I should use for ground level tracks. Any ideas? Something telling it's ground level or normal or without additional structures expect for the track bed. I think there are some real train geeks in the thread 😄 .

    Also I'm adding a copyright note in the documentation saying it's not allowed to be modified, including, translated without my permission. Pilou's awful piece of crap-shit so called "translation"-rubbish-poop will need to be taken down from the Internet because it's a copyright infringement and breaks international copyright law.

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

    1 Reply Last reply Reply Quote 0
    • P Offline
      pilou
      last edited by 4 Jul 2014, 10:08

      You have a simple thing to do! 😄
      Find someone who speaks French around you and ask him to see the REMOVED LINK or French Interface!

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

      1 Reply Last reply Reply Quote 0
      • R Online
        Rich O Brien Moderator
        last edited by 4 Jul 2014, 10:26

        [mod=Rich:2sw92a24]Links removed from posts.

        Maybe resolving privately might help[/mod:2sw92a24]

        Download the free D'oh Book for SketchUp 📖

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

          @rich o brien said:

          Links removed from posts.

          Maybe resolving privately might help[/mod]

          hi rich

          what links you have removed?

          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
          • M Offline
            massimo Moderator
            last edited by 4 Jul 2014, 10:45

            +1 on Rich's statement.
            This is enough and it's becoming extremely annoying and boring...
            I don't think that Pilou needs a lawyer, but still I do not understand and justify this obstinacy and this insulting language against him.

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

              double post

              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 4 Jul 2014, 11:58

                @eneroth3 said:

                I'm working on making the documentation for custom track types easier to understand with images explaining how to draw extrusion profiles and such. However I ran into an issue at the naming convention of tracks. Tunnels' and bridges' name should start with "Tunnel" or "Bridge" to make them easier to find in the alphabetic track type list. However I don't know what label I should use for ground level tracks. Any ideas? Something telling it's ground level or normal or without additional structures expect for the track bed. I think there are some real train geeks in the thread 😄 .

                Also I'm adding a copyright note in the documentation saying it's not allowed to be modified, including, translated without my permission. Pilou's awful piece of crap-shit so called "translation"-rubbish-poop will need to be taken down from the Internet because it's a copyright infringement and breaks international copyright law.

                ground level tracks= street track (like for tram) or Tram Track
                Tracks with cantenary etc.
                Edit:
                tracks without ballast.
                you can work with code numbers too. 3 or 4 digits

                numbers will be used by all languages.

                ene_1000_001_00 default with wooden sleepers
                ene_1000_002_00 default with concrete sleepers
                ene_1000_002_01 default with concrete sleepers and catenary

                track with buildings like plateform
                loading ramp

                ene_se_1000_002_01 sweden default with concrete sleepers and catenary
                ene_es_1000_002_01 spain default with concrete sleepers and catenary
                ...

                1000=default track
                1001= Tramtrack
                1003= bridge
                1004=tunnel

                ...

                streets begin with 1

                2000
                2001

                runway 2

                3000
                3001

                waterway 3

                4000
                4001

                combinations

                track and street

                5000

                track and runway

                6000

                track and waterway

                7000

                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
                • R Online
                  Rich O Brien Moderator
                  last edited by 4 Jul 2014, 20:05

                  @pilou

                  No issue with your links

                  But try resolve this privately if possible.

                  It is not a healthy public discussion and largely a misunderstanding.

                  Download the free D'oh Book for SketchUp 📖

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pilou
                    last edited by 4 Jul 2014, 20:45

                    So...post send to the author...

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

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      deaneau
                      last edited by 4 Jul 2014, 21:06

                      @unknownuser said:

                      Return to the forum I read some injurious words and...

                      could you quote this words?... nobody will insult you.

                      is it possible that you´re in a huff or you will be easily offended?

                      really: nobody will insult you.
                      more i can´t say to your problem.

                      let us go back to the topic ... i don´t want go offtopic

                      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 4 Jul 2014, 21:21

                        @deaneau said:

                        ground level tracks= street track (like for tram) or Tram Track
                        Tracks with cantenary etc.
                        Edit:
                        tracks without ballast.
                        you can work with code numbers too. 3 or 4 digits

                        numbers will be used by all languages.

                        ene_1000_001_00 default with wooden sleepers
                        ene_1000_002_00 default with concrete sleepers
                        ene_1000_002_01 default with concrete sleepers and catenary

                        track with buildings like plateform
                        loading ramp

                        ene_se_1000_002_01 sweden default with concrete sleepers and catenary
                        ene_es_1000_002_01 spain default with concrete sleepers and catenary
                        ...

                        1000=default track
                        1001= Tramtrack
                        1003= bridge
                        1004=tunnel

                        ...

                        streets begin with 1

                        2000
                        2001

                        runway 2

                        3000
                        3001

                        waterway 3

                        4000
                        4001

                        combinations

                        track and street

                        5000

                        track and runway

                        6000

                        track and waterway

                        7000

                        Technically that would work and a friend and I used a similar system to store metadata in file names for an early web project before we new about databases. However it would in the end mean the same thing as choosing these values (tunnel, bridge etc) from dropdown lists in the same form as name and description are written and store it in the same file.

                        The problem is that the user must be able to add own information that could be just about anything. A track can be made of dancing sharks or purple mushrooms with pink stripes or whatever and I can't make a list of all words and phrases that could theoretically occur. Those examples are quite extreme but what if a user wants to add Lego style tracks, or Märklin M tracks? I don't want to limit users to just make what I originally thought of with something as arbitrary as the user interface when it's actually supported by the rest of the code. If I had added such a limitation from the start there probably wouldn't even be roads now.

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

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          deaneau
                          last edited by 4 Jul 2014, 21:54

                          @eneroth3 said:

                          Technically that would work and a friend and I used a similar system to store metadata in file names for an early web project before we new about databases. However it would in the end mean the same thing as choosing these values (tunnel, bridge etc) from dropdown lists in the same form as name and description are written and store it in the same file.

                          The problem is that the user must be able to add own information that could be just about anything. A track can be made of dancing sharks or purple mushrooms with pink stripes or whatever and I can't make a list of all words and phrases that could theoretically occur. Those examples are quite extreme but what if a user wants to add Lego style tracks, or Märklin M tracks? I don't want to limit users to just make what I originally thought of with something as arbitrary as the user interface when it's actually supported by the rest of the code. If I had added such a limitation from the start there probably wouldn't even be roads now.

                          yes i understand your problem.. than i would say... description if possible in english.

                          here one of a railroad dictionary

                          Just a moment...

                          favicon

                          (www.csx.com)

                          Link Preview Image
                          Page Not Found

                          Page Not Found.

                          favicon

                          (www.trainweb.com)

                          i think if the creator will have a big range of user will understand, that the best way is to do this in english.

                          lastly i have had an example for russian or japanese creators that write the description in the own language. only russian or japanese user will understand this.
                          no other would be use this content if this is not in english.

                          look at other plugins written from chinese developer. english is important to popularize this plugins world wide.

                          EDIT:
                          i think you need only 4 main categories and than some subcategories

                          how many route of transport you know?

                          i know railroad, street, water and air. ok space for the future is possible, too 😉
                          than you could split this in subcategories.

                          remmember you, you can not only design railroad. your plugin can more than this.

                          is a good idea to communicate this.

                          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 5 Jul 2014, 06:39

                            Hi Eneroth,
                            First thanks for this amazing plugin. I really appreciate the way animation is done and the "open" features that allows customization of all objects.
                            I have a wish and would like to know if this is something you could think of :
                            I would like to be able to run custom script at each image change, to be able to render images in external render. I've seen its possible to add points where external script is called, but adding them one by one for each image would be too long.
                            Just an idea...
                            Yours
                            Pascal

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

                              @ppoublan said:

                              Hi Eneroth,
                              First thanks for this amazing plugin. I really appreciate the way animation is done and the "open" features that allows customization of all objects.
                              I have a wish and would like to know if this is something you could think of :
                              I would like to be able to run custom script at each image change, to be able to render images in external render. I've seen its possible to add points where external script is called, but adding them one by one for each image would be too long.
                              Just an idea...
                              Yours
                              Pascal

                              This is a great idea! I've been thinking about renderers and if they could be changed to run a script each frame but that's really backward. Letting the plugin run a script each frame and tell the renderer what to do is much better since I don't need to change the renderer.

                              edit: Or perhaps both. In case there are renderers that have the feature to run a script between each frame I can add a method to the plugin that can be called with the time difference as argument (this more or less already exists but isn't documented).

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

                              1 Reply Last reply Reply Quote 0
                              • E Offline
                                eneroth3
                                last edited by 7 Jul 2014, 16:02

                                I've started working on the Advanced Animation Settings which includes running custom code between frames.

                                @ppoublan: Is there any specific renderer you where thinking of? I'm quite new to rendering but was thinking about some example code to show in the documentation.


                                advanced_animation_settings.png

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

                                1 Reply Last reply Reply Quote 0
                                • ppoublanP Offline
                                  ppoublan
                                  last edited by 7 Jul 2014, 17:45

                                  Wow,
                                  Your moving too fast !
                                  My idea was at least at the beginning to be able to export as obj file the geometry of each image and generate the cmd line to render, and to be able also to export as 2D SU image (but with support of styles, shadows, custom size...) things that are not supported when using integrated make avi file from SU. Code for this exists in many plugins.
                                  My personal final goal is to call Octane integrated render for SU, that is in beta now, but has in the todo list feature for future version to support calling the render from SU by script.

                                  here is very simple example of code it could call

                                  imagewidth = 1280
                                  imageheight = 720
                                  imagecompression = 0.7
                                  imagetransparent = false
                                  view = Sketchup.active_model.active_view
                                  view.refresh
                                  imagefilename=<string to build from model name + index>
                                  keys = {
                                  :filename => imagefilename,
                                  :width => imagewidth,
                                  :height => imageheight,
                                  :antialias => true,
                                  :compression => imagecompression,
                                  :transparent => imagetransparent
                                  }
                                  view.write_image keys

                                  Example of animation created by own script, would like to make same kind of result but with objects animated by your railroad system

                                  edit
                                  just for fun, after printing in 3D, the wheel built and rotated by a lego robot without contact

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

                                    My first video exported with the plugin. Also the first time I can see the trains run with shadows, fog and textures without lag 😄 .

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

                                    1 Reply Last reply Reply Quote 0
                                    • ppoublanP Offline
                                      ppoublan
                                      last edited by 7 Jul 2014, 22:45

                                      Yes, yes, yes. Great !!!! Like it.

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

                                        VIZ_0046.jpg
                                        VIZ_0047.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 Reply Last reply Reply Quote 0
                                        • E Offline
                                          eneroth3
                                          last edited by 9 Jul 2014, 13:01

                                          The latest version of the plugin is now published . Now rolling stocks can be added to the library from their context (rigth click) menu so there's no need to write stuff in the terminal any more! The documentation for custom tracks has been improved with images showing how different parts are drawn. Advanced animation settings now allow users to execute code between each frame. An example how to make a simple animation with Sketchup's own view.write_image has been added to the documentation.

                                          normal.png

                                          bridge.png

                                          (Images from documentation showing what's the extrusion, arrayed parts and endings)

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

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 9
                                          • 10
                                          • 11
                                          • 12
                                          • 13
                                          • 18
                                          • 19
                                          • 11 / 19
                                          11 / 19
                                          • First post
                                            215/364
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement