Workspace Pie

shortcut Pause

PieWorkspace The Workspace Pie is used to quickly change from one workspace to another

Viewport Syncing

When you switch workspaces using the pie, MACHIN3tools will also sync the viewport, which primarily alleviates disorientation, which can otherwise occur, as each workspace in Blender has its own independent viewport origin and orientation.
So you may be looking at one model in the Modelling workspace, but when you switch to your UV workspace, you are suddenly looking at a completely different object.

Keep in mind

Unfortunately Local View/Focus states are currently not synced.

Alternative Workspaces

The tool can optionally also switch between alternative workspaces.
For instance, I like to setup light weight alternatives to some workspaces, where the alternative version is still used for the same task, but has less clutter.

To setup an alternative workspace, just name it like the original one, but add the suffix .alt.
You can now repeatedly pick the same layout in the pie, to toggle between the original and the alternative.

Note

In addition to the viewports origin and orientation, switching to an alternative workspace or back, will also sync various shading and overlay settings.

Editing the Workspace Pie

The only way to edit the workspace pie at this point is by editing the layout code in the pies.py file in the MACHIN3tools/ui/ folder.

It's easier than it looks and the following image should be fairly self explanatory:

PieWorkspaceEdit

  • # can be used to create a comment or ignore code
  • pie.separator() creates an empty space
  • pie.operator() creates a button

Keep in mind

There should never be more than 8 items in the pie - either pie.operator() or pie.separator().

Note

To pick an icon name, you can use the Blender native Icon Viewer addon.

IconViewerAddon the Icon Viewer addon can be accesed from the Python Console in the Scripting workspace.

Using the Workspace Pie