Installation:
- install the persistent base if not already installed
- drag the node into the link editor and press the install button
- delete the node from the scene after install is complete
Panel Controls
- Status - changes to Green color and "Ready" after an axis is locked/chosen
- Enable Snapping - vertex movement(in degrees) will be in steps instead of smooth
- 1/5/15 Buttons - quick presets for the snapping for 1,5 and 15 degree steps
- Snap Step - the angular distance the vertices move when snapping is enabled
- X,Y,Z- display of the shear value in degrees
Widget Controls
- Arrows - shear in the mesh local X,Y,Z directions (RGB=XYZ)
- Spheres - lock/select the axis for shearing - required before using the arrows to shear
- Center - orange shear center indicator, default is the center of the selection
- Circles - set the center for the shear operation at the bounding box extents
- Origin - set the mesh origin as the shear center
- Selection - set the selection center as the shear center
Circle positions will correspond to the bounding box of the selection, except for a zero size edge will have some set offset
Usage:
- Make a point edit selection and zoom in to see it well. The widget size is determined by the selection size.
- Start the shear tool.
- Rotate the view if needed to get good access to the controls.
- Lock/select an axis using the sphere controls.
- Choose a center for the shear. The default is the selection center.
- Use the arrow controls to shear the selection.
Sample use case
Started with a profile image downloaded from WRP
It was traced with the draw curve tool, converted to a polygon, cleaned up and swept to give it thickness.
The goal is to shear it from the top, far left edge.
Note: The Blue circles of the widget in these images don't show the seperation between the positive and negative circles. This error has been fixed.
Point Edit select the top face.
Start the shear tool. The panel will open with a "Not Ready" status, waiting for the axis selection. The selection will change to vertices.
LClick the Red sphere to lock/select the X direction. Vertices will not move in X while shearing and the status will change to "Ready".
The Red arrow will become transparent to indicate it cannot be used for shearing.
LClick the Red circle to set the center of the shear to a plane going through the top, far left edge. Any vertices with an X value equal to the center's X value will not move, they will have a shear of zero.
The bottom image shows how the red circle lines up with the top, left edge (bottom edge from this view) in the X direction.
Drag the Blue arrow up until the panel shows 45 degrees in the Z direction. By default it snaps every 5 degrees. RClick to end the tool.
Use the Dynamic Sweep tool to extrude the face. The sweep here is much further than it needs to be for demonstration purposes.
Turn on Point Edit snapping. RMB panel and be sure Snap Pairs is on. This makes it so the vertices will snap instead of the widget snapping.
Drag the face back to it's original position from before the sweep.
Drag the face out in the X direction and then scale in X down to zero.
The final result on the right. The next step would be to continue modeling or fix the mesh normals.
Notes:
- The tool does not play well when the mesh has a pivot.
- 45 degree shear is good for right angle turns.
- The arrows are in local space, so the apparent positive and negative directions can appear reversed when dragging.
- Single plane/face selected(sketchy note)
- lock parellel to the face to get twisting style shear from the other parallel axis and lean using the perpendicular axis
- the locked will define the moved points, so if z locked then top and bottom will move, if y locked then left and right will move
- lock perpendicular to face and move center perpendicular circle will give sliding, like translation
- Single edge selection(sketchy note)
- lock direction and center on same locked axis circle bbox min or max
- pull on perpendicular to move out
- pull on parallel to slide along edge direction
- Object face not in line with any local axis(sketchy note)
- snap pivot to face with rotation(or face with rotation to center)
- object coord nav so can see change
- use flatten axis tool, uu version has option to remove the pivot, can also manually disconnect and remove the Pivot node
Dev Notes:
- The arrows only allow dragging either horizontally or vertically in the 3d view. After a short distance either the up/down or left/right motion of the mouse is ignored.
- The Object Render Attributes can be used to make a widget element invisible, but then it cannot be made visible again.
This is the reason the selected axis is made transparent. It's not 100% transparent because it will still show when hovered over. Did not want it just popping into view from nothingness.
- if any bbox dimension is zero then use value of 0.25 plus and minus for the circles in that direction. This is just outside the size of the center widget.