but the order in which K gets changed is the same order that all of the other lists get changed.
For example (I'm not at a PC with Rhino/GH so I can't post an example directly) You want to order a cloud of points from the bottom up, i.e. by Z lowest to highest. Using the PComp component to decompose a point into its separate x, Y and Z components you can plug the Z output into K of the Sort Component. Sort will then re-order the Z values from lowest to highest, but the points you wish to order haven't be changed only a list of numbers. So you can plug the points into A and they will be reordered into the same lowest to highest order that the Z component was changed to.
Similarly if each of these points had a label that you wished to be attached to it at a latter point in the definition the list would no longer be in the same sequence. For instance if the original list was ordered in the X axis from 1 to 20 with one being the closest point to X = 0 and 20 being the furthest. Since you have rearranged the points, their labels are now 1 is the lowest and 20 is the highest, but we want them to remain the same as before with 1 being the closest to X=0. This is where the extra inputs on the Sort Component come in. Plug the list into B.
K is ordered smallest number to largest number
A is ordered lowest point to highest point
B is ordered so that 1 remains closest point to X=0 and 20 is furthest from X=0 …
ted_With_Honeybee.gh" file:
Warnings:
1. Honeybee cannot find RADIANCE folder on your system.
Make sure you have RADIANCE installed on your system.
You won't be able to run daylighting studies without RADIANCE.
A good place to install RADIANCE is c:\radiance
2. Honeybee cannot find EnergyPlusV7-2-0 folder on your system.
Make sure you have EnergyPlusV7-2-0 installed on your system.
You won't be able to run energy simulations without EnergyPlus.
A good place to install EnergyPlus is c:\EnergyPlusV7-2-0
Error:
1. Solution exception:Could not find a part of the path 'c:\ladybug\HoneybeeRadMaterials.mat'.
---------------------
I now reinstalled Radiance in the C:\Radiance folder and when dropping the Honeybee_Honeybee component on the canvas, I get the following:
Runtime error (DirectoryNotFoundException): Could not find a part of the path 'c:\ladybug\HoneybeeRadMaterials.mat'.Traceback: line 253, in __init__, "<string>" line 2200, in script
----------------------
[that is also the only error that I'm now getting when opening the 000 getting started file).
There is no c:\ladybug on my PC.
Note: In order to run the Radiance installer, I had to run as administrator. My user doesn't have write rights on the c-root folder (and no chance of getting that either... :)
Thanks,
wim
…
the esphere.
not complex to understand seeing only!.
https://youtu.be/fEHPwkfTFS0
Create the grid....create a shape for this stairs/group this stairs in one shape.
”panelling tools/....panels custom 2D”
apply the shape to the surface.(but before make a “grid”with the shape/grid/
“Create grid/surface domain number/....).
(i see that the surface is not so clean,with differents curvature parts,
so to have a good result,think i,need to pay attention to the curvatures,
reform, or make the panellings tools part by part).
i am not in my pc to do that today with Rhino,sorry.
a)
first you need to do a form with the stairs form, maybe group these lines.
each line is other form by now.
b)
(panelling tools, first make the grid.... after that apply the 2D pattern to the shape,
and control the scale and angle ,part by part maybe?.
c) maybe you can apply the form to the surface with
Flow allong surface?(there are differents possibilities, not only one to do that).
you need to try one.
Greetings…
ot give any changes in which Grasshopper matches data. Is the reason for this because I am trying to match points with different number of branches? Take a look:
[img]http://imageshack.us/f/706/datamatching.jpg[/img] First list of points has following branches - A: {0;0;0;0;0;0;0} {0;0;0;0;0;1;0} {0;0;0;0;0;2;0} {0;0;0;0;0;3;0} and second list of points B: {0;0;0;0;0;0} {0;0;0;0;0;1} {0;0;0;0;0;2} What I want is to remove that last branch in list A: {0;0;0;0;0;3;0} I though I will succeed to do that, by using the Shortest list alhorythm, but as I said, nothing changes, when I switch from Longest list algorithm to Shortest list algorithm. Is the problem in different level of branches - A list has 6 subranches, and list B has 5? How can I solve this? Thank you for the help. P.S. I am apologizing for not being able to attach the files, and images. Something is wrong with my PC.…
ng on the screen isn't rendered to a third of the size it should be, Windows has a scaling function under display settings, which I currently have set at 200%. For most programs, this works well, but in Grasshopper, this is what I get...
Remember that this is not a big screen! Only a small laptop...
What seems to be happening is that fonts are scaling up correctly. However, everything else is remaining at 96ppi, meaning all of the menus and buttons are tiny! Also, because the fonts are scaling up, the fonts now look enormous relative to the components.
This is rather irritating, as at a normal viewing distance things like the icons are almost indistinguishable.
Normally, I would accept that I was the one being weird as I had bought a laptop with high resolution, but shopping in PC World, it seems most mid- and high-end laptops now have high resolution screens. I'm aware that there is no quick fix for this, likely needing a substantial rewrite of the interface, but given current development for GH2, this might be something to bear in mind if it's not too late...…
Added by James Ramsden at 11:01am on February 5, 2016
&fork=hydra_2&id=Vector-BasedShadow_Study&slide=1&scale=1&offset=0,0 )
It worked fine with basic geometries. But when I put my projects geometry in the input it was loading for ages and I had to stop it.
Than I reduced my geometry and picked up some elements from it. Curved nurbs surfaces. I have drawn it in Rhino ( _networksrf)
With the reduced geometry I got some output after a long time (although I have a fast PC) but it wasn´t well. The shadows vectors were fragmentary ( attached file)
Is the code incomplete for geometries like mine? Or is it the wrong approach for those curved surfaces? Is there any better code for my aim?Thx for your help
Leo…
Added by Leonard Kern at 9:49am on October 12, 2016
onents (radiation, sunlight-hours and view analysis) which let you study the effect of the orientation of your building and the analysis result. When you come to a question similar to "what is the orientation that the building receives the most/least amount of radiation?" is probably the right time to use this component.
HOW?
I'll try to explain the steps using a simple example. Here is my design geometries. The building in the center is the building to be designed and the rest of the buildings are context. I want to see the effect of orientation on the amount of the radiation on the test building surfaces from the start of Oct. to the end of Feb. for Chicago.
First I need to set up the normal radiation analysis and run it for the building as it is right now. [I'm not going to explain how you can set up this since you can find it in the sample file (Download the sample file from here)]
Now I need to set up the parameters for orientation study using orientationStudyPar component. You can find it under the Extra tab:
At minimum I need to input the divisionAngle, and the totalAngle and set runTheStudy to True. In this case I put 45 for divisionAngle and 180 for the totalAngle which means I want the study to be run for angles 0, 45, 90, 135 and 180.
[Note1: The divisionAngle should be divisible by totalAngle.]
[Note 2: If you don't provide any point for the basePoint, the component will use the center of the geometry as the center of the rotation.]
[Note 3: You can also rotate the context with the geometry! Normally you don't have the chance to change the context to make your design work but if you got lucky the rotateContext input is for you! Set it to True. The default is set to False.]
You're all set for the orientation study, just connect the orientationStudyPar output to OrientationStudyP input in the component and wait for the result!
The component will run the study for all the orientations and preview the latest geometry. To see the result just grab a quick graph and connect it to totalRadiation. As you can see in the graph 135 is the orientation that I receive the maximum radiation. Dang!
If you want to see all the result geometries set bakeIt to True, and the result will be baked under LadyBug> RadaitionStudy>[projectname]> . The layer name starts with a number which is the totalRadiation.
Mostapha…
her people) a tremendous amount of time creating them by hand. Dog Treat was far from perfect, however it was good enough to use almost daily.
Three years is a long time. Since 2016 my Gh knowledge has expanded and I’ve seen how dodgy some of the scripting is. With this in mind I started work on a new build. Many things have been tweaked and some things have been rebuilt from the ground up.
Everything has been designed to be leaner and be a general solution to the problem of creating dog bone corners on geometry for quick, efficient and safe CNC fabrication.
Some of these things are:
Adding prompts about user geometry to make them aware about open curves, varying curve heights and if their geometry had been altered (mostly removing unnecessary points on curves).
Smooth Transfers. If you’re in a rush and need to speed through cutting, smooth transfers mean that a lead in geometry is now created alongside the actual dog bone arc. This means the router bit doesn’t have to come to a minute stop at every corner. This is turned on by default.
Acute Angle Condition If the angle between the two curves adjacent to a dog bone point is acute, previously the dog bone corner was useless. This was because the distance between the end points of the dog bone arc were less than the diameter of the router bit. There are many ways this condition could be addressed. I chose to circumscribe a larger arc based on the original angle between the adjacent curves. While it removes more material from the corner, it minimises tool wear and any potential for material to burn.
Single Curve A single curve can now be input into Dog Treat. It will be output with both internal and external treatments.
I’ll continue to update Dog Treat as the need arises, it’s become somewhat of a hobby now. Maybe one day it will become part of a Plug-in… once I learn to code it though!
Happy Treating!
Hi Everyone,
Here's a tool I've been working on for the past 4 months or so in my free time. It's a dog bone corner generator, however it's a little different to some of the existing ones. It's designed to be used for large amounts of geometry and as such, it avoids using any curve boolean operations that are computationally taxing. You don't have to split your curves up into internal and external lots either, it works it all out so you can be lazy. I've also incorporated Lunch Box's Object Bake Component for a one click operation that bakes geometry back out to Internal and External profile layers.
Let me know how it goes, will update where necessary.
Best,
Darcy
Change Log
06/11/19 - Version 2.0 SECOND DINNER - Rebuild
29/09/17 - Version 1.3 - Now with smooth corners option, True for smooth default/False for original
18/05/17 - Version 1.2 - Now includes variable angle domain input (defaults at 90°) for angled corners
13/11/16 - slight change to enable acceptance of very large interior curves
…
Added by Darcy Zelenko at 8:44pm on November 9, 2016