[Plugin] Eneroth Railroad System (v 0.1.21)
-
I tried to install on Mac 10.9.3 &SU2014 but it appears Load Error
%(#BF0000)[Error al cargar archivo ene_railroad.rb
Error: #<TypeError: wrong argument type nil (expected Regexp)>
/Users/Oxer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/ene_railroad.rb:202:in `gsub'
/Users/Oxer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/ene_railroad.rb:202:in `module:Ene_Railroad'
/Users/Oxer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/ene_railroad.rb:200:in `<top (required)>'] -
Wow! There is no word to describe how amazing this plugin is! There is a LOT of work here! Like someone said before,I would love to see this in conjunction with the "Enderoth Roadway System" with moving cars! This could then be the basis for a 'City Engine' like interface to generating a full city infrastructure system! Create a SketchUp parametric building modeler and you can develop set for model trains, virtual cities for the big screen and Real world studies for municipalities. Then export the whole thing component by component to a 3d printer and have a physical model to take to a municipal presentation for zoning! This, my dear, is a real Sketchup game changer! Thank you for all the hours you spent on this! This should be voted as plugin on the month! Awesome! Sketchup: "The Next Big Thing". Can't wait to have fun with it!
-
@lz said:
Very impressive. It's a shame that it doesn't seem to work on my SU 8 (i'm using WinXP btw). But i'm planning on upgrading anyway so i might take another look sometime in the future.
either way, if you need help adding new rolling stock/locomotives for future versions, please let me know and i'll gladly try to help out with some models. German locomotives are one of my favorites too.
There seems to be some bug with the observers in older SU versions . However you can try it in Sketchup 2013. I've tried to make it as easy as possible to initialize own rolling stocks and it would be really fun if you and other people made your own and sharde . At the moment there's some strange bug when saving a rolling stock to the library so after doing so it's best to restart SU to avoid it from crashing later.
@oxer said:
I tried to install on Mac 10.9.3 &SU2014 but it appears Load Error
%(#BF0000)[Error al cargar archivo ene_railroad.rb
Error: #<TypeError: wrong argument type nil (expected Regexp)>
/Users/Oxer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/ene_railroad.rb:202:in `gsub'
/Users/Oxer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/ene_railroad.rb:202:in `module:Ene_Railroad'
/Users/Oxer/Library/Application Support/SketchUp 2014/SketchUp/Plugins/ene_railroad.rb:200:in `<top (required)>']Oh , I thought it would break on web dialogs and possibly multiple document interface. I'll look into this error.
-
Thansk for the reply!!
This is a incredible plugin , I would like play with it on Mac, waiting your fix. -
@eneroth3 said:
...
Oh :shock: , I thought it would break on web dialogs and possibly multiple document interface. I'll look into this error.on mac
File::ALT_SEPARATOR
nilso it runs with
PLUGIN_ROOT = File.dirname(__FILE__) unless defined?(self::PLUGIN_ROOT)
WebDialog needs a show_modal conditional for mac...
seems to work...
john
also, to see the docs...
menu.add_item("Documentation") { UI.openURL('file://' + (File.join(PLUGIN_ROOT, "ene_railroad", "docs", "home.html"))) }
PS. the track builds the trains run, speed works... very cool...
I'll have a closer look at the code on the weekend...
One question, why do you get/need the screen/window position/size?
-
Hi driven, I have changed the PLUGIN_ROOT in ene_railroad.rb and in the line for Documentation Menu (main.rb) and it works on Mac now.
I tested some features, not all, and for the moment they work but there are problems with the Add Rolling Stock window:1. Library Tab --->You can't do scroll in the window, you don't type in the Filter input field and the default Stock is selected and fixed, you can't select another stock.
2. Create Tab --> The images of the steps don't appear and in the first step when you select a model to create the Rolling Stock the window goes to background. -
-
Thanks driven for your help!!
I'll try that. -
I like to make different transportation zone models and I will play a lot with this plugin! If there will be a road and cars version it could just make me happy
-
I have a quite big project in school right now so that's why I haven't been able to look into these bugs yet. I think I'll be more active here in a few dayss
-
I have the following error
I use windows 7 and tried this plugin in sketchup 8 and sketchup 2014 -
@driven said:
a temporary fix for the disappearing dialogs is to change all
dialog.show
todialog.show_modal
, I think there's 11 including the @dialog ones, I just used 'Text Wrangler' find and replace on the whole folder...I'll have a look at the html and js tonight
john
I'm working on fixing these bugs now. Was the unresponsive rolling stock library fixed by making the dialogs modal or is that a different error?
@dacastror said:
I have the following error
[attachment=0:2f896uym]<!-- ia0 -->error.jpg<!-- ia0 -->[/attachment:2f896uym]
I use windows 7 and tried this plugin in sketchup 8 and sketchup 2014The plugin is not supposed to work in SU 8 but should in 2014. I cannot reproduce this error .
-
Hi Eneroth, congratulations to to your plug in, this is amazing work. I also am a big fan of your other plug-ins for SU, they are Dynamite!.
On a different note, do you know the Unity 3D gaming engine? I was wondering if you can write this plug in for the unity engine? I'd be interested in a script to run a train on a pre-defined track. Since this is looking pretty good on SU I'm sure a step up to Unity would be the sh.t.
Anyway, great work!
-
@eneroth3 said:
the unresponsive rolling stock library fixed by making the dialogs modal or is that a different error?
No, it's something to do with your 'selected' item never releasing focus to other selections...
I had a quick look, but because your using a table, there wasn't an instant fix...
I'll have another look and see if I can help with any further info,,,
john
-
You folks surprise me... there are several very popular Railroad simulators available these days (AFAIK all for the PC) and all of them enjoy large numbers of people doing 3d CAD models.
There is one Simulator in particular where Sketchup models are very common: MSTS/Open Rails. MSTS was a 2001 product from Microsoft; Open Rails is an Open Source replacement that reads all of the MSTS file formats but uses current hardware/software. I operate in this market as both a content producer and a forum host (http://www.elvastower.com -- guests can view almost everything w/o having to register).
Here's are a couple of examples of my own Sketchup models in one of these sims: http://imageshack.com/a/img607/1407/65ry.jpg , http://imageshack.com/a/img31/1582/p2ii.jpg , http://imageshack.com/a/img841/8291/op1s.jpg .
Sketchup does not do animation and so other CAD tools come into play, such as here: http://imageshack.com/a/img845/7695/xgss.png
As you can see from the images, Rail sims are also world sims; My own projects represent a portion of Downtown Chicago ca. 1950 and a 120 mile span between Oakland and Sacramento CA, also .ca 1950. Some folks, like myself, go for the whole picture... others just do models... most of us also run the simulators.
Railroad simulators are a tiny, tiny fraction of the expense of physical model railroading as a whole lot of content is free.
If anyone is interesting in finding out more, drop me a PM and I'll try and answer your questions.
-
@unknownuser said:
Sketchup does not do animation
Seems Eneroth Railroad System make it!
Or even Lightup Minute 0.50
-
I've added my first British locomotive to the plugin!
I tried to record myself drawing the flying Scotsman and add it to my railroad plugin, not really as a complete tutorial that explains everything in detail but more as inspiration and to get the general idea of how you make the moving parts etc. However it accidentally got almost 4 hours long so I doubt anyone will ever watch it xD
http://www.youtube.com/watch?v=eaitRFw_P-8
Adding it to the the rolling stock library and making stuff like moving parts and dynamic text work starts at 2:48:04 in case you'd like to go directly to that:P .
In the Insert Rolling Stock dialog you can press a button to open the folder rolling stocks are saved to, unzip the attached zip there and reopen the dialog to make the locomotive appear in the list.
Feel free to make some of the trains you like and share them here
-
This is unbelievable! Is this still SketchUp or already The next level? I love to visit this very effective modelling and the implementation of Your own animation system! Thank You that we were allowed to see this! Sorry for my bad english...
-
I was just looking at this amazing plugin, I wish I could have had this a couple of years ago when I used to build G scale LGB layouts for people. I would have been great for visualization.
I also just had a look at your site, amazing and brilliant stuff! Especially the castle!... I would also like to thank you for the Texture Positioning tools! Texture Randomizer and Texture Aligner will be huge time savers! Thank you for sharing your work! -
Hello,
what do you think about to have a streetsystem, based on your railroad plugin?regards dean
Advertisement