t / int, or \ in Vb.Net).
- there's no need to graft or do anything with trees in the script above: it already handles all the shift logic internally. The letters give you a hint as to which part you are getting: E (even cells), O (odd cells), T (top triangles), etc. Try to draw the diagonals on paper to see which ones share a similarity, that's also what I did to write the script. It is rather repetitive and would need some pages to explain line by line.
Finally, I'm attaching a full and simple example showing how to use the script with normals. Please post your definition if you are encountering any other problem. The normals are all on the right side I hope (see pic).
Hope this helps,
Giulio…
ted more than other picts.
My file is really bad: I could do only the 1/2 module and no random rotation. I would like to do something more complex than the one I did, unfortunally I'm not really used to this software.
Thanks…
in C# programming language.- algorithmic thinking in design and 3D modelling;- RhinoCommon library. Extending GH scripting capabilities with full Rhinoceros 5.0 functionality;- shortening the script execution time by optimizing the algorithms. Methods of saving resources through finding inefficient operations;-geometric algorithms. Delaunay triangulation, Voronoi diagram, shortest path problem etc. described and implemented in C#;- scripting in Grasshopper’s C# script component;-creating own components in Microsoft Visual Studio.After the course you will be able to create your own components, solve complicated problems, operate on data structures and optimize your code. Going in depth into geometric algorithms will give you a better understanding of tools you’re using and broaden your mind in terms of finding clever solutions.Detailed programme coming soon.Registration at hello@parametric.supportTUTION FEE: 300 EUR (Early Bird) till 15.04350 EUR (Regular)
OUTLINE:12th May 2017 12.00 - 19.00 (7hours)-Introduction to programming in C#: Basic and complex C# data types, Basic arithmetic operators, Switch statement, Arrays, Methods13th May 2017 10.00 - 18.00 (8hours)List<Type>, Iterating through elements, Basic geometry creation, Recurrence. Fractal generator, Math class, Inheritance, Simple physics14th May 2017 10.00 - 17.00 (7hours)Reading files, Particle system, simple physics, Agent-based geometry generator, Creating own combo classes, Compiling .dll…
d work exactly as the physical model. In the model, we have a curved surface which can be analysed into squares. These squares are filled with two kind of units which are connected with each other and create a grid that follows this curved surface.
We have managed to analyse this curved surface into a planar surface consisted of squares and we painted the squares with colours to represent the kind of unit that "fills" each square. So, now in rhino I have managed to build the curved surface that I want it to be filled with the two types of units.
I also have the planar surface built in Gh with the squares split into two lists, each one for each kind of unit. Because these units are mambranes, I used kangaroo to make them act like mambranes.
I hope I described the problem clearly. The point is to keep the dimensions of the units
the same and make it work in Kangaroo. Do you have anything in mind that I should look up or any advice ? Thank you in advance and i m sorry for the extended description.
*Pic 1: the curved surfaces that has to be filled with the units
*Pic 2: The binary system that shows which square is occupied by which unit
Blue=2 , Red=1, White= Blank
*Pic 3: unit 1
*Pic 4: unit 2
*Pic 5: a point of view of the physical model (not the final curve at the surface)
…
iangle?2. can you mix the characters (circle/triangle)?
3. is it possible to have more control by transforming between the two characters. i.e. below is the triangle and above a circle, or vice versa?thanks
…
t this 3 curvs this happen:it looks like the curves have the wrong direction, but i tried every thing. i tried to patch the curves and that worked, but i can't use the patch for the voronoi and i don't know how to convert the patch into triangles.
Also the area battery needs over a minute to activate. watch out!
thx a lot!
max
attachments:
…
ed cubics. Only geometrical information i found was on the wikipedia page above.
Grid spacing with ribs of unit length is 1+(1.5*2^0.5) = 3.12 in xyz for the cantitruncated, with alternating grid points used for the different modules (that's why i only use odd numbers of grid points in the GH definition) and a second grid shifted in the three directions with half of the grid spacing.
Second system has the same grid spacing in x and y (not alternating though) and 3 as Z spacing.
The Cartesian coordinate system for the different solids:
Cantitruncated:
http://en.wikipedia.org/wiki/Truncated_cube (±ξ, ±1, ±1), (±1, ±ξ, ±1), (±1, ±1, ±ξ) where ξ = \sqrt2 - 1
http://en.wikipedia.org/wiki/Truncated_cuboctahedron (±1, ±(1+√2), ±(1+√8))
http://en.wikipedia.org/wiki/Truncated_tetrahedron permutations of (±1,±1,±3) with an even number of minus signs
Truncated:
http://en.wikipedia.org/wiki/Cuboctahedron (±1,±1,0) (±1,0,±1) (0,±1,±1)
http://en.wikipedia.org/wiki/Truncated_octahedron All permutations of (0, ±1, ±2)
http://en.wikipedia.org/wiki/Truncated_tetrahedron see above
cheers,
pitrak…