Commit Graph

1661 Commits

Author SHA1 Message Date
edi271
a26933bf4c [TD] Include Intersection method into DrawUtil class 2022-01-29 14:49:44 -05:00
edi271
cd4da51e60 [TD] Insert new tool Area Annotation 2022-01-29 14:49:44 -05:00
Wanderer Fan
cc770208ea [TD]migrate DrawingWB projection functions to TechDrawWB 2022-01-29 14:49:15 -05:00
Wanderer Fan
27691073e1 [TD]restore missing import statement
missing import in initGui preventing start of workbench
2022-01-28 09:50:59 -05:00
0penBrain
420d54340a [TD] Prevent crash when snapping leader line 2022-01-27 15:13:03 -05:00
benj5378
96b8a6e87b Black 2022-01-27 09:44:44 -05:00
benj5378
8d7c92ece4 Remove unused modules and variables 2022-01-27 09:44:44 -05:00
benj5378
bc392faf56 Refactor counting for moved views 2022-01-27 09:44:17 -05:00
benj5378
918be1d102 Black 2022-01-27 09:44:17 -05:00
benj5378
2babd6d483 Remove unused modules 2022-01-27 09:44:17 -05:00
Wanderer Fan
4da3c21dcf [TD]Allow override of dimension line angles 2022-01-27 09:42:49 -05:00
Roy-043
9fba28c1b6 Update CommandExtensionPack.cpp
Added the missing bracket!
2022-01-26 08:48:42 -05:00
Roy-043
b03dd9b6da Update CommandExtensionPack.cpp
Delta Distance was added to the dialog box.
2022-01-26 08:48:42 -05:00
Roy-043
9c00c3ffea Update CommandExtensionPack.cpp
Modifications as suggested by Edi.
2022-01-26 08:48:42 -05:00
Roy-043
a2be2ab959 Update CommandExtensionDims.cpp
Modifications as suggested by Edi.
2022-01-26 08:48:42 -05:00
Roy-043
55441fd97b 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
08aa89cfa2 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
5476af8f8f TechDraw: Ext. Tools: Improve menu texts and tooltips 2022-01-26 08:48:42 -05:00
Yorik van Havre
b3e2c87530 Merged crowdin translations 2022-01-26 14:15:14 +01:00
Yorik van Havre
630215c721 Regenerated ts files 2022-01-26 13:59:39 +01:00
Wanderer Fan
cb280afbc4 [TD]remove redundant edits from 9 Task dialogs 2022-01-22 14:51:20 -05:00
luz paz
48f07429a2 TD: fix source comment typo 2022-01-22 16:28:41 +01:00
luz paz
0324b5b338 TD: Uniformity tweaks left over from #5383 2022-01-22 16:27:46 +01:00
Roy-043
997cd89fc2 TechDraw: fix typos in CommandAnnotate.cpp 2022-01-22 11:48:19 +01:00
Wanderer Fan
cf5a14bc27 [TD]Adjust initial placement of dim text 2022-01-21 11:25:09 -05:00
Aapo
253817e3e9 [TD] Add new non-standard format specifier '%w' that truncates trailing zeros. 2022-01-21 11:24:44 -05:00
edi271
83839b6d13 [TD] add right/left baseline in Parallel Dimension tools 2022-01-21 11:22:40 -05:00
edi271
242dcd7e44 [TD] Variable line stretching distance 2022-01-21 11:22:40 -05:00
edi271
c46a4f776b [TD] Move Circulation method to DrawUtil 2022-01-21 11:22:40 -05:00
Wanderer Fan
5a40cd0ae5 [TD]Add MoveView and CopyView commands 2022-01-21 11:21:51 -05:00
luz paz
45bde3b502 TD: fix 'praefix' typo in source and source comments 2022-01-12 14:50:39 -06:00
luz paz
19e984f8c9 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
79f9fb6845 [TD]expose Page request paint method to Python 2022-01-11 09:36:48 -05:00
Wanderer Fan
3a7a12e436 [TD]improve handling of View in multiple Pages 2022-01-11 09:36:48 -05:00
Uwe
5ee5a6ed36 [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
adf084bb45 TechDraw: Rename TechDraw_ExtensionArc command to TechDraw_ExtensionDrawCosmArc 2022-01-10 11:22:18 -05:00
Yorik van Havre
e33ef084ff Merged crowdin translations 2022-01-10 11:23:59 +01:00
luz paz
b0fcf45513 Fix various superfluous whitespace in *.dox files 2022-01-09 21:01:42 -06:00
Uwe
2f0c4d055a [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
6cab015fdd [TD] fix another compiler warning about double to float truncation 2022-01-07 21:28:27 +01:00
Uwe
cde8650da8 [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
e58d30d55e [TD]use smart pointers in Extensions 2022-01-07 13:34:20 -05:00
Wanderer Fan
e91cc8e329 [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
058f88ec8b [TD]fix typo in command name 2022-01-07 08:58:10 -05:00
wandererfan
f2d624cede [TD]combine @wmayer and edi271 changes re command extensions 2022-01-07 08:58:10 -05:00
edi271
de1ab433e5 using getCircleCenter from Part WB 2022-01-07 08:58:10 -05:00
edi271
bfe2184251 using enums to define line attributes 2022-01-07 08:58:10 -05:00
edi271
5e44722a18 Changes caused by PR5231 2022-01-07 08:58:10 -05:00
edi271
74c3f2b0cf Cascade spacing added 2022-01-07 08:58:10 -05:00
edi271
f2d89f471e Menu seperators added 2022-01-07 08:58:10 -05:00