Managing "Timeline.CSS" Part One

hi guys, here last updates about CSS working progress. I started manage Timeline.CSS file. I am trying to study field layouts to decide which to show and how to view them.

Unfortunately as language it looks more complex than others CSS that i studied before. So to explain you better i try to make a work report about CSS files:

  1. I learned some PHP code (just basic language) and I decided to reorder content by hierarchies to better read fields formatting. Now, having a more readable result, the next step was starting to study word by word each line command. 0.PNG
  2. The Timeline has an own CSS, seems to be written in a much more disordered way and with a PHP basic language a little different:2 Timeline css.PNG
  3. I tried to analyze the rows one by one and I used the strategy to end row after each brace "}" and after ","  about classes. seems to have taken a different form now. I hope it's the right way without any script errors (anyway I saved a backup copy of the original file). this is the final result:3 Timeline css.PNG

Now the script seems more readable. I noticed that before every class there is a sort of call-address. Without those CSS commands, the script doesn't work, so I think there are some differences about CSS or PHP language in this file.
In addition the editor that i am now using suggests by self available commands. I saw that when I write them into this file don't appear certain commands, for example: 
- I've always used the command "border-top-left-radius:" or "border-top-right-radius" 
- Here the only suggestion that appears is "border-radius", as if it were an older version of the language and does not recognize more complex commands. 

Someone can tell me if it's a plausible explanation? 
Reformatting the code by hierarchies was a good strategy or it will give back sure script errors?

Ven, 24/10/2014 - 16:30
Da una funzione a Revit

Riprendiamo il discorso delle funzioni generate in Dynamo ( http://design.rootiers.it/tecniche2012/node/3712 ) e stavolta vediamo come utilizzare le funzioni e il loro controllo per realizzare uno pseudo oggetto architettonico lavorabile in Revit.

Prendiamo una curva generata da funzione e duplichiamo i nodi che la generano, a questo punto abbiamo due curve parametriche indipendenti.

A questo punto possiamo unire le due curve in un’unica lista con il nodo List Create; questo crea una lista degli oggetti (in questo caso le curve) la cui sequenza viene collegata al nodo Surface By Loft il quale necessita di una sequenza di due o più curve.

Dalla superficie possiamo aggiungere uno spessore con il nodo Surface Thicken ottenendo in tal modo un solido.

Ora che abbiamo un solido siamo pronti ad esportarlo all’interno di una famiglia generica basata su faccia. La esportiamo all’interno di una famiglia e non all’interno di un progetto perchè consideriamo l’oggetto come un componente editabile nell’ambito della famiglia in un secondo momento caricato in un progetto. Prendiamo il nodo Import Instance By Geometry e dopo avere eseguito il Run di Dynamo, avremo il nostro componente presente nella famiglia di Revit.


La prima cosa su cui vado ad indagare sono le dimensioni dell’oggetto e come possiamo vedere dalle immagini lo spessore dell’oggetto in Revit è pari a 280 mm, e il valore attribuito in Dynamo è 0.280, il che significa molto banalmente che in Dynamo il valore è espresso in metri. Questa informazione è indispensabile nel momento in cui volessimo gestire le dimesnioni dell’oggetto, in quanto una volta arrivati in Revit questo non è più possibile.

E’ però possibile creare altri parametri, come ad esempio il materiale ed anche altri parametri che possono essere utili da estrapolare o che comunque possono aiutare la gestione di questo componente nel progetto.

Possiamo quindi modificare le dimensioni da Dynamo e immaginare che questo componente possa essere nel mondo architettonico una installazione urbana, ovviamente abbastanza utopica al momento ma con alcune considerazioni non è detto che non sia realizzabile.

Gio, 23/10/2014 - 12:36
Street Furniture - Urban Flower

 

 

Gio, 23/10/2014 - 00:12
Testing Rhynamo

We are testing Rhynamo, a great beta tool for Dynamo, developed by Case. In particular, we focused on the importing nodes, that allow you to import elements from Rhinoceros to Dynamo.
Importing nodes: Breps, Nurbs Curves, Points, Polylines, Mesh, Arcs, Lines, Polycurves, NurbSurfaces, Curves, Circles.

We used each of these nodes and most of the time it worked very well with simple Rhino objects made ​​by us.


Here is a list of some of the successes:

SUCCESS:

Extruded curve:

Curve Type: open NURBS
Curve degree: 3
Rhynamo nodes:
 

 

 

Trimmed Surface:

Curve Type: open NURBS
Curve degree: 3
Rhynamo node:

 

Pimitive Box:
Polysurface
Rhynamo node:

Rhynamo import 0.jpg 

Extruded solid:

Polysurface
Rhynamo nodes:
_failed 
_Success

 

EAU Pavillon - Milan Expo 2015:

Finally we also tried to import a model of the GRC panels of the UAE pavillon of Expo 2015 by Foster and Partners, but the import failed.

Description of the process:

We had to make a Revit  BIM model of the GRC panels and to link it in the structural model. For this purpose we received the final Rhino model of the panels, in wich all the panels were polysurfaces separated each other, but it was impossible to receive the source geometry. So it was more difficult to repeat the generative process of the panels in Revit.


Image: model of the panels in Rhinoceros

At first we tried to import the panels in Dynamo through the Rhynamo nodes. We aimed to import the geometry and then to extract the panel vertices through Dynamo and apply adaptive panels to these points,  but in this case Rhynamo unexpectedly didn’t work. We tried using various importing nodes and also isolating geometries, but still didn't work.

 

Images: model of the panels in Rhinoceros

So in order to have a first fast model we imported the .sat file in a mass family and modeled the panels as walls by face.


Image: first Revit model, walls by face

In a second step we modeled the source geometries of the walls as masses and subdivided it with perpendicular plans generated in Dynamo, and then we applied six points panels for single curved panels and nine points panels for double curved ones, and then we cut the panels for passages and floors.

 
Images: portion of a wall (mass family), six points adaptive panel


Image: panels cut for passages and floors

This final model was fine and the panels were schedulable, but we had long working to check the correspondence between the two models and to adjust the exceptions.


Image: final Revit model

We are still trying to understand why Rhynamo didn’t work. In fact we tihink the workflow could be faster and more precise with it.

Mar, 21/10/2014 - 19:35
Dynamo: pensilina a sezione variabile

Dopo aver sperimentato con i curtain wall, sto continuando ad utilizzare Dynamo per creare relazioni tra parametri di istanza degli elementi caricati nel progetto.
Si tratta di uno dei modi più semplici per realizzare geometrie complesse nello spazio di progetto di Revit. 
Un altro metodo, forse più versatile, consiste nell’utilizzare Dynamo per controllare i punti delle famiglie adattive.

Il metodo delle famiglie adattive è caratterizzato da una corrispondenza visiva tra lo spazio di Dynamo e quello di Revit e quindi c’è un controllo geometrico della modellazione. Mentre nel metodo dei parametri di istanza c’è per necessità un approccio esclusivamente matematico alla modellazione e spesso anche un effetto a sorpresa finale.

Variazione di elementi posti lungo una curva:
una delle variazioni possibili, ottenibili con questo metodo è la ripetizione lungo una curva di elementi a sezione variabile.

Prima prova con un semplice pannello triangolare:
1: modellazione della famiglia, in cui la posizione del vertice è variabile con parametri di istanza.

2.Creazione di una curva su 3 punti: la posizione del puntocentrale lungo l’asse y è variabile con un double slider.

3. Suddivisione della curva in punti:

4. Utilizzando il nodo FamilyInstance.ByPoint, creo automaticamente un pannello posizionato su ognuno dei punti creati.

5. Modifico uno dei due parametri per ogni elemento della lista di elementi creati. In questo caso creo una successione numerica lineare, compresa tra 19 e x (modificabile con lo slider). E ripeto la stessa cosa con l’altro parametro.

Ecco un po’ di risultati:

Seconda prova: modellazione di una pensilina.
Ho utilizzato lo stesso tool creato per il pannello triangolare, per modellare una pensilina, la cui sezione è costituita da tre aste incernierate tra di loro e con il punto esterno a coordinate variabili.

In questo caso ho variato il parametro con funzioni di secondo grado:

Ecco un paio di variazioni:


Mar, 21/10/2014 - 19:30

Pagine