"Straighten" operator doesn't always work and isn't well documented in the manual. #78553

Closed
opened 2020-07-02 23:22:57 +02:00 by Gilberto Rodrigues · 13 comments

Blender Version
Broken: 2.7x, 2.8x

Short description of error
The "Straighten" operator from the UV editor doesn't always work and isn't well documented in the manual.

Exact steps for others to reproduce the error
Open default file
go to the uv editor
press shift W
try to figure out what straighten does, sometimes it aligns vertices in a random direction, sometimes it does nothing.
open the manual
still have no clue.

**Blender Version** Broken: 2.7x, 2.8x **Short description of error** The "Straighten" operator from the UV editor doesn't always work and isn't well documented in the manual. **Exact steps for others to reproduce the error** Open default file go to the uv editor press shift W try to figure out what straighten does, sometimes it aligns vertices in a random direction, sometimes it does nothing. open the manual still have no clue.

Added subscriber: @Gilberto.R

Added subscriber: @Gilberto.R

Added subscribers: @mano-wii, @ronsn

Added subscribers: @mano-wii, @ronsn

That's right, thank you! The docs are a little bit fuzzy in this case. We have to be a bit more clear in the description what it does ( https://docs.blender.org/manual/en/dev/modeling/meshes/uv/editing.html#bpy-ops-uv-align )

@mano-wii do you think this is also a case for the documentation team?

That's right, thank you! The docs are a little bit fuzzy in this case. We have to be a bit more clear in the description what it does ( https://docs.blender.org/manual/en/dev/modeling/meshes/uv/editing.html#bpy-ops-uv-align ) @mano-wii do you think this is also a case for the documentation team?

It's description is: "Align UVs along the line defined by the endpoints".
Apparently you need to have a sequence of points selected in order to have endpoints.
I agree that this description needs to be improved.

It's description is: "Align UVs along the line defined by the endpoints". Apparently you need to have a sequence of points selected in order to have endpoints. I agree that this description needs to be improved.

yea, the description isn't true straighten.mp4

yea, the description isn't true [straighten.mp4](https://archive.blender.org/developer/F8675702/straighten.mp4)

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Added subscribers: @ideasman42, @Blendify

Added subscribers: @ideasman42, @Blendify
Member

Not really sure this is an error with the documentation, I find the behavior of the operator a bit strange as pointed out in the video. I would expect the UVs to be scaled to 0 along the axis created between the first and last points, however it seems to be doing something different.

@ideasman42 @mano-wii is this what's expected and there is a bug here too?

Not really sure this is an error with the documentation, I find the behavior of the operator a bit strange as pointed out in the video. I would expect the UVs to be scaled to 0 along the axis created between the first and last points, however it seems to be doing something different. @ideasman42 @mano-wii is this what's expected and there is a bug here too?

Added subscriber: @Chris_Blackbourn

Added subscriber: @Chris_Blackbourn
Chris Blackbourn self-assigned this 2022-05-29 08:07:03 +02:00

Bug confirmed in debugger image.png
Note that the UV at 1oclock and the UV at 2oclock share XYZ (bmvert) in the cube case, but are distinct if the geometry is in the shape of a cross.

Bug confirmed in debugger ![image.png](https://archive.blender.org/developer/F13120147/image.png) Note that the UV at 1oclock and the UV at 2oclock share XYZ (`bmvert`) in the cube case, but are distinct if the geometry is in the shape of a cross.

Fix with some new functionality (Align Circle, Align Fit, pinned UV support) taking shape over at https://developer.blender.org/D15121
Caution: Code is very rough.

Fix with some new functionality (Align Circle, Align Fit, pinned UV support) taking shape over at https://developer.blender.org/D15121 Caution: Code is very rough.

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

blender/blender@9dd27a2c87 & {rBM9392} have been committed. Closing.

blender/blender@9dd27a2c87 & {rBM9392} have been committed. Closing.
Sign in to join this conversation.
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-manual#78553
No description provided.