In Nvil3d you have the tool search option as well and you can assign it to a letter or number which is displayed on your screen right side...
a single one can have more than one command and can be quickly added or removed.
Hi Matedem, noted and thanks a lot for the feedback - appreciated.
Are you sort of person who prefers to work by association eg.
C-key for curve tools, that goes through all those tools one by one?
or L might give you line tools and all scripts related to "lines".
or S might give you every single filesave type...
That's another idea maybe worth exploring as is ways you can alias
or rename scripts...(effectively grouping them as you may prefer).
I do not use allot of shortcuts probably 6 on a regular basis. but have a few installed specific to my case.
the problem I have and seems its going to be resolved...when I need a script...I do not know if I have it installed already or not and I am wasting time
looking at my shortcut list trying to find it.
so I think if you have the search option you could basically install all the available Moi3d scripts (maybe download all as a package instead of one by one).
Me personally keep it as simple as possible.
In Nvil3d an example ... you highlight a plane/mesh section...go to the letter C I had setup on the screen and this will circulate the selection.....but this does not mean that the shortcut is assigned to the letter C on the keyboard.
there are other way to setup streamlines tools/shortcuts but the current setup works good enough and I did not want to complicate things.
so you have more space to setup your used commands.
to me this is a very nice setup and you can setup shortcuts from the tool search.
I always wished something similar in Moi.
@ stefano - it looks like the .htm file is there accidentally twice, CommandPalette.htm and then same file again under CommandPalette.txt .
For forum attachments it should be ok to post files with .js file extension, it isn't sensitive to having .js files like e-mail attachments tend to be.
好的,我习惯性的将txt后缀改为.js然后按常规方法安装脚本。现在我将其中一份删除了,请问该如何安装并使用呢?(Okay, I habitually change the .txt suffix to .js and then install the script using the conventional method. Now I have deleted one of them. How can I install and use it?)
hi matedem. shortlisted is looking at aliases and preset groups which i think can do exactly what you want.
But this stuff needs to be held back a bit, mainly as im learning a bit about moi3d powerful 'json' or "key: values"
in user data area before I get closer to another round of changes...
All this means we might soon be able to give you something flexible...likely be V2.
I do this in my 'spare time' - and likewise i've deliberately asked for feedback like
yours as it might help me know where (or where not) to concentrate further tweaks.
thanks michael and sorry to all...will post .js in future. For now to avoid any confusion i will update the original post
with a .zip file and it will include the 'icon' if anyone needs it for max's custom ui.
Following a key moment of inspiration, the Command Palette has been updated.
The big addition is Key Groups, where the llama group button creates and activates custom tool panels..
Command Palette 1.45 with KeyGroups
Key Groups are user-defined tool sets for creating custom command panels. They can contain commands, launch scripts, support workflow-specific tool sets, and be triggered directly by MoI shortcut keys.
The new Group button creates, edits, and accesses Key Groups using a toggle mode.
Left-click: create/edit Key Groups (Function 1) Right-click: switch between Command Palette and Key Groups (Function 2)
To create or edit a Key Group simply left-click the Group button, enter its name,
then press <Enter>. to build or modify.
Using an existing name edits that Key Group; a new name creates one.
Names can be a letter, word, phrase, or abbreviation.
Example Keygroup names, might be:
>My Top Scripts
>Smirnov Top 5
>Drawing Tools
> "F" for file menu and save tools
>Dimension Kit
commandpalette
Opens the standard Command Palette.
commandpalette keys
Opens directly in Key Groups mode. Not often used as tool remembers last toggle state now
commandpalette <yourkeygroupname> (no spaces)
Assign keygroup: My Top Scripts to a Moi3D Shortcut (options>shortcuts)
Key zero opens that specific Key Group page called "My Top Scripts"
OTHER:
A pinned Key Group can be set as your favourite, becomes the default group when Key Groups are activated.
A pinned Key Group is also used for an experimental Export feature*.
Advanced / Experimental
All your KeyGroups are auto-stored in a single text JSON file:
`%AppData%\Moi\CommandPalette.KeyGroups.txt`
! Please take care when naming Key Groups. Rename and delete functions are not yet available, although Key Group names can be edited manually in the CommandPalette.KeyGroups.txt file. .
*
>KeyGroup Export
Shift-left-click Group button to export the active pinned Key Group as a small shareable text file. (Function 3)
Filename example:
CommandPalette.KeyGroup.mytopscripts.20260502-1749.txt
in location: `%AppData%\Moi\
>KeyGroup Import Ready (Function 4)
Shift-right-click Group button checks for a future `CommandPaletteImport` / `CommandPaletteTools` command.
Not available at moment, shows a "Llama" message.
Summary v1.45
• New Key Groups.
• Toggle between Command Palette and Key Groups.
• Create user-defined Key Group panels.
• Build custom command panels for frequently used tools and workflows.
• Pin your favourite Key Group for quick access.
• Remembers the last active mode.
• Previous/Next navigation between Key Group Panels using mouse buttons or <> keyboard shortcuts.
• Direct launch of Key Groups from MoI shortcuts.
• Export pinned Key Groups as shareable JSON text files.
• NEW Base64 'Lightning' Icon for Max's Custom UI. left click for Command Palette, right click Keygroups.
Hope you enjoy...as much as i did building it for all you inspirational people...
when you say set up that script, i think maybe you copy it all into a notepad text file
save it a name you like "ConstructionLines.js" or "MyCLines.js"
Put it in the commands folder.
Use the Command Palette to find it or add it to a keygroup.
and put it into your app data commands folder...
command palette will see it then...
or FIRST:
if it already working for you from a shortcut, then 99% sure
you might have it already. So search your computer drive first
for the filename, then move it to the apps command folder ;o)
If opening the command palette or a keygroup into MOI3D UI area
a small pop out icon is top right, click it and you will get
a modal version of it from there.
Modal keygroup panels can of course be resized or do auto-size
when very long >9 buttons. Takeaway: Big 'tool lists' are better
in modals, but we are kind to design, less is usually more.
Try call your big keysgroup panels up with:
commandpalette <yourkeygroupname> modal
4. Four-function MAX ɯooɹpɐǝɥ Custom UI ICON
My Command Palette Lightning-Bolt Icon, has these functions:
Left Click = Command Palette
Right Click = Command Palette Keys
Control + Left Click = Command Palette Modal
Contol + Right Click = Command Keys Modal
Other:
Try using arrow keys sometimes, its fast.
Keygroups: <>
Command Palette: up down.
In this round of 'dev' I simplified panel names. Tested autosized modals for compactness
but in the end made them fixed height modals because this allows "prev-next" buttons in modal keygroup panes to not resize
or jump around (unless you have built a very large panel)....
Few more images...
Hope you enjoy, no more revisions for a bit now...
New users or new to command palette, advised to read from post#1