Text bake not working in GH 1

unhandled

(Andrew Heumann) #11

well, I’m baffled. I opened up the file you sent me with the Grasshopper File Viewer and I can see that there are two different versions of the Bake Geometry component; one with guid 04289394-caf5-4494-a4ef-013a2c4a4cd1 and one with guid ebf1ed47-70c4-4d5b-af5d-55956eb1dffc. What’s strange about that is that the current Guid for BakeGeometry is the ebf one - and as far as I can tell it’s always been that one. I dug up an extremely old version of Human and it had the same Guid - so that leads me to believe I’ve never changed it. I searched through the entire repository history for Human and I cannot find any instance of the 042 guid. So I have no idea how you wound up with an odd version of that component. Are you saying you can currently open the definition with your Rhino 5? if so, can you send me a copy of your Rhino 5 Human.gha?


(Andrew Heumann) #12

Thanks for this @osuire - I’m just an airhead and failed to commit some improvements I made to the bake component to the repo, so they got lost as I was making updates for rhino 6. However I tracked down the files and have folded the improvements back in to the Rhino 6 build. see attached: Human.gha (415.5 KB)


#13

An airhead ?
A supersonic one then !
More power to you Andrew.


#14

Ok, now for some criticism :slight_smile:
It seems that something is wrong with “Justified text” : justification is wrong.
In the folowing example, you can see that the “Center” horizontal alignment is not respected.


(Andrew Heumann) #15

I can’t reproduce that. You’re using the Rhino 6 build I posted above? It handles center alignment just fine for me… can you post an example def?


#16

In the définition I sent you, on the far right…


(Andrew Heumann) #17

it works in that definition too on my machine - not sure what to tell you.


#18

Hi Andrew,

I don’t know either… The screen capture I sent you was not CGI ; I promise !
I also notice that some of the texts bake before receiving the Bake “True” boolean input.


(Andrew Heumann) #19

then it seems your computer is haunted


#20

That would explain lots of things…


(Andrew Heumann) #21

do these issues you’re reporting happen always? or only in this specific definition you’ve set up? (i.e. does the text alignment problem always happen, are you seeing the text bake without you telling it to elsewhere, etc)


#22

#23

…and with Version 6 (6.3.18072.11251, 03/13/2018) with much improved text display :


(Andrew Heumann) #24

hey @osuire I have a suspicion about the text alignment issue. Can you try the following and let me know what happens?

  1. try changing the font
  2. try creating a text object in Rhino and exploding it into curves
  3. try this script and see if the text appears centered horizontally on the origin: testScript_text_align.gh (2.1 KB)

#25

My name is Olivier :smirk:


(Andrew Heumann) #26

:shushing_face:


#27

Hi Andrew,

Not too sure about what you want to see with points 1) and 2), but 3) gives this result :

But I find that there’s still alignment problems. Here’s the result of the same definition in V5 and V6 :

Here you can see that the preview isn’t consistent with the alignment choices, and the baked object isn’t even in the same position :

“A” and “VA” inputs have no impact either on preview or on baked text.


#28

…changing the font has no effect :


#29

Hello Andrew,

Any ideas ?


(Andrew Heumann) #30

in rhino 6 something is broken with text entity alignment - note that in the latest versions even the built-in Text Tag component exhibits the misalignment behavior you describe. I have yet to file a bug report but I have to look into this - I don’t want to over-correct for their bug only to have them fix it and have mine be broken again.