[plugin] Structural analysis - SketchStruct: 30 Oct 12: v201
-
Hi all
I have just completed a working version of my structural analysis plugin.
The plugin can be downloaded here: http://sketchstruct.drupalgardens.com/downloads
(install guide and user guide can also be found on the left of the page)The first version performed analysis of 2D pin jointed frames; with loads applied at nodes.
The new version can analyse 2D rigid frames with mid-span loads such as UDLs, moments and point loads.
I haven't got member releases working properly yet and I want to work on improving the interface and display of results.
Hopefully the finished plugin will be able to analyse 3D frames, with some fancy display of results (although it might take a little while to get that far).
Here are a few images of what I have so far:
I am new to posting here so I apologize if I have got some conventions wrong.
Let me know what you think.
Changelog
v2.0.1 - Added confirmation when choosing materials, now using .rbz install methodCheers
-
Awesome !
-
Looks very interesting Tom. I will be following your progress.
Thanks,
Paul
-
This is absolutely fantastic.
Just to be able to verify quickly will be so useful.
Thanks so much and keep up the good work -
Very Interesting.
-
Physical indeed!
-
awesome it's the future
-
Sing me up!! If you guys can take it to the next level it could freaking awesome. BRB gotta try this thing!
-
Looks great keep up the good work.
-
Great tool, i hope you can finish what you have started.
-
it is so hard to make... congratulations!
-
Coool .. I'll check it out !
-
@target2427 said:
Changelog
v2.0.1 - Added confirmation when choosing materials, now using .rbz install methodCheers
don't know why: version 2.0.0 is downloaded following the link
and when y try, the ruby box says
Error: #<NoMethodError: undefined method
[]' for nil:NilClass> C:/PROGRA~2/Google/GOOGLE~3/Plugins/SketchStruct2.0.0/stiffness.rb:815:in
member_load'
C:/PROGRA~2/Google/GOOGLE~3/Plugins/SketchStruct2.0.0/stiffness.rb:813:ineach' C:/PROGRA~2/Google/GOOGLE~3/Plugins/SketchStruct2.0.0/stiffness.rb:813:in
member_load'
C:/PROGRA~2/Google/GOOGLE~3/Plugins/SketchStruct2.0.0/stiffness.rb:858:inmain' C:/PROGRA~2/Google/GOOGLE~3/Plugins/SketchStruct2.0.0/main.rb:98 C:/PROGRA~2/Google/GOOGLE~3/Plugins/SketchStruct2.0.0/stiffness.rb:815:in
call'
C:/PROGRA~2/Google/GOOGLE~3/Plugins/SketchStruct2.0.0/stiffness.rb:815no outputs are shown, only inputs
apart from that, it is a nice idea, wish it comes through
-
oh yeah... I'll be watching this one.
-
Sorry about this, I did upload the file but for some reason sourceforge did not pick it up as the latest version. I have manually overridden this now and the newest version should be available for download.
https://sourceforge.net/projects/sketchstruct/files/latest/download
@glro said:
@target2427 said:
Changelog
v2.0.1 - Added confirmation when choosing materials, now using .rbz install methodCheers
don't know why: version 2.0.0 is downloaded following the link
and when y try, the ruby box says
Error: #<NoMethodError: undefined method
[]' for nil:NilClass> C:/PROGRA~2/Google/GOOGLE~3/Plugins/SketchStruct2.0.0/stiffness.rb:815:in
member_load'
C:/PROGRA~2/Google/GOOGLE~3/Plugins/SketchStruct2.0.0/stiffness.rb:813:ineach' C:/PROGRA~2/Google/GOOGLE~3/Plugins/SketchStruct2.0.0/stiffness.rb:813:in
member_load'
C:/PROGRA~2/Google/GOOGLE~3/Plugins/SketchStruct2.0.0/stiffness.rb:858:inmain' C:/PROGRA~2/Google/GOOGLE~3/Plugins/SketchStruct2.0.0/main.rb:98 C:/PROGRA~2/Google/GOOGLE~3/Plugins/SketchStruct2.0.0/stiffness.rb:815:in
call'
C:/PROGRA~2/Google/GOOGLE~3/Plugins/SketchStruct2.0.0/stiffness.rb:815no outputs are shown, only inputs
apart from that, it is a nice idea, wish it comes through
-
I tried again the link and yes, now it is the last version
I tried a few times and it worked as expected; sometimes it didn't though
once i got this error message:
"Error: #<NoMethodError: undefined method
[]' for nil:NilClass> C:/Archivos de programa/Google/Google SketchUp 8/Plugins/SketchStruct2/read.rb:231:in
get_nodal_loads'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/SketchStruct2/read.rb:230:ineach' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/SketchStruct2/read.rb:230:in
get_nodal_loads'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/SketchStruct2/read.rb:11:ininitialize' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/SketchStruct2/main.rb:66:in
new'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/SketchStruct2/main.rb:66
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/SketchStruct2/read.rb:231:in `call'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/SketchStruct2/read.rb:231"With another example, the program gave a result, but in the ruby box, it wrote
"no. joints: 4
no. bars: 3
no. restraints: 4
DOF: 8
Maxwell's number: 1
Errror, mechanism forming
no. degrees of freedom: 8"Obviously, there is still a lot of work to do to make it a usable tool, but i like very much having it in the sketchup environment
-
Hi
Just a couple of questions about how you created the structure.
When I run your file I get the same error, however, when I redraw the structure, the program runs fine.
Did you first draw your structure with SketchStruct installed?
and
Did you draw the structure manually, line by line?
Thanks
Tom
-
@target2427 said:
Did you first draw your structure with SketchStruct installed?
and
Did you draw the structure manually, line by line?
Yes to the first question
No to the second
I had it drawn automatically by another plugin i am working on, that makes a model of a scaffolding
From this model, i kept only the axis line and applied to it loads, supports, material and geometric values.
I didn't guess it would make a difference with a structure drawn from scratch
-
Ok, it looks like the two plugins are incompatible at the moment. SketchStruct uses a couple of minor functions for numbering the edges, this is done as the lines are drawn by the user.
This is a simple function which probably be included in your plugin to allow the two plugins to work together.
If you want more info on how the numbering works, I will be happy to help.
Tom
-
@target2427 said:
Ok, it looks like the two plugins are incompatible at the moment. SketchStruct uses a couple of minor functions for numbering the edges, this is done as the lines are drawn by the user.
This is a simple function which probably be included in your plugin to allow the two plugins to work together.
If you want more info on how the numbering works, I will be happy to help.
Tom
The plugin i am working on doesn't use any numbering for edges; it is probably done automatically by sketchup
It seems to me that it would be an enhancement for your plugin to be able to number edges of an existing drawing; this way the user could store models and re-use them
Anyway, this is how usual structural analysis softwares work
Thank you for your answer
Advertisement