ddf308b04a
EditMesh: Use tweak for extrude tool
...
Could too easily click to extrude without any offset.
2018-05-13 21:19:22 +02:00
dc4f94783d
EditMesh: show XYZ axis for extrude
...
Always show normal axis since this is the most used,
even when another orientation is selected.
2018-05-13 21:15:56 +02:00
0a7736a2e9
Tool System: curve draw options
2018-05-11 20:25:01 +02:00
f3f309c7f8
Tool System: inset & shrink/fatten options
2018-05-11 20:24:06 +02:00
9df6978211
Tool System: mesh rip fill option
2018-05-11 20:22:04 +02:00
3f3326af1c
EditMesh: add cube interactive tool
...
Initial add-cube tool which uses the scale cage to resize.
The 3D cursor is currently used to project the cursor onto.
We'll likely have more orientation options in the future.
2018-05-10 20:31:10 +02:00
eefaec4114
Extrude Widget: Add orientation to topbar
...
Add extrude operator that's intended to work on the current selection
and be activated as a tool.
2018-05-07 21:40:51 +02:00
50e28092d3
Cleanup: style
2018-05-07 21:40:51 +02:00
466125f3d6
EditMesh: initial extrude manipulator
...
This manipulator is a test for mixing do/redo,
there are still some glitches that need sorting out in
transform & the undo stack.
2018-05-06 10:14:20 +02:00
3f4a81232a
UI: expose radial gradient as option
...
Was a separate tool, use option so we can extend more easily.
2018-05-01 12:48:35 +02:00
f38fbc9bed
UI: add weight paint sample tools
...
Also use unified weight.
2018-05-01 12:20:53 +02:00
b93a76fe75
Add missing tools to vertex paint
2018-04-30 21:58:35 +02:00
a44d5b59d3
UI: order edit-mesh tools
...
See T54885
2018-04-30 20:40:36 +02:00
3b9554ce9d
UI: share common paint panels between all modes
2018-04-30 16:59:16 +02:00
7720525873
UI: add texture paint brushes to toolbar
2018-04-30 16:43:36 +02:00
9aef2d961d
UI: add weight paint brushes to toolbar
2018-04-30 16:08:15 +02:00
d9f395ac39
UI: add vertex paint tools
...
Generalize logic to show the paintbrush as a tool so
different paint modes can use it.
2018-04-30 15:23:04 +02:00
005711ffef
Fix sculpt ToolDef generation
...
With non-default sculpt brushes, tool generation could fail.
2018-04-30 13:46:01 +02:00
ea2146c3e1
Correct error in toolbar update
2018-04-30 12:46:23 +02:00
f4697b392d
Tool System: change internal definitions (again)
...
Was using classes to define tools, however this makes it awkward to
dynamically generate them (we can do it, but its not very "Pythonic").
Move to a named tuple.
2018-04-30 12:14:46 +02:00
60ce3275c1
UI: use sculpt icons in the toolbar
2018-04-29 17:01:10 +02:00
695326eb8f
UI: remove toolbar separator between categories
...
Made cursor split from selection tools, giving ugly 2 column layout.
2018-04-29 16:49:24 +02:00
65d78f4695
UI: group sculpt brushes in the toolbar
...
All sculpt brushes are accessible from the toolbar, grouped by type
to keep the toolbar a fixed size.
2018-04-29 16:36:31 +02:00
76282a986d
UI: initial dynamically generated sculpt tools
...
Lots more work needed, this just lists sculpt tools in the toolbar.
2018-04-29 14:31:00 +02:00
f4ba7667dc
UI: support tool generators (no visible change)
...
This allows toolbar definitions to dynamically generate tools,
needed for generating a tool list from brushes for eg.
2018-04-29 12:28:21 +02:00
cfa1700792
UI: add loopcut & edge offset tools
...
Also fix minor layout bug.
2018-04-27 23:08:25 +02:00
c42a47d177
UI: add new transform tool that enables all widgets
...
Also add bevel tool.
2018-04-27 22:49:52 +02:00
e724238457
Tool System: use release_confirm for extrude
2018-04-27 20:43:41 +02:00
c4a24a7f5d
Tool System: inset tool now completes on release
2018-04-27 20:38:29 +02:00
782240636c
UI: use new extrude icon and correct keymap
2018-04-27 19:16:00 +02:00
eb4c60124c
UI: multi-column toolbar support
2018-04-27 18:02:45 +02:00
85ea14df2f
UI: support for tool settings in the top-bar
...
This uses the operators last used properties
to store settings to use on the next execution.
2018-04-27 14:17:12 +02:00
9504652687
UI: move tool definitions to classes
...
Originally it was nice to have a small list of definitions
with tools inline.
However we need to be able to define drawing functions for tools
which Python can't easily inline.
Use function for keymap definition,
support creating a function from a tuple as well
(handy for simple key-maps).
2018-04-27 13:55:04 +02:00
05c9ddb2d6
UI: correct icon
2018-04-26 15:02:50 +02:00
b98311f847
Cleanup: avoid direct access to private class
2018-04-26 14:55:46 +02:00
37ca6ef7d8
UI: use dict for tool definitions
...
Using tuple was becoming too cryptic - new settings needed to be added
last and the purpose of each wasn't very clear.
2018-04-26 07:31:39 +02:00
4d6cdb8b89
UI: add extrude icon
2018-04-25 09:21:49 +02:00
00d4e99955
UI: move mesh-weights from panels to menus
...
Also de-duplicate edit/object mode menus.
2018-04-24 17:04:43 +02:00
a59bf99f1d
UI: remove toolbar header
2018-04-24 16:04:07 +02:00
9c5025d67d
UI: use new icons in toolbar
2018-04-24 15:32:45 +02:00
3581b997d4
UI: use icons for the toolbar
2018-04-24 09:19:28 +02:00
b95df9957d
UI: move manipulator to tool-system
...
Current manipulator now follows active tool.
2018-04-20 15:59:42 +02:00
0260fad9ba
Manipulator: ruler tool
...
Add the 3D view ruler as a tool,
the modal operator remains for now
however it may be removed if we use the tool-system for 2.8.
Note that this does copy code from the operator,
its different enough not to attempt to de-duplicate.
2017-11-11 03:27:21 +11:00
4c53f2000f
Cleanup: move tool-bar checks into functions
...
Also support separator in tool-bar sub-menus
2017-11-03 16:30:51 +11:00
1ca3e1a91d
UI: support nested tools in toolbar
2017-11-02 23:05:13 +11:00
cd3c31b2c0
Tool System: experimental low-poly construction
...
Tool for creating polygons, exact usage may change based on feedback.
LMB to add faces at boundaries (tris from edges, quads from verts).
- Ctrl splits edges
- Alt to dissolve edges/verts.
Works well with vertex snap & auto-merge.
This uses selection hover but isn't intended to introduce more widely
pre-selection highlighting, at least it will be restricted to this tool.
2017-10-26 18:40:27 +11:00
d3fafa3002
Manipulator: move 'Scale Cage' to its own tool
...
Was activated with the regular scale manipulator,
move to own tool since they are different ways to access scale.
2017-10-21 23:01:19 +11:00
e1e7b6db2e
WM: Initial Tool System
...
The tool-system it's self is primitive and may be changed.
Adding to 2.8 to develop operators and manipulators as tools.
Currently this is exposed in the toolbar, collapsed by default.
Work-flow remains unchanged if you don't change the active tool.
Placing the 3D cursor is now a Click instead of a Press event,
this allows tweak events to be mapped to tools such as border select,
keeping click for 3D cursor placement when selection tools are set.
2017-10-21 16:39:35 +11:00