Grasshopper

algorithmic modeling for Rhino

I'm using Giulio Piacentino's Text Lines Definition (Thanks Giulio!!), in combination with another definition of my own, to create single stroke text for CNC uses. But coming out of the Text Lines VB component I am getting invalid curves in some letters, specifically "r", "i", "y", and "t". I am using a single stroke stroke font, "Machine Tool SanSerif" (from here) which I have attached below.

Does anyone know how I can fix these invalid curves?
Is it the font?
Why might they be invalid?

Any help is greatly appreciated.

Thanks!

Views: 9062

Attachments:

Replies to This Discussion

This definition has two scripts, one in RhinoCommon and the other in the .Net SDK 1. The second one should load in Gh 0.6, too.

- Giulio
____________
giulio@mcneel.com
McNeel Europe, Barcelona
Attachments:

It's looks great.

Could you explain how to assign the scripted new font output to a 3Dtag ?

Thanks

Just wanted to say thanks to Giulio for this very nice VB component.

But... after the latest GH update I get an error regarding this line:

82: Dim local_font As New Font(font, size) 'makes a font instance copy

1 Error (BC30561): 'Font' is ambiguous and imported from the namespaces or types 'System.Drawing, Rhino.DocObjects'. (line 82)

Hope you can help sort this out

BR HC

Try both .... New System.Drawing.Font(font, size)

and .... As New Rhino.DocObjects

...don't know which one is asked. But its definitely the solution to that error. You can check out some components from fabtools.blickfeld7.com for single line fonts...there are more than 1 font ;-)

Cheers

FF

Thank you!!!

Just had to Replace: "Font(font, size)" with "System.Drawing.Font(font, size)".

Fabtools plugin looks nice, but I am building without "plugins" this time ;)

I'm glad it worked.

It's not a plugin it's cluster (user object), so no need to install just drag and drop it to your gh window and it's running...no need to restart.

Best

FF

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service