How can the Blender User reshape a Distorted Cylinder to a Regular Cylinder in a minimum number of steps in situ, no adding or deleting of vertices?
- Requirement. Move only the vertices currently selected in edit mode.
This is in the context of Shape Keys, therefore deleting vertices and adding them back is not allowed since it would affect pre existing shape keys. Assume the connectivity of the starting shape vertex selection in edit mode is topologically equivalent to a cylinder with out caps. The current selection consists only of edge loops in parallel connectivity. In other words the task is possible without adding or deleting any vertices or changing topology. We just need to change position of vertices.
In the image above the left most yellow mesh is the starting point. The second yellow mesh in edit mode depicts the vertices or vertex group whose members may be moved. That is a requirement. Please note 1 or more vertices are NOT selected.
The blue mesh is the goal shape within a constant factor in XYZ dimensions of the edit mode selection, with standard edge loops in circle, other edges parallel to z-axis. In the result, one time user scaling in the XYZ global axis is acceptable. In the result, one time user rotation of (N*90) degrees is acceptable where is N is an integer.
In the image above we see a successful edit. Cyan Shape show results according to the steps below. Edit Mode and Object Mode.
Best candidate at the moment. Minimum of artistic maneuvers was one goal. Assume target cylinder in standard z-axis position.
Edit Mode Vertex Position Steps
- Loop Tools Addon is enabled.
- Edit Mode with valid selection.
- Take note of current selection and with virtual/discussion/[vertex group] name BS0 .. Blender Selection 0.
- Agree that each edge loop in BS0 has a virtual name EL0N. There are integer K > 1 edge loops. N is an integer whose range is [0,K]. EL0N is connected to EL0(N-1) if N > 0. EL00 is the edge loop whose target Z-coordinate is maximum. EL0(K-1) is the edge loop whose target Z-coordinate is the minimum.
- Agree EL00 is the top in target. EL0(K-1) is the bottom in target.
- Select edge loop EL00 of BS0. Scale Z axis to zero.
- Loop Tools Circle to achieve Regular Circle in XY Plane. Keystroke WLC.
- New Selection of one edge loop virtual name EL01 adjacent to EL00. Scale Z-axis 0. Grab/Translate selection on Z-axis so EL01 is below EL00. Loop Tools Circle. These micro steps are to insure predictability in extreme cases with the next step.
- [Vertex Slide] EL01 coincident to EL00. Accept the action. Move EL01 on Z-axis back to some reasonable position visually distinct from EL00.
- Repeat the step above for all adjacent edge loops.
- Explanation. Each edge loop EL0(N) is corrected by EL0(N-1) in the XY coordinates for N in the range [1, K]
- At this point we have a reasonably acceptable cylinder with potentially uneven distance between edge loops.
- Select one edge ring spanning all edge loops of BS0.
- Loop Tools Relax [Linear Parallel] ... Keystroke WLR. Parallel edge loops are equally spaced.
In the image above unselected vertices are hidden for ease of explanation.
Can these steps be streamlined?
Perhaps a Script would be preferable to copy points from a fresh cylinder calculation. Please correct my understanding of the problem in the comments in case I have under specified / over specified requirements.
Low priority Failure category in the context of some current goals
In cheery Winter Mesh colors left to right.
- The 01 green mesh shows a Cast [Cylinder] modifier result.
- The 02 red mesh shows a To Sphere result.
- The 03 green mesh shows a Shrink Wrap Modifier to a cylinder result.
- The 04 red mesh shows a Shrink Wrap Modifier to a sphere result.
- Note the undesirable curved edge rings in some results.
- Proportional Editing
- Custom Normals under low priority consideration
- [Data Transfer] under low priority consideration
Thanks.