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.
Maybe as a work around try copy / pasting the text into the text box.
p.s. Tried it on my English system and it did not work.
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, 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
I do hope you’re impressed with yourself… cuz I sure am. Thanks a MILLION
lol I put the button in the Mesh menu tab by accident - how can I move it into another tab?
You are very welcome
Hold shift and drag to move the button
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 ?