once all neighbors overlap, its fine. otherwise just think, they can not be too big, as they will be trimmed, so maybe say: quad size is given by the host surface BBX diagonal length. for the trimming: as long as u have no concave parts on the surface, u can trim each cell with all others. try to work with planes instead of the planar cells. that saves performance. use plane-plane intersection, then u get edge lines, which then u just need to chamfer together. u can find neighbors for each cell by i.e. (the cheapest option) neighbors are the 10 closest cells to a test cell. remember: u just need to limit the number of intersecting planes. this works for rather evenly distributed cells with little concave curvatures. i found useful a kind of searchlight strategy. think of a rotating cone. from all points currently in the cone, the closest is designated as neighbor. i know this is totally unscientific, but i hope i could help!ps. lets see this http://www.grasshopper3d.com/photo/faceted-shell…
can try playing around with that.
The other reasons were pretty much covered by Mostapha and Chris. Usually you want AB (the ambient bounces) to be greater or equal to 5 no matter the quality, as it is one of the most important variables for a dependable simulation. Of course it depends on the nature of your geometry but 5 min. is a safe bet.
Btw, I couldn't see which geometry you are plugging where as one pipeline was empty in the file you posted when I opened it. Could it be that you forgot a surface?
Another point is the unit range you are using. Is that really 10 lux as maximum in your picture? Because in that case it makes sense for everything to be yellow (inside and outside) as you most likely will have more than 10 lux everywhere.
P.S.: Selecting medium/high quality sets all the variables for you, no need for additional sliders. In your case you are actually overwriting the quality settings.
Kind regards,
Theodore.…
X, Y & Z parameters. At the moment 'Z' parameter is set to 0.
Now when i use a planar surface components it works well. But because i have Z parameter i need Edge surface component to work well. Edge surface gives me a funny shape, not like planar surface.
Essentially with Z parameter as 0, edge surface should look like planar surface, or not?
When i try edge surface with simple 4 points it works. The moment it gets relatively complex i do not get desired result.
All the points 1-26 in the curve were formed progressively in order i.e. 1, 2, 2...26 in GH not in Rhino.
What m'i doing wrong?
cheers
aB
…
e.
i have come as far as creating a mesh entirely in GH to my desired form. Could any-1 please help me with creating fenestrations / holes into this mesh in GH?...
I have been stuck with this since a week now...not able to find any solution to move ahead!
i have Tried Voronoi by converting this mesh in to surface...it doesn't really work on the mesh that i have created...
any-1 with some suggestions?
cheers
aB
…
in 10 minutes or so!
If you are interested to know about the process of putting the Ladybug together, what's going on right now and what's coming next, just check the workshop website for webcast information! Here: http://www.nrel.gov/buildings/2013_radiance_workshop.html
Cheers,
Mostapha…
below:
The comand prompt window (see attached image) seems to put -ad 1000 as default even if it seems to be set to 512 in grasshopper. In contrast to -ad, the modification of -ab to 3 has been taken into account. Have you set minimum values for RADparameters? If yes, would it be possible to force them to custom values?
Thanks in advance for your help
Best regards,
Aymeric…
ce issue with Rhino and shouldn't make an issue with EnergyPlus but just to have cleaner geometries, I untrimmed base surfaces so zones are closed brep now.
I also noticed that when you are adding multiple openings to a surface, the surface doesn't show-up in the output of createHBZoneFromHBSurfaces. The surfaces are there though and show up once you explode the zone! Again should be a tolerance issue for join. I need to take a closer look to both of these.
Also, in a number of the zones you had wall surfaces connected to createZoneFromHBSurfaces both before and after adding glazing. I removed parent surfaces so you don't end up having duplicate surfaces.
Back to adjacency which was your question, the issue happens since you have couple of zones with the same name so component was assuming them to be the same zone so it wouldn't solve the adjacency (Yes! it shouldn't. That was a bug which is fixed now). I changed the names and now it should find the surfaces that you are looking for.
Moreover, once you solve the adjacency, next solveAdjacency won't overwrite the BC unless you set remCurrentAdj to True.
Mostapha…
oCommonSDK, I modified a working C# component that does something similar (ReduceMesh, written by Andrew Heumann). Both scripts are attached.
Aside from changing the component name and eliminating the P parameter, I made two modifications to the script:1) changed line 87 from private void RunScript(Mesh M, double P, ref object A) to: private void RunScript(Mesh M, ref object A)2) changed line 93 from: Rhino.RhinoApp.RunScript("_-ReduceMesh _ReductionPercentage " + Convert.ToString(P) + " _Enter", false); to: Rhino.RhinoApp.RunScript("_-MatchMeshEdge " + " _Enter", false);When I run the ReduceMesh component, the mesh object I feed it gets baked, the ReduceMesh command is run, the temporary object is deleted, and the reduced mesh result is returned. (Thanks, Andrew).When I run the MatchMeshEdge component, the mesh object I feed it is baked, the MatchMeshEdge command is run, but the temporary object is not deleted and no result is returned. The runtime error reads: "Sequence contains no elements (line 0)". I have a feeling that the command line string I am handing to RunScript is incomplete. When I enter it manually on the Rhino command line I see that it wants a mesh and three parameters. Of course I can hit Enter to accept the default values, but when you invoke a command through RunScript do you have to supply all parameters regardless? Also, where would I find details on the argument types that the command wants? For example, the last parameter reads "RatchetMode=On" or "RatchetMode=Off". How do I know if the type is Bool or the literal string "On" or "Off"?I am a complete novice at this so any help you can provide would be greatly appreciated! …
ey eventually recover and you can continue to working normally. This however is not very practical...
(Additional information: We have a virtualized Windows SPS environment, might this be the problem? Locally - on my hard drive - it works fine.)
Futhermore we've discovered the following bug/feature:
We export a cluster and reference it back into our .gh file, then copy the .ghcluster file to a different location and rename the copy (without opening or changing it), then also reference the copied version back into the .gh file. Now Grasshopper shows two clusters with two different file paths, but claims that they both are the same ("this cluster occurs twice in this document"). If I double click one of them, make a change and save, both clusters get changed, even though they are separate .ghcluster files.
This would follow the logic that David laid out in this entry (http://www.grasshopper3d.com/page/clusters09), that GH identifies a cluster not by its file name or location but by its internal ID.
An addition we would very much appreciate for the next GH update, would be the option to right click a referenced cluster and then not only be able to "update" it but to also to "relink" it to a new or different source.
Right now you have to rename or delete the .ghcluster file in order to relink a cluster via the update option. You can also overwrite the old cluster und update. However, sometimes we want to keep the old version or disentangle one of a clusters many instances and relink just one, with out loosing its various inputs and outputs by referencing the new version and reconnecting it.
Thanks, BB.…
ard to find example...
I do not know how to load windows form and send data to object in form.vb...using grasshopper sdk.
it is the same,, when I try to use dll(class) with VB component in grasshopper.
may be I have to make two class (class1, form1) but,
when I send data to class1, form1 can not receive class1 data because form 1 made new class1 and both class1, class1(from form1) is different session?
for novice programer,, for me it is very hard.
load class1,
class1 load form1
send data from grasshopper to form1. x
and button click
couldn't calculated,... result was always "0"
and tried many other methods,, but it failed...
may be some known technic but it is hard to find books...
Please...help me.
if possible would you tell me how to load form1 using grasshopper sdk and ""send data "" to form1
or form1 could use data from grasshopper?
Thank you....
for ex)
'(in class.vb)
Public Class Class1 Private Shared fl As Form1 Public Sub fload() If fl Is Nothing Then fl = New Form1 fl.Show() End If End SubEnd Class
'(in form1.vb)
Public Class Form1 Public x, y As Double Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
ab(x, y) MsgBox("hi" & y) End Sub Sub ab(ByRef a As Double, ByRef b As Double) b = a * 2 End SubEnd Class
'(in Grasshopper VB.component)
Dim cl As ClassLibrary1.Class1 If cl Is Nothing And f = True Then cl = New Class1 cl.fload() End If Dim fr As ClassLibrary1.Form1 If fr Is Nothing Then fr = New Form1 End If fr.x = x a = fr.y…