able, but don't instantiate it.
line 4, copy the reference from ptList1 into newPtList1. Now, ptList1 and newPtList1 are both pointing to the same List in memory.
line 7, Call the RemoveAll method on ptList1. Since ptList1 and newPtList1 both 'share' the same List, they are both affected.
I think what you want to do is:
01 Dim newPtList1 As New List(Of On3dPoint)
02 Dim newPtList2 As New List(Of On3dPoint)
03
04 newPtList1.AddRange(ptList1)
05 newPtList2.AddRange(ptList2)
06
07 ptList1.RemoveAll
08 ptList2.RemoveAll
Now, ptList1 and newPtList1 are two different lists and if you modify ptList1 it will no longer affect newPtList1. Note however that that points inside ptList1 and newPtList1 are still shared, so doing this:
ptList1(0).x = 18.4
will change the x coordinate of the point in both lists.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
things working well when clicking "Step"
05: things breaking down when clicking "Reset All", data down to single item
06: "Loop All" correctly adding +1 to that single value, but where are the other values?…
icipate this summer, in the digital design build workshop, seeking to create an inventive collaborative environment.Aimed primarly at students, architects, urban designers, engineers, landscape architects.Guest invited tutor : Arian Hakimi Nejad (Iran)Profile: MAA 2010 - Architect/Urban Designer (IaaC-UPC, Barcelona, Spain)Workshop coordinator: Diana Nitreanu (RO)Profile: MAA 2010 - Architect/Urban Designer (IaaC-UPC, Barcelona, Spain)Official Rhino TrainerTRAINING OBJECTIVES:Presenting a set of innovative approaches and methodologies using Grasshopper.TOOLS: Grasshopper (primarly) and Rhinocerus (secondary)ATTENDANCE&COSTS:>Price 100 ron for 3days workshop/6h/day.>To book your seat send email to the address: diana.nitreanu@laboratorul.ro>The first 25 people to send email to the address above will get a seat.>To have your seat comfirmed, you must show up at the location above to receive a detailed schedule of the workshop.>When the workshop starts you must present yourself with the flyer that you will receive.REQUIREMENTS:>Bring your own laptop!>All the participants MUST have installed Rhinocerus and Grasshopper.>You can find details on www.rhino3d.com and grasshopper3d.comLOCATION:Mircea Vulcanescu st., no 27, sector 1, Bucharest, RomaniaFor further info or any questions, feel free to contact : 0722 86 06 87Free drinks, music, fun and a lot of new things to learn! :)IMPORTANT!THE WORKSHOP WILL BE HELD IN ENGLISH…
ceros.
Public concerné /
Architectes et designers, utilisateurs de Rhino souhaitant paramétrer Rhinocéros à l’aide de Grasshopper, programme
associant des composants et une structure de graphe interagissants avec le modèle Rhino.
Une bonne connaissance de Rhinocéros est nécessaire. La langue de la formation est le français.
Structure et Objectif de la formation /
La formation se déroule sur 3 jours : les 2 premières journées sont consacrées aux « fondamentaux » de Grasshopper
avec en préambule une introduction au design et à l’architecture paramétrique et leurs impacts dans la conception, la
création et la construction.
La troisième journée sous forme d’atelier est dédiée à l’étude de cas concrets proposés par les stagiaires, qui, quelques
jours avant la formation, pourront envoyer leurs projets par mail à info AT rhinoforyou DOT com
Les stagiaires, après la formation, pourront rester en contact avec les formateurs de HDA par le biais du blog
complexitys.com et le twitter @HDA_Paris. La durée de cette formation permettra d’atteindre une autonomie et une
bonne compréhension basée sur des exemples concrets.
3 Formules possibles /
3 jours ( Initiation+Atelier ) : du lundi 20 septembre au mercredi 22 septembre
2 jours ( Initiation ) : lundi 20 et mardi 21 septembre
1 jour ( Atelier ) : mercredi 22 septembre
Programme ind icatif des notions traitéES pendan t la formation /
Introduction à la conception Paramétrique . Rhinoscript, Grasshopper: différences et similarités . Interface
graphique de Grasshopper . Objets, Données, Listes . Opérateurs scalaires : La mathématique de
Grasshopper . Gestions des données : la logique de Grasshopper . Vecteurs, Points, Lignes, Surfaces : La
géométrie de Grasshopper . Listes, Arbres, Branches . Le dessin paramétrique: exercices divers et exemples
. Références, Bibliographie, Support de cours . Ateliers d’architecture et design paramétrique (3ème jour) .
Moda lité de la formation /
Venir avec un PC portable équipé de Rhinocéros version 4.0 SR 7 et de la dernière version du plug-in
Grasshopper (téléchargeable sur www.grasshopper3d.com).
Le coût du stage est de 350 € HT/jour par personne.
Réserver votre place dès que possible car les places sont limitées à 10 participants maximum.
Inscriptions et renseignements: Jacques Hababou, info AT rhinoforyou DOT com
Pour en savoir plus sur l’architecture paramétrique: www.complexitys.com…
.Besides these two output, it calculates the solar position (elevation angle and azimut) considering the atmospheric refraction.I saw the difference between solInitOutput (based on Radiance) and the script that I wrote (based on NOAA). Some formulas are the same, while others are different. for example "Julian day", "solar altitude"..Anyway, they are two different models.At the moment the imputs are:1) location2) analysis period3) yearand the outputs are:1) civil twilight2) official sunrise/sunset3) solar elevation angle4) solar azimutThis is an example where I used data of a real place.
and these are two photos that I took in this place.
SUNRISE (Civil Twilight) 06:44 AM
SUNRISE (Official) 07:14 AMNote that in the first photo the street lights are on, while in the second are off because of the good level of luminous energy.I hope that it could be useful.
BestsAntonello…