I have been working on some big changes to Shapesmith that makes it vastly more usable to create and edit models - the introduction of a workplane. The workplane will be the basis for mouse interaction when creating primitives, doing transformations etc. The workplane is centered at (0,0,0) at the moment, with no ability to move it around, but that's coming.
To rotate the workplane around, a user can drag the view with the left mouse button. Scrolling is done with the mouse wheel (I just realised that I should also support scrolling for trackpads).
Point-and-click creation primitives
For the first release, I have included creating and editing of primtives with the mouse and the workplane - this enables a user to create spheres, cuboids etc. with the mouse only. A user can right-click or left-click-and-hold on the workplane to create an object, where the origin will be placed where the user clicked:
When the primitive is being created, a user can click on the workplane to specify dimensions, and a preview of the primitive will be shown. When clicking on the workplane, the parameters can be entered in turn, where the focus will proceed to the next empty parameter every time a user clicks on the workplane:
When satisfied, clicking on the “Ok” button will create the primitive, and clicking “Cancel” or pressing “Esc” on the keyboard will cancel the operation.
Once an object has been created, a user can access operations like delete, export to STL, and transformations by first selecting (left click), then accessing the context toolbar with a right-click (or left-click-and-hold):
For boolean operations, 2 objects should be selected, then again right-click or left-click-and-hold to show the menu for multiple objects.
- Left-click dragging will rotate the view. The mouse wheel will zoom in and out.
- Left-clicking selects an object. Shift + left-clicking selects multiple objects.
- The toolbar is selection-sensitive, so depending on whether 0, 1 or 2 objects are selected it will offer different options.
- Right-clicking or left-click-and-hold pops up the toolbar for primitive creating, transforms, booleans etc.