Commit Graph

29101 Commits

Author SHA1 Message Date
wmayer
3924d41073 Part: do not open a second transaction when there is already a pending transaction 2021-10-22 18:49:49 +02:00
wmayer
e3ebe4bc9f Mesh: add basic support of 3MF file format 2021-10-22 17:11:16 +02:00
Chris Hennes
c2502b09db Merge pull request #5123 from coldtobi/surface_fix_geticon
Surface: Fixes Surface_ExtendFace icon resource name
2021-10-22 08:37:17 -05:00
wmayer
aa19f8b05f Part: adjust orientation of refined face to input faces 2021-10-22 14:11:00 +02:00
Tobias Frost
a156245704 Fixes SurfaceExtend icon not being found.
Before this patch, ViewProviderExtend::getIcon() returned "Surface_Extend",
which does not exist; The icon file is "Surface_ExtendFace".
2021-10-22 09:44:55 +02:00
easyw
a999273954 Merge branch 'master' into master 2021-10-22 09:37:22 +02:00
wmayer
a5411da5b9 Gui: code-refactoring of document recovery handling to reduce code duplication 2021-10-21 21:45:52 +02:00
Roy-043
954481bc2b Draft: Fix Draft_Edit sketch issue
Draft_Edit did not work on wall sketch after reopening file
2021-10-21 21:40:55 +02:00
wmayer
ee311b0835 Surface: [skip ci] only try to build surface if at least two boundary curves are used 2021-10-21 18:23:03 +02:00
wmayer
796efc4c6b Sketcher: fix segmentation fault when using sketch validation dialog after document has been closed
Therefore replace the raw pointer of SketchObject with the template class WeakPtrT. This class will be notified as soon as its handled object will be deleted.
2021-10-21 16:22:11 +02:00
wmayer
68e4806788 Gui: [skip ci] add get() method to WeakPtrT class 2021-10-21 15:50:18 +02:00
wmayer
b24ac5f2f8 App: [skip ci] add get() method to WeakPtrT class 2021-10-21 15:50:07 +02:00
Chris Hennes
dce129ec49 Merge pull request #5121 from luzpaz/typos
Fix various typos
2021-10-20 18:09:22 -05:00
luz paz
42e8287699 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,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,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-10-20 18:18:33 -04:00
wmayer
a9002f4218 Gui: [skip ci] improve whitespaces 2021-10-20 22:33:50 +02:00
wmayer
5da633d59f Gui: [skip ci] improve whitespaces 2021-10-20 22:21:52 +02:00
wmayer
b93aa77a1c Gui: move handling of failed document saving to a function to reduce code duplication 2021-10-20 21:57:51 +02:00
wmayer
30ba396a82 Mesh: improve MeshGeomFacet::IntersectWithFacet 2021-10-20 19:42:39 +02:00
Chris Hennes
890c40fcb6 Merge pull request #5115 from Syres916/patch-33
[Sketcher] Angle Constraint Name displayed...
2021-10-20 08:39:46 -05:00
Chris Hennes
9cbd07b52f Merge pull request #5120 from Roy-043/Draft-Fix-TeighaFileConverter-tooltip
Draft: Fix TeighaFileConverter tooltip
2021-10-20 08:26:36 -05:00
Chris Hennes
4e0b8c535f [Sketcher] Workaround for Elements theme issue
After merging the change to the Constraint status label in f2a073ca5,
the TaskSketcherElements would sometimes be reduced in size to just a
line or two, if multiple task views were expanded and a stylesheet was
enabled. This commit introduces a minimum size to the TSE to prevent
that from occurring.
2021-10-20 08:06:05 -05:00
luz paz
94dda1621a Mesh: Apply the translation function appropriately 2021-10-20 08:53:51 -04:00
luz paz
9f3a41887f Mesh: added attribution to @looooo in MeshFlatteningCommand.py 2021-10-20 08:46:23 -04:00
luz paz
6ff3dd2e57 Mesh: added license header to MeshFlatteningCommand.py 2021-10-20 08:30:36 -04:00
luz paz
742f06a983 Mesh: remove superfluous whitespace + Improve readability of code 2021-10-20 08:30:36 -04:00
luz paz
bc585031a3 Crowdin: Fixes to Mesh WB translations
Closes https://github.com/FreeCAD/FreeCAD-translations/issues/54  

Exposes Mesh -> 'Cutting' sub-menu
2021-10-20 08:30:36 -04:00
Roy-043
13ff620f36 Draft: Fix TeighaFileConverter tooltip
The TeighaFileConverter preference is now used for 3 DWG converters. The tooltip needs to reflect that.
2021-10-20 13:25:18 +02:00
wmayer
cef86fb1ef Mesh: extend API to access edges of a facet via Python 2021-10-20 13:01:11 +02:00
Roy-043
b6faf7f016 Draft: Fix Draft_SelectPlane ignores nesting 2021-10-20 10:16:49 +02:00
Roy-043
25c3da4f0b Draft: Fix Draft_SelectPlane ignores nesting 2021-10-20 10:15:12 +02:00
easyw
fcb5c768ff deleting temp file (result of a previous export) 2021-10-20 10:10:43 +02:00
luz paz
3b310cfdf2 FEM: Fix variable pHeatTransfering -> pHeatTransferring
Found via `codespell`
2021-10-20 06:25:34 +02:00
wmayer
5a55386919 Mesh: [skip ci] add unit tests for coplanar and intersecting triangles 2021-10-19 20:31:39 +02:00
wmayer
8d0d149b5b Mesh: add method to get intersection of edges 2021-10-19 19:22:21 +02:00
wmayer
0b63548ea1 Base: [skip ci] add method to check for null vector 2021-10-19 19:19:31 +02:00
wmayer
abf1cd1586 Mesh: [skip ci] update tri-tri-intersection 2021-10-19 15:14:36 +02:00
Yorik van Havre
bde8c9416e Draft: Allow to use QCAD pro as a converter to import/export DWG files 2021-10-19 13:55:24 +02:00
Chris Hennes
cf1a0f7598 Merge pull request #5114 from Roy-043/Daft-fix-cleanProjection
Daft: fix cleanProjection (used by Draft_Shape2DView and DXF export)
2021-10-18 23:48:06 -05:00
Chris Hennes
ae341e6012 Merge pull request #5116 from Roy-043/Arch-Fix-BuildingPart-typo
Arch: Fix BuildingPart typo
2021-10-18 23:47:28 -05:00
Roy-043
9a76d28ca7 Update ArchBuildingPart.py
ChildrenShapeolor -> ChildrenShapeColor
2021-10-18 16:26:57 +02:00
Syres916
7ebf53e94d [Sketcher] Minor bugfix to display angle...
...constraint names as per recommendation, see discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=62953
2021-10-16 12:20:55 +01:00
Abdullah Tahiri
0926a4148b Sketcher: Default Shortcuts
===========================

Following:
https://forum.freecadweb.org/viewtopic.php?p=539914#p539914

Following requests from OpenBrain and ChrisB:
https://forum.freecadweb.org/viewtopic.php?p=540015#p540015

Following request from M4X:

Recomendation to use "L" and "I" for vertical and horizontal distance constraints and "R" for radius.

https://forum.freecadweb.org/viewtopic.php?p=540049#p540049

https://forum.freecadweb.org/viewtopic.php?p=540011#p540011
2021-10-16 09:23:22 +02:00
wmayer
837de28e9e Mesh: expose trimByPlane to Python 2021-10-15 23:07:59 +02:00
Roy-043
7da42730e1 Update wires.py
typo
2021-10-15 22:18:17 +02:00
Roy-043
fa80866a0e Daft: fix cleanProjection (used by Draft_Shape2DView and DXF export) 2021-10-15 22:11:40 +02:00
wmayer
346ff3815d Web: handle system exit exceptions 2021-10-14 15:46:37 +02:00
wmayer
39e02ca195 Web: support synchronous TCP/IP communication 2021-10-14 15:07:05 +02:00
Yorik van Havre
0e7314068c Arch: BuildingParts autogrouping
Arch BuildingParts now gained a new set of View properties that allows
to define a "capture box". Subsequent Draft and Arch objects, or anything
else that uses Draft.autogroup(), will be automatically added to that
BuildingPart if they are inside the capture box.
2021-10-14 14:42:46 +02:00
Yorik van Havre
d95f085760 Merge pull request #4787 from chennes/addThemeSupport
[GUI] Add Preference Pack support
2021-10-14 12:41:06 +02:00
Yorik van Havre
f3ccc6d660 Merge pull request #5023 from marioalexis84/gui-encoding
Gui:  Harmonize encoding/decoding between view, property editor and command line.
2021-10-14 12:24:49 +02:00