algorithmic modeling for Rhino
Here's a thread for questions and suggestions specific to the Geometry Gym addon to interact with SAP2000 Structural Analysis. Note you can filter my blog for posts/examples specific to SAP 2000 using the tag cloud or this link here:
First post relates to questions raised here: http://www.grasshopper3d.com/xn/detail/2985220:Comment:597170?xg_so...
SAP2000 uses slightly different terms to other structural analysis software (ie Load Patterns are equivalent to Load Cases in most other software). I am trying to do my best to ensure the GH plugin terminology matches, but still needs improving and this doesn't help with what connects to what. If you spot something you think can be improved, please let me know.
I've attached my subtle changes to your GH def. Note that at least one of the forces needs to be activated to true to get results to emit.
I had a request to report stress the other day, but when I went to check you can only extract the force using the API, so I need to find some time to do some additional coding to calculate these from the section properties. Axial force you might be able to quickly calculate from the force using GH components.
Note also I recently enabled the ability to nominate the SAP model units (ie Feet and kips) from a right click on the ssiBake button. This should be done prior to the first exchange to SAP, so either save, close and restart Rhino, or disable the solver prior to first opening the model to make the change.
Hope it helps, look forward to hearing more.
Sorry for the problems. I've sent you an email.
Hi Jon, I've got a problem with the ggSAPConstraintLocal component; no matter what I supply to the Point input, it gives me an Invalid cast error, as shown below (using the create or find point component):
I can change the error by supplying other inappropriate data to P, but can't make it work. What's meant to go in here?
Constraints in SAP2000 seem to be allocated by group, so the input reflects this. Attached is an example of diaphragm constraints, local are generated in a similar way.
Let me know if this doesn't help.
Thanks Jon, that worked perfectly!