Commit Graph

2581 Commits

Author SHA1 Message Date
Roy-043
23f3df1303 Draft: Fixed wrong cmd names in gui_planeproxy.py
Draft_SetWorkingPlaneProxy should be Draft_WorkingPlaneProxy
2021-08-01 13:14:30 +02:00
Roy-043
259868dfa9 Draft: Fixed units mismatch when moving Draft_Point objects
obj.X.Value instead of float(obj.X)
2021-08-01 13:13:35 +02:00
Roy-043
20edc524f2 Draft: Fixed units mismatch when moving Draft_Point objects. 2021-08-01 13:13:35 +02:00
Roy-043
7f1a2d6c8d Draft: Fix patharray edge sort issue
If the user selects edges for the path of a patharray the edges need to be sorted before creating a Part.Wire from them.
2021-08-01 13:12:44 +02:00
Roy-043
b66073f1a1 Draft: Fix wrong default value for defaultWP
The default value for defaultWP in DraftTools.py did not match the value in DraftGui.py and preferences-draft.ui.
See forum topic: https://forum.freecadweb.org/viewtopic.php?f=8&t=57909&p=513411#p513411
2021-07-31 09:57:59 +02:00
Roy-043
20aaecf4f3 Draft: fix gui_offset.py wrong ghost if start angle of arc is larger
The ghost of an arc with a start angle that is larger than the end angle would be wrong.
2021-07-31 09:56:25 +02:00
Roy-043
f2b7d863af Draft: fix geometry.py findDistance function
The findDistance function did not work properly for arcs that crossed the 9 o'clock point.
2021-07-31 09:56:25 +02:00
Roy-043
1d439ce0a6 Draft: Fix spelling gui_edit_draft_objects.py
"mset first angle" should be "set first angle".
2021-07-31 09:53:56 +02:00
Yorik van Havre
10faf786c8 Draft: Fixed wrong placement of lines in shape2dview's cutface mode 2021-07-16 12:42:30 +02:00
Yorik van Havre
f8f541c1e7 Draft: Use different icon if object has AutoUpdate turned off 2021-07-16 12:24:26 +02:00
Roy-043
8ae5978146 Draft: fix dimensions with decimals=0 problem
The display_external function in units.py did not handle decimals=0 properly.
2021-07-15 06:24:23 +02:00
Yorik van Havre
834933866e Merged crowdin translations 2021-07-08 16:06:38 +02:00
Yorik van Havre
e540e5a969 Updated ts files 2021-07-08 16:00:23 +02:00
Yorik van Havre
c0efc7fa32 Draft: added AutoUpdate property to shape2Dviews to disambiguate with VisibleOnly property 2021-07-07 15:45:22 +02:00
Yorik van Havre
ded759f614 Draft: Fixed missing type check in is_clone 2021-07-07 15:44:46 +02:00
Yorik van Havre
36a73e5fa0 Draft: disconsider unknown edge types in geo utils 2021-07-07 15:43:55 +02:00
Yorik van Havre
da508e30b0 Merged crowdin translations 2021-07-01 13:56:25 +02:00
Yorik van Havre
7efbe176a0 Updated ts files 2021-07-01 13:50:17 +02:00
Yorik van Havre
3a6becbfe7 Arch: Added Depth property to SectionPlanes 2021-07-01 13:46:24 +02:00
Yorik van Havre
2c641ca4ec Draft: Added Text Spacing and Line Spacing settings to Draft Set Style dialog 2021-07-01 12:59:49 +02:00
Yorik van Havre
7dd3895b9b Draft: Fixed text rotation + dim text height in DXF export 2021-07-01 11:20:24 +02:00
Yorik van Havre
6909597f9c Merge pull request #4867 from marioalexis84/draft-label
Draft: Fix rotations and Circle marker in ViewProviderLabel - fixes #0003987
2021-06-30 10:53:07 +02:00
Yorik van Havre
1cecfd87d5 Merge pull request #4865 from Roy-043/Draft-fix-offsets.py
Draft: Fix offsets.py problem with direction if precision=6
2021-06-30 10:51:39 +02:00
Yorik van Havre
2c074af17e Merge pull request #4492 from marioalexis84/draft-wp_restore
Draft: Fixes #0004562: Active working plane changes when I close Draft Edit panel
2021-06-30 10:50:25 +02:00
Yorik van Havre
fd0d28eade Draft: Implemented edit mode for Draft texts 2021-06-28 15:47:42 +02:00
Yorik van Havre
acedf491f3 Merged crowdin translations 2021-06-24 17:22:19 +02:00
Yorik van Havre
fe7f1ba1c3 Draft: Fixed working plane set on non-coin view 2021-06-22 16:12:59 +02:00
Yorik van Havre
5b6f56d55c Draft: Create Draft texts when using the C++ DXF importer 2021-06-22 13:00:58 +02:00
Yorik van Havre
27ede668e8 Draft: Fixed construction group name 2021-06-22 12:38:22 +02:00
Yorik van Havre
24362e9020 Merged crowdin translations 2021-06-17 16:04:02 +02:00
Yorik van Havre
d12702e588 Updated ts files 2021-06-17 15:49:33 +02:00
marioalexis
d47e822cf2 Draft: Fix rotations and Circle marker in ViewProviderLabel - fixes #0003987 2021-06-16 04:42:07 -03:00
Roy-043
32baf354d7 Draft: Fix offsets.py problem with direction if precision=6
The direction of the offset could be faulty if Draft precision=6. Since we are only interested in the side the pointer is on, working with a high precision does not make sense.
2021-06-15 17:37:21 +02:00
Yorik van Havre
b5ad89f0bc Merge pull request #4854 from luzpaz/typos
Fix source comment typos
2021-06-15 16:00:20 +02:00
Yorik van Havre
4722bda92c Merge pull request #4856 from marioalexis84/draft-make_wire
Draft: Use ordered vertexes to create Draft Wire from Part.Wire
2021-06-15 15:59:52 +02:00
marioalexis
22b157dbbf Draft: Check special characters using focused input field 2021-06-14 01:37:44 -03:00
marioalexis
4e9f94d9b1 Draft: Use ordered vertexes to create Draft Wire from Part.Wire 2021-06-12 18:09:45 -03:00
luz paz
19080b58b3 Fix source comment 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,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-06-10 17:33:40 -04:00
Yorik van Havre
ee6a9b8c7d Merged crowdin translations 2021-06-10 12:24:24 +02:00
Yorik van Havre
78436e0f35 Updated ts files 2021-06-10 11:48:18 +02:00
Yorik van Havre
3317cf384d Merge pull request #4833 from carlopav/draft-fix-autogroup
Draft: fix Autogroup to fix Draft_OrthoArray crash when using active Std_Part.
2021-06-09 12:44:42 +02:00
Yorik van Havre
ecec1b1044 Merge pull request #4840 from marioalexis84/draft-wp
Draft: Improve alignToSelection method on WorkingPlane
2021-06-09 12:43:58 +02:00
Roy-043
a8ad89ae7c Draft: Fix wrong tree icon for Draft_PointArray 2021-06-08 14:29:03 +02:00
marioalexis
b5e154518f Draft: Check null shape in geometry.py functions 2021-06-06 21:30:20 -03:00
marioalexis
6f101761bb Draft: Improve alignToSelection method on WorkingPlane 2021-06-06 21:30:20 -03:00
carlopav
45aa103dd4 Draft: Autogroup, insert guard to prevent cyclic references
ref. Forum discussion: Draft_OrthoArray: Crash when using active Std_Part. https://forum.freecadweb.org/viewtopic.php?f=23&t=59155&p=508132#p508132

Autogroup try to add new created Draft Objects into the active Part, but if the Part is used as a Base for the new object this could create a cyclic reference. 
This behaviour is prevented by adding a check for " obj in active_part.InListRecursive"
2021-06-06 11:21:21 +02:00
carlopav
e0a6c34dcc Draft: Autogroup, rename variables to more readable names 2021-06-05 17:07:32 +02:00
Yorik van Havre
3e98ff41f9 Updated ts files 2021-06-04 18:30:30 +02:00
Yorik van Havre
1292398d9a Merge pull request #4827 from Roy-043/Draft_Fix_gui_stretch
Draft: Fix gui_stretch
2021-06-04 13:18:05 +02:00
Yorik van Havre
692789bcfe Merge pull request #4816 from luzpaz/typos
Fix misc. typos
2021-06-04 13:16:21 +02:00