Curve Tilt Tool Todo #57224

Closed
opened 2018-10-14 19:50:48 +02:00 by William Reynish · 10 comments

Curve Tilt Tool Todo

    • {icon circle color=yellow} Add Tilt tool to Curve Edit toolbar
## Curve Tilt Tool Todo * - [x] {icon circle color=yellow} Add Tilt tool to Curve Edit toolbar
Campbell Barton was assigned by William Reynish 2018-10-14 19:50:48 +02:00
Added subscribers: @WilliamReynish, @Znio.G, @DanPool, @Rawalanche, @zeauro, @A.Lex_3D, @CraigJones, @nokipaike, @JonDoe286, @DuarteRamos, @Djay
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Hey, I tried to implement this tool to get more familiar with the tool system here: https://developer.blender.org/D3804
It does not really work as intended yet but I have questions.

Is there a mockup for how the gizmo (widget? I'm still confused) for this tool should look like?
Especially also when multiple points are selected.

What I have now looks like so:
tilt tool.gif

(currently it's always visible when a point is select and not only when the tool is active)

Hey, I tried to implement this tool to get more familiar with the tool system here: https://developer.blender.org/D3804 It does not really work as intended yet but I have questions. Is there a mockup for how the gizmo (widget? I'm still confused) for this tool should look like? Especially also when multiple points are selected. What I have now looks like so: ![tilt tool.gif](https://archive.blender.org/developer/F5093838/tilt_tool.gif) (currently it's always visible when a point is select and not only when the tool is active)

That looks pretty good already, very useful, many thanks.
Only suggestion I can think of is perhaps to draw some sort of local Z axis pointing to the current tilt direction, to make it clearer to the user where it is currently facing.
If possible even two axis one for X and Y. Bonus points if these axis are actually capable of snapping to other geometry, for precise tilting.

That looks pretty good already, very useful, many thanks. Only suggestion I can think of is perhaps to draw some sort of local Z axis pointing to the current tilt direction, to make it clearer to the user where it is currently facing. If possible even two axis one for X and Y. Bonus points if these axis are actually capable of snapping to other geometry, for precise tilting.

@JacquesLucke: That looks pretty awesome!

I had in fact not even imagined there would necessarily be a gizmo here, but what you've done looks great. Nicely done.

With multiple points selected, we should just do what we do elsewhere: place the gizmo in the center.

Yes, gizmo/widget/manipulator all refer to the same thing. It's confusing. We call them gizmos now ;)

@JacquesLucke: That looks pretty awesome! I had in fact not even imagined there would necessarily be a gizmo here, but what you've done looks great. Nicely done. With multiple points selected, we should just do what we do elsewhere: place the gizmo in the center. Yes, gizmo/widget/manipulator all refer to the same thing. It's confusing. We call them gizmos now ;)
Member

@DuarteRamos:
hmm having an axis show in the direction of the current tilt is a bit harder. Not sure if this can be done in pure Python. Depends in the selected twist method I guess...
Snapping is probably even harder but we'll see :)

@WilliamReynish:
How should this tool without a gizmo? Just some slider in the topbar or what?

I played a bit more with this thing. It now supports multiple selected points and different spline types.
tilt gizmo multiple points.gif

@DuarteRamos: hmm having an axis show in the direction of the current tilt is a bit harder. Not sure if this can be done in pure Python. Depends in the selected twist method I guess... Snapping is probably even harder but we'll see :) @WilliamReynish: How should this tool without a gizmo? Just some slider in the topbar or what? I played a bit more with this thing. It now supports multiple selected points and different spline types. ![tilt gizmo multiple points.gif](https://archive.blender.org/developer/F5107417/tilt_gizmo_multiple_points.gif)

@JacquesLucke:

Well, not all active tools necessarily have to have a gizmo if it doesn't make sense. For example, all the drawing tools obviously don't have any. Also, for any tool that simply affects a single value rather than a transform along several axes, we also don't display a gizmo for those. See Extrude Along Normals, Bevel, Inset or Smooth for examples. For those, the user just drags in the viewport to change the value.

In this example, all you are manipulating is the tilt value. This can be affected simply by clicking and dragging in the viewport. While a gizmo is fun, it doesn't actually add all that much. The main benefit of your gizmo, is a clearer sense of rotation, which is very nice, although probably somewhat confusing when you have multiple points selected?

I hope that makes things a bit clearer.

Probably we could go with your gizmo here - but they usually don't make sense for most single-value type tools.

@JacquesLucke: Well, not all active tools necessarily have to have a gizmo if it doesn't make sense. For example, all the drawing tools obviously don't have any. Also, for any tool that simply affects a single value rather than a transform along several axes, we also don't display a gizmo for those. See Extrude Along Normals, Bevel, Inset or Smooth for examples. For those, the user just drags in the viewport to change the value. In this example, all you are manipulating is the tilt value. This can be affected simply by clicking and dragging in the viewport. While a gizmo is fun, it doesn't actually add all that much. The main benefit of your gizmo, is a clearer sense of rotation, which is very nice, although probably somewhat confusing when you have multiple points selected? I hope that makes things a bit clearer. Probably we could go with your gizmo here - but they usually don't make sense for most single-value type tools.
Member

@WilliamReynish:
I see, makes sense. Just have to figure out how to link the gizmo more to the tool, so that it is not visible when the tool is not active. I'll have to wait until the py api for that is ready :)
I also don't care too much if we don't use my code in the end, it was more an exercise to better understand how to create gizmos in Python at all.

@WilliamReynish: I see, makes sense. Just have to figure out how to link the gizmo more to the tool, so that it is not visible when the tool is not active. I'll have to wait until the py api for that is ready :) I also don't care too much if we don't use my code in the end, it was more an exercise to better understand how to create gizmos in Python at all.

@JacquesLucke: I think your gizmo here could be useful, if it's reliable enough with multiple points selected. The main thing was just adding this tool in the first place - you gone above and beyond and made a nice looking gizmo too.

@JacquesLucke: I think your gizmo here could be useful, if it's reliable enough with multiple points selected. The main thing was just adding this tool in the first place - you gone above and beyond and made a nice looking gizmo too.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 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#57224
No description provided.