been written about it and I manage to get both of them started with this:
(VB.NET)
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim doc1 As String = "C:\Users\Xavier\Desktop\Test_GH\Test à changer.gh" Dim type As Type = Type.GetTypeFromProgID("Rhino5x64.Application", True)
'Start Rhino
Dim rhinocomobj As Object = Activator.CreateInstance(type) rhinocomobj.visible = True While rhinocomobj.IsInitialized() = 0 Threading.Thread.Sleep(100) End While
'Start GH and open a file
rhinocomobj.RunScript("_Grasshopper", 0) Dim gh As Object = rhinocomobj.GetPlugInObject("b45a29b1-4343-4035-989e-044e8580d9cf", "00000000-0000-0000-0000-000000000000") gh.OpenDocument(doc1)
From what I understood, this creates a separated COM object, but I don't know how I can manipulate it. For example, how can I get the RhinoDoc, the GH Document and so on?
I tried :
Dim RhinoDocument as RhinoDoc = RhinoDoc.ActiveDoc
but this throws an exception "System.dllNotFoundException" about RhinoCommon.dll, despite RhinoCommon.dll has been set as a Reference of the Project.
I tried as well to build a new class which sits inside GH (DLL as a reference + GHA inside GH library) as per David's suggestion: http://www.grasshopper3d.com/forum/topics/call-gh-from-c-code, and to access properties but I still get the same "DLL Not Found" exception whenever I use GH commands through this tailor made class.
At last, I tried using RhinoScript Interface through commands like :
gh.AssignDataToParameter, but this doesn't change the value, this doesn't throw any exception neither.
I would like to get full access in order to change parameters from a GH document, output geometries and DWG files, and so on.
I don't know if I am being really clear but any help would be really appreciated.
Thanks!
…
(1) I have been exporting small sections of a larger model into Maya from Rhino as FBX. In Maya I rotate and scale the models (-90 in X, Scale XYZ 0.001). The Named Views are being saved, but do not have a successful import into the Maya model. They do not appear as in Rhino, and the problem is not solved by scaling or rotating the cameras.
(2) If I try going the other direction, the cameras exported from Maya as FBX are also not aligning with the model in Rhino as they are in Maya.. I will do my best to post some images of the problem and hope you can help.
error !!
This is what the named views look like
here I am trying to the other way with a good view from Maya
strange placement..
This is the best result I can achieve, after I scale the camera by 1000
Any Advice???
Thanks, Robert.
…
ysim.ning.com/
When you run the simualtion you will notice on the batch terminal that Daysim is also being called, so you may want to consider how Daysim uses Radiance files & data.
Regarding your current problem, I think you stumbled onto something weird and interesting.
Interior and exterior readings appear to differ by 40 in the best case scenarios. Even setting the transmittance to 1 yields similar results. I tried changing from cummulative sky to climate sky and got similar values. Changing the test points did nothing either.
I think, (yet I'm too lazy to prove this) that the difference in values stems from diffuse radiation over the sky dome.
If you delete everything except the glass you'll notice that interior values are like 80-90% of the exterior values (this seems like the expected behaviour with a transmittance of 1). So, if we consider that a vertical window, part of an opaque box, is receiving radiation from 25% of a sphere, as you start to inset the interior test points the radiation they receive will be a fraction of the 25%.
Let me try to explain this better...The exterior surface receives radiation from a section of a sphere calculated by 180degrees on the xy plane (let’s call this angle theta) and by 90degrees (let’s call this angle phi) in azimuthal elevation. If you integrate this over spherical coordinates (theta from 0 to pi; phi from 0 to pi/2) you will find that it comes to a quarter of a sphere. By comparison, the interior surface will not integrate theta from 0 to 180degrees,nor phi from 0 to 90degrees, instead it will be the subtended angle from the exterior surface as a function of their separation; the farther in you go the smaller the view of the outside.
If my hypothesis is correct there shouldn't be that much difference since the separation is only 10cms...the subtended angle would be like 170 instead of 180 for theta and 85 instead of 90 for phi...overall if you integrate both spherical areas there should only by a difference of 10%.
In conclusion, I believe the unexpected behaviour stems from the previous subtended angle thing. If direct radiation was the only factor the difference would be the aforementioned 10%, which suggests that an additional source of energy is also affected by this. Perhaps indirect and diffuse radiation from other areas of the sky dome.
I’m definitely intrigued on why this is happening. Please post if you figure it out.
Regards,
Mauricio
…
he time to work with it.
the project is about facade strips which turns along height. the top angle is
parallel to the facade and the bottom is max. 90 degrees twisted, but the strips
should turn diffrently to achieve more dinamic look.
first i have tried to achieve this by calculating distance between the rotation angle from points of the grid and a single point.
then i have tried to ad some more effecting points and used the distance to the divided surface (the circles are just to control the area of effection):
i manually lofted it.
the result is a bit annoying becouse the points that effect the angle are always visible:
i have triend to solve this by drawing a line and divided it to recieve points along the bottom of the geometry. the result is not working properly:
Anyway,
there must be a better/smoother way to achieve this. i would like to effect the twist of the surfaces by distance to a spline, but im just lost. can you help me please?
the problems im encountering:
0- distance spline to grid to effect the angle
1- list of x/y coordinates and angle of rotation for each point of the grid
2- export points to excel
3- lofting lines in one direction only (x1, x2, x3...)
4- reduce the list data to 2 decimal (0,00)
5- maybe angle from radian to degrees
thx…
y using the Honeybee_Update Honeybee component.
The video below (best viewed in full-screen mode) provides an idea of what these components are capable of being used for:
The video below shows how these components can be used in an existing Honeybee project (for additional links please open this video in youtube):
I have uploaded two examples as Hydra files that show how these components can be used for grid-point and image-based simulations:
Example1 : Grid Point Calculations
Example2: Image based simulation
Finally, a more esoteric application is demonstrated in this video:
These components are still in the beta-testing stage. Some of the limitations of the components are:
1. Only Type C photometry IES files are supported at present.
2. Rhino is likely to get sluggish if there are too many luminaires (i.e. light fixtures) present in a scene.
3. Due to the spectral limitations of the ray-tracing software (RADIANCE), simulations involving color mixing might not be physically realizable.
Additional details about photometric and spectral calculations are probably an overkill for this forum. However, I'd be glad to answer any related questions. Please report any bugs or request new features either on this forum or on Github.
Mostapha, Leland Curtis, Reinhardt Swart and Dr. Richard Mistrick provided valuable inputs during the development of these components.
Thanks,
Sarith
Update 16th January 2017:
An example with some new components and bug fixes since the initial release announcement can be found here
…
egin working on a design, we first have to systematically examine the resources and restrictions which, on the one hand, make every design project possible and, on the other hand, also define and delimit it. Knowing what we have to work with enables us to explore its boundaries and at the same time to venture beyond those boundaries. This is our studio’s sphere of action; our projects emerge as a critical reflection of the discipline of architecture, in its essence, on fundamental concepts, their general form, and their underlying media and processes. The goal of our work is to master a variety of forms of the architectural repertoire of the 20th century, but especially to develop and expand this repertoire, as has been happening in the past 20 years. The goal of this workshop is to introduce a series of these techniques and expertises and to apply the knowledge transfer on a given site in Timisoara. GUESTS: STUDIO ZAHA HADID VIENNA: http://www1.uni-ak.ac.at/architektur/ https://www.facebook.com/StudioHadidVienna Ass. Dipl.-Ing.MArch. AA Dist. Robert NEUMAYR-BEELITZ - lecturer/critic http://www.unsquare.at/ AProf. Mag.arch. Mag.theol. Johannes TRAUPMANN - critic http://www.pxt.at/ Univ.-Ass. Dipl.-Ing. Jens Erik MEHLAN - critic http://moh-architecture.com/ Univ.Stud.Ass. Daniel BOLOJAN - tutor - Grasshopper http://nonstandardstudio.wordpress.com/ Univ.Stud.Ass. Bogdan ZAHA - tutor - Maya http://bogdanzaha.tumblr.com/ LOCAL: Prof.Dr.Arh.Urb.Conf. Florin MACHEDON - critic (BUC)
more information on https://encodedfields.wordpress.com/…
mp; fabrication and construction into a new era of architecture.
Register HERE
We follow three lines of thought to translate structural design in material fabrication. The first ultra lightweight, rethinking shape and material, the second dealing with same single material components, aggregated within a network, working with directionality of the elements and their connections to perform stability and for the third we will rethink definition of the brick.
Our Translations will be designed, analysed and presented in both digital and physical prototypes; from table top models, to 2m high structures.
The use of Grasshopper, Karamba and Digital Fabrication tools drive our evolutions of design. Structural design allows us to play with the type of forces in elements, orientation, force flow, geometry, restraints and connection. We use this structural behaviour to inform the search for new links between materiality, form and construction, progressing towards a unique relationship of structure, construction and fabrication.
Our Translations will be presented, through digital and physical prototyping showcasing the process of linking digital and physical inputs as a continuous feedback loop, rethinking structural design and material fabrication.
…
e HelloWorld function should need no argument but return the string “Hello World”.
Help on method-descriptor HelloWorld
| HelloWorld(...)
| HelloWorld(self: MyClassLibrary) -> str
Can anybody help?
Sourcecode MyClassLibrary.vb:
Simple Class Library Project in Visual Studio 2015
Function has no parameters and Returns String „Hello World“
Compiled *.dll works fine in other Visual Studio Projects as reference
Project Properties
Checkbox „COM Interop“ has no impact
…
r Material Science and Ligaproduction.
The exhibition started on May 12th and will be presented until August 19th 2012.
What is the meaning of »modular«? Essentially, everything in the world consists of a com- bination of elements, thus, of modules. As the basic building block of the elements, an atom forms the smallest unit in a structure’s totality. It is part of a whole, serving as a model for decoding and making comprehensible complex systems. In many disciplines, for instance in music, the sequence of smallest common units derives from an ordering prin- ciple, a rhythmic spacing, and from an aesthetic whose modular structure has both regular and irregular proportions.
In architecture, the module and modular construction have been governing principles for thousands of years. Primates use twigs as construction components for their dwellings, si- milar to the more familiar birds’ nests. During the course of biological and cultural evolution, refined methods of connecting components have been developed. Increasingly sophisticated construction techniques have evolved parallel to the tools, construction equipment and weapons available, as well as to the construction materials and support systems that were chanced upon or invented.
Ever since the earliest settlements thousands of years ago, the module has defined construction. Its dimensions, production and assembly have developed from preindustrial craft techniques to the construction of buildings, arising with the invention of the steam engine and leading into the Industrial Era. The first computer in the 1930s marked another technological leap. So what possibilities does the computer offer today’s architects for de- sign and construction?
While industrial manufacturing methods still require a critical amount of similar elements for mass production, the use of computers increasingly facilitates construction based on customized production of short-run elements with individual formats and complex geome- tries. At least that’s the theory. Computer-controlled machines and robots cut and stack structural components according to drawings – i.e. data sets – developed by designers and producers. Thanks to these technologies, architecture in the digital age is experiencing an evolution in construction and modules. The pioneers in this area are the projects developed at academic parametric design research units.
This exhibition features various examples from the development of digital technologies, presented in their historical context and categorized according to material: wood, stone, concrete, metal and synthetics. The »Housing Modules« excursion presents a selection of special urban planning systems as a series of space modules.
The historical modules each represent a paradigm shift in the evolution of an individual material. Since modules offer a tremendous wealth of opportunity, this section does not attempt to deliver the full picture: rather it intends to serve as an inspiration for further exploration.
In keeping with the Architectural Particles theme, the exhibition’s architecture consists of a modular system of tetrahedrons and octahedrons. The resulting crystalline shapes high- light the connection to nature while recalling modular construction systems from various architectural eras.…