Commit Graph

20496 Commits

Author SHA1 Message Date
Yorik van Havre
13cd1c23ec 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
5fcd97b1c6 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
ca6d49d080 Mesh: embed Evaluation dialog into a scroll area 2021-10-24 21:36:44 +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
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
Roy-043
3cb0f20b5a Update DraftGui.py
The Y and Z inputs also require the event filter.
2021-10-22 20:04:06 +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
Roy-043
d9d8761722 Draft: Fix snap cycling if length input has focus 2021-10-22 19:47:23 +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
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
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
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
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
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
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
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
jack9603301
67df930184 [Part] Fix null pointer error in sweep operation
When the spine line of the sweep operation of the part workbench depends
on the Sketcher document, if the dependent spine line drawn by this document
is deleted afterwards, the path variable will get a null pointer.
Due to programming errors, the standard judgment of this pointer is ignored, resulting in a crash.
Call IsNull() of the OCC document to determine the legitimacy of the shape.
If it is empty, an error is reported.

Fixes #0004764
2021-10-14 03:54:44 +08:00
Chris Hennes
5af1b03285 Merge pull request #5112 from Roy-043/Draft-improve-hatch-matrix-algo
Draft: improved hatch matrix algo
2021-10-13 13:03:42 -05:00