Commit Graph

371 Commits

Author SHA1 Message Date
Dion Moult
60fa857b49 Add subelement mode to draft move command to allow movement of vertices and nodes 2019-05-08 10:26:55 -03:00
Dion Moult
4c04d8ee94 Add new edit tool icon, shortcut, and basic modes.
* It allows you to select multiple objects to edit instead of just one.
 * It highlights the object lines and the points in red.
 * It stays in the mode and allows you to run other modifiers.
 * A very hackish hook into the move modifier is added as a proof of concept.
2019-05-08 10:26:54 -03:00
carlopav
33861e075e Update DraftTools.py
Draft Edit, fixed a problem in bezier curve editing.
2019-04-30 10:14:29 -03:00
carlopav
1b421dcd05 Update DraftTools.py
Improved Draft Edit node selection adding tolerance when selectin a node that is coincident to an edge or a face
2019-04-30 10:14:29 -03:00
carlopav
129ed37b0f Update DraftTools.py
cleaned comments
2019-04-30 10:14:29 -03:00
carlopav
350a7a58cb Update DraftTools.py
Fixed selection of editpoint on edge
2019-04-30 10:14:29 -03:00
carlopav
accc8815e6 Improved node selection
Allows to select an edit node also if it doesn't lay on an object.
2019-04-30 10:14:29 -03:00
carlopav
0b905fade0 Update the arc3points
Updated the Arc3points tool to be able to draw a Draft object instead of a Part one. Also grouped the two tools in one single dropdown toolbar button.
2019-04-22 10:46:44 -03:00
carlopav
5c713119a2 Cubic BezCurve small fix
Fixed small things i forgot
2019-04-22 10:46:44 -03:00
Yorik van Havre
71dedf60d0 Draft: re-added recomputes where needed in Draft GUI tools 2019-04-08 18:17:44 -03:00
carlopav
5db6da0eed Split the command in two
With this commit 2 commands are created, one for current bezier curve tool behaviour, the other for cubic bezier in inkscape style...
grouped in a dropdown button in the toolbar.
2019-04-08 17:17:21 -03:00
carlopav
5897e52d5b Update DraftTools.py
cleanup
2019-04-08 17:17:21 -03:00
carlopav
c191e61926 Update DraftTools.py
minor fixes and cleanup to bezier creation tool
2019-04-08 17:17:21 -03:00
carlopav
4b10f1d874 Update DraftTools.py
Added the parameter self.degree and allow the segmentation of the curve while drawing it. If set to none, nothing change in the tool.
2019-04-08 17:17:21 -03:00
Yorik van Havre
7de2248bb5 Draft: Fixed node selection in Draft Edit 2019-04-07 17:24:40 -03:00
Yorik van Havre
4f19a65559 Draft: Added 3-point arc command from BIM WB 2019-04-07 17:23:42 -03:00
Yorik van Havre
272a8dfcc9 Merge branch 'master' of https://github.com/carlopav/FreeCAD into carlopav-master 2019-03-27 15:57:31 -03:00
Yorik van Havre
251a9bff11 Draft: minor bugfix 2019-03-19 20:00:48 -03:00
carlopav
8ee0b6859e Update DraftTools.py
Update draf edit to:
- improve arc editing
- insert Undo marks
- insert initial window editing support
2019-02-19 16:40:43 +01:00
wandererfan
dace2f39cf Fix ShapeString attachment to Face 2019-02-19 10:32:46 -03:00
carlopav
dea44454c6 Update Edit Tool
Arc 3 points and minor other fixes
2019-02-13 16:40:26 +01:00
carlopav
8aa1cee1f9 Update DraftTools.py 2019-02-10 22:44:09 +01:00
carlopav
3b4aaab869 Edit tool Arc 3 points editing
Updated the edit tool to edit arc by 3 points. Just a dubt: i did a bit of a workaround using Part.ArcOfCircle to compute the values of the new arc.
2019-02-10 11:55:26 +01:00
carlopav
1401c00d60 Update DraftTools.py
Updated first part of file from FreeCAD/FreeCAD
2019-02-09 20:00:38 -02:00
carlopav
a23a9499bc Update DraftTools.py
Refined last commit code
2019-02-09 20:00:38 -02:00
carlopav
4f7804dc10 Update DraftTools.py
Modified arc editing:
- middle editpoint control radius
- end editpoint control first and last angle;
2019-02-09 20:00:38 -02:00
carlopav
e3ab6a1e1b Update DraftTools.py
Update Edit tool to edit wall base objects.
2019-02-09 20:00:38 -02:00
carlopav
c88fadde54 Update DraftTools.py
Updated first part of file from FreeCAD/FreeCAD
2019-02-08 23:27:21 +01:00
carlopav
ef7552955a Update DraftTools.py
Refined last commit code
2019-02-08 23:13:15 +01:00
carlopav
85604f22f6 Update DraftTools.py
Modified arc editing:
- middle editpoint control radius
- end editpoint control first and last angle;
2019-02-08 23:06:35 +01:00
luz.paz
4cfda0c3a5 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
carlopav
636708c90d Update DraftTools.py
Update Edit tool to edit wall base objects.
2019-02-06 21:44:58 +01:00
Yorik van Havre
0cd796a0f1 Draft: Fixed UI focus in arc tool 2019-02-01 12:16:52 -02:00
Dion Moult
dd3c9ccfeb Add beautiful icons thanks to bitacovir
https://forum.freecadweb.org/viewtopic.php?p=283187
2019-01-31 10:54:36 -02:00
Dion Moult
0294b55bf0 This type of tool only works on wires 2019-01-31 10:54:36 -02:00
Dion Moult
09f134d56f Add split tool 2019-01-31 10:54:36 -02:00
Dion Moult
7867864456 Make join modifier actually talk about joining 2019-01-31 10:54:36 -02:00
Dion Moult
5e6fb09119 Now you can join multiple wires all at once 2019-01-31 10:54:36 -02:00
Dion Moult
e25044d0e9 Sorry I can't believe I committed and pushed that 2019-01-31 10:54:36 -02:00
Dion Moult
882c4ca2f3 Add new draft join tool 2019-01-31 10:54:36 -02:00
Yorik van Havre
6e91ae9561 Draft: Reverted 5ccc656 2019-01-31 10:53:40 -02:00
Yorik van Havre
a901f5798a Draft: edit fix for wires works for bsplines too 2019-01-31 10:53:40 -02:00
Dion Moult
49be948b45 Adding new points on wires tests the edge you clicked on instead of an overcomplicated curve parameter check
* Makes adding points on wires and closed wires simpler and more reliable
 * Minor code cleanup to reduce the nesting of "if" statements
2019-01-31 10:53:40 -02:00
carlopav
763b4f3d8c Update DraftTools.py
Small fix to edit tool when editing arcs.
2019-01-27 23:26:22 -02:00
Yorik van Havre
bf24b74629 Draft: Small fix to Edit tool 2019-01-26 18:47:51 -02:00
Yorik van Havre
ca2e3c2324 Draft: Small cosmetic fix in edit points 2019-01-22 00:10:31 -02:00
Yorik van Havre
ae95f77f5a Draft: Fixed small bug in Snap Nearest command 2019-01-18 17:39:33 -02:00
Yorik van Havre
e638705bc4 Draft: Fixed grid not appearing on working plane setup 2019-01-08 11:43:36 -02:00
Yorik van Havre
e10e90516e Draft: Fixed wrong Qt import 2019-01-07 11:18:49 -02:00
Yorik van Havre
0c886a479a Draft: Fixed wrong placement of edit dots in Draft Stretch 2018-12-14 16:06:31 -02:00