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.
    • pilouP Offline
      pilou
      last edited by

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

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

      1 Reply Last reply Reply Quote 0
      • deaneauD Offline
        deaneau
        last edited by

        @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
        • eneroth3E Offline
          eneroth3
          last edited by

          @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
          • deaneauD Offline
            deaneau
            last edited by

            @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

              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
              • eneroth3E Offline
                eneroth3
                last edited by

                @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
                • eneroth3E Offline
                  eneroth3
                  last edited by

                  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

                    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
                    • eneroth3E Offline
                      eneroth3
                      last edited by

                      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

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

                        1 Reply Last reply Reply Quote 0
                        • deaneauD Offline
                          deaneau
                          last edited by

                          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
                          • eneroth3E Offline
                            eneroth3
                            last edited by

                            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
                            • deaneauD Offline
                              deaneau
                              last edited by

                              Eneroth busy as a bee!
                              thank you

                              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
                              • OxerO Offline
                                Oxer
                                last edited by

                                The new feature to export animation images is really fantastic 👍 , here a quick test of video animation created with Quicktime Pro
                                http://youtu.be/khK_p5UaK4g

                                "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
                                • eneroth3E Offline
                                  eneroth3
                                  last edited by

                                  @oxer said:

                                  The new feature to export animation images is really fantastic 👍 , here a quick test of video animation created with Quicktime Pro
                                  http://youtu.be/khK_p5UaK4g

                                  First I couldn't understand how you could move the camera while exporting. Then I realized that it's probably my computer that is so slow Sketchup nearly freezes when exporting. Each frame takes several seconds for me 😕 .

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

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

                                    On my computer export each frame it's near to real time (milliseconds) with shadows included. I have a iMac i7 3,4GHz 27" (mid 2011) 16GB Ram.

                                    "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
                                    • eneroth3E Offline
                                      eneroth3
                                      last edited by

                                      @oxer said:

                                      On my computer export each frame it's near to real time (milliseconds) with shadows included. I have a iMac i7 3,4GHz 27" (mid 2011) 16GB Ram.

                                      Hehe, I'm on a 1,8GHz (dual core) with about 3GB ram. I think it's time to replace it 😲 .

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

                                      1 Reply Last reply Reply Quote 0
                                      • deaneauD Offline
                                        deaneau
                                        last edited by

                                        VIZ_0048.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
                                        • eneroth3E Offline
                                          eneroth3
                                          last edited by

                                          Cool bridge!

                                          have you created custom track types for street lights and bridge deck?

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

                                          1 Reply Last reply Reply Quote 0
                                          • deaneauD Offline
                                            deaneau
                                            last edited by

                                            @eneroth3 said:

                                            Cool bridge!

                                            have you created custom track types for street lights and bridge deck?

                                            no not really.
                                            this was a bridge for a simulator and i have try to combine this. i have this design by photos

                                            http://structurae.de/structures/data/index.cfm?ID=s0005274

                                            some parts of the bridge will be possible however the suspender cables ,the tower and pier will not possible.

                                            i can send you the sketchup model and you can try what´s possible.

                                            is a bridge possible with more than 2 "tracks"?

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 18
                                            • 19
                                            • 4 / 19
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement