t. This was a reasonably effective workflow for the purposes of solving the initial problem. (in reviewing this post, it seems a bit lengthy, but hopefully it's of use to others).
Link to Illustrator Script example:https://forums.adobe.com/thread/508138
Portion I used: This applies to entire illustrator document. I am using Illustrator CC 64 bit and this worked okay. Tested a few times and it failed once, but a restart of Illustrator fixed it.
var v_selection = app.activeDocument.pathItems;SwapFillStroke(v_selection); function SwapFillStroke(objSel) { for(k = 0; k < objSel.length; k++){ var subSel = objSel[k]; var c_fill = subSel.fillColor; var c_stroke = subSel.strokeColor; subSel.fillColor = c_stroke; if(!subSel.stroked) subSel.stroked = true; subSel.strokeColor = c_fill; }} redraw();
My goal was to export colored geometry, (analysis meshes for example), from Rhino and get it into illustrator with solid fills.
If you want to know how meshes are colored in rhino...there are many explanations here on the forum, a quick search will get you more detailed information.
Short version: export your lines from rhino to illustrator and run the script listed above to make the stroke color the fill color. (in illustrator, shift+X will swap the fill and stroke colors on individual objects, but does not work on multiple objects..hence the need for the script).
Detailed Version:
In my case, I had 2 case studies I was working with.1 - wind rose meshes generated from Ladybug/honeybee2 - A mesh terrain that was colored by pre-set slope values.
NOTE: There are a few plugins to bake objects with color. I used Human tools, (Bake Geometry and JustifiedText3D).http://www.grasshopper3d.com/group/human (lots of other great stuff in there too!)
I had two types of geometry. (2 different definitions)
1- An analysis mesh, (HoneyBee/LadyBug),
2 - Lines generated from mesh faces. (mesh terrain/slope values).
Export results as a DXF, and choose "do not explode". (these were my settings)
DXF seemed to produce the most consistent results.
(you could export/save as an AI file and just open them in illustrator, but that seemed to give inconsistent results with the script).
Open DXF in Illustrator:
Apply Script in illustrator:
In the terrain example, there are only 5 colors, so selection in illustrator, by color, is very easy. In the results from honeybee/ladybug, (or any analysis process I imagine), the default colors are created with a much wider range of values. I presume the legend is then created by an average of those values within a range. My point is that, with the analysis results, selecting objects by color in Illustrator is probably not a very effective workflow.
I only tested this on my instance of rhino and Illustrator. mileage may vary.
In summation, at this point, it seems that the best way to get colored mesh faces, into illustrator, is to export the meshes, (which really ends up being the mesh face edges...curves), and bringing them into illustrator and running a quick script to swap the colors. Once that is complete, you can then select ALL the objects, and change the stroke color/weight at once.…
tton to reset the knob value to 0;
- max-min values used to make the knob "loopable"
example: min-max 0°-360° ...when, with the cursor, i go from 359 to 1 ,
there are 2 possible ways: value not limited > 361 , value limited to 360 and i must go back
"manually"
by c# script i could make it loop with values keeped inside min-max while spinning the knob
without limitation
Maybe it sounds stupid, but i often have to make this with components and the value written on the knob is not what i'm using in the definition...
Would it be ever possible?…
s.
Basically, if you triangulate the curved surface, and then make a copy of this triangulation which lies in the plane, you can link the edge lengths of the 2 triangulations with the equalization force. Triangle lengths determine angles at each vertex, and in the plane these obviously sum to 360, so if the lengths of corresponding edges in the curved version are equal, then its angles also sum to 360, which means it is developable.
Another nice thing about this is that you can manipulate either the flat pattern or the curved shape, and the force goes both ways. See this video for a basic example of this:
http://vimeo.com/39559828
I was quite excited to find this technique, and think it really has a lot of potential, but haven't actually had much time since to explore using it further, so would be really interested to see if you find some way of applying it.
…
center which i used to sort the points on 4 hexagons to connect by Plines.(points are sorted according to their radial angle from 0 to 360)
Problem is when I use gridcell centers as source to duplicate the star, all the copies shatter and the reason is because they all get their sorting point from the first star.
Question:is there any way I can make those copies use their own center points as the source of Radial Sorting? …
trying to do.
i have a spiral that i divided in grasshopper into 360 points, that bit i managed to do, what i want is to connect point 1 to point 2 with a line, then connect point 1 to point 3 with a line and so on till point 1 is connected to all the other 359 points in that order, once i have done that i want to then connect point 2 to point 3 and so on, i want to repeat this till i have a connection all the way down the spiral, i'm pretty sure that once the first set of points are dealt with then it should be fairly easy to replicate the procedure to do the other point connections.
Michael…
triangles around a vertex make an angle of 360°, but the variation or defect from this angle is exactly what enables a polyhedral surface to form a discrete version of double curvature.
In fact there is a precise relationship between the Gaussian curvature of a smooth surface, and the angle defects of its polyhedral version - the curvature can be regarded as concentrated at the vertices. As you refine the division into more and more smaller faces, getting closer to smoothness, the angle defects at each of the vertices get smaller, but their total remains the same. So as long as you have a finite number of triangles, they can get closer to all being equilateral, with 360° around each vertex, but never quite get there.
For example, in the case of a closed surface without handles, the angle defects will always sum to 720° (this is Descartes' theorem, and the Gauss-Bonnet theorem generalizes this to a relationship between the integral of Gaussian curvature and the topology of a surface).
A regular icosahedron is a special case, where the angle defect is divided into whole multiples of 60° - so one triangle short of a full circle at each of the 12 vertices - but for most numbers of faces there will be no such neat division.
This being said, if you accept that what you want will not be achievable exactly, and allow some level of error from your conditions (such as not having the triangles touch exactly, or some amount of size/angle variation), then there are ways of finding an approximation.
In Kangaroo you can constrain points to a surface then use a combination of mutual attraction or repulsion and spring forces to relax points towards an even distribution. I'll post an example soon.
There are also some extra equalization functions coming in the new version that will help with this.…
Added by Daniel Piker at 3:09am on December 12, 2010
mponent works by lofting all curves inside of the same list at particular branch. Your offsetted-elevated hexagons and original hexagons have different path levels (the first one have lets say: {0;0;0;i} and the second ones have {0;i}. So when you input your offsetted-elevated hexagons into the "C" plug of the "Loft" component along with the original hexagons the corresponding pairs will not merge into one list on particular branch, but rather they will "stay" in the ones in which they already were. That means that each of those lists will have only one curve in it, which results in the "insufficient valid profile curves" - because you need at least 2 curves to create a lofted surface.
So what we need to do is to somehow arrange the path levels of these two hegon "groups" (the offsetted-elevated and original) to be equal. That is the point of simplify, flatten...Here is a more simpler example of all this story:
The "curves group 1" has path level {i}, while the "curves group 2" has {0;i}. If we input both of them into the "C" plug of the "Loft component, the Loft will not work (an "Insufficient valid profile curves" error message will appear).
But if we Simplify the "curve group 2" that will decrease our path level into {i} just like the "curves group 1" has. So in that case Loft component works.…
the use of digital technologies as architectural design tools. The workshop " Computer Aided Design: parametric design and digital fabrication " aims to do some introductory teaching in the use of some of these tools.
The workshop will focus on the use of computational models of parametric behavior for generating architectural forms. The generative capacity of these models it will be tested in the development of designs defined by repetitive non-standard components, based on the parametric control of its variations and series differentiations. This process will be developed by the use of a three-dimensional modeling software - Rhinoceros, associated with an application for visual programming - Grasshopper.
The last day of the workshop is dedicated to the use of digital manufacturing tools in architecture. Part of the work will take place at the facilities of the Institute of Design of Guimarães (IDEGUI) providing for the use of their laboratories and manufacturing CNC machines (computer numerically controlled).
At the end of the workshop, it is intended the students to understand that the use of digital technologies in architecture can overcome representational functions, and their integration in the design conception, analysis and construction enriches the methodology of project development.
Terms & Participants
The workshop will take place at the School of Architecture of the University of Minho (Campus Azurém, Guimarães) and the Institute of Design of Guimarães (Couros, Guimarães).
The workshop is pointed at students who attend the 3rd year and 4th year from MiArq, EAUM.
The maximum acceptance is 20 students and a minimum of 10 students.
Deadline for entries is April 11 and must be performed by eaum.pac@gmail.com.
Program summary :
Day 23 April 14 -20h
Introduction to 3D modeling in Rhinoceros. Regular geometries, ruled surfaces and NURBS surfaces.
Day 30 April 14 -20h
Parametric design in architecture. Introduction to methods of visual programming.
May 1, 9 -13h 14 -18h
Development of a design idea by the use visual programming processes in Grasshopper.
May 2, 9 -13h 14 -18h
Introduction to methods of digital fabrication. Manufacture physical models of the proposals made.
It is expected that this meeting will take place in the IDEGUI labs.
team:
Bruno Figueiredo ( Lecturer, EAUM )
Paulo Sousa ( PhD candidate , EAUM )
Nuno Cruz ( Invited Lecturer , EAUM )
Cláudia Alvares ( 5th year MiArq student , EAUM )
Javier Bono ( 4th year MiArq student, EAUM )
João Amaro ( 5th year MiArq student, EAUM )…