as follows.
We have a grid which consists of a collection of columns, where each column consists of a list of points. You said flattening is out of the question, so we need to cull items from each list individually.
Let's say our culling pattern is KDDDKDD (repeat as needed). K = Keep, D = Ditch. If a column contains 18 points, the pattern needs to be repeated until it is 18 items long. In this case:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
K D D D K D D K D D D K D D K D D D
We can now cull each column, but they will all be culled in the same way. By shifting the pattern one more index for each column, we can cycle the culling.
The fix incidentally is to Shift the pattern PRIOR to repeating it. Then it works as expected:
--
David Rutten
david@mcneel.com
Tirol, Austria…
Added by David Rutten at 2:49pm on October 2, 2013
hat position you would like in order:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
You still must show up on time and you still must stay and work on your project during the duration of class.
See you all next week, I hope I won't still have this cough!
-Joseph Iwaskiw…
irection, like in the attached picture in case of using nr. 11 (means 9 cutting planes).
If I use nr. 14 than the result is as I have expected, but 15 is bad again, 16 is very strange.
It occures against I have tried to "directed" the section curves to the direction of the first section curve.
Thanks in advance!
…
Added by Ferenc Schell at 2:15pm on November 20, 2015
nput parameter and then set the named values on the second?
protected override void BeforeSolveInstance() { Param_Integer param0 = Params.Input[0] as Param_Integer; Param_Integer param1 = Params.Input[1] as Param_Integer; param1.ClearNamedValues();
GH_Structure<GH_Integer> data = param0.VolatileData as GH_Structure<GH_Integer>; if (data.IsEmpty) return; foreach (GH_Integer value in data.AllData(true)) { switch (value.Value) { case 1: param1.AddNamedValue("First option for 1", 11); param1.AddNamedValue("Second option for 1", 12); param1.AddNamedValue("Third option for 1", 13); break;
case 2: param1.AddNamedValue("First option for 2", 21); param1.AddNamedValue("Second option for 2", 22); param1.AddNamedValue("Third option for 2", 23); break;
case 3: param1.AddNamedValue("First option for 3", 31); param1.AddNamedValue("Second option for 3", 32); param1.AddNamedValue("Third option for 3", 33); break; } return; } }
--
David Rutten
david@mcneel.com…
Added by David Rutten at 1:56am on December 18, 2013
he sunPath component works. For example if you want to simulate the hours from 8 to 16 it means you want 8 hours from 8 to 9, from 9 to 10,.... from 15 to 16 (8 hours duration period) so you get from the sunPath component (using default timeStep 1) the 9 sun position/vectors 8 9 10 11 12 13 14 15 16 (in the image the yellow suns). The things is that if you ask for a smaller timeStep for example 3 = 20 mins then the additional sun position (in the image the orange suns) are added also after the time limit of h16 so probably when you don't want/need. I understand that when you input a time period there is the ambiguity if the hours are the just 9 (the 9 inputs) or the 8 hours included between pairs of hours, but I would make in a way that it is possible to chose if the extra timeStep after the last hour are added or not. Thank you for your comments.
…
know how to solve.
It appears in
11 - Honeybee Energy Modeling - The Laws of Geometry in E+ Part 3: Curved Geometry
where I need to retrieve .idf file,
and shows this message:
1. Solution exception:'hb_EPZoneSurface' object has no attribute 'punchedGeometry'
I've added .gh file at a state where I meet the problem.
Also, I've looked around the forum and found some mention OpeanStudio related problems, mainly one's lack of it. Could it be the source of the problem, because I only followed Installation Instructions and haven't installed OpenStudio.
…
ult, my 3dm is very large.
Another problem, when the fonction is ok, the draw in grasshopper is ok, when i bake i have only a litte part of the opération.....
If you could help me, thank you
[Edit] Here the description in the null item :
{0;0}0. Brep: brep.m_T[43047] trim is not valid. trim.m_type = seam, the edge is manifold, but brep.m_L[trim.m_li=1114].m_type is not outer.brep.m_L[1114] loop is not valid. brep.m_T[loop.m_ti[21]=43047] is not valid.brep.m_F[0] face is not valid. brep.m_L[face.m_li[1114]=1114] is not valid.ON_Brep.m_F[0] is invalid.1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. …
sität der Kreativwirtschaft) den heurigen "3D Austria Tag" ankündigen zu dürfen:Vortragsprogramm:Einlass ab 9:009:30 – 10:30: Virtuelle Landschaften mit VUE xStream Vortragender: Helge Maus (pixeltrain)10:45 – 11:30: Interaktive Anwendungen mit Unity Pro Vortragender: Dietmar Godina (Playpublic)11:45 – 12:30: Praxisbeispiele & Neuheiten zu Rhino 5 Vortragende: Albert Wiltsche und Markus Manahl (TU Graz)12:30 – 13:15: Mittagspause13:15 - 14:00: Praxisvortrag: Architectural Rendering mit VRay, 3DStudio max und Photoshop Vortragender: Martin Frühwirth (Atelier Frühwirth)14:15 – 15:00: Praxisbeispiel: Mercedes A-Klasse Präsentation mit Cinema 4D & V-RAY Vortragender: Niki Vuckovic (immortal-arts)15:15 - 16:00: Praxistipps & Neuheiten zur Adobe CS6 Vortragender: Martin Dörsch (Adobe)16:15 – 16:30: Adobe Team Cloud & VIP Lizenzprogramm Vortragender: Markus Fiala (CG Shop)16:45 – 17:45: VFX-Workflow für Guerillas - Hollywood mit SynthEyes, Cinema 4D, und AfterEffects & Plugins Vortragender: Helge Maus18:00 Ende der VeranstaltungIm Foyer werden wir Infostände von Autodesk, Chaosgroup (V-RAY) und Rhino haben - nützen Sie die Gelegenheit und informieren Sie sich - neben den Vorträgen - auch persönlich an den Infoständen bei unseren Experten!Die Teilnahme ist KOSTENLOS, aufgrund der begrenzten Platzanzahl ist jedoch eine Anmeldung per e-mail an office@kkkc.at erforderlich.…