Dion Moult
8cf155fbc9
Add draft grid color setting
2019-06-03 16:50:21 -03:00
Dion Moult
32969dde1f
Let getSupport() check if WP mode is set to auto before changing WP needlessly
...
Also refactor getSupport() function to be a little bit more semantic and reduce nested if statements so logic is clearer.
2019-06-03 16:49:51 -03:00
Dion Moult
1b362fd82b
Fix draft missing line tracker when snapper detects an object without any snap targets
2019-06-03 16:36:07 -03:00
Dion Moult
514fa9d4fc
Add customisable in-command shortcut keys rather than hardcoding them
2019-06-03 16:31:25 -03:00
Yorik van Havre
0cbe505e50
Draft: Disbled by default the use of the Support property in Draft objects
2019-05-20 12:27:38 -03:00
Dion Moult
fccbc0ed24
Set working plane immediately upon clicking the set working plane button if you have a face selected
2019-05-20 11:10:40 -03:00
Derek V. Schmalenberger
297c7f2ec6
increased default snapRange from 5 to 8
...
Grid snapping will fail with a snapRange of 5 if a line or arc passes through the grid point.
2019-05-20 11:08:48 -03:00
Yorik van Havre
32a1e35b17
Draft: Fixed regression in move tool
2019-05-17 17:44:59 -03:00
luz.paz
92bf2228d9
Misc. typo fixes
...
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller -L pard,wallthickness,commen,byteorder,alocation`
2019-05-17 13:19:36 +02:00
Yorik van Havre
601b09bb83
Draft: Removed annoying an unuseful verbose command line output
2019-05-16 15:31:57 -03:00
Yorik van Havre
8a432cc830
Draft: Fixed regression bug in Rotate
2019-05-16 14:38:46 -03:00
Yorik van Havre
3a2aac4fe0
Draft: Enhancements to Working Plane selection UI
2019-05-15 19:48:58 -03:00
Yorik van Havre
c2d0b80f58
Draft: Small bugfix in bezier curves
2019-05-14 15:25:40 -03:00
Yorik van Havre
94aa65ffaf
Draft: Updated icon for cubic bezier tool
2019-05-14 15:20:40 -03:00
carlopav
00daa50ee3
[Draft] Insert the arc group in the draft toolbar
...
small fix to add the arc group to the toolbar.
2019-05-14 11:20:27 -03:00
Derek V. Schmalenberger
3c1ce73032
removed unused view lookup
2019-05-14 15:42:51 +02:00
Yorik van Havre
6dc2b1f94d
Draft: Allow to set the working plane from a section plane
2019-05-13 22:01:32 -03:00
Yorik van Havre
8119077feb
Draft: Fixed Part primitives mode of Draft tools
2019-05-13 14:55:58 -03:00
Yorik van Havre
8f2fc68fa7
Draft: Fixed minor bug in Circle tool
2019-05-11 21:11:40 -03:00
Yorik van Havre
636fb7b116
Updated master translation files (minor changes)
2019-05-10 23:14:36 -03:00
Yorik van Havre
d72d5a5b21
Draft: allow to use different snapping task dialogs
2019-05-10 22:27:08 -03:00
Yorik van Havre
eb47cf84a0
Draft: General cleanup of the Draft UI
2019-05-10 21:03:35 -03:00
Yorik van Havre
2d47993780
Merged latest translations from crowdin
2019-05-10 19:19:37 -03:00
Yorik van Havre
9a1bb779c9
Updated master translation files
2019-05-10 19:15:33 -03:00
Yorik van Havre
57bf8d1f57
Draft: Fixed py3 issues in Draft Label - fixes #3941
2019-05-09 10:48:04 -03:00
Dion Moult
5bd56c82e7
Fix scale command and simplify UI, add support for scale subelements
2019-05-08 10:27:44 -03:00
Dion Moult
d3b701df22
Add subelement ghosts in scale command, and minor code cleanup
...
I suspect the scale command itself is a little broken, so I need to fix that before adding subelement support
2019-05-08 10:27:44 -03:00
Dion Moult
567e433827
Implement rotation with optional copy of draft subelements
2019-05-08 10:27:44 -03:00
Dion Moult
3df8f58922
Add subelement support for rotating individual vertices
2019-05-08 10:27:44 -03:00
Dion Moult
e832a22121
Code simplification of move subelements command
2019-05-08 10:26:55 -03:00
Dion Moult
6bfdd4e2f5
Support copying subelements
2019-05-08 10:26:55 -03:00
Dion Moult
131dc3720f
If wires are merged, deleted, or otherwise had graph changing operations while edit mode is active, don't complain
2019-05-08 10:26:55 -03:00
Dion Moult
a7b0b4f601
Show draft objects as an x-ray view, and edit bases if they exist.
2019-05-08 10:26:55 -03:00
Dion Moult
6315a8f5db
Fix move edge to work on closed wires
2019-05-08 10:26:55 -03:00
Dion Moult
7ab0574928
Make movement vector a class variable of the move command, show error for unmovable elements, and move action into a commit to allow undo/redo.
2019-05-08 10:26:55 -03:00
Dion Moult
efa4f7cdc9
Add subelement mode to draft move command to allow movement of vertices and nodes
2019-05-08 10:26:55 -03:00
Dion Moult
779a44bc41
Create functions for moving vertex and edges
2019-05-08 10:26:55 -03:00
Dion Moult
76cb674fbb
Fix typo
2019-05-08 10:26:55 -03:00
Dion Moult
2fe675a94a
Make ghostTracker support showing nodes as well
2019-05-08 10:26:55 -03:00
Dion Moult
bc0dc26b5a
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
furti
275b40f04f
Extract Path Array logic into separate functions
...
The Path Array logic is pretty useful to be used directly by macros.
But until now it was encapsulated in the PathArray class and could only
be used by creating a full PathArray object. So we can't use it inside
other Objects to create a repeated shape.
This commit extracts the logic into a separate function that returns a
list of placements. One can use this placements now to copy a shape and
place it accordingly.
2019-05-07 21:31:12 -03:00
carlopav
8eb2c49237
Update DraftGui.py
...
found another bug: when aligning to y axis while tracing a line, the focus is not set on the length if the option is checked in preferences. this should fix it.
2019-05-06 10:23:37 -03:00
carlopav
5860d67b64
Draft GUI setfocus if lengthValue is not visible
...
If set focus on length instead of x coordinate is checked, Draft set the focus on it also if the lengthValue is not visible
2019-05-06 10:23:37 -03:00
luz.paz
7a1f98fda1
Misc. source comment typo and whitespace fixes
2019-05-06 13:42:30 +02:00
Yorik van Havre
a9b6eecb52
Draft: Keep using the already set working plane, if existing
2019-05-04 14:31:43 -03:00
Syres916
3d15ac71cf
importDXF draftWPlane Fix
...
To fix error:
w.Placement = placementFromDXFOCS(polyline)
File "E:\Data\My Downloads\FreeCAD_0.19.16587_x64_Conda_Py3QT5-WinVS2015\FreeCAD_0.19.16587_x64_Conda_Py3QT5-WinVS2015\Mod\Draft\importDXF.py", line 422, in placementFromDXFOCS
draftWPlane = FreeCAD.DraftWorkingPlane
<class 'AttributeError'>: module 'FreeCAD' has no attribute 'DraftWorkingPlane'
2019-05-04 14:31:43 -03:00
Yorik van Havre
6d4d85b436
Draft: Fixed 0.18.1 bug in DXF importer
2019-05-02 16:09:36 -03:00
Yorik van Havre
6411d4aa22
Draft: Fixed Draft text justification
2019-05-02 15:23:20 -03:00
carlopav
db98de84c4
Update DraftTools.py
...
Draft Edit, fixed a problem in bezier curve editing.
2019-04-30 10:14:29 -03:00
carlopav
52ef5fba78
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