Commit Graph

1657 Commits

Author SHA1 Message Date
0penBrain
9f43830c10 [TD] Prevent crash when snapping leader line 2022-01-27 15:13:03 -05:00
benj5378
256acd4aa9 Black 2022-01-27 09:44:44 -05:00
benj5378
e8d7973982 Remove unused modules and variables 2022-01-27 09:44:44 -05:00
benj5378
e7378a9179 Refactor counting for moved views 2022-01-27 09:44:17 -05:00
benj5378
d2fff3465f Black 2022-01-27 09:44:17 -05:00
benj5378
b64b5f78b0 Remove unused modules 2022-01-27 09:44:17 -05:00
Wanderer Fan
959061720f [TD]Allow override of dimension line angles 2022-01-27 09:42:49 -05:00
Roy-043
e72537ae5b Update CommandExtensionPack.cpp
Added the missing bracket!
2022-01-26 08:48:42 -05:00
Roy-043
0a23730be9 Update CommandExtensionPack.cpp
Delta Distance was added to the dialog box.
2022-01-26 08:48:42 -05:00
Roy-043
8c062b9f06 Update CommandExtensionPack.cpp
Modifications as suggested by Edi.
2022-01-26 08:48:42 -05:00
Roy-043
af7d7f6b40 Update CommandExtensionDims.cpp
Modifications as suggested by Edi.
2022-01-26 08:48:42 -05:00
Roy-043
5f8445a5a3 Update Workbench.cpp
I did no realize that there is a `ToolBars` section and a `CommandBars` section in the file. In the previous version I did not edit the ToolBars section. Both sections now match. Sorry for the confusion.

Are `CommandBars` still used? I seem to remember that they are obsolete.
2022-01-26 08:48:42 -05:00
Roy-043
4ae9d0db73 Update Workbench.cpp
I had to rebase this file, and forgot one diff. Should be fixed now.
2022-01-26 08:48:42 -05:00
Roy
b974da4ea6 TechDraw: Ext. Tools: Improve menu texts and tooltips 2022-01-26 08:48:42 -05:00
Yorik van Havre
233182dcd6 Merged crowdin translations 2022-01-26 14:15:14 +01:00
Yorik van Havre
094036c3c7 Regenerated ts files 2022-01-26 13:59:39 +01:00
Wanderer Fan
d4c5074ee5 [TD]remove redundant edits from 9 Task dialogs 2022-01-22 14:51:20 -05:00
luz paz
d584bb6c36 TD: fix source comment typo 2022-01-22 16:28:41 +01:00
luz paz
043d328cb5 TD: Uniformity tweaks left over from #5383 2022-01-22 16:27:46 +01:00
Roy-043
37c90dacdb TechDraw: fix typos in CommandAnnotate.cpp 2022-01-22 11:48:19 +01:00
Wanderer Fan
bed513b589 [TD]Adjust initial placement of dim text 2022-01-21 11:25:09 -05:00
Aapo
9266c34498 [TD] Add new non-standard format specifier '%w' that truncates trailing zeros. 2022-01-21 11:24:44 -05:00
edi271
d7357410a2 [TD] add right/left baseline in Parallel Dimension tools 2022-01-21 11:22:40 -05:00
edi271
6f1924f89a [TD] Variable line stretching distance 2022-01-21 11:22:40 -05:00
edi271
1a8e88eeec [TD] Move Circulation method to DrawUtil 2022-01-21 11:22:40 -05:00
Wanderer Fan
ae7c9bf3e7 [TD]Add MoveView and CopyView commands 2022-01-21 11:21:51 -05:00
luz paz
b686a51bc3 TD: fix 'praefix' typo in source and source comments 2022-01-12 14:50:39 -06:00
luz paz
6394fed4e6 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,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-12 14:50:39 -06:00
Wanderer Fan
05c7b8e210 [TD]expose Page request paint method to Python 2022-01-11 09:36:48 -05:00
Wanderer Fan
f6653d44af [TD]improve handling of View in multiple Pages 2022-01-11 09:36:48 -05:00
Uwe
8c5e192407 [TD] fix a double to float truncation compiler warning
fixes warning C4305: 'argument': truncation from 'double' to 'float'
2022-01-11 02:10:44 +01:00
Roy
04549a7b3d TechDraw: Rename TechDraw_ExtensionArc command to TechDraw_ExtensionDrawCosmArc 2022-01-10 11:22:18 -05:00
Yorik van Havre
c24ca51a44 Merged crowdin translations 2022-01-10 11:23:59 +01:00
luz paz
28ab1bb68f Fix various superfluous whitespace in *.dox files 2022-01-09 21:01:42 -06:00
Uwe
2db409659e [TD] coding style fixes for new extensions
all done by MSVC

I do this since on one hand the readability is in this case really improved and because whenever I made a change, MSVC tries to fix the style and then the diffs are unnecessarily large. Also the MSVC style is almost what we use as the "standard" coding style.
2022-01-07 21:35:46 +01:00
Uwe
05a91e822b [TD] fix another compiler warning about double to float truncation 2022-01-07 21:28:27 +01:00
Uwe
af094bb0b0 [TD] fix compiler warning and use predefined M_PI
- fixes:
CommandExtensionPack.cpp(1702,38): warning C4305: 'initializing': truncation from 'double' to 'float'

- uses our predefined M_PI constant
2022-01-07 21:21:51 +01:00
Wanderer Fan
a67e78bda0 [TD]use smart pointers in Extensions 2022-01-07 13:34:20 -05:00
Wanderer Fan
28c5890bc9 [TD] avoid memory leaks by using shared_ptr
TD geometry objects are sometimes double deleted.  This
change uses shared_ptr instead of raw pointers to manage
deletions.
2022-01-07 13:34:20 -05:00
wandererfan
8e86c4473e [TD]fix typo in command name 2022-01-07 08:58:10 -05:00
wandererfan
dffa7040b9 [TD]combine @wmayer and edi271 changes re command extensions 2022-01-07 08:58:10 -05:00
edi271
85662489f9 using getCircleCenter from Part WB 2022-01-07 08:58:10 -05:00
edi271
6f60892209 using enums to define line attributes 2022-01-07 08:58:10 -05:00
edi271
9981e27f92 Changes caused by PR5231 2022-01-07 08:58:10 -05:00
edi271
64419b26a0 Cascade spacing added 2022-01-07 08:58:10 -05:00
edi271
6438b0426e Menu seperators added 2022-01-07 08:58:10 -05:00
edi271
747884a5f8 Inserted undo/redo commands 2022-01-07 08:58:10 -05:00
edi271
68612b1cd7 Desired changes in TaskSelectLineAttributes.h 2022-01-07 08:58:10 -05:00
edi271
b791cc7832 Desired changes in Workbench.cpp 2022-01-07 08:58:10 -05:00
edi271
d09d0b6036 Next31TechDrawTools 2022-01-07 08:58:10 -05:00