h N paths.. {0}, {1}, {2} ---> {N}
(in the case of my posted example screen, it's 48!)
meanwhile, the list length is divided by an integer,
(here "16") yielding the result "3", which is piped into
a ceiling function that returns the "smallest integer greater than or equal to the specified number", suppressing float output.
This number feeds a preset series object to generate a list with 3 items,
which is then duplicated "16" times by the already mentioned integer, yielding
a list with 16x0, 16x1 and 16x2..
Note that we get the full number of "N" items as the duplicated output,
in this case 48, representing the exact number of original list items - yet with the respective values 0, 1, 2!
the following functions reformat the list syntax, as Manuel stated:
"
"{"&x&"}" is just a string (text).
& = and (connection)
x = variable input, in this case is series of numbers
so its mean numbers between { } like this:
{0}, {1}, {2}, {etc...}
the function just output numbers in the necessary syntax for the replace component.
"
the smart thing and reason why TAZ did this (I think...uh) is that the list is now a kind of template that will be used to indicate what replacement path number/"index" the items output from the simplified tree will receive.
the values of the template list are fed into the Replace object (as replacement paths"), as well as the simplified tree (as "data stream") and a series of "N" items ("search mask") (here, 48..) driven by the original list length.
"Replace" now cycles through the inputs and assigns new paths to the input data stream objects (which represent the original items on the list we wanted to package into a chosen number of paths in the first place!)
I've made a totally verbose re-draw of this.. see attached files. coords are fed from a text file, you'll have to re-link that one to play around with it!…
original list 40% and 60% and then the latter again by 20% and 80% The three percentages I get would be:
40%
12%
48%
You can't really directly manipulate the resulting percentages, can you? And it'll be more problematic if I want more than 3 percentages?
Thank you though! I'm using your method for the time being!…
lls? I am going to be laser cutting and have a bed size of 24" x 48". (It's a 12' x 12' cube, each cell is fabricated individually)
There are a few solutions I would see as acceptable but I can't figure it out:
1. Be able to see the bounding box for each cell and I can manually control the number of points and the spacing to visually check each fits in my machine.
2. Be able to actually limit the cells to the max dimensions of the bounding box and have it be an "incomplete" voronoi diagram until I have enough points properly spaced.
3. Be able to have GH determine a minimum number of points and spacing so that the square is complete and the cells fit within a bounding box (my machine bed).
Any help here would be great. Let me know if any additional information can help, and if this question has been answered too many times.…
2014, 04:48:58Command: grasshopperAn error occured during GHA assembly loading: Path: C:\Users\Erik\AppData\Roaming\Grasshopper\Libraries\millipede.gha Exception System.IO.FileNotFoundException: Message: Could not load file or assembly 'SawapanStatica, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
An error occured during GHA assembly loading: Path: C:\Users\Erik\AppData\Local\Temp\wz30fa\Libraries\millipede.gha Exception System.IO.FileNotFoundException: Message: Could not load file or assembly 'SawapanStatica, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.…
hink you need recursion to modify the random seed; many other ways to accomplish that (use the length of each curve as the seed, for example).
Using multiples of twelve makes it harder for me to grasp the essence of the matter; another way of looking at it is that you want to generate random integers from 2 to 5 (24,36, 48 and 60) and have them add up exactly to curve lengths of 5 (x12=60), 9 (x12=108) or 14 (x12=168).
So you want to generate random numbers until their sum ('Mass Addition') plus 5 is equal to or greater than the curve length (5, 9 or 14). The last number in the series is then not random but just the difference between the two.
For example, for curve length = 5 (x12=60), there are only three possible numbers that can be used as the first in the sequence: 2, 3 or 5. If it's 5, you're done. If it's 2, the second number is 3 (5-2), if it's 3, the second number is 2 (5 - 3). You can't use '4' at all because the remainder, 1 (x12=12) isn't one of your solution options.
There is no point in generating the last number randomly, eh?
P.S. You didn't use 'Internalize data' for the 'Curve (Crv)' param in your GH file.…
Added by Joseph Oster at 2:29pm on September 12, 2015
right?)
Rhino says this:
Loading Rhino Render, version 1.50, Jun 24 2014, 04:48:58Command: grasshopperAn error occured during GHA assembly loading:Path: C:\Users\Erik\AppData\Roaming\Grasshopper\Libraries\millipede.ghaException System.IO.FileNotFoundException: Message: Could not load file or assembly 'SawapanStatica, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
An error occured during GHA assembly loading:Path: C:\Users\Erik\AppData\Local\Temp\wz30fa\Libraries\millipede.ghaException System.IO.FileNotFoundException: Message: Could not load file or assembly 'SawapanStatica, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.…
hown in the image) into lengths that are some combination of the numbers 24,36,48 and 60.
I have also generated a randomized list of the number set 24,36,48 and 60 from which to select these combinations. The issues I'm currently having are:
1. The number of random values that the random component is currently selecting from the list is based on each curve length divided by 24. My logic was that dividing each curve length with the smallest number in the set of 24,36, 48 and 60 would give the minimum amount of numbers I have to select randomly. However because the set also has 36,48 and 60, The script very quickly overshoots the curve length. So I am not sure what logic to use to set how many random numbers from the list I should pick for each curve.
2. I need to make this recursive because, currently the seed value for the random selection will remain the same and so I will get the same combination for every length.
The 3 curves shown are just an example. I have 100's of curves that I need to do this to.
My script is attached as well. Hope this helps clarify my query.
Thanks,
Tandon
…
pped inward (it'd have showed up in a render sooner or later). geodesic.ghx
The "trick" of the lines is all buried in the vb code inside the "VB (DotNET VB Script)" component I renamed "vbGeodesic". Basically the visual basic code cycles through the 15 points resulting from the divide operation, picking them up 3 at a time in the right sequence to define the 16 facets that result from the divide (ie the component takes in a 15 point list and spits out a 16*3=48 point list). Hopefully the picture below helps. Once you figure out how to select the points in correct sequence, it's pretty straight-forward to do the cull and draw lines.
A related example is on pg 106 of the Grasshopper Primer. An even better example of what I think you're after is on page 32 of the "Algorithmic Modeling" document on the tutorial page.
Cheers…
Added by Chris Mealing at 6:50pm on October 17, 2009
NONE, in SIZING:PARAMETERS". I'm not sure of where to start in troubleshooting this. I've attached the file.
Thank you,
See the errors and warnings below:
{0;0;0}
0. Current document units is in Meters
1. Conversion to Meters will be applied = 1.000
2. [1 of 8] Writing simulation parameters...
3. [2 of 8] Writing context surfaces...
4. [2 of 8] Writing context surfaces...
5. [3 of 8] Writing geometry...
6. [4 of 8] Writing Electric Load Center - Generator specifications ...
7. [5 of 8] Writing materials and constructions...
8. [6 of 8] Writing schedules...
9. [7 of 8] Writing loads and ideal air system...
10. [8 of 8] Writing outputs...
11. ...
... idf file is successfully written to : R:\Green\SuRG\Building_Performance_Analysis\2016_analysis_studies\Energy_Analysis_Comparison\Honeybee_+_Ladybug\tutorial01\EnergyPlus\tutorial01.idf
12.
13. Analysis is running!...
14. ...
...
Done! Read below for errors and warnings:
15.
16. Program Version,EnergyPlus, Version 8.5.0-c87e61b44b, YMD=2016.10.31 11:39,IDD_Version 8.5.0
17.
18. ************* IDF Context for following error/warning message:
19.
20. ************* Note -- lines truncated at 300 characters, if necessary...
21.
22. ************* 24 Sizing:Parameters,
23.
24. ************* Only last 1 lines before error line shown.....
25.
26. ************* 25 None, !- Heating Sizing Factor
27.
28. ** Severe ** IP: IDF line~25 Invalid Number in Numeric Field#1 (Heating Sizing Factor), value=NONE, in SIZING:PARAMETERS
29.
30. ** Warning ** IP: Note -- Some missing fields have been filled with defaults. See the audit output file for details.
31.
32. ** ~~~ ** Possible Invalid Numerics or other problems
33.
34. ** Fatal ** IP: Errors occurred on processing IDF file. Preceding condition(s) cause termination.
35.
36. ...Summary of Errors that led to program termination:
37.
38. ..... Reference severe error count=1
39.
40. ..... Last severe error=IP: IDF line~
, value=NONE, in SIZING:PARAMETERS
41.
42. ************* Warning: Node connection errors not checked - most system input has not been read (see previous warning).
43.
44. ************* Fatal error -- final processing. Program exited before simulations began. See previous error messages.
45.
46. ************* EnergyPlus Warmup Error Summary. During Warmup: 0 Warning; 0 Severe Errors.
47.
48. ************* EnergyPlus Sizing Error Summary. During Sizing: 0 Warning; 0 Severe Errors.
49.
50. ************* EnergyPlus Terminated--Fatal Error Detected. 1 Warning; 1 Severe Errors; Elapsed Time=00hr 00min 9.34sec
51.…