Commit Graph

2026 Commits

Author SHA1 Message Date
Zheng, Lei
a2fb4a5d6d Minor code change according to suggestions 2021-10-30 12:30:45 +08:00
Zheng, Lei
414ea71a28 Part: fix unnecessary document 'modified' status 2021-10-30 11:02:39 +08: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
3924d41073 Part: do not open a second transaction when there is already a pending transaction 2021-10-22 18:49:49 +02:00
wmayer
aa19f8b05f Part: adjust orientation of refined face to input faces 2021-10-22 14:11:00 +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
Yorik van Havre
8f4060a47b Merge pull request #5106 from chennes/transparentFaces
[Part] Allow setting alpha for face colors
2021-10-12 10:57:11 +02:00
Chris Hennes
e0653f6b06 [Part] Remove redundant 'global' statement 2021-10-11 22:37:05 -05:00
Chris Hennes
4c3371bf19 [Part] Allow setting alpha for face colors 2021-10-10 20:23:57 -05:00
Chris Hennes
834831b6c8 Merge pull request #5098 from realthunder/FixStepColor
Fix STEP import/export color problem
2021-10-10 18:46:43 -05:00
Zheng, Lei
45d0660727 Part: minor change on transparency setting 2021-10-11 06:02:54 +08:00
Zheng, Lei
498b40800e Part: sync ViewProviderExt::DiffuseColor on Transparency change 2021-10-10 22:01:25 +08:00
wmayer
03be15cc6b Part: fix bug in Part::Tools::getPointNormals for OCCT 7.6 2021-10-09 14:34:04 +02:00
wmayer
74639da997 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
66d3dd897f Part: add convenience function to convert TColgp_Array1OfDir to std::vector 2021-10-09 11:37:18 +02:00
wmayer
c2c5ae1bf0 Part: remove ViewProviderPartExt::getNormals 2021-10-08 19:34:48 +02:00
wmayer
302568d177 Part: copy ViewProviderPartExt::getNormals to Tools class 2021-10-08 16:55:09 +02:00
wmayer
9b4db7e064 Part: in Part.getFacets() use functions of Tools class 2021-10-08 15:32:41 +02:00
wmayer
442c8d52a1 Part: in TopoShape::getDomains use functions of Tools class 2021-10-08 15:32:19 +02:00
wmayer
08d46b5f88 Part: add methods to get the point normals of the triangulation or surface 2021-10-08 15:28:22 +02:00
wmayer
8e6dab209e Part: change TopoShape::exportFaceSet and TopoShape::exportLineSet to use the functions of the Tools class 2021-10-08 12:43:06 +02:00
wmayer
c9d17ebde2 Part: add convenience functions to retrieve triangulation of a face or edge 2021-10-08 12:41:07 +02:00
Zheng, Lei
c3e3ff3c8b Part: set transparency in ViewProviderExt::DiffuseColor
For single color shape
2021-10-07 17:44:09 +08:00
wmayer
5bb00636d5 Part: [skip ci] fix build failure when using PCH 2021-10-07 10:19:49 +02:00
wmayer
5593b8499b Part: add function Geometry.toShell 2021-10-06 19:44:53 +02:00
wmayer
7b45d63bf2 App: use consistent spelling of SubElement 2021-10-06 18:09:53 +02:00
wmayer
0fc8460b0f Part: use UnitsApi::getDecimals in ShapeFromMesh dialog 2021-10-05 12:42:48 +02:00
wmayer
69bfa47b0e Part: [skip ci] use Gui::cmdAppDocumentArgs in ShapeFromMesh dialog 2021-10-03 16:46:32 +02:00
wmayer
14ff475192 Part: move code to create shape from mesh to dialog ShapeFromMesh 2021-10-02 07:09:29 +02:00
wmayer
745f8e044d Part: for faster execution make sewing optional when creating shape from mesh 2021-10-01 19:29:49 +02:00
wmayer
b4f77d3c62 Part: [skip ci] make TopoShape::setFaces 30% faster 2021-10-01 15:23:46 +02:00
Yorik van Havre
77925c428e Updated ts files 2021-09-29 14:32:12 +02:00
Yorik van Havre
b042405933 Merged crowdin translations 2021-09-23 17:14:48 +02:00
Yorik van Havre
15da3f01e5 Updated ts files 2021-09-23 17:04:05 +02:00
wmayer
7f772ba227 port to MSYS2/clang 2021-09-20 18:15:44 +02:00
wmayer
e211b89cf8 port to MSYS2/clang 2021-09-19 19:49:44 +02:00
wmayer
666f67f8d9 Part: support null shapes in boolean operations 2021-09-16 12:43:32 +02:00
wmayer
62723f3dfd Part: move handling of changed properties of the Primitive class to handleChangedPropertyName and handleChangedPropertyType 2021-09-15 14:45:50 +02:00
wmayer
4327cd5ccb Mod: make sure to call the base class' handleChangedPropertyType 2021-09-15 14:07:32 +02:00
Yorik van Havre
89e1a97d80 Merged crowdin translations 2021-09-07 11:26:48 +02:00
Yorik van Havre
d14167a50d Updated ts files 2021-09-06 15:32:07 +02:00
Yorik van Havre
68b328fd4c 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
49abe81271 Merged crowdin translations 2021-08-26 14:51:36 +02:00
Yorik van Havre
a8cb3ef1e3 Updated ts files 2021-08-26 14:50:54 +02:00
Yorik van Havre
fece09a4d5 Merge pull request #4954 from ageeye/FixDefaultShapeVertexColor
Part: Fix default shape vertex color
2021-08-16 16:23:18 +02:00
Christophe Grellier
108437e37b Update BSplineSurfacePyImp.cpp
Typo in setVKnot()
2021-08-15 11:16:01 +02:00
Benjamin Alterauge
ed1d71e671 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
1cee70cd62 Merged crowdin translations 2021-07-08 16:06:38 +02:00
Yorik van Havre
324621f3d8 Updated ts files 2021-07-08 16:00:23 +02:00
Yorik van Havre
ed9dca288c Merged crowdin translations 2021-07-01 13:56:25 +02:00