Hello, can someone help me and explain how to write the Alias line for Center point toggling as this is the only point that I would like to switch on and off otherwise this interferes with most Osnaps. Thank you!
So far this does not work: “Osnap _Center” / “Osnap _Center _Toggle”
you need to understand what the _ and the - signs are doing to your commands:
_ befoire the command does execute the command in the command line instead of using menus.
‘-’ executes the command in the english language, so that some german pc would understand a macro that does ‘-twist’ instead of ‘verdrehen’ or ‘tordieren’ (I have no clue what it is in Geman in fact)
so that your command works, you need to put ‘_-’ in front of your osnap in order to continue the command like ‘c’ or ‘Center=off’ within the osnap command. note that adding - only is useful if you plan using the macro on different pc’s using different languages in rhino.
Hey @Helvetosaur and @benedict can one of you tell me the correct script line of code to fire the during running commands as I mostly want to change the snapping during commands when I fell “Center” snap is not convenient.
Read the documentation but can’t get it running. Different other commands like toggle OSnap would work during running commands but this one doesn’t.
Hannes, I keep the osnap panel open and certain osnaps active all the time - End, Mid, Point, Int, Quad, Perp. Cen is too strong so I keep it off, if I am doing a lot of snapping to circle centers I turn it back on by checking the box, otherwise I use a one-shot. As @dk2079 does, I have the one-shots I use most on my MMB popup, but you can also just make an alias or keyboard shortcut with Cen to activate the one shot in a command - it is automatically nestable.
I ditched using toolbars for aliases since rhino 2.0,
for me way too much strain on the eyes with all the little symbols and eventually cluttering of viewports/interface. It’s a bit like learning a language, but once you got it, you can work on a different speed level.
understandable, same spirit here, but once you got your keyboard full, there are still a ton of good rhino commands worth a shortcut. rhinoscript was the my first step into programming, I really feel like losing time when clicking the same sequence twice on two different objects. ended up with c#.
_-toolbar and from there you go on with the menu in command line to develop your macro for the shortcut.
something like this:
[your toolbar name]