Commit Graph

2767 Commits

Author SHA1 Message Date
Zheng, Lei
51d4e5c2a9 Draft: support 'CopyOnChange' in Draft link array 2021-12-21 21:41:02 -07:00
Yorik van Havre
6895813400 Merge pull request #5249 from Roy-043/Draft-Draft_Label-fix-label-type-list
Draft: Draft_Label fix label type list
2021-12-21 11:45:16 +01:00
Roy-043
f24a5d1fc7 Draft: fix Draft_Label viewprovider 2021-12-17 11:35:44 +01:00
Yorik van Havre
8585149ab4 Draft: Added INSUNITS to exported DXF - Fixes #4517 2021-12-16 16:12:03 +01:00
Yorik van Havre
568dbcea9e Arch: Fixed display of axis bubbles and texts on DXF export and Techdraw pages 2021-12-16 15:55:58 +01:00
Roy-043
ac0bae2337 Draft: fix Draft_Arc_3Points task panel issues
Fixed the following task panel issues:
1. Wrong title and icon.
2. Continue toggle missing.
2021-12-11 19:00:31 +01:00
Roy
3ad8c1680f Draft: Draft_Label fix label type list 2021-12-10 18:40:43 +01:00
Roy
24bfc4f0a2 Draft: Fix Part_Line offset issue 2021-12-10 02:40:16 +01:00
Yorik van Havre
f61ca1bf17 Merge pull request #5223 from Roy-043/Draft_fix_task_panel_issues
Draft fix task panel issues
2021-12-09 11:16:45 +01:00
Roy-043
d3cad74ac6 Draft: fix regression draftlink.py (#5220)
* Draft: fix regression draftlink.py

This PR fixes a regression introduces with #5180.

Using transformShape is the correct solution.
2021-12-08 07:37:23 -06:00
luz paz
4bd77b3b35 Draft: fix doxygen typos 2021-12-07 22:53:54 -06:00
Roy-043
af24c3ba02 Draft: fix task panel_issues (gui_texts.py) 2021-12-04 22:01:29 +01:00
Roy-043
fccf955c6f Draft: fix task panel issues (gui_polygons.py) 2021-12-04 22:00:43 +01:00
Roy-043
77d21df65f Draft: fix task panel issues (gui_points.py) 2021-12-04 21:59:47 +01:00
Roy-043
055f1850e8 Draft: fix task panel issues (gui_edit.py) 2021-12-04 21:58:50 +01:00
Roy-043
81268073df Draft: fix task panel issues (DraftGui.py) 2021-12-04 21:57:31 +01:00
Yorik van Havre
b28ff5b1ba Merge pull request #5178 from Roy-043/Draft-housekeeping-import-is_group-get_windows
Draft housekeeping: import is_group and get_windows in Draft.py
2021-12-01 15:02:54 +01:00
Yorik van Havre
78f4e980ba Merge pull request #5202 from Roy-043/Draft-fix-3-snap-issues
Draft: fix 3 snap issues
2021-12-01 15:01:27 +01:00
Roy-043
5e0f8bf604 Draft: fix layer handling of PointColor and PointSize
Draft_Layer did not handle PointColor and PointSize.
2021-11-28 11:52:07 +01:00
Roy-043
e2fec183db Draft: fix style handling of PointColor and PointSize
Draft_SetStyle did not handle PointColor and PointSize.
2021-11-28 11:50:49 +01:00
Roy-043
9baf044e6a Draft: fix 3 snap issues
1. Draft_Snap_Parallel only worked beyond the endpoints of the edge.
2. It was very hard to select an edge for Draft_Snap_Parallel if no other snaps were active.
3. Only two snap objects were stored.
2021-11-25 15:21:11 +01:00
wmayer
325c5ec887 Fix issue 0004791: DXF import fails for trivial circle 2021-11-24 18:27:21 +01:00
Roy-043
401db10fc6 Update Draft.py
Fixed missing commas.
2021-11-24 17:50:15 +01:00
Yorik van Havre
643460e941 Merge pull request #5180 from Roy-043/Draft-fix-draft-point-array-issue
Draft: fix array issue with Draft_Point and Part_Vertex.
2021-11-24 15:35:32 +01:00
Yorik van Havre
0eba852815 Merge pull request #5179 from Roy-043/Draft-housekeeping-SS-shortcut-used-twice
Draft housekeeping: SS-shortcut used twice
2021-11-24 15:32:02 +01:00
Roy-043
9a467f39d1 Draft: fix toggle grid issue. 2021-11-17 19:26:36 +01:00
Yorik van Havre
a26fb4db1a Merged crowdin translations 2021-11-16 17:30:39 +01:00
Yorik van Havre
aca390ac88 Updated ts files 2021-11-16 17:25:03 +01:00
Roy-043
f548494e4a Draft: fix array issue with Draft_Point and Part_Vertex 2021-11-16 17:00:54 +01:00
Roy-043
067f533928 Draft housekeeping: SS-shortcut used twice 2021-11-16 16:49:30 +01:00
Roy-043
a70d4a53cf Draft housekeeping: import is_group and get_windows in Draft.py 2021-11-16 16:35:34 +01:00
Yorik van Havre
75846b340b Merge pull request #5153 from Roy-043/Draft-fix-importDXF-should-use-make_layer
Draft housekeeping: importDXF.py should use make_layer
2021-11-16 11:30:17 +01:00
Roy-043
359955a51e Draft: revise findMidpoint function
The findMidpoint function (used by Draft_Snap_Midpoint) only worked for straight and circular edges. With this revision the midpoint of all edges can be found.
2021-11-14 11:34:06 -06:00
Roy-043
7245b0894a Draft housekeeping: importDXF.py should use make_layer 2021-11-08 15:47:07 +01:00
Roy-043
15c495a5bd Draft: fix getTeighaConverter
The getTeighaConverter function did not work on Windows. We don't deal with the actual TeighaFileConverter anymore so there is no need to check for that file. Although the name of the function and the name of the parameter have been kept.
2021-11-08 15:31:49 +01:00
Yorik van Havre
25d0e63e0c Merge branch 'master' of github.com:FreeCAD/FreeCAD 2021-11-08 10:51:28 +01:00
Yorik van Havre
0b4e1ea556 Draft: Fixed DWG import's QCAD config 2021-11-08 10:51:10 +01:00
Chris Hennes
0e97a30ccd Merge pull request #5130 from Roy-043/Draft-Fix-merge-layers
Draft: Fix merge layers
2021-10-31 16:15:10 -05:00
Chris Hennes
002f212cee Merge pull request #5133 from Roy-043/Draft-Fix-angle-dimension-issue
Draft: Fix angle dimension issue
2021-10-31 15:45:10 -05:00
luzpaz
b488071a55 Add requested revision by @chennes
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2021-10-30 15:20:28 -04:00
luzpaz
30a3ccde46 Add requested revision by @chennes
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2021-10-30 15:20:28 -04:00
luz paz
f742cd3c20 Refined code formatting for uniformity 2021-10-30 15:20:28 -04:00
luzpaz
4dcc03cc72 Add requested revision by @chennes
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2021-10-30 15:20:28 -04:00
luz paz
580a52f75c Draft: Fix superfluous whitespace in translations + misc. typos 2021-10-30 15:20:28 -04:00
Roy-043
a624f6a50c Draft: Fix angle dimension issue
If the end points of the selected edges for an angular dimension were (almost) coincident with their intersection, random angles could be calculated. In essence a floating point inaccuracy issue.
2021-10-28 19:29:59 +02:00
Roy-043
8b7718f823 Draft: Fix merge layers
The "Merge layer duplicates" Tree view context menu option for LayerContainers did not work.

Additionally:
- Using `openTransaction` and `commitTransaction` is required for the `merge_by_name` function but also for the `add_layer` function. Otherwise undo-redo does not work properly.
- Have replaced `translate("Draft", ...)` with `_tr(...)`.
2021-10-27 08:32:10 +02:00
Yorik van Havre
13cd1c23ec Merge pull request #5119 from Roy-043/Draft-Fix-Draft_SelectPlane-ignores-nesting
Draft: Fix Draft_SelectPlane ignores nesting
2021-10-25 14:16:44 +02:00
Yorik van Havre
5fcd97b1c6 Merge pull request #5124 from Roy-043/Draft-Fix-snap-cycling-if-length-has-focus
Draft: Fix snap cycling if length input has focus
2021-10-25 14:15:13 +02:00
Roy-043
3cb0f20b5a Update DraftGui.py
The Y and Z inputs also require the event filter.
2021-10-22 20:04:06 +02:00
Roy-043
d9d8761722 Draft: Fix snap cycling if length input has focus 2021-10-22 19:47:23 +02:00