goal ist to use a component to tell the brick, you either be the same as the 1. selfmade brick or the 2.
to compare those I drew lines from the center point of each surface to their cornerpoints:
Then I took the overall length of all these lines together. and divided the area by this length:
The endpart of the script looks like this:
i'm trying to figure it out with galapagos, it somehow works but it can either make the 1. Equals-component to be true (so every item is true) or the 2. component but i'd like to have a list that for example says: True, True, True, False, True, False, False,...
Thanks for help
…
B sunlightHours:1) check the direction of analysis surfaces, sometimes it doesn't work because they are flipped.2) when the model is huge like this one, try to simplify it. If it is not possible, try with a part of it and when you are sure and all it is fine, run the complete model. Moreover, for the first tests of your model I suggest that you use a big gridSize, e.g. 10 meters.
Let me know if it works
- Antonello…
use modulo 1 (we consider reparametrized surface).
The definition is a bit lengthy, but that's only because it takes few components to construct a properly managed diagrid and a random target surface.
…
the material from C:\DIVA\Daylight\material.
In Honeybee I wasn't able to import this RAD file. I had to add every material with the addtolibrary component.
Yesterday, HB told me about the new version, so I've done the update. Looks like there are some very helpful new tools... but I can't get HB to fly (Ladybug flies).
The addto/callfromlibrary component says:
1. Solution exception:honeybee_RADMaterialAUX
Never had this Problem before and I don't know how to solve it.
Please, can you help?
Jakob…
alifornia Energy Commission Modules Library, with the new "Import CEC Photovoltaics Module" component.
Not only USA module producers are included but also those from other countries like: China, Japan, South Korea, Spain, Germany, Australia etc.This is an addition to the previously available 500 modules from Sandia Modules Library.
A small .gh file example is attached below, along with CEC Modules Library file.
Previously named "Photovoltaics module" component is now called "Simplified Photovoltaics module", to distinguish itself from the new "Import CEC Photovoltaics Module" and "Import Sandia Photovoltaics Module" components.
So to recapitulate:The "Simplified Photovoltaics Module" component is used to define general crystalline silicon module.While new "Import Sandia Photovoltaics Module" and "Import CEC Photovoltaics Module" components enable picking a custom module from Sandia and CEC module libraries:
…
re_Never_Ends_V666".
3. Delete the left C# that does the Ziggurat (and feeds the truss maker with the "skin").
4. Remove all the comments of type "don't touch ..." > be brave.
5. Create any spiral surface (like the ones shown as demos) in Rhino. Or Any List of surfaces (say: one spiral surface and some others - but better start with ONE test surface). DO NOT use trimmed surfaces (only my "pro" C# truss maker does this - but it's incredibly complex to handle it). In fact ... you can use them ... but forget it, for the moment.
6. Feed this green GH component shown (aka: the Red pill [Matrix], he he) with your surface(s) > surrender to the crazy world of trusses.
7. Listen to some appropriate stuff .
…
g VB scripting as below is shown is not working... ;((
Private Sub RunScript(ByVal Pts As List(Of Integer), ByVal GS As List(Of System.Object), ByRef nsrf As Object)
Function CreateNS(ByVal cvpoints As ArrayList, ByVal GS As Integer) As OnNurbsSurface Const Degree As Integer = 3
'Make the surface Dim orderU As Integer = Degree + 1 Dim orderV As Integer = Degree + 1
Dim ns New OnNurbsSurface ns.Create(3, False, orderU, orderV, GS, GS)
'Add cv points Dim i As Integer Dim j As Integer Dim pt As On3dPoint For i = 0 To GS - 1 For j = 0 To GS - 1 pt = cvpoints(i)(j) ns.SetCV(i, j, pt) Next Next
'Set knots for open surface ns.MakeClampedUniformknotvector(0) ns.MakeClampedUniformknotvector(1)
CreateNS = ns End Function
Considering more than this example got from a book, is there any other better way to get a simple AREA from control points by GH?
THAAAAAAAAAAAAANX
Francesco
…
guess this is just a rectangle you are starting with and, if I read your intentions correctly, you want to start with a box and be able to move its top vertices independently in x,y and z and also rotate them altogether (this seems a bit unnecessary since you already control each vertex independently but ok).
Starting from the beginning of your definition: You don't need to actually create the brep and then extract the vertices and move them and then re-create it. Instead you can just get the bottom vertices from the [Boundary curve], using [Discontinuity] and move them by a vectorZ equal to [Building Height]:
Next you want to create four vectors and move the four vertices. The only thing that could help reduce components here is to merge the four vectors into one list (since you already have the vertices in a list):
Then you can add the rotation just like you did in your definition:
and finally you can create the twisted box. At this point you have 2 lists of 4 points each. Like you did in your definition, you have to use a [List Item] component to get each vertex but instead of using 4 components you can use just one and create more outputs by zooming in and clicking the (+) icon at the bottom:
and you finally have this:
Hope this helps
ps. the reason you were getting 3 breps is because you were creating 3 seperate vectors (x,y,z) instead of one, so you were actually moving each vertex 3 times.
…
tools. These new components are organized in a new panel called "Alchemists" :
How do they work ? You create polyline and each component converts it into polygonal mesh. Then it computes what it has to do. In the end component outputs polylines again, changed in some manner depending on components function.
DOWNLOAD from food4rhino.com
Why truncation and dual ? Because with these two operations you can make most of mesh operations as described HERE. I.e. ambo (rectify) is truncation with amount of 1.
Special thanks to : Michael Pryor for constant help&support and David Rutten for great advices.
It's highly recommended to use Starling with Weaverbird and [uto] MeshEdit.
More examples explaining new components soon.…