Commit Graph

1722 Commits

Author SHA1 Message Date
Yorik van Havre
fc674fae4e Draft: Small bugfix in bezier curves 2019-05-14 15:25:40 -03:00
Yorik van Havre
6d2aee2c58 Draft: Updated icon for cubic bezier tool 2019-05-14 15:20:40 -03:00
carlopav
5aeb15db0c [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
792a253830 removed unused view lookup 2019-05-14 15:42:51 +02:00
Yorik van Havre
a7cb6ed62c Draft: Allow to set the working plane from a section plane 2019-05-13 22:01:32 -03:00
Yorik van Havre
7d2498d65e Draft: Fixed Part primitives mode of Draft tools 2019-05-13 14:55:58 -03:00
Yorik van Havre
cfd04ac6af Draft: Fixed minor bug in Circle tool 2019-05-11 21:11:40 -03:00
Yorik van Havre
bfba3a6b93 Updated master translation files (minor changes) 2019-05-10 23:14:36 -03:00
Yorik van Havre
9d416bf385 Draft: allow to use different snapping task dialogs 2019-05-10 22:27:08 -03:00
Yorik van Havre
9adc1a351c Draft: General cleanup of the Draft UI 2019-05-10 21:03:35 -03:00
Yorik van Havre
ed386410bc Merged latest translations from crowdin 2019-05-10 19:19:37 -03:00
Yorik van Havre
c65bf365a1 Updated master translation files 2019-05-10 19:15:33 -03:00
Yorik van Havre
9e91c8d690 Draft: Fixed py3 issues in Draft Label - fixes #3941 2019-05-09 10:48:04 -03:00
Dion Moult
dc284e4d4d Fix scale command and simplify UI, add support for scale subelements 2019-05-08 10:27:44 -03:00
Dion Moult
fc24bf1446 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
fd4992cb9a Implement rotation with optional copy of draft subelements 2019-05-08 10:27:44 -03:00
Dion Moult
91438c1688 Add subelement support for rotating individual vertices 2019-05-08 10:27:44 -03:00
Dion Moult
bc3af1afbc Code simplification of move subelements command 2019-05-08 10:26:55 -03:00
Dion Moult
8501377119 Support copying subelements 2019-05-08 10:26:55 -03:00
Dion Moult
547851ccf6 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
69646518df Show draft objects as an x-ray view, and edit bases if they exist. 2019-05-08 10:26:55 -03:00
Dion Moult
be65fbf8ff Fix move edge to work on closed wires 2019-05-08 10:26:55 -03:00
Dion Moult
ba1f045065 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
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
6e6bdc04a0 Create functions for moving vertex and edges 2019-05-08 10:26:55 -03:00
Dion Moult
d392daefd2 Fix typo 2019-05-08 10:26:55 -03:00
Dion Moult
9e619d0e4b Make ghostTracker support showing nodes as well 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
furti
9cfb84d862 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
49ed29cd0b 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
c17a89973f 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
519bbfe503 Misc. source comment typo and whitespace fixes 2019-05-06 13:42:30 +02:00
Yorik van Havre
8d237da7cb Draft: Keep using the already set working plane, if existing 2019-05-04 14:31:43 -03:00
Syres916
fad8fa4071 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
e98bb1fc21 Draft: Fixed 0.18.1 bug in DXF importer 2019-05-02 16:09:36 -03:00
Yorik van Havre
bd7aa678f7 Draft: Fixed Draft text justification 2019-05-02 15:23:20 -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
Yorik van Havre
9a64f3fad9 Arch: Added 'Clip' property to section planes to clip the rendered contents to the plane limits 2019-04-28 17:29:19 -03:00
Yorik van Havre
61f94d4b7c Draft: Fixed DXF import with sketch mode on 2019-04-25 18:17:57 -03:00
Yorik van Havre
79f3e1c57f Draft: Fixed crashing editTracker 2019-04-22 12:21:31 -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
2ea552a7ba Draft: Fixed error in DXF import 2019-04-22 10:39:36 -03:00
Yorik van Havre
2579cd242c Draft: Fixed inverted 2D/3D modes of Draft Texts 2019-04-22 10:29:58 -03:00
Yorik van Havre
ea0c7694cd Arch/TechDraw: TD Arch views now have a 'fillSpaces' property to show Arch spaces as color-filled areas 2019-04-19 18:20:33 -03:00
Yorik van Havre
fbdeb442db Arch: Added right-click option to BuildingParts to clone level and contents 2019-04-18 19:10:35 -03:00