Do you mean like a conic develop-able surface (an edge from each endpoint around the face towards on point you've chosen)?
Posts made by eneroth3
-
RE: Angled extrusion of a non square surface
-
RE: [Plugin] Eneroth Railroad System (v 0.1.21)
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
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
-
RE: Width problems with select option in WebDialog
Another solution would be to stop using IE and use a real web browser for dialogs for a future SU version. Perhaps pack Gecko or something similar. This would also solve some of the the problems with web dialogs being platform dependent.
-
RE: [Plugin] Eneroth Railroad System (v 0.1.21)
@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 .
-
RE: [Plugin] Eneroth Railroad System (v 0.1.21)
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
-
RE: [Plugin] Eneroth Railroad System (v 0.1.21)
@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.
-
RE: [Plugin] Eneroth Railroad System (v 0.1.21)
@rich o brien said:
Added to PluginStore
-
RE: [Plugin] Eneroth Railroad System (v 0.1.21)
@rv1974 said:
Without spaghetti western style bandits in library the plugin is rather pointless.
How am I supposed to robber the train?
bang-bangMake a 2d face me component of a person pointing a gun and follow the train with the camera. Then you can be inside the train and have a person standing at the side of the track pointing the gun at you when driving by
-
RE: [Plugin] Eneroth Railroad System (v 0.1.21)
@anton_s said:
Professionally done!
Works like a charm
And a suggestion, are you planning to add a reset button?
Some sounds would be awesome as welli haven't really thought about a reset button. In Sketchyphysics I think the whole animation runs inside a tool and that Sketchup.abort_operation runs to move everything back when the user stops the animation. In my plugin the animation doesn't run inside an active tool since you need several tools so set switches, connect/disconnect couplings etc.
I've though about sounds but then I need to be able to play the same sound at different speeds to match the speed of the train. Also I would need lots and lots of sounds.
@olishea said:
I don't think I'll ever need this plugin, but all I can say is wow! Looks like fun!
Eneroth: I believe I've seen your plugins before? Did you make a terrain eroder or something along those lines?
Yup ,that's mine. You can see all my plugins here:
http://extensions.sketchup.com/en/user/5736/store
http://sketchucation.com/pluginstore?pauthor=eneroth3
@pixero said:
Fantastiskt!
I'm not sure how often I will be able to use this for work but it's an amazing plugin.
Does it work on terrain as well?
Have you thought of doing a road and cars version?It should work on terrain but you might need to alter the terrain after adding the tracks so there's no gap under them. you can also add a new track type that has more ballast under it to prevent this gap. The same thing can be done with roads, create a road as a track type and initialize a car as rolling stock.
Under Plugins > Railroad > Documentation it's written how you make custom track types and rolling stocks. saving a rolling stock to the library however isn't very stable at the moment (some observers seem to get upset when I've tried in SU 2013). After saving a rolling stock to the rolling stock library it's recommended to restart Sketchup. Otherwise you can just initialize one without adding to the library.
-
RE: [Plugin] Eneroth Railroad System (v 0.1.21)
@aerilius said:
Great to see it finished!
I wouldn't exactly call it finished but at least it's finished enough for a thread:)
I hope I can see the model when it's done!
-
RE: [Plugin] Eneroth Railroad System (v 0.1.21)
@rich o brien said:
You know you have access to plugins.sketchucatio.com ?
At the moment I'm busy fighting against phpBB but I might look into it later (for instance I just had to figure out myself that youtube videos must use the http protocol, not https as the link I copied from the address bar used).
-
[Plugin] Eneroth Railroad System (v 0.1.21)
This is a plugin I've been working since summer 2013. From the start I wanted a tool to draw railway tracks more easily since I've used it in a few models. I also wanted to try making something object oriented since I'd just understood what that actually was and why it's good. Then it all escalated into moving trains and stuff...
When I've shown people the plugin they often ask 'why trains?'. There are several reasons. Besides the need for tracks in my models my dad's a model railway collector and I've grown up with model trains around me. This also explains why most of the trains are German since Sweden's model railway community is very influenced by mostly German MΓ€rklin.
So far I've only tested the plugin on windows (7) but it's supposed to work on mac too. However there can be problems, e.g. with web dialogs, so feedback is greatly appreciated.
Version: 0.1.21
Date: 2015-07-16
Requirements
SU 2013+
IE 9+ (Only applies to Windows)Change Log
0.1.10
First published at Sketchucation.0.1.11
Should (hopefully) work better on Mac
Minor fixes and streets added as track type.0.1.12
Better interface for saving rolling stocks to library.
Spanish translation by Oxer.0.1.13
Easier to save rolling stocks to library.
Improved documentation for tracks and rolling stocks.
Advanced animation settings, including running custom code between frames, e.g. to render.
German translation by Dean.0.1.14
Structures (bridges, tunnels etc) separated from tracks.
Custom signals.
track properties supporting multiple tracks at once.0.1.15
New track drawing mode. Select points that will be automatically connected by tracks.0.1.16
Fixed bug with balise on wrong track being triggered.
Showing warning in tooltip when nodes are to close to fit curve in Add Track tool's continuous mode.0.1.17
Random and guided switching modes in drive train tool.0.1.18
Library mode for add track tool.
New directory for custom content and new format for track types and structure types.
Optimization, bug fixes and code cleaning.0.1.19
Bug fixes.0.1.20
Bu fix.0.1.21 2015-07-16
Added back translate support.
Added security warning for balises.
Added feature for listing position for certain parts of structures and the option to move them.
Fixed bugs with models using templates not locally installed.Usage
All tools can be found both from the toolbar and Plugins > Railroad. Additional documentation can be found in Plugins > Railroad > Documentation.
Add Track
Add tracks to the model, either add continuous line defined by points, calculate new based on parallel distance and angle or copy, offset or connect existing tracks.Track Position
Move the control points of a selected track. Right click to change curve algorithm. Hold down shift when moving track end to force it to be straight. Press alt when adjusting the vectors to change their direction.Set Switch State
Change what direction a train will travel in a switch. Press enter to save.Track properties (only available when a track is selected)
Change curve algorithm, track type, signal type etc of selected track.Add Rolling Stock
Add cars and locomotives either from a library or initialize from a group in the model (cannot be a component). Click existing train to connect to it.Couplings
Connect and disconnect rolling stocks to form trains.Drive Train
Drive train by controlling its speed. The Switch tool is used to turn switches.Play/Pause
Start and stop the train from moving. Pausing the animation speeds up Sketchup and is good when drawing.Balise
Add custom code that executes when a train passes a certain point on the track.The tracks and rolling stocks should be possible to move around using the native move and rotate tool and are deleted just as all Sketchup geometry by selecting and pressing delete or by eraser tool.
-
RE: Version number in post?
Also the same user can have multiple versions installed. Instead of automatically showing what the user profile says the user can write the version used in the post if it matters.
-
RE: Find vertex resulting from a pushpull or transformation
From SU 2013 (the one I use to code to get backward compatibility)
@unknownuser said:
This is a wrapper for UI.inputbox. You call it exactly the same
as UI.inputbox. UI.inputbox will raise an exception if it can't
convert the string entered for one of the values into the right type.
This method will trap the exception and display an error dialog and
then prompt for the values again.
def inputbox(*args)
results = nil
begin
results = UI.inputbox *args
rescue
UI.messagebox $!.message
retry
end
results
endIt doesn't seem to do more than just showing errors in a messagebox instead of the console. I don't really know what it's for.
Sorry for stealing the thread btw
-
RE: Find vertex resulting from a pushpull or transformation
In what way is inputbox better than UI.inputbox? I had no idea it existed but when trying it without arguments (SU 2013) I got into an endless loop with a messagebox telling me there were to few arguments.
-
RE: Web dialogs stealing focus within my tool.
At least on windows you can prevent ALT from focusing the menu when used in a tool. Either true or false (can't remember) as return value from the onKeyDown method prevented the default behavior.
-
RE: SketchUp 2015 shown by Trimble?
@mike lucey said:
@solo said:
@rich o brien said:
Must be a typo. I'm testing 2016 at the moment. It rocks bells.
So how is the 64 bit version working Rich?
Forget 64-bit, we're now talking about straight to 128-Bit
Why bits? Why not trits or quits?