Commit Graph

26202 Commits

Author SHA1 Message Date
wmayer
ca6d49d080 Mesh: embed Evaluation dialog into a scroll area 2021-10-24 21:36:44 +02:00
wmayer
9f2dd4a363 Base: [skip ci] Modify GetASCII to include empty strings 2021-10-23 22:56:45 +02:00
wmayer
2808c4bc9c Mesh: Mesh.createBox() now accepts a bounding box as argument 2021-10-23 18:58:43 +02:00
luz paz
044929342a Sketcher: fix typos in Constraint Widget
- Follow-up to 2f789e6ce7

- Sketcher: fix relevant typos

- Re-Add mistakenly deleted files

- fix build
2021-10-23 18:37:33 +02:00
wmayer
398381c16e Part: for vertex, edge, wire use BRepExtrema_DistShapeShape to check whether point is inside 2021-10-23 16:39:28 +02:00
wmayer
65923bfdbf Gui: add virtual methods undoActions()/redoActions() to MDIView to simplify code in UndoDialog/RedoDialog 2021-10-23 15:15:09 +02:00
Chris Hennes
123906034c Merge pull request #5122 from Roy-043/Draft-Fix-Draft_Edit-sketch-issue
Draft: Fix Draft_Edit sketch issue
2021-10-22 14:59:10 -05:00
Chris Hennes
aed8c5f4fd Merge pull request #5118 from easyw/master
stpZ Import: deleting temp file (result of a previous export)
2021-10-22 13:25:03 -05:00
wmayer
87ad1c0dde PD: [skip ci] when creating a datum object allow user to create a body if needed 2021-10-22 20:23:16 +02:00
wmayer
45c3cee264 PD: open transaction when calling item of context-menu of sketch based features 2021-10-22 20:01:43 +02:00
wmayer
d39233313b PD: [skip ci] code cleanup 2021-10-22 19:06:57 +02:00
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
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
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