op van maximaal 1000 iteraties
3) Offset de polyline en maak een nieuwe Brep van alle curven
4) Bepaal de Area-centroid van de Brep
5) Bepaal het verschil tussen de huidige centroid en de gezochte centroid
6) Als dit verschil minder is dan 1e-12 breken we af
7) Vermenigvuldig het verschil met vier en pas de polyline aan
8) herhaal (3 - 7)
Is dit min of meer wat je wilde? Het lijkt dat er ~50 iteraties nodig zijn voor een antwoord dat accuraat is binnen de 1e-12 eenheden.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 5:26am on August 24, 2010
dges to change) using simple rules (the points you would cull would be the first row, the last row, and first and last point in each column.. this is not too difficult to set up). Lets call this list CulledPts.
4. Define your attractor objects, measure distances and define vectors from each of the CulledPts to the attractor.
5. Use a graph mapper to establish a relationship between the distance & displacement, and multiply the output values to the vectors created in step 4.
6. Use these vectors to move the points in CulledPts.
7. Create your square grid from these points. This is just a little bit of clever use of two series components used in conjuction.…
er.
2. Write importer VB script to parse dat files and create Grasshopper polylines.
3. Manually remove country border curves from coastal curves.
4. Manually join remaining curves into as many closed loops as possible.
5. Remove short polylines and short segments from long polylines.
6. Map polylines onto sphere.
7. Project spherical polylines onto manually created icosahedron using a VB script.
8. Split polylines along facet boundaries and create groups of all polyline segments that fall within a single triangle.
9. Manually unfold the icosahedron.…
Added by David Rutten at 5:11pm on February 11, 2012
Writing simulation parameters...3. [2 of 8] No context surfaces...4. [3 of 8] Writing geometry...5. unsupported operand type(s) for +: 'str' and 'list'6. Failed to write Pelle_aperture000 to idf file7. unsupported operand type(s) for +: 'str' and 'list'8. Failed to write Pelle_aperture001 to idf file9. unsupported operand type(s) for +: 'str' and 'list'10. Failed to write Pelle_aperture002 to idf file11. [4 of 8] Writing Electric Load Center - Generator specifications ...12. [5 of 8] Writing materials and constructions...13. [6 of 8] Writing schedules...14. [7 of 8] Writing loads and ideal air system...15. [8 of 8] Writing outputs...16. ...... idf file is successfully written to : C:\Users\Personal\Desktop\TESI\x001\THOR\EnergyPlus\THOR.idf17. 18. Set runEnergyPlus to True!
or this
0. Current document units is in Meters1. Conversion to Meters will be applied = 1.0002. [1 of 8] Writing simulation parameters...3. [2 of 8] No context surfaces...4. [3 of 8] Writing geometry...5. Runtime error (MissingMemberException): 'hb_EPFenSurface' object has no attribute 'blindsMaterial'6. Traceback:line 1567, in main, "<string>"line 2134, in script
i think that i've same problem with my windows...any suggestion???
Thanks for all…
tem, in this case, a number, and increments it by one.
a = x + 1
You feed it with a single item, 6. All will be well. Your output will be a 7.
You input a list with 4 items, [2,3,4,5] and do not change the input 'Item Access' to other values. Output will be [3,4,5,6]. The script will run 4 times.
You feed it with a tree: {0}[1], {1}[2]. Output will be something akin to {0}[2] {1}[3]. Your script will run twice, once for each item in each branch of the tree.
This means that inputs determine the amount of iterations of scripts.If you put a tree like above into a component, the component will have to run many times to cope with the inputs.
Does it help?
Giulio--Giulio Piacentinofor Robert McNeel & Associatesgiulio@mcneel.com…
fault materials...6 RAD materials are loaded1. 2. Downloading OpenStudioMasterTemplate.idf to c:\ladybug\3. Loading EP construction library4. 206 material found in c:\ladybug\OpenStudioMasterTemplate.idf5. 30 windowmaterial found in c:\ladybug\OpenStudioMasterTemplate.idf6. 284 construction found in c:\ladybug\OpenStudioMasterTemplate.idf7. Loading EP schedules...8. The ScheduleTypeLimits: Fraction is already existed in the libaray.You need to rename this ScheduleTypeLimits.9. The ScheduleTypeLimits: Temperature 7 is already existed in the libaray.You need to rename this ScheduleTypeLimits.10. 21 scheduletypelimits found in c:\ladybug\OpenStudioMasterTemplate.idf11. 1370 schedule found in c:\ladybug\OpenStudioMasterTemplate.idf12. 13. 14. Hooohooho...Flying!!Vviiiiiiizzz...…
Curve
6 Poly Curve
7 Poly Curve ... etc
I need to loft half of them as a pattern like 2 by 2... ex:
0 with 1 ---> loft
1 with 2 ---> no loft
2 with 3 ---> loft
3 with 4 ---> loft
4 w.... etc.
In my case (as you can see in the screenshot) i've two list in whic i've to apply this process.
I can't use list items because the numbers of items may change, and if i get a grafted list of items i can't loft the curves, but if i get the flattened pattern of data the loft component loft everything without considering the sequence.
I guess i've been clear to explain my data structure problem!
Pls! I'm waiting for some help!!! Thx a lot in advance,
Marco …
Added by Marco Caprani at 9:20am on February 12, 2012
13 5 15 6 17 7 ... …
But it seems I have not been clear:
the input values (3,5,7,9,11,13) should be presented in the way of "number slider" parameter. So by increasing the value of the slider from minimum 3, to 5, 7, 9, 13, 15, 17... I should get an output numbers of 0,1,3,4,5,6,7...
So I if choose value 3 on the input "number slider", on the other end, I want 0 as an output.
Or if I choose value 5 on the input "number slider", I want 1 as an output, and so on.
Is this possible?…