st between those two applications. But as soon as every frame is re-calculated I noticed that intersection function is very slow. It is actually so slow, that maximum number of polygons to play with is only 10 or less.
Could you help me to find a faster solution for my script?
calculation of intersection lines;
//////////////////////////////////////////////////////////////////////////////////////////
import ghpythonlib.components as ghcompimport rhinoscriptsyntax as rsdef ctr(crv): pts = ghcomp.Explode(crv)[1] pts = ghcomp.CullDuplicates(pts,0.001)[0] return ghcomp.Average(pts)pts = []lines = []ctr_c1 = ctr(C1)for crv in C2: if ctr(crv) != ctr_c1: int = ghcomp.CurveXCurve(C1, crv)[0] if int: [pts.append(x) for x in int] lines.append(rs.AddLine(int[0],int[1]))
/////////////////////////////////////////////////////////////////////////////////////////////
The overall description of the script:
a)Processing+ghowl is used for moving objects and physics
b)python script (slowest part) calculates intersection lines
c)intersected parts of polygons are rotated in 90 degrees.
I have attached grasshopper and processing files. (processing is not necessary to test the script)
Thank you in advance,
Pereas.
…
similar to any other surface in your model. Just model the shadings as surfaces and then assign either translucent material or transparent material (glass) to them and connect them to runDaylight with other Honeybee objects. Is that make sense?
Make sure to use appropriate numbers for -ab, -ad and -aa. Check page 27 of Daysim tutorial for a an example for parameters (https://dl.dropboxusercontent.com/u/16228160/Daysim3.0.Tutorial.pdf). I should add that the numbers are slightly high in the example though. Here is another reference if you want to know more about RAD parameters: http://www.radiance-online.org/community/workshops/2011-berkeley-ca/presentations/day1/JM_AmbientCalculation.pdf
Mostapha
…
ace, the resulting surface does not exactly follow the curve. At the protruding edges, the surface falls out of the curve. Whereas at the edges which are going in, the surface forms is a curve of degree-1 i.e. not a smooth curve but lines.
What i want to know is, is this a normal thing in GH? when i have to print, will it print like a proper curve?
Also, at the moment, i have joined all curves together and connected it to surface component to get a surface. If there is any better way, please advise me.
I have attached the design representation and also part of my GH definition.
Any advise will be highly appreciated.
cheers
aB…
derstanding of the graphical algorithm editor, and then dive into more complex parametric models. We’ll also learn tricks to keep our project responsive and enjoyable to use.Course outline
covering similar content as the first part of the primer(http://www.grasshopper3d.com/page/tutorials-1)
novel material
duration: 3 days (24 hours)
Including
An understanding of the Grasshopper interface and the visual programming theory
Base parameters, large numbers of points and vectors, and small geometrical instances
Data flow
Troubleshooting definition problems and solutions
Know the main component types
Be able to join, and manage connections and trees
Expressions for both calculation and boolean creation
Understand Data Matching and casting
Managing long lists of objects within Grasshopper
Have an understanding of the functioning of Grasshopper components
Experience creating definitions
Parametric geometry examples, like attractors and list culling
Re-utilizable modeling examples: colored panelization, surface population, gradient and picture sampling and manipulation, catenary line and weaving
Spline animation examples
Getting ready to prepare own definitions in groups
More information...
…
al structure that might resemble the shell structure of radiolaria - www.radiolaria.org - and then I want to manufacture it via 3D printing. Do you think mesh will be up to it?
Also, whether the mesh will work or not, could you please explain me the process on how you arrived to the mesh i.e. why you used all these components that you have used in your definition? As I do not want to directly copy and paste it, I want to understand on why you used all the other components to arrive to the resulting mesh. This will be a huge favour.
Knowing that the form that i have created is very important, do you think starting with the curves was the right thing or do you have any other way in mind to achieve this form with XYZ parameters?
regards,
aB…
rsuche deine Befehle später auf mein Modell anzuwenden.
Ja du hast Recht, ich sollte meine Fragen das nächste mal isoliert hochladen. Sorry für die "wirre" Datei.
Dennoch muss ich echt sagen, dass ich es mega schade finde, dass es einige in diesem Forum gibt die einen echt "runtermachen" indem sie ständig auf Fehler hinweisen und einen für komplett bescheuert halten. Es fällt eben nicht jedem leicht ein Programm ohne zusätzliche Hilfe sondern nur durch Ausprobieren zu erlernen. (Musste ich mal kurz loswerden!) Gut, dass es auch solche wie dich gibt, die einen Mut machen.
Gruß und nochmals Danke!…
ka Museum of Design, Gothenburg, Sweden. With
perforations that sift the light and with joints that are put together by
hand, it serves as a focus point in the big courtyard while visitors can
relax in the shade.
The pavilion is parametrically designed in Grasshopper and Rhino, and
loads, sun and shade, and material use has been optimized.
Steel sheets of 2 mm have been laser cut and rolled at the factory and
then assembled by hand in situ.
After summer the pavilion will be standing at Chalmers University of
Technology during the autumn, after which it is possible to purchase it.
The pavilion is a collaboration between Röhsska museum of Design, Chalmers
University of Technology and Ribo-verken, and is the result of 33
Architecture students' work during one semester, in the master level class
'Material and Detail'. After selecting one initial design, 33 students
have worked to develop the design, and to turn the project into a pavilion
which is safe and constructable.
The purpose of the course is to explore digital fabrication and to turn it
into a real, built architectural project.
Words on the design:
When talking to the staff at Röhsska at our first site visit, it became
clear that the courtyard, even though at the time covered with snow, could
get extremely hot during summer days. Adding this fact to the briefs'
demand for seating and the size of the empty courtyard, we set out to
create a pavilion that provided shaded seating inside it as well as
creating shaded spaces around it to place existing chairs and tables. The
pavilion therefore creates a network of spaces with the existing furniture
that altogether manages to inhabit the large courtyard, like different
small islands in an archipelago, which together with the technique of
rolling the steel in to arc segments gave it its name.
Well inside the pavilion you can lie comfortably on the smooth surface
that uses the steels excellent possibility to stay cool wheEn shaded.
Inside you find yourself in a space, the pavilion, within a space, the
courtyard, that creates a small but secluded getaway from the hectic city
life of central Gothenburg that is just outside the courtyard. The
perforation in the ceiling spreads out an organic pattern resembling the
one you would see from a tree in the forest. Contrasting the smooth
inside, the outside of the pavilion lets the visitor study in detail how
the 133 pieces are joint together with 1535 joints with a total of 3640
bolts holding it together.
- Marcus Abrahamsson & Benoit Croo, Initial Design
Cooperation partners: Röhsska Museum of Design & Chalmers Arkitektur
Main sponsor: Ribo-verken
Sponsors: Stålbyggnadsinstitutet, COWI, Tengbom, Unit Arkitektur AB,
Swebolt AB…
ka Museum of Design, Gothenburg, Sweden. With
perforations that sift the light and with joints that are put together by
hand, it serves as a focus point in the big courtyard while visitors can
relax in the shade.
The pavilion is parametrically designed in Grasshopper and Rhino, and
loads, sun and shade, and material use has been optimized.
Steel sheets of 2 mm have been laser cut and rolled at the factory and
then assembled by hand in situ.
After summer the pavilion will be standing at Chalmers University of
Technology during the autumn, after which it is possible to purchase it.
The pavilion is a collaboration between Röhsska museum of Design, Chalmers
University of Technology and Ribo-verken, and is the result of 33
Architecture students' work during one semester, in the master level class
'Material and Detail'. After selecting one initial design, 33 students
have worked to develop the design, and to turn the project into a pavilion
which is safe and constructable.
The purpose of the course is to explore digital fabrication and to turn it
into a real, built architectural project.
Words on the design:
When talking to the staff at Röhsska at our first site visit, it became
clear that the courtyard, even though at the time covered with snow, could
get extremely hot during summer days. Adding this fact to the briefs'
demand for seating and the size of the empty courtyard, we set out to
create a pavilion that provided shaded seating inside it as well as
creating shaded spaces around it to place existing chairs and tables. The
pavilion therefore creates a network of spaces with the existing furniture
that altogether manages to inhabit the large courtyard, like different
small islands in an archipelago, which together with the technique of
rolling the steel in to arc segments gave it its name.
Well inside the pavilion you can lie comfortably on the smooth surface
that uses the steels excellent possibility to stay cool wheEn shaded.
Inside you find yourself in a space, the pavilion, within a space, the
courtyard, that creates a small but secluded getaway from the hectic city
life of central Gothenburg that is just outside the courtyard. The
perforation in the ceiling spreads out an organic pattern resembling the
one you would see from a tree in the forest. Contrasting the smooth
inside, the outside of the pavilion lets the visitor study in detail how
the 133 pieces are joint together with 1535 joints with a total of 3640
bolts holding it together.
- Marcus Abrahamsson & Benoit Croo, Initial Design
Cooperation partners: Röhsska Museum of Design & Chalmers Arkitektur
Main sponsor: Ribo-verken
Sponsors: Stålbyggnadsinstitutet, COWI, Tengbom, Unit Arkitektur AB,
Swebolt AB…
ka Museum of Design, Gothenburg, Sweden. With
perforations that sift the light and with joints that are put together by
hand, it serves as a focus point in the big courtyard while visitors can
relax in the shade.
The pavilion is parametrically designed in Grasshopper and Rhino, and
loads, sun and shade, and material use has been optimized.
Steel sheets of 2 mm have been laser cut and rolled at the factory and
then assembled by hand in situ.
After summer the pavilion will be standing at Chalmers University of
Technology during the autumn, after which it is possible to purchase it.
The pavilion is a collaboration between Röhsska museum of Design, Chalmers
University of Technology and Ribo-verken, and is the result of 33
Architecture students' work during one semester, in the master level class
'Material and Detail'. After selecting one initial design, 33 students
have worked to develop the design, and to turn the project into a pavilion
which is safe and constructable.
The purpose of the course is to explore digital fabrication and to turn it
into a real, built architectural project.
Words on the design:
When talking to the staff at Röhsska at our first site visit, it became
clear that the courtyard, even though at the time covered with snow, could
get extremely hot during summer days. Adding this fact to the briefs'
demand for seating and the size of the empty courtyard, we set out to
create a pavilion that provided shaded seating inside it as well as
creating shaded spaces around it to place existing chairs and tables. The
pavilion therefore creates a network of spaces with the existing furniture
that altogether manages to inhabit the large courtyard, like different
small islands in an archipelago, which together with the technique of
rolling the steel in to arc segments gave it its name.
Well inside the pavilion you can lie comfortably on the smooth surface
that uses the steels excellent possibility to stay cool wheEn shaded.
Inside you find yourself in a space, the pavilion, within a space, the
courtyard, that creates a small but secluded getaway from the hectic city
life of central Gothenburg that is just outside the courtyard. The
perforation in the ceiling spreads out an organic pattern resembling the
one you would see from a tree in the forest. Contrasting the smooth
inside, the outside of the pavilion lets the visitor study in detail how
the 133 pieces are joint together with 1535 joints with a total of 3640
bolts holding it together.
- Marcus Abrahamsson & Benoit Croo, Initial Design
Cooperation partners: Röhsska Museum of Design & Chalmers Arkitektur
Main sponsor: Ribo-verken
Sponsors: Stålbyggnadsinstitutet, COWI, Tengbom, Unit Arkitektur AB,
Swebolt AB…