tdated and changed since then: 1)i'm not even able to generate "sky with certain illuminance level" ...the default value has disappeared through the versions and i don't know what to put... 1? 0,5? ..boooh.. 2) how do I apply materials to objects? the "generic material" component is gone, and the video starts with that, so i'm stuck from the beginning
3) and then i get a strange error when attempting to generate the RAD file. unfortunately i'm using the machine of a colleague and the message is notified in the native language and can be translated as "the specified key was not present in the dictionary". this appears immediately after i toggle "write rad" to True. Maybe does it have something to do with the fact i didn't set up materials because couldn't figure out how?
thanks for helping!ps i went to check and it seems that a folder has been created with a .sky and .typ file
…
urse.mcneel.com/t/subdivide-given-area-into-randomly-sized-blocks-with-no-gaps/58003/8
I add some difficulties to resist and to do it with Grasshopper and Anemone. I know it is surely more simple in C# or other program. Peter Fotiadis will be sad, but I did it in GH, it is quite long but it seems to work. The idea is to generate a grid of point, to take a random point on it, to generate a rectangle with a random incremental size (1, 2, 3, 4 in width and the same in height in my example) so look if this rectangle contains all the points of the grid, if yes put this rectangle on memory, destroy the points on contact and redo it until grid is empty.
…
ace when I start running Galapagos/Octopus (below is "room orientation optimization" shared at http://hydrashare.github.io/hydra/viewer?owner=mostaphaRoudsari&fork=hydra_1&id=Room_Orientation_Optimization&slide=0&scale=1&offset=0,0) It may take quite some time to see some results. That's fine for the above simulation. But my real challenge is, when I am going to optimize room dimension with respect to ASE and sDA calculations, either Galapagos or Octopus goes wildly and never come up with a solution. I believe the time-consuming calculation, especially sDA with higher -ab numbers, trigger the lag a lot? Any suggestion/trick to improve it?
Most importantly, based on your experience, for example to optimize window/exterior shades sizes and achieve ASE<10% and sDA>55% (LEED v.4 requirements), Octopus (due to its capacity of multiple objectives) is the only choice? Any other approaches within grasshopper?
The alternative approach in my mind as a GH beginner is as follows. But I am not sure whether it is doable. Again, your comments will be greatly appreciated.
Since all my room/window/shades dimension are controlled by number sliders, I am thinking whether a component from GH will trigger these number sliders (not necessary to be all of them but one by one) automatically. If this is possible, I can do "data recorder" to record outputs from ASE and sDA. Eventually I will have a database of the input parameters and sDA/ASE results.
Does it make sense? Is there a component which can trigger number slider output at certain step?
Many thank!
Cheney …
t is something easy to do (?)
I try to create a surface out of a mesh (that looks like a vase). I need to create a grid of points on the mesh and interpolate them to create the surface. I need this because the parametrisation of the surface needs to be quite exact. To achieve this I extract contours in one direction and then split them with two planes. I sample points in each of the three sections using different densities.
Then, I need to create contours, in the other direction, based on the sample points.
Ideally, I would like to get all these points and create a surface out of them directly.
However, because I don't understand yet how to make a structured point grid out of the point lists, I try to just make contours in the opposite direction, which I can loft.
For the moment I cannot create all these contours all at once. I use sliders to specify a specific contour index and bake it into Rhino and then I loft them manually.
Here is the section of the GH definition that does the last contour creation:
Could you please help me in creating all the contours at one, so I can avoid exporting them one by one. In this way, I will be able to directly loft the surface with GH.
In this definition the 'Sample Contours' components are 'Divide Curve' components.
The components that write Top/Middle/Bottom Sections are 'List item' components (i=0, 1, 2 respectively), as well as those that write 'Get Rows' (i from slider).
The 'Get Rows' ones are flattened to provide a single list for interpolation.
Thanks in advance.
Stratos
…
h a loft operation later on.
I've read some topics in the forum regarding offsetting, but it seems that no one have had this problem (very surprisingly I'd say).
This is what I'm doing:
a) I have a non-convex, closed polyline in the XY plane (the native curve being referenced from rhino). Let's call it CURVE A
b) I rotate and move CURVE A to a different plane (obtaining CURVE B).
c) I offset CURVE B, and now it has more segments and points than CURVE A (basically, it creates the segments that would be required to close the shape if it had been offset segment by segment instead than as a whole)
d) when I loft these curves - CURVE A and CURVE B, it gets messy (since the different curves have different segment count)
I've tried a lot of workarounds:
1 - Offset CURVE A on XY a certain amount, and then offset it back, obtaining CURVE A 2.0. It doesn't work, since CURVE A and CURVE A 2.0 have the same topology, so the final loft is still messy
2 - Offset CURVE A on XY without offsetting it back: It works, but I need to maintain the original shape at the base of the resulting surface (after the loft operation described earlier). I thought that just scaling the resulting brep would do the trick, but then I realized it doesn't.
3 - Using CURVE B (the curve that later will be lofted with CURVE A) to finds its closest point on CURVE A, and then re-creating the original curve with this new points (CURVE A 3.0): Doesn't work on all cases...
So that's it I think. I'm really lost with this, so any help will be very much appreciated. …
freeform Mesh Solid???? Because, that's how it really goes in the Nature!
my Try:
step 1) build the facade skeleton with the outlines intersected from Voronoi cells and the skin of skyscraper. then use a some borrowed GH-sets to loft those outlines.
step 2) use some other borrowed GH-sets to loft the whole 3D Voronoi Skeleton. Then bake them. and then use "mesh boolean" in Rhino, to get the inner 3D Skeleton for the Skyscraper.
step 3) combine them, it's not perfect, but not too bad.
This is the result.
Problem: When I try to make the Point cloud more denser, the "mesh boolean" allways failed out. Because those Skeleton-meshs are too komplicated to split.
any ideas??
Thanks!!!
…
er the ground based on pressure monitoring data available over different dates.
In essence, I want to morph between two surfaces to show seasonal movements.
The picture below shows a hypothetical 'two surface' model - the red points in-between the two surfaces are where I have got to so far (the distance between surfaces is controlled by a slider):
Having got this far I was feeling quite proud for half a days work having never before used grasshopper ... HOWEVER - I am now stuck.
To get to this point I:
A) Divided each surface into 100x100 intervals.
B) Drew a line between each corresponding point in each surface.
C) Extracted a point from each line using a percentage of length (0-100% being from surface no. 1 to surface no. 2)
I have since tried:
1) Creating polylines with each row of data then lofting = failed
2) Creating a mesh from the points using a plugin = failed
3) Directly merging between the two surfaces using an algorithm put together by someone smarter than me (credit of this site) = failed because the number of vertices were different between the two surfaces.
I am really hoping someone can guide me on this as I am really at a loss about where to go from here.
Thanks in advance.
Lyndon J
…
ided has nothing to do with Hoopsnake (not to mention that his problem is very complex although it appears simple - as usual) but that's irrelevant. The solution is solely based on C# code using mesh connectivity data (vertex to vertices, edge to vertices, edge to faces, faces to dogs, dogs to cats blah blah).
But James has wild plans in mind: in fact his puzzle is to deal with non manifold meshes in order to create "trusses-out-of-meshes" so to speak. Or at least meshes reported as non-manifold by Rhino (Mesh.IsManifold(true, out isOriented, out hasBoundary)).
For instance Sandbox (Plan C) fails to extract connectivity data in similar meshes (See test cases 1,2 where the test mesh is a "combo" of open "portions" + some "closed" "sub-meshes" ... if all these make any sense anyway).
So I made a C# that inquires a mesh in every possible way (Plan B). C# keeps working even if the mesh is reported "non-manifold" (odd results, mind).
And after the "intro" ... we arrive to the scope of this thread:
1. Attempting to do it (halfway: it's just a test) the Plankton way (Plan A): I need Daniel's inside as regards case1: (by what means can we deal with runaway "loops"?)
2. Has anyone attempted dealing with non manifold meshes? (regardless if it's done with code or GH components or add-on components).
3. Has anyone any suggestion upon dealing with connectivity matters in similar situations?
best, Peter…
o far (abstracted for brevity) have been: 1) decompose the brep to extract the faces for each cardinal orientation 2) Extract the corner points of these faces (my script here is a little rough - would appreciate feedback) 3) Draw lines from these corner points to a curve that represents the sidewalk on the other side of the street 4) intersect these lines with a plane 5) draw a Polyline through these intersection points (using a clever bit of VB written by David Rutten) 6) Make a surface from this polyline that represents the perceived building mass as seen from the sidewalk on the other side of the street. This seems like it should be simple, but I'm struggling to make it work for every facade of the building, and for any geometry I throw at it.
So far I've been successful for one facade of the building, but my script breaks down for the other facades. I think the breakdown lies in drawing the polyline between the intersection points - though I may have created this problem earlier in the script in my corner point extraction strategy.
Working Script:
Broken Script:
I'm writing this script to allow me to analyze many building massing options in a short amount of time. I'm trying to make it work universally for a large range of geometries. Any help you can provide would be awesome!
I've attached the script and the rhino model. I've done my best to annotate the script and highlight the area that I believe to be broken.
Thanks,
Matt
…
ure here: http://www.openfoam.com/download/install-binary-windows.php
This I found by following the instructions here:
https://github.com/ladybug-tools/butterfly/wiki/Getting-started-with-butterfly-in-grasshopper
HOWEVER:
At home here on my newer, faster Windows 10 machine - no such luck. This is becoming quite frustrating as I feel I am failing some obscure intelligence test.
I have attached what I suspect is the likely problem identifier - not that it has helped me identify the fix. What I believe is the salient message is appears in the OF_Env_Create Powershell Window (Running as Administrator) , which is step 3 on the Windows 10 special instructions found here:
https://github.com/ladybug-tools/butterfly/wiki/Windows-10-Installation-Notes
The message (in red as can be seen in the attached picture) states:
Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope. Due to the override, your shell will retain its current effective execution policy of "Unrestricted". Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more information , please see "Get-Help Set-ExecutionPolicy." At C:\Users\Michael\AppData\Local\Temp\Quest Software\PowerGUI\18d7ce54-562c-4f2b-b985-3c24b83cae50\of_create_container.ps1:1 char:20 + Set-ExecutionPolicy <<<< bypass + CategoryInfo : PermissionDenied: (:) [Set-ExecutionPolicy], SecurityException + FullyQualifiedErrorId : ExecutionPolicyOverride,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand
M…