sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] Eneroth Railroad System (v 0.1.21)

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

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

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

          @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

          Attention Required! | Cloudflare

          favicon

          (www.csx.com)

          Link Preview Image
          Index of /accounts/raildictionary

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

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

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

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

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

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

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

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

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

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

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

                              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/

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

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

                                  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/

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

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

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

                                        Cool bridge!

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

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

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

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

                                            I think everything but the cables could be drawn as a track type. if the cables were straight even those could be included but the bridge would be a lot less cool.

                                            You can follow the instructions for double tracks in the docs and just make it wider to fit more tracks of the corresponding track type.

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

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

                                            Advertisement