Commit Graph

2730 Commits

Author SHA1 Message Date
Chris Hennes
8aa06d30b2 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
9accfca831 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
95a0c9c008 Add requested revision by @chennes
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2021-10-30 15:20:28 -04:00
luzpaz
005a5d8cd7 Add requested revision by @chennes
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2021-10-30 15:20:28 -04:00
luz paz
b90fefa1ca Refined code formatting for uniformity 2021-10-30 15:20:28 -04:00
luzpaz
fa7ea019f8 Add requested revision by @chennes
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2021-10-30 15:20:28 -04:00
luz paz
8aab47fb06 Draft: Fix superfluous whitespace in translations + misc. typos 2021-10-30 15:20:28 -04:00
Roy-043
84c517e333 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
d019e28c08 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
0b7018ce64 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
3262b13751 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
54d43ce262 Update DraftGui.py
The Y and Z inputs also require the event filter.
2021-10-22 20:04:06 +02:00
Roy-043
80d0a5e97d Draft: Fix snap cycling if length input has focus 2021-10-22 19:47:23 +02:00
Roy-043
c8a9ec2e8b 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
397729e33e 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
54ea572596 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
d0b34efa27 Draft: Fix Draft_SelectPlane ignores nesting 2021-10-20 10:16:49 +02:00
Roy-043
d1fca44fb6 Draft: Fix Draft_SelectPlane ignores nesting 2021-10-20 10:15:12 +02:00
Yorik van Havre
0e2c402c20 Draft: Allow to use QCAD pro as a converter to import/export DWG files 2021-10-19 13:55:24 +02:00
Roy-043
39a67d7cbf Update wires.py
typo
2021-10-15 22:18:17 +02:00
Roy-043
1535abecc4 Daft: fix cleanProjection (used by Draft_Shape2DView and DXF export) 2021-10-15 22:11:40 +02:00
Yorik van Havre
a6485ad191 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
Yorik van Havre
24d1a3f054 Merge pull request #5023 from marioalexis84/gui-encoding
Gui:  Harmonize encoding/decoding between view, property editor and command line.
2021-10-14 12:24:49 +02:00
Roy-043
844597c08e Draft: improve hatch matrix algo 2021-10-13 17:38:08 +02:00
Roy-043
70983bf907 Draft: fix context menu
Remove call to get_draft_line_commands.
Update the ContextMenu function. The items are based on the utilities menu now. And the context menu is the same for the Tree view and the 3D view.
2021-10-12 14:35:36 +02:00
Roy-043
b0dcc39e38 Draft: fix context menu
Remove the get_draft_line_commands function.
Update the def get_draft_context_commands function.
2021-10-12 14:32:36 +02:00
Roy-043
6cc9173fed Draft: fix context menu
Remove the 3 gui_lineops items.
2021-10-12 14:30:04 +02:00
Roy-043
ec0066b1dc Draft: fix context menu
Remove gui_lineops.py
2021-10-12 14:28:08 +02:00
Roy-043
c34524668f Delete gui_lineops.py 2021-10-12 14:23:59 +02:00
Yorik van Havre
9cb90ea7f2 Merge pull request #5102 from Roy-043/Draft-Update-draft_test_objects.py
Draft: Update draft_test_objects.py
2021-10-12 10:56:06 +02:00
Chris Hennes
34a7fc95d8 [Draft] Eliminate default value modification 2021-10-11 21:28:55 -05:00
Chris Hennes
63501c224d Merge pull request #5101 from Roy-043/Draft-Tweak-gridShowHuman-tooltip
Draft: Tweak gridShowHuman tooltip
2021-10-09 10:35:55 -05:00
Roy-043
5721086ea9 Update draft_test_objects.py 2021-10-09 10:37:05 +02:00
Roy-043
608682fc1f Update draft_test_objects.py 2021-10-09 10:32:50 +02:00
Roy-043
3c4c2be475 Draft: Tweak gridShowHuman tooltip 2021-10-09 10:25:11 +02:00
Roy-043
eee7eb760a Draft: make_ellipse default value face should be None 2021-10-09 10:17:07 +02:00
Yorik van Havre
2d10bd6dca Merge pull request #5088 from Roy-043/Draft-improvements-for-Draft_Hatch
Draft: improvements for Draft_Hatch
2021-10-08 14:42:46 +02:00
Yorik van Havre
feb7faf173 Merge pull request #5092 from Roy-043/Draft-Draft_Text-should-use-working-plane
Draft: Draft_Text should be aligned with working plane
2021-10-08 14:39:15 +02:00
Roy-043
b537a2351d Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:08:53 +02:00
Roy-043
9b634a2a75 Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:08:06 +02:00
Roy-043
f10a6de031 Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:07:12 +02:00
Chris Hennes
aa4e96594c Merge pull request #5094 from Roy-043/Draft-housekeeping-gui_rectangles-use-make_rectangle
Draft housekeeping: gui_rectangles.py should use make_rectangle
2021-10-06 21:09:51 -05:00
luz paz
be693528be Fix user facing typos [skip ci]
Typos in Draft and OpenSCAD code.
2021-10-06 18:11:48 -04:00
Roy-043
b6565da274 Draft housekeeping: gui_rectangles.py should use make_rectangle 2021-10-06 17:54:30 +02:00
Roy-043
50b8ed49a5 Draft: Draft_Text should be aligned toworking plane 2021-10-06 13:15:10 +02:00
Roy-043
5dd472aea0 Update make_hatch.py 2021-10-05 15:58:47 +02:00
Roy-043
812a0e787a Update gui_hatch.py 2021-10-05 15:58:09 +02:00
Roy-043
2196179cb1 Update hatch.py 2021-10-05 15:57:00 +02:00
Roy-043
6a13be395f Update Draft.py 2021-10-05 15:56:22 +02:00
Yorik van Havre
00676ff3a3 Merge pull request #5072 from Roy-043/Draft-fix-shortcuts-in-menus-and-more
Draft: fix shortcuts in menus and more
2021-10-05 13:51:59 +02:00