Archive for April, 2009

Workshop RhinoScript at ETSAM(Madrid)

Monday, April 20th, 2009

The last week I have been teaching at ETSAM in Madrid, doing a RhinoScript Workshop in GIGA  Departamento de Ideación Gráfica. Most of the Participants are professors of the university with high levels of mathematics and geometry. The rest, students with high levels in scripting (VB and processing). The workshop lasted two days, we start with Data Types, Mathematical Operations, Conditionals, Loopings, Arrays, Functions and Advanced Functions, Curves Analisys, Surface Analysis, Generation of Surfaces by Parametric Equations (in the group we count with a mathematician), Fractals and Recursion.

The atmosphere during the workshoop was really cool!. I would personally like to thank: Carmen García Reig (Organization and invitation), Ismael García (Organization), Antonio Casas (the mathematician), Pablo Miranda Carpintero (I’m eager to see the programming in Sketch-up), Tomás Pineda (Images), Miguel Vidal, see his blog: arquitecturaprogramable.es

With no particular order, some images of the projects during the workshop.




Tomás Pineda:

tomas4

tomas3

tomas2

tomas1




Pablo Miranda

pablo4

pablo3

pablo2

pablo1




Miguel Vidal

miguel8

miguel7

miguel6

miguel5

miguel4

miguel3

miguel2

miguel1




Ismael García

ismael4

ismael3

ismael2

ismael1




Carmen García Reig

carmen3

carmen2

carmen9

carmen8

carmen7

carmen6

carmen5

carmen4

SmartGeometry’09 images

Friday, April 10th, 2009

Smart Geometry 00:00 am

smartgeometry00-copy

SmartGeometry 01:00 am

smartgeometry02-copy

SmartGeometry 03:00 am

smartgeometry03-copy

SmartGeometry 04:00 am

smartgeometry04-copy

What I did in SFO (SG’09)

Friday, April 10th, 2009

This was my first time in an SmartGeometry, and I was impressed the high level of the participants and tutors.

Truss Optimization Trough Excel

Mi proposal for the workshop (4 days) consisted in optimize a steel truss, reducing the total weight of the steel, changing thier geometry. but constrained some nodes of the truss move in determinated zones. My original idea for the optimizatión was use Genetic Algorithms.  but in the workshop they propose me use the SOLVE program of Excel to optimize the truss.

This Image Show the description of the problem

carlos-de-la-barrera1



This Image  show the relation between GC and Excel how excel Manage the Geometry into GC. Also explain where in excel is the goal (the number that we are trying to reduce). The loads in the truss is decomposed node by node using the trignometric function Sin and Cos. fortunly for me the most part of the excel spreadsheet was maded by Matthew Clark from Arup New York. and the Strategy to connect both programms was of Steven Downing also from Arup Australia.

I Adde the constraints zone into excel and connect them to the position of the points also in the spreadsheet. the code in GC is really short but very intelligent because gc is completely camptured by Excel.

carlos-de-la-barrera12




In this image there are an screenshot of the Solver in excel and the truss before and after the optimization. this Images were prepared for the conference day.

carlos-de-la-barrera13




This are the parameters of the solver into Excel. also there are more options that you can control like the number of the iterations, the type of the algorithm to optimize, the accurate, etc.

optimization-window




This is an Screenshot during my work.

op_1copy




This is another screenshot and show the truss and the zones where the nodes can be moved. The width difference among all the tubes depends of the section area. also calculated from the spreadsheet in excel.

op_1




The truss with differents settings and extreamly constraints in the nodes. th truss now is calculated completely in compression, the reason becasuse all the tubes are in red color.

model-with-settings




now the truss is calculated and new loads are defined. blue colors represent that this tubes are working to the slenderness.

model-before-optimization-and-settings

And here after tthe optimization.

model-after-the-optimization

sketches in my notebook.

ideas_2

ideas

Here the constraints for each node.

conditional-study

And this is a video of the process.