Commit Graph

3537 Commits

Author SHA1 Message Date
Roy-043
63f4ac15fd Update gui_arrays.py 2022-01-10 15:12:09 +01:00
Yorik van Havre
00695f7378 Merge pull request #5307 from marioalexis84/draft-projectPoint
Draft: Fix projectPoint method
2022-01-10 12:53:36 +01:00
Yorik van Havre
e33ef084ff Merged crowdin translations 2022-01-10 11:23:59 +01:00
Yorik van Havre
de374cbdfa Updated ts files (after @chennes ludate fix) 2022-01-10 11:15:28 +01:00
Roy
93a41d2941 Draft: Fix translation issues 2022-01-10 10:17:53 +01:00
Roy-043
bb6e0a026e Draft: fix Draft_SelectGroup
The behavior of the Draft_SelectGroup command was a bit cryptic. Layers were also regarded as groups. And the selection result was not the same if a nested object, instead of the group that object was in, was selected. The new version selects all objects in the `Group` property of the selected groups (or group-like objects). Nested groups are selected, but their contents is not.
2022-01-09 21:09:42 -06:00
marioalexis
1cd01248e0 Draft: Fix projectPoint method 2022-01-08 23:16:15 -03:00
Roy-043
cc447a061c Draft: Fix issues with translate and _tr (#5351) 2022-01-08 00:04:53 +01:00
marioalexis
68439aa831 Draft: Use super() to call base class methods 2022-01-07 22:24:21 +01:00
Roy-043
38534bd33d Draft: improve get_group_contents function in groups.py
For consistency the get_group_contents function should use is_group to identify groups. The code dedicated to Site objects and Drawing pages was removed.
2022-01-06 17:40:11 +01:00
Roy-043
e71c860985 Draft: fix scale.py copy_scaled_edge
The `copy_scaled_edge` function should return a wire, not an edge. The `join_wires` function, called in `copy_scaled_edges`, can only handle wires.
2022-01-06 17:38:41 +01:00
Roy-043
de9007ba92 Draft: Fix importSVG.py: wrong position for certain ellipses (#5297)
Ellipses and elliptical arcs with a y radius larger than their x radius would end up in the wrong position.
2022-01-06 17:02:41 +01:00
Roy-043
f6754eddfc Draft: make Draft_Snap_Angle work in 3D
Draft_Snap_Angle only worked for circular edges on a plane parallel to the XY plane of the global coordinate system.
2022-01-06 16:57:55 +01:00
Mariwan
122deb98fb Draft: change static to non-static declared variables (#5292)
* Draft: change static to non-static declared variables

* Change variable name and add some comment
2022-01-05 16:39:28 +01:00
luz paz
dc288a7ade Fix more typos + whitespace fix and added 'TODO'
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,childrens,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,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,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`
2022-01-04 18:57:56 -06:00
Roy
1358c110e3 Draft: Commands acting on subelements did not load the Draft module 2022-01-01 16:26:26 -06:00
Roy-043
83241d3f54 Draft: fix several issues with importAirfoilDAT.py
The importAirfoilDAT.py code could not handle several *.dat files posted in a forum topic.
2022-01-01 16:21:30 -06:00
Yorik van Havre
6cb3782c03 Merged crowdin translations 2021-12-29 12:20:12 +01:00
Yorik van Havre
fd7735d035 Updated ts files 2021-12-29 12:09:06 +01:00
wmayer
1742d7ff82 0004809: Security vulnerability in DWG import when using ODA file converter 2021-12-28 16:15:42 +01:00
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