Of ongoing letterly interest has been finding a single line font for use in various fabrication fun. We’re still looking for a truly GH compatible solution, but in the meanwhile here’s a hack of a hack that works with at least one machine tool font. The true type fonts (there seem to be five floating around) can be found here among many other places.
Credit must again be given to Giulio of Grasshopper Tools in C# and specifically txtLines (the link on the page is dead, but you can still get the source definition from this direct link).
Label with care.
DEFINITION
singleLineText_gh6-59.ghx (Right-click on link and “Save link as…”)
No commentsHere’s a very basic definition that demonstrates the power of data trees and [Pull Point] or [Closest Point].
From a basic 5 x 5 point grid it will determine which of those points are closest to any number of referenced points. Something like this could be the basis of an attraction/repulsion type definition.
DEFINITION
multiSource.ghx (Right-click on link and “Save link as…”)
1 commentThis example is rather contrived, but if you can exert a high degree of control over the creation of meshes it’s possible to get some nice topological smoothing. The base geometry of the second image is composed of all quad faces.
This definition uses WeaverBird 0.2 components (thanks Giulio!) so you’ll have to install the plug-in first.
It’s pretty easy to make this geometry go wacky and if the smoothing level gets cranked up too high you might crash GH so be careful, but break-a-leg.
DEFINITION
bridgeSrf.ghx (Right-click on link and “Save link as…”)
1 commentA (top secret) project in the very early stages, using quick GH studies for both rationalization of the structure and modeling of ETFE pillows and their frames.
More on this later when it gets off the ground…
1 commentA WIP based on the ever-popular Make2D command in Rhino (but really I just wanted a reason to draw some dashed lines).
How does Make2D work for NURBS objects? I have no idea. A cursory Google search leads me to believe it might, in part, be based on render meshes and surface normals (pointing towards or away from the viewpoint). However there must be more to it because that doesn’t really explain how hidden lines are generated for NURBS surface edges. And clearly objects like cylinders and spheres are special cases.
This definition only works (sort of) with closed, faceted BReps. I was going to try to work with meshes (and I may still) but converting referenced NURBS geometry to mesh geometry in GH is a bit uncontrollable. I also think this definition is a kind of fake way to go about this.
Actual Make2D results are at the right and you can see obvious problems with the cylinder. Back to the laboratory.
DEFINITION
make2D.ghx (Right-click on link and “Save link as…”)
UPDATE
Check out this definition at thedisContinuum for a GH scripted implementation of Make2D.
3 commentsI’m not sure I would have followed the same procedure if I started completely from scratch, but just when you thought it couldn’t get better… Exploding letters!
One little caveat, no symbols comprised of more than one piece (sorry all you !?%;=:ij lovers, but ” lovers you’re still in luck).
If you look under the covers I have an uneducated hunch that using [Trim with BReps] allows the definition to load / update text faster than [Inside], but as a result I had to do some crazy tree work. Somewhere in there I also did a little VB.NET (still learning).
One might ask, why are are you messing with BReps anway? It’s just stupid 2D letters. Well, look at the B, A and R above. They have internal openings, not just single boundary curves. That makes imposing a uniform point grid properly on the letters a bit tricky, thus surfaces and BReps are your friends.
If I had more energy I would make a video, but you get the idea.
Happy shooting.
DEFINITION
bangLtr.ghx (Right-click on link and “Save link as…”)
1 commentAs a logical extension of my current fixation with text and circles, exploding circle packed words was clearly the next step (obviously).
Using a counting timer, the words are setup to “explode” when hit by a “bullet”.
The use of txtLines and theEngine again comes from Grasshopper Tools in C#. Idea shamelessly ripped off from Flash work by Nullthing.
Set a Rhino bullet and fire away.
DEFINITION
bangTxt.ghx (Right-click on link and “Save link as…”)
No commentsSo a looooooong time ago (back in the list only days) I created a definition based on an example from RhinoScript 101 (Page 63) for packing circles on a sphere.
Well, I can’t find the file and if I could it’s probably too old to be readable. So I created the definition again this time using data trees (which is more in the spirit of the original script anyway).
You can generate circles based on their radius. This works pretty quickly. The bottom image has 31,295 circles. No sweat.
You can also (because why not?) make a golf ball type object. This works very slowly and it might crash your computer. The golf ball image has 370 dimples. Take a coffee break.
DEFINITION
gBall.ghx (Right-click on link and “Save link as…”)
distribute_circles_on_sphere_070108.wrm (Found it! Blast from the past, only works with GH 0.5 or earlier.)
Not very high on the excitement scale, but here’s a utility definition to extrude any number of profile shapes along any number of curves.
The curves don’t need to be linear since the definition uses [Sweep1] instead of [Extrude Linear].
Specify an insertion point to determine where the profile is located with respect to the rail curve(s). Rotate the profile around the rail if you need to.
DEFINITION
proExtrude.ghx (Right-click on link and “Save link as…”)
No commentsExperimenting a little bit with VB.NET to create the gradient of horizontal lines and using data trees to do everything else.
The txtLines scripted component (for outlining the text) comes from Grasshopper Tools in C#.
Inspired by the SmartGeometry Open Platform Event Poster Fall 2009 (which actually included GH workshops).
Try it out with whatever text you like!
DEFINITION
jitterTxt.ghx (Right-click on link and “Save link as…”)
No comments