Commit Graph

2026 Commits

Author SHA1 Message Date
Zheng, Lei
c349e78f45 Minor code change according to suggestions 2021-10-30 12:30:45 +08:00
Zheng, Lei
39e2381f29 Part: fix unnecessary document 'modified' status 2021-10-30 11:02:39 +08: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
ed0d3c16f2 Part: do not open a second transaction when there is already a pending transaction 2021-10-22 18:49:49 +02:00
wmayer
fabcdf5b28 Part: adjust orientation of refined face to input faces 2021-10-22 14:11:00 +02:00
jack9603301
9a36d01fcc [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
Yorik van Havre
c714712a45 Merge pull request #5106 from chennes/transparentFaces
[Part] Allow setting alpha for face colors
2021-10-12 10:57:11 +02:00
Chris Hennes
d7e0210aae [Part] Remove redundant 'global' statement 2021-10-11 22:37:05 -05:00
Chris Hennes
b2a629c494 [Part] Allow setting alpha for face colors 2021-10-10 20:23:57 -05:00
Chris Hennes
c3ba3fd30f Merge pull request #5098 from realthunder/FixStepColor
Fix STEP import/export color problem
2021-10-10 18:46:43 -05:00
Zheng, Lei
b200578e08 Part: minor change on transparency setting 2021-10-11 06:02:54 +08:00
Zheng, Lei
7fff27f036 Part: sync ViewProviderExt::DiffuseColor on Transparency change 2021-10-10 22:01:25 +08:00
wmayer
86208783a8 Part: fix bug in Part::Tools::getPointNormals for OCCT 7.6 2021-10-09 14:34:04 +02:00
wmayer
a7f9c2f1b9 OCCT: port FreeCAD sources to version 7.6
SMESH is not yet ported
Although FreeCAD code compiles with OCCT 7.6 it doesn't work at the moment
2021-10-09 13:49:02 +02:00
wmayer
87c70167be Part: add convenience function to convert TColgp_Array1OfDir to std::vector 2021-10-09 11:37:18 +02:00
wmayer
9aa287ba7b Part: remove ViewProviderPartExt::getNormals 2021-10-08 19:34:48 +02:00
wmayer
eba9360c1c Part: copy ViewProviderPartExt::getNormals to Tools class 2021-10-08 16:55:09 +02:00
wmayer
77537fb1da Part: in Part.getFacets() use functions of Tools class 2021-10-08 15:32:41 +02:00
wmayer
5ddaa470da Part: in TopoShape::getDomains use functions of Tools class 2021-10-08 15:32:19 +02:00
wmayer
bc1bec296e Part: add methods to get the point normals of the triangulation or surface 2021-10-08 15:28:22 +02:00
wmayer
50d3abc182 Part: change TopoShape::exportFaceSet and TopoShape::exportLineSet to use the functions of the Tools class 2021-10-08 12:43:06 +02:00
wmayer
538ae87875 Part: add convenience functions to retrieve triangulation of a face or edge 2021-10-08 12:41:07 +02:00
Zheng, Lei
7dfcb9dad0 Part: set transparency in ViewProviderExt::DiffuseColor
For single color shape
2021-10-07 17:44:09 +08:00
wmayer
97ac224ce6 Part: [skip ci] fix build failure when using PCH 2021-10-07 10:19:49 +02:00
wmayer
5612c1a58d Part: add function Geometry.toShell 2021-10-06 19:44:53 +02:00
wmayer
9eedb17b70 App: use consistent spelling of SubElement 2021-10-06 18:09:53 +02:00
wmayer
d569c8aa25 Part: use UnitsApi::getDecimals in ShapeFromMesh dialog 2021-10-05 12:42:48 +02:00
wmayer
5d8dce4fed Part: [skip ci] use Gui::cmdAppDocumentArgs in ShapeFromMesh dialog 2021-10-03 16:46:32 +02:00
wmayer
1c9378d2aa Part: move code to create shape from mesh to dialog ShapeFromMesh 2021-10-02 07:09:29 +02:00
wmayer
6ed0352a4d Part: for faster execution make sewing optional when creating shape from mesh 2021-10-01 19:29:49 +02:00
wmayer
62b20d6850 Part: [skip ci] make TopoShape::setFaces 30% faster 2021-10-01 15:23:46 +02:00
Yorik van Havre
140e03301e Updated ts files 2021-09-29 14:32:12 +02:00
Yorik van Havre
6ad3530981 Merged crowdin translations 2021-09-23 17:14:48 +02:00
Yorik van Havre
3573c5b21f Updated ts files 2021-09-23 17:04:05 +02:00
wmayer
47fe2babac port to MSYS2/clang 2021-09-20 18:15:44 +02:00
wmayer
8cbd92d874 port to MSYS2/clang 2021-09-19 19:49:44 +02:00
wmayer
614e247dff Part: support null shapes in boolean operations 2021-09-16 12:43:32 +02:00
wmayer
44eeae7286 Part: move handling of changed properties of the Primitive class to handleChangedPropertyName and handleChangedPropertyType 2021-09-15 14:45:50 +02:00
wmayer
fa86b0216e Mod: make sure to call the base class' handleChangedPropertyType 2021-09-15 14:07:32 +02:00
Yorik van Havre
a9717a1e17 Merged crowdin translations 2021-09-07 11:26:48 +02:00
Yorik van Havre
73d5e2c7e1 Updated ts files 2021-09-06 15:32:07 +02:00
Yorik van Havre
5f621f9d11 Merge pull request #4732 from donovaly/PD-attachment-fix
[PD] fix bug that reference selection is always on
2021-09-02 11:59:43 +02:00
Yorik van Havre
199e8a8d6e Merged crowdin translations 2021-08-26 14:51:36 +02:00
Yorik van Havre
8acd9f8734 Updated ts files 2021-08-26 14:50:54 +02:00
Yorik van Havre
7ee5eca590 Merge pull request #4954 from ageeye/FixDefaultShapeVertexColor
Part: Fix default shape vertex color
2021-08-16 16:23:18 +02:00
Christophe Grellier
67ecfb6a1d Update BSplineSurfacePyImp.cpp
Typo in setVKnot()
2021-08-15 11:16:01 +02:00
Benjamin Alterauge
6128a073f3 Possible to use DefaultShapeVertexColor setting.
Add a separate material for vertex. So, it is possible use DefaultShapeVertexColor. [Ticket #4692](https://forum.freecadweb.org/viewtopic.php?f=3&t=59576)
2021-08-03 07:35:00 +02:00
Yorik van Havre
834933866e Merged crowdin translations 2021-07-08 16:06:38 +02:00
Yorik van Havre
e540e5a969 Updated ts files 2021-07-08 16:00:23 +02:00
Yorik van Havre
da508e30b0 Merged crowdin translations 2021-07-01 13:56:25 +02:00