general:create_workspace

Create your own room

Choose the base for the tool set on the room.


Add Smart Retopo To Modeling


In this example we are adding a new command to existing Menu.

To know any script command, press RMB and MMB at same time over any command. Doing it command script information is copied to the clipboard and can be pasted into notepad to know it.

As example we like to add Vertical Gradient selection to View Menu on Paint Room currently located at > Top right camera icon → Background → Vertical Gradient.

- Left to Paint Room tab we can see a wrench icon, Edit the Current Room Settings.


- Press with LMB to show up Edit Menu Panel


To keep changes* active after sessions Use Script for the menu must be active

* all personal changes are stored at: C:\Users\username\Documents\3DCoat-2021\UserPrefs\Rooms\CustomRooms\Paint

- Press Edit… a notepad popups letting us to edit: menu.cpp

we like to add: Use vertical gradient to View Menu (i am adding it below Greyscale Panorama, change it to your location choice)


- To know the command, press RMB and MMB at same time

Greyscale Panorama command is:

  // cmd - based script:
  cmd("$GreyscaleLight");
  // UI - based script, need to define the variable somewhere before: UI ui;
  ui("$GreyscaleLight");

- So on menu script i search for it, found over this section:

  void CreateViewMenu() {
  start_main_menu("VIEW");
  menu_item("ShadingOptions");///ShadingOptions
  menu_separator();
  menu_item("GreyscaleLight");///Greyscale Panorama

- Now Press RMB and MMB at same time over > top righ camera icon → Background → Vertical Gradient, to know the command script line

  // cmd - based script:
  cmd("$GradientBackground");
  // UI - based script, need to define the variable somewhere before: UI ui;
  ui("$GradientBackground");

- I added that line to the Menu View script

  void CreateViewMenu() {
  start_main_menu("VIEW");
  menu_item("ShadingOptions");///ShadingOptions
  menu_separator();
  menu_item("GreyscaleLight");///Greyscale Panorama
  menu_item("GradientBackground");///Clear Background Image
  menu_item("VIEW_SHADED");///Smooth Shade
  menu_hotkey("5", 0, 0, 0);///5
  menu_item("VIEW_RELIEF_ONLY");///Relief Only
  menu_hotkey("1", 0, 0, 0);///1

- Press OK to close Edit the Room panel

- that's all. Enjoy editing your own Menus.

  • general/create_workspace.txt
  • Last modified: 2022/01/23 09:58
  • by carlosan