Commit Graph

21354 Commits

Author SHA1 Message Date
Uwe
341a92f08d [Part] Extrusion: fix logic issue
has actually no influence on the output but is important to understand the logic of the code
2022-01-31 00:23:33 +01:00
Uwe
89e623e1b7 [Part] Extrusion: fix CI compiler warning
fixes "warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int'"
2022-01-30 22:46:07 +01:00
Uwe
729cd4a7c0 [Part] Extrusion: code simplification and documentation
- in order for the pending PR to add tapered padding/pocketing
2022-01-30 19:37:41 +01:00
Uwe
2cad24e303 [Part] Extrusion: handle also complex nested structures
- there can be strange cases with structures all intersecting each other. Their extrusion has no practical use case but we must avoid that such structures results either in an infinite loop or in an invalid geometric result.
2022-01-30 18:43:11 +01:00
Uwe
65bf134d43 [Part] Extrude: fix a thinko introduced by previous commit
- the handling of all inner wires must be done within the recursion
2022-01-30 17:41:40 +01:00
Uwe
aa48c2ea44 [Part] Extrusion: simplify code by using full recursion
- the recursion can be done completely by one void
- also add a brief description of this void
2022-01-30 16:53:44 +01:00
luz paz
23c166399d TD: cleanup after #5457 [skip ci]
Fix header uniformity  
Fix grammar  
Fix trailing whitespace
2022-01-30 10:38:55 -05:00
Uwe
a3944b8553 [Part] Extrusion: code optimizations
kudos to @marioalexis84
2022-01-30 06:02:37 +01:00
Uwe
b339cd4624 [Part] Extrusion: taper nested wires properly
addendum to commit 2d6bcba90

Now also wires nested by more than one level are supported.
The possible nesting is infinite.
2022-01-30 05:52:43 +01:00
mwganson
d6350d4f33 Part.show() python return the new document object instead of None 2022-01-29 23:50:43 +01:00
Uwe
23c1fb78bf [Part] Extrude: remove unused variable 2022-01-29 23:18:11 +01:00
Uwe
f061a2cd82 [Part] handle inner wires for Extrude (#5367)
* [Part] handle inner wires for Extrude

this is a PR to make Extrude handle inner wires of sketches.
2022-01-29 21:50:55 +01:00
edi271
8003ea80e5 [TD] Include Intersection method into DrawUtil class 2022-01-29 14:49:44 -05:00
edi271
f2f858190c [TD] Insert new tool Area Annotation 2022-01-29 14:49:44 -05:00
Wanderer Fan
aa6f8c4b14 [TD]migrate DrawingWB projection functions to TechDrawWB 2022-01-29 14:49:15 -05:00
Roy-043
2a043d4be9 Update gui_orthoarray.py 2022-01-28 14:01:42 -06:00
Roy-043
049ebfd2fc Update gui_beziers.py
Oops copy-paste error... Fixed.
2022-01-28 14:01:42 -06:00
Roy-043
34b18484aa Update gui_beziers.py 2022-01-28 14:01:42 -06:00
Roy
359f9d7886 Draft: Fix several translation issues 2022-01-28 14:01:42 -06:00
Wanderer Fan
4c524d44ec [TD]restore missing import statement
missing import in initGui preventing start of workbench
2022-01-28 09:50:59 -05:00
wmayer
6d52673021 Fem: for view provider of post-object enable two-side rendering because the coloured object could look broken depending on the range of the color bar 2022-01-28 11:24:36 +01:00
Chris Hennes
e702d0aef2 Addon Manager: Run uninstall.py when uninstalling AddOn 2022-01-27 23:34:18 -06:00
Chris Hennes
c62dc32739 Addon Manager: Translation cleanup
pylupdate does not extract translations when f-strings are used for the
translated text, so all f-strings are migrated to calls to format().
Several other minor translation issues are also addressed.

NOTE: This code has been run through the Black reformatter, which adds
trailing commas in many places that the stock Qt 5.x pylupdate does not
recognize. This code must be processed with the corrected pylupdate to
generate the correct translations.
2022-01-27 23:11:31 -06:00
0penBrain
9f43830c10 [TD] Prevent crash when snapping leader line 2022-01-27 15:13:03 -05:00
sliptonic
ce2f7254f0 Merge pull request #5442 from sliptonic/bug/translationAreaOp
[PATH] Bug/translation cleanup (surface, waterline, propertybag, area ops)
2022-01-27 11:39:44 -06:00
Chris Hennes
e71c9a91af AddonManager: Correct bug with older Qt data 2022-01-27 10:48:25 -06:00
Chris Hennes
77be240b68 Addon Manager: Eliminate use of QDeadlineTimer
This class is apparently missing in some installs of Qt 5.11.3, so
remove the use of it.
2022-01-26 23:14:00 -06: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
wmayer
96aa87a45f Fem: fix possible crash when loading a VTK file 2022-01-27 10:37:16 +01:00
Chris Hennes
bfcf054284 Addon Manager: Refactor to eliminate extra event loop 2022-01-26 22:02:08 -06:00
Chris Hennes
8809ed4253 Addon Manager: Improve startup speed 2022-01-26 18:41:14 -06:00
sliptonic
23057dc4ba PropertyBag translation cleanup 2022-01-26 18:36:58 -06:00
sliptonic
69e7a2e9fd surface and waterline translation 2022-01-26 18:36:06 -06:00
sliptonic
bb1cde0c3a remove items from comboboxes 2022-01-26 18:36:06 -06:00
sliptonic
9dc338d8f1 surface translation cleanup 2022-01-26 18:36:06 -06:00
sliptonic
23f9eb7bed translation cleanup circularholebase 2022-01-26 18:36:06 -06:00
sliptonic
c46f12ec9e AreaOp translation cleanup 2022-01-26 18:36:06 -06:00
sliptonic
151288f678 Black
Black (surface)

waterline black

propertybag black
2022-01-26 18:36:06 -06:00
sliptonic
a770c1c1b9 Merge pull request #5446 from sliptonic/bug/marlinpost
[Path] fix default unit string for mm/min
2022-01-26 18:32:10 -06:00
luz paz
88e5de6f43 Fix typos [skip ci]
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,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,itsel,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,ro,rougly,seperator,serie,sinc,strack,substraction,te,technic,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,./src/Base/StackWalker.cpp,./build/doc/SourceDocu`
2022-01-27 00:29:50 +01:00
wmayer
59e605e6b8 Mesh: modernize C++11
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-26 18:05:02 +01:00
wmayer
213311524e Image: modernize C++11
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-26 17:55:10 +01:00
wmayer
cdf755ec71 Points: modernize C++11
* remove redundant void-arg
* use nullptr
2022-01-26 17:53:41 +01:00
wmayer
bfc6ffe455 Sandbox: modernize C++11 2022-01-26 17:47:25 +01:00
sliptonic
1f715ac80e fix default unit string for mm/min 2022-01-26 10:46:05 -06:00