it.
It's possible to adding boolean trigger output to the Galapagos component without disturbing the number of genome and to reduce memory load? unfortunately my laptop is very slow when using Galapagos+Geco+Hoopsnake at the same time.
Thanks…
Added by Yasser Hafizs at 12:26pm on September 27, 2012
f Innsbruck (http://www.exparch.at/).
SKD is a secondary-support course to the main Design studio Entwerfen E2 by Professor Marjan Colletti (http://marjan-colletti.blogspot.co.uk/) along with Allison Weiler and Peter Griebel, which aims to the introduction of technical computational design and procedural programming routines in aid to architectural design process.
The course focus was on generative systems that employ iterative and recursive routines to simulate growth and morphological transformation.
Tutor: Marios Tsiliakos
http://digitalsubstance.wordpress.com/
Software utilised:
-Grashopper3d - http://www.grasshopper3d.com/
- Kangaroo - http://www.grasshopper3d.com/group/kangaroo
- Hoopsnake- http://www.grasshopper3d.com/group/hoopsnake
- Weaverbird - http://www.grasshopper3d.com/group/weaverbird
- Nudibranch - http://www.grasshopper3d.com/group/nudibranch
- Custom coding C#
Soundtrack :Aphex twin - Z twig (mylek remix)
http://soundcloud.com/mylekofficial/aphex-twin-z-twig-mylek-remix…
If I put that function on a new thread I couldnt find a way to update the component later correctly.
What is the bast and probably simple way to run just one function that updates a variable (or it can return one, but I thought that a global one is a bit better) in the background without blocking?
Thanks
T
private static String results = String.Empty;
private static Boolean tDone = false;
protected override void SolveInstance(IGH_DataAccess DA)
{
List<Line> lines = new List<Line>();
if (!DA.GetDataList(0, lines)) { return; }
// can take a lot of time to finish!!
// this updates the global "results" string
DoSomeHardWork(lines);
DA.SetDataList(0, results);
string bb = Convert.ToString(tDone);
DA.SetData(1, bb);
}…
remain the same.
Although Grasshopper is a powerful tool designed to allow non-coders access to programming-like capabilities, being able to programm allows for new possibilities along with added power and flexibility. Combine the power of Code with the accessibility of Grasshopper and the possibilites for exploration become even greater. Grasshopper|DotNet scripting training focuses specifically on the scripting capabilities and challenges of using Rhino’s DotNET SDK, as well as the DotNET framework within Grasshopper. Trainees will be given the tools to understand how to approach coding with Rhino’s DotNET SDK and perform a variety of tasks which will be the building blocks for Grasshopper scripts.
Topics for the training will include the general structure of the Rhino DotNET SDK, Object Oriented Programming, the Grasshopper scripting environment, data trees, as well as creating, manipulating, and evaluating points, curves, surfaces, and B-Reps.
The training is aimed at people with some experience writing code who are looking to try and begin scripting within Grasshopper. Although the course does presume some previous coding experience, it does not assume a specific language or application, and syntax issues will be covered.
Training will be given in VB.NET, although training material will have both VB.NET and C# examples. Trainees interested in coding in C# are encouraged to register.
Trainees are required to bring their own laptops with Rhino and Grasshopper installed. Installing Visual Studio Express is recommended. Arrangements can be made for Trainees without laptops at an additional cost. Space is limited to 10 trainees.
More Info…
Bit Platforms
OOo 3.0,built by Sun, is built for a 32 bit Windows but also runs on 64 bit. To run cli applications on 64 bit one needs to have the 32bit .Net Framework installed (version 3.5 as of OOo 3.0). The application must be built for the x86 platform (see platform switch of csc.exe), otherwise it will not run. If it uses anycpu or x64 then the application will be loaded in a 64 bit process. In order to connect to OOo and creating the bridge, the process must load a couple of dlls from OOo, which are 32 bit dlls. This does not work and a System.BadImageFormatException is thrown.
So, to use the spreadsheet components that use OpenOffice I think you will need Rhino 4.0 or the 32-bit version of Rhino 5.
Did this help?
- Giulio
______________
giulio@mcneel.com
McNeel Europe, Barcelona…
e intention of the workshop is to create a light structure that can support your own weight with the condition of using only one sheet of plywood. The workshop is addressed to architects, interior designers and designers.
The first part of the course, students will learn Rhinoceros 4.0 and RhinoCAM while they learn how to design inside Rhino. Students will take basic training in Rhino (and an overview of Grasshopper) and basic training in RhinoCAM. All the design process will be guided and assisted by the tutors.
The second part of the course will be completely practical, we will fabricate all the designs using a CNC Milling Machine. The students will learn how to program the machine and all machine-related stuff needed to get things done.
More info can be found on Medio Design Website…
n excuse. Participants will design their own texture and will mill it according to their own intuitions on how to represent that geometry. The workshop is addressed to architects, interior designers and designers.
During the first day, students will design with digital tools (and parametrical tools if they have basic knowledge) a set of interesting (kind of) textures. Later on, paricipants will learn how to program machine toolpaths in 3D, using the three axis simultaneously . All the design process will be guided by the tutors.
The second day is going to be a bit more practical, we are going to fabricate the selected textures using a CNC Milling Machine. The files we are going to use for machining will be the ones that students had been working on the day before.
More info can be found on: Medio Design Website…
ceros. Parametrización, panelización y análisis en Grasshopper, así como el proceso de manufactura digital para maquinaria de corte Láser y CNC.
UN solo pago anticipado $4,000.00
Pagos diferidos $4,500.00*
*reserva tu lugar con el 50%
Martes y Jueves de 7 a 10 PM
Del 15 de Mayo al 14 de junio
DURACION: 30 HORAS
SESIONES: 10 DE 3 HORAS
o info@dimensiontallerdigital.com
informes al 55 (50 16 0634) con Mayri Gallegos (o al cel. 55 28 85 24 73)
$4,000.00…
te some implications and questions so I will go one by one:
"Now I would like to use a single VRay material as a template for creating multiple identical materials"I hope this will work, but as VRay does not expose any SDK, I would not guarantee any specific result.
"Now I need to add them to the document material table"This is done with a reference to a document instance, such as the one you get with the code doc.Materials (both in C# and Vb.Net).
"I'm not going to learn C# to modify his script"That's a pity, it would be nice to pass on this troublemaker to somebody else! :)Btw, C# and Vb.Net are very very similar. This script could be written in Vb.Net too.
"Reference to a non-shared member requires an object reference. (line 96)"This only means that you need to access the Materials property on an instance, not on the type (class) name. Change that line using what is written at point 2.
"Do I understand that the material has to be assigned to a particular object in order to enter the Material Table?"No it does not. But if you call the _Purge command it will be removed if it does not have an object that references it.
"Can I assign it to a Layer instead?"You do not need to. But this would be achieved with doc.Layers[whichLayer].RenderMaterialIndex = materialIndex; in C# or doc.Layers(whichLayer).RenderMaterialIndex = materialIndex in Vb.Net.
"Any ideas? A better way to do this?"If you found a way to bypass the VRay SDK not being there, this should work.
"Giulio's component has a type hint defined as a Material"It does not any longer. The hint was there in earlier versions of Grasshopper, but now the hint has disappeared. This is not so bad, and it is also the only way you would be able to use either a Material instance already or a string for a material name.
"How was that done?"Probably it was done in an older version of Grasshopper. But which version are you using?
"I can't figure out how to cast the input as a Rhino.DocObjects.Material, so you can see that I have cast it as a compatible type in the first 2 lines... is there a cleaner way?"That sounds like a good way actually. Be sure your component responds properly when something wrong is inputted, though.Dim mTemp As Rhino.DocObjects.Material = CType(M, Rhino.DocObjects.Material)in one line might also work. See msdn for more conversion operators and functions.
I hope this helps,
- Giulio_______________giulio@mcneel.com…
go As New MRhinoGetObject()
go.SetCommandPrompt("Sélectionnez les deux arrêtes sur les pièces à serrer pour placer la Boulonnerie...")
go.SetGeometryFilter(IRhinoGetObject.GEOMETRY_TYPE_FILTER.edge_object)
go.AcceptNothing()
go.GetObjects(2, 2)
If (go.CommandResult() <> IRhinoCommand.result.success) Then
C1 = go.CommandResult()
End If
Dim object_ref1 As MRhinoObjRef = go.Object(0)
Dim obj1 As IRhinoObject = object_ref1.Object()
Dim curve1 As OnCurve = object_ref1.Curve()
Dim object_ref2 As MRhinoObjRef = go.Object(1)
Dim obj2 As IRhinoObject = object_ref2.Object()
Dim curve2 As OnCurve = object_ref2.Curve()
C1 = curve1.NurbsCurve
C2 = curve2.NurbsCurve…