an be given as 88° and 95°. All three angles must sum up to 180, and we're already 3 degrees over balance. Or maybe the user specifies three edge-lengths: 21, 12 and 8. 21 is bigger than 12+8, so even if the triangle was stretched flat, the two short edges cannot reach the ends of the long edge. The above is easy to test for and I add errors to the component if an invalid triangle is provided. However there are also many angle+edge length combinations which result in invalid triangles.
I could of course test for these as well, but the problem is now tolerance. What if the user specifies a redundant angle of 54.7°, whereas the mathematics tell us that the actual angle is 54.7002°. Is that an error? If so, is the angle wrong or is perhaps one of the edges wrong? Or has the triangle simply been over-constrained? Is there a mathematically robust way of dealing with this? And if so, would that also be the most user-friendly way of dealing with it?…
Added by David Rutten at 2:23pm on August 23, 2014
s are identical to those in Grasshopper so I am getting an ambiguous reference error when loading the OpenStudio.dll into my component and using the Point type hint.
private void RunScript(Point3d pt, ref object os3DVector)
{
OpenStudio.Point3dVector points = new OpenStudio.Point3dVector();
points.Add(pt);
}
Error: 'Point3d' is an ambiguous reference between 'Rhino.Geometry.Point3d' and 'OpenStudio.Point3d' (line 88)
Is there any particular reason the Grasshopper reference to Point3D is implicit rather than explicit Is this something that can be changed on my end as it appears to be locked down.
Would like it to read as follows:
private void RunScript(Rhino.Geometry.Point3d pt, ref object os3DVector)
{
OpenStudio.Point3dVector points = new OpenStudio.Point3dVector();
points.Add(pt);
}
Awesome, thanks!…
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…
como 2ECTS - Horario: Jueves y Viernes de 16:00 a 18:00 - Inicio: final de Febrero 2016 -fecha exacta por especificar- - Inscripciones: Envía tus datos (nombre, apellidos, NIF, mail, teléfono) indicando tu preferencia a iamadrid.arquitectura@upm.es
-Aprendizaje del entorno de programación visual para la generación de prototipos dinámicos de proyectos completos. Plataformas de programación basadas en nodos (node-based) para su gestión. -Diseño de algoritmos interrelacionados. Planificar y explicitar procesos. Traducción de procesos a lenguajes de programación. Sintaxis básicas comunes entre todos los lenguajes de programación. -Explorar tanto derivas como objetivos concretos. Programar herramientas de proyecto como parte del proyecto mismo. Explorar el proceso como esencia del proyecto. -Incorporar al diseño datos externos al mismo. Aprender a programar, automatizar y después matizar decisiones. Generar proyectos adaptativos y reactivos en continua reinformación. -Explorar los límites de lo codificado: producción de codigos como asistentes y no como imposiciones. -Interrelacionar decisiones de equipos. Generar marcos y rutinas para el diseño colaborativo. -Explorar topologías y prototipos, entornos de incertidumbre y posibilidades. Manejo de bases de datos y flujos de herencia y transporte de datos. - Generación dinámica, evolutiva y modificable. Producción de herramientas de codigo abierto.
http://dpa-etsam.com/iam/iam-cursos
https://www.facebook.com/iamadridETSAM?fref=ts
+34 91 336 6537 / 6589…
late the angles between each.
My script so far isThe error occurs in line 90+91 I dont know why this is happening they should all be vectors since they are stored in a Vector3d list.
So if anybody could enlighten would be really appreciated.
Thanks and nice monday!…
And (b=y) And (c=x), "A4",If(a=x) And (b=y) And (c=y), "A3",If((a=y) And (b=x) And (c=y), "B1",If((a=y) And (b=y) And (c=x), "B3",If((a=y) And (b=y) And (c=y), "B2","Erreur"))))))
…
Dim i As Integer
Dim w As Integer
Dim arrCurvesIn(1) As OnCurve
Dim arrCurvesOut() As OnCurve
For i = 0 To x.Count() - 1
arr_CurvesIn.Clear()
arr_CurvesIn.Add(x(i))
arr_CurvesIn.Add(y(i))
arrCurvesIn(0) = arr_CurvesIn(0)
arrCurvesIn(1) = arr_CurvesIn(1)
w = OnUtil.ON_JoinCurves(arrCurvesIn, arrCurvesOut, 0.001) arr_CurvesOut.Add(arrCurvesOut(0))
Next
A = arr_CurvesOut
End Sub
Everything works good, but I have one warning, which i do not understand. As I suppose, it is related to by val and by ref variables.
"Warning: Variable 'arrCurvesOut' is passed by reference before it has been assigned a value. A null reference exception could result at runtime. (line 94)"
Could somebody explain me, what is wrong in my code?
Thx…
t the elements I used CreateHBsrfs and I added "Adiabatic" in the EPBC input. Since the EnergyPlus results weren't what I expected, I checked the idf file and I discovered none of the element is adiabatic. Furthermore, the simulation doesn't use the materials I set up for the not-adiabatic wall.
I even tryed with MakeAdiabatic, MakeAdiabaticbyname and MakeAdiabaticbytype. With the first and second the problem is still the same. With MakeAdiabaticbyType, if I change one wall type in the CreateHBsrfs, it still remains the same type in EnergyPlus, so it makes all the walls adiabatic. Is there something I can do? I attach the GH file Thanks in advance Lisa…
ty lots as extrusions with their height depending on perimeter length. Then I added a 'Cull Duplicates' group to avoid properties that had duplicate 'Area' centroid points. That reduced the number of properties from 364 down to 331, though five of those have 'Area' values between 88 and 205, ten have values less than 500 while the average is ~1.3 million!
So the data is still suspect. Some appear to be nested inside of others? But using those 331 properties, I now find 32 that intersect the 'Zoning Districts'. But that's not the same as a list of properties that span two or more 'Zoning Districts'... Not having fun anymore. :)
…
Added by Joseph Oster at 10:40am on January 14, 2016