Hebrew (right to left) capability in text?

is there any way to get this capability other than typing backwards as I do now?

or mirroring lol … actually forget that , nor does rotate do it

Hei - we have a wish list item for right-to-left text - it’s currently on the Rhino 7 list: RH-3829.

1 Like

Hello Aviva,

Maybe as a work around try copy / pasting the text into the text box.

Thank you,

Andy

p.s. Tried it on my English system and it did not work.

Hello,
Do you need to get the characters back in reverse order? This command will prompt for a text string and then copy the reverse into the clipboard:
! -_RunPythonScript "import rhinoscriptsyntax as rs;rs.ClipboardText(rs.StringBox()[::-1])"
For instance, entering Hello, World! copies !dlroW ,olleH to the clipboard
You can attach it to a button or to a keyboard shortcut.

-Graham

2 Likes

Graham, going to try that ASAP! thanks

Great - let me know how you get on. There are plenty of possible variants e.g. creating a textobject with the given text, …
To expand on the Python script a little it is basically doing this:

import rhinoscriptsyntax as rs
text_LTR = rs.StringBox() # Get some text
text_RTL = text_LTR[::-1] # reverse it using slice notation
rs.ClipboardText(text_RTL) # copy it to the clipboard
1 Like

I do hope you’re impressed with yourself… cuz I sure am. :1st_place_medal::trophy::trophy::trophy: Thanks a MILLION

lol I put the button in the Mesh menu tab by accident - how can I move it into another tab?

thanks again

You are very welcome :smiley:
Hold shift and drag to move the button

1 Like

and be very careful to get it into the proper tab correctly by moving it a drop under or you will just delete it

Yes thank you Graham.

I can not use the Rhino because there is no Arabic language for writing
is there a solution ?
thanks