[plugin] Structural analysis - SketchStruct: 30 Oct 12: v201

[plugin] Structural analysis - SketchStruct: 30 Oct 12: v201

Postby target2427 » Tue Oct 09, 2012 10:45 pm

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 method

Cheers
0
Last edited by target2427 on Tue Oct 30, 2012 6:31 pm, edited 2 times in total.

target2427 
 

Re: [plugin] Structural analysis in Sketchup - SketchStruct

Postby DOD3R » Wed Oct 10, 2012 6:18 am

Awesome !
0

DOD3R 
 

Re: [plugin] Structural analysis in Sketchup - SketchStruct

Postby raineysky » Thu Oct 11, 2012 2:04 am

Looks very interesting Tom. I will be following your progress.

Thanks,

Paul
0

raineysky 
 

Re: [plugin] Structural analysis in Sketchup - SketchStruct

Postby dale » Thu Oct 11, 2012 1:56 pm

This is absolutely fantastic.
Just to be able to verify quickly will be so useful.
Thanks so much and keep up the good work :thumb: :thumb: :thumb:
0
Just monkeying around....like Monsanto
User avatar
dale 
Top SketchUcator
 

Re: [plugin] Structural analysis in Sketchup - SketchStruct

Postby tak2hata » Fri Oct 12, 2012 4:43 am

Very Interesting. :shock:
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [plugin] Structural analysis in Sketchup - SketchStruct

Postby pilou » Fri Oct 12, 2012 8:31 am

Physical indeed! :fro:
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [plugin] Structural analysis in Sketchup - SketchStruct

Postby Severe_dude » Sun Oct 14, 2012 1:09 pm

awesome it's the future :roll:
0

Severe_dude 
 

Re: [plugin] Structural analysis in Sketchup - SketchStruct

Postby errror404 » Tue Oct 16, 2012 2:16 pm

Sing me up!! If you guys can take it to the next level it could freaking awesome. BRB gotta try this thing!
0

errror404 
 

Re: [plugin] Structural analysis in Sketchup - SketchStruct

Postby dejanfortuna » Wed Oct 17, 2012 3:51 pm

Looks great keep up the good work.
0

dejanfortuna 
 

Re: [plugin] Structural analysis in Sketchup - SketchStruct

Postby dejanfortuna » Wed Oct 17, 2012 3:56 pm

Great tool, i hope you can finish what you have started.
0

dejanfortuna 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby mddc » Wed Oct 31, 2012 6:00 pm

it is so hard to make... congratulations!
0

mddc 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby sherwood11 » Mon Nov 05, 2012 11:41 pm

Coool .. I'll check it out !
0

sherwood11 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby glro » Thu Nov 08, 2012 12:03 pm

target2427 wrote:Changelog
v2.0.1 - Added confirmation when choosing materials, now using .rbz install method

Cheers


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:in `each'
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:in `main'
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:815

no outputs are shown, only inputs

apart from that, it is a nice idea, wish it comes through
0

glro 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby Krisidious » Sun Nov 11, 2012 7:21 am

oh yeah... I'll be watching this one. :ecstatic:
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby target2427 » Sun Nov 11, 2012 10:08 am

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/sketch ... t/download


glro wrote:
target2427 wrote:Changelog
v2.0.1 - Added confirmation when choosing materials, now using .rbz install method

Cheers


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:in `each'
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:in `main'
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:815

no outputs are shown, only inputs

apart from that, it is a nice idea, wish it comes through
0

target2427 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby glro » Sun Nov 11, 2012 12:08 pm

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:in `each'
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:in `initialize'
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
0

glro 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby target2427 » Sun Nov 11, 2012 4:25 pm

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
0

target2427 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby glro » Sun Nov 11, 2012 6:01 pm

target2427 wrote: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
0

glro 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby target2427 » Sun Nov 11, 2012 7:22 pm

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
0

target2427 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby glro » Sun Nov 11, 2012 8:28 pm

target2427 wrote: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
0

glro 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby target2427 » Sun Nov 11, 2012 10:30 pm

I did attempt to achieve this with the automatic Sketchup numbering, however, I had problems as Sketchup does not save these consistently. i.e. the IDs would change between sessions after saving and loading.

Hopefully I can find a way to achieve this with the sketchup numbering. I will try to look for a way to include this in the next version.
0

target2427 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby jarynzlesa » Mon Nov 19, 2012 12:40 pm

it seems to be a very nice and useful pluging, but I can not set supports and load. don't know why. :cry:
0
User avatar
jarynzlesa 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby Jim » Sun Dec 16, 2012 2:32 pm

Tom, this plugin is interfering with normal behavior of SketchUp[1].

I had a quick look at some of the code and there's a lot to go over. In the meantime, I recommend users of this plugin disable it in the Extensions dialog when not in use.

[1] viewtopic.php?f=180&t=49507
0
Hi

Jim 
Global Moderator
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby target2427 » Mon Dec 17, 2012 4:14 pm

Jim wrote:Tom, this plugin is interfering with normal behavior of SketchUp[1].

I had a quick look at some of the code and there's a lot to go over. In the meantime, I recommend users of this plugin disable it in the Extensions dialog when not in use.

[1] viewtopic.php?f=180&t=49507



I am aware of this and will try to fix this for the next version. Sometimes errors pop up in the Ruby console when drawing lines indirectly (squares, arcs...).

I apologise for the errors, but it is something being worked on
0

target2427 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby neo83_gr » Fri Jan 04, 2013 11:47 am

Well done!!
0
User avatar
neo83_gr 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby irwanwr » Sun Jan 27, 2013 9:50 pm

This plugin should be awesome. And may become another very good reason to tell my brother to learn SketchUp and not just CAD :)
I hope all bugs could be fixed and works as it should be.
0
User avatar
irwanwr 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby target2427 » Mon Jan 28, 2013 11:16 am

Hi all

Just thought I should give you an update on the current progress. At the moment I am working on a Mesh analysis plugin (2d currently). The analysis itself is working fine, however when using very refined meshes (i.e. 100 elements), Sketchup pretty much crashes on my computer. To resolve this, I am also working on a Sparse Matrix library for Ruby. The idea of this is to reduce the time of calculations by only storing non-zero entities. On this, I have got matrix multiplication and addition working, however the more complex task of solving sets of simultaneous equations is not yet complete. I will not be releasing this plugin until I can get this working effectively.

My next semester at uni is now starting, so progress may be slow on this.

Cheers

Tom
0

target2427 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby markitekt » Tue Mar 05, 2013 8:46 pm

Great Plugin. Any chance for English units in the future?
0

markitekt 
 

Re: [plugin] Structural analysis - SketchStruct: 30 Oct 12:

Postby target2427 » Fri Mar 15, 2013 3:40 pm

markitekt wrote:Great Plugin. Any chance for English units in the future?


I do plan to implement American Imperial units in the future, however it is not a high priority so may be a while before you see this. For now, you should be able to enter everything any units as long as they are consistent (ignoring the suggested units).

For example, if you enter a beam 140" long, you could enter Youngs modulus, E as 29 (10^6) psi, as long as you enter your loads in pound force.

Just remember to use consistent units everywhere.
0

target2427 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: atagharehshir, Google Bot and 12 guests

Visit our sponsors: