Commit Graph

26213 Commits

Author SHA1 Message Date
Bernd Hahnebach
cf64ff763e Arch: import IFC, fix merge material preference import 2021-10-26 11:24:12 +02:00
wmayer
4e246ada88 Gui: add support of OpenSCAD navigation style 2021-10-26 00:21:31 +02:00
Chris Hennes
104e081b58 Merge pull request #4133 from donovaly/Gui-ChildSelection
[GUI] fix tree object context menu issues
2021-10-25 08:28:13 -05:00
Yorik van Havre
0b7018ce64 Merge pull request #5119 from Roy-043/Draft-Fix-Draft_SelectPlane-ignores-nesting
Draft: Fix Draft_SelectPlane ignores nesting
2021-10-25 14:16:44 +02:00
Yorik van Havre
3262b13751 Merge pull request #5124 from Roy-043/Draft-Fix-snap-cycling-if-length-has-focus
Draft: Fix snap cycling if length input has focus
2021-10-25 14:15:13 +02:00
wmayer
1abef63f56 Gui: add search box to text editor 2021-10-25 13:29:42 +02:00
donovaly
1940b5d7a3 [GUI] fix tree object context menu issues
- fix bug that you can select several objects across different document to make them a group
- fix bug that when more than one object is selected you get a context menu to rename, despite it is unclear what object should be renamed
- add feature to select also the child objects of the selection

The latter was also requested long time ago: https://tracker.freecadweb.org/view.php?id=2397
2021-10-25 11:14:53 +02:00
wmayer
87169c8119 Mesh: embed Evaluation dialog into a scroll area 2021-10-24 21:36:44 +02:00
wmayer
fc2e842aca Base: [skip ci] Modify GetASCII to include empty strings 2021-10-23 22:56:45 +02:00
wmayer
505e8564b2 Mesh: Mesh.createBox() now accepts a bounding box as argument 2021-10-23 18:58:43 +02:00
luz paz
56aeb07202 Sketcher: fix typos in Constraint Widget
- Follow-up to 5b745514e0f

- Sketcher: fix relevant typos

- Re-Add mistakenly deleted files

- fix build
2021-10-23 18:37:33 +02:00
wmayer
12fe72e66e Part: for vertex, edge, wire use BRepExtrema_DistShapeShape to check whether point is inside 2021-10-23 16:39:28 +02:00
wmayer
7dc3f5ff28 Gui: add virtual methods undoActions()/redoActions() to MDIView to simplify code in UndoDialog/RedoDialog 2021-10-23 15:15:09 +02:00
Chris Hennes
33a7e6ba4a 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
5f4516dfdf 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
c1910e644f PD: [skip ci] when creating a datum object allow user to create a body if needed 2021-10-22 20:23:16 +02:00
Roy-043
54d43ce262 Update DraftGui.py
The Y and Z inputs also require the event filter.
2021-10-22 20:04:06 +02:00
wmayer
50be9655e8 PD: open transaction when calling item of context-menu of sketch based features 2021-10-22 20:01:43 +02:00
Roy-043
80d0a5e97d Draft: Fix snap cycling if length input has focus 2021-10-22 19:47:23 +02:00
wmayer
16e797362a PD: [skip ci] code cleanup 2021-10-22 19:06:57 +02:00
wmayer
ed0d3c16f2 Part: do not open a second transaction when there is already a pending transaction 2021-10-22 18:49:49 +02:00
wmayer
5abe0ba77f Mesh: add basic support of 3MF file format 2021-10-22 17:11:16 +02:00
Chris Hennes
7a6907ca13 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
fabcdf5b28 Part: adjust orientation of refined face to input faces 2021-10-22 14:11:00 +02:00
Tobias Frost
c61c7e7d7b 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
860b7cdd40 Merge branch 'master' into master 2021-10-22 09:37:22 +02:00
wmayer
ebb9f4723f Gui: code-refactoring of document recovery handling to reduce code duplication 2021-10-21 21:45:52 +02:00
Roy-043
c8a9ec2e8b 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
167e11596a 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
d0a75e0a84 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
c906775ade Gui: [skip ci] add get() method to WeakPtrT class 2021-10-21 15:50:18 +02:00
wmayer
cd1bd71141 App: [skip ci] add get() method to WeakPtrT class 2021-10-21 15:50:07 +02:00
Chris Hennes
0b7b168385 Merge pull request #5121 from luzpaz/typos
Fix various typos
2021-10-20 18:09:22 -05:00
luz paz
397729e33e 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
503a2ff6cd Gui: [skip ci] improve whitespaces 2021-10-20 22:33:50 +02:00
wmayer
370a120f75 Gui: [skip ci] improve whitespaces 2021-10-20 22:21:52 +02:00
wmayer
cac50da55b Gui: move handling of failed document saving to a function to reduce code duplication 2021-10-20 21:57:51 +02:00
wmayer
508d113e21 Mesh: improve MeshGeomFacet::IntersectWithFacet 2021-10-20 19:42:39 +02:00
Chris Hennes
0086896279 Merge pull request #5115 from Syres916/patch-33
[Sketcher] Angle Constraint Name displayed...
2021-10-20 08:39:46 -05:00
Chris Hennes
bd4dd70f03 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
4031e85120 [Sketcher] Workaround for Elements theme issue
After merging the change to the Constraint status label in 1acb74072,
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
54ea572596 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
124d06b7f7 Mesh: extend API to access edges of a facet via Python 2021-10-20 13:01:11 +02:00
Roy-043
d0b34efa27 Draft: Fix Draft_SelectPlane ignores nesting 2021-10-20 10:16:49 +02:00
Roy-043
d1fca44fb6 Draft: Fix Draft_SelectPlane ignores nesting 2021-10-20 10:15:12 +02:00
easyw
971bea1516 deleting temp file (result of a previous export) 2021-10-20 10:10:43 +02:00
luz paz
ace0d32647 FEM: Fix variable pHeatTransfering -> pHeatTransferring
Found via `codespell`
2021-10-20 06:25:34 +02:00
wmayer
5c59b8e050 Mesh: [skip ci] add unit tests for coplanar and intersecting triangles 2021-10-19 20:31:39 +02:00
wmayer
fe070903d3 Mesh: add method to get intersection of edges 2021-10-19 19:22:21 +02:00
wmayer
057cce2538 Base: [skip ci] add method to check for null vector 2021-10-19 19:19:31 +02:00