Commit Graph

3108 Commits

Author SHA1 Message Date
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
Roy-043
954481bc2b Draft: Fix Draft_Edit sketch issue
Draft_Edit did not work on wall sketch after reopening file
2021-10-21 21:40:55 +02:00
luz paz
42e8287699 Fix various typos
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -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,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu`
2021-10-20 18:18:33 -04:00
Roy-043
13ff620f36 Draft: Fix TeighaFileConverter tooltip
The TeighaFileConverter preference is now used for 3 DWG converters. The tooltip needs to reflect that.
2021-10-20 13:25:18 +02:00
Roy-043
b6faf7f016 Draft: Fix Draft_SelectPlane ignores nesting 2021-10-20 10:16:49 +02:00
Roy-043
25c3da4f0b Draft: Fix Draft_SelectPlane ignores nesting 2021-10-20 10:15:12 +02:00
Yorik van Havre
bde8c9416e Draft: Allow to use QCAD pro as a converter to import/export DWG files 2021-10-19 13:55:24 +02:00
Roy-043
7da42730e1 Update wires.py
typo
2021-10-15 22:18:17 +02:00
Roy-043
fa80866a0e Daft: fix cleanProjection (used by Draft_Shape2DView and DXF export) 2021-10-15 22:11:40 +02:00
Yorik van Havre
0e7314068c Arch: BuildingParts autogrouping
Arch BuildingParts now gained a new set of View properties that allows
to define a "capture box". Subsequent Draft and Arch objects, or anything
else that uses Draft.autogroup(), will be automatically added to that
BuildingPart if they are inside the capture box.
2021-10-14 14:42:46 +02:00