algorithmic modeling for Rhino
Hi everyone, maybe my question sounds kind of stupid :)
I have the following problem: about 15 days ago I -absently- exploded all the text in the most challenging drawing I have ever realized... then I kept adding new text every day until now... and now I have to change almost all the text I did type but... it's made of curves!
So I was wondering if anyone has ever had similar problems solved by a gh definition
In case no-one has ever had similar troubles (I think you all here are smarter than me :P) how would you proceed to create a similar definition, given all the text has same dimension and font?
I would:
a) create a set with all the possible character-curve in that Font
b) create an identical set with the same characters as type
c) compare this set with every given text-curve in the drawing (issue: the number 8 is made of 3 different curve .___. same as letter B... A has 2, as D, R, O, P, p and so on...)
d) list item from set 'b' using pattern I get from 'c'
e) evenctually -this is a moonshot in the moonshot- concatenate characters at 'd' based on proximity of different character-curves (to get "ABC" as a whole text, instead of "A" "B" and "C" as separate instances)
It sounds kind of challenging!
...maybe I'm better start re-writing text NOW as it could EASILY take me a couple of days to get things done... :)
Tags:
perhaps if you highlight all of the 'text' input curves, then use the gh component 'join all possible curves", you will have your text back
Thanks Mark!
Your hint somehow inspired me to use lenght ranges to recognise characters, and I think can be a huge step forward! -I can ignore lenghts like the inside of 8 D A P 0...
Trying it now!
Can't you just highlight all the curves and click the join command in Rhino?
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by