wmayer
c5ffdd4318
Part: add module with enums
2021-11-30 20:03:26 +01:00
wmayer
d41a9a1e5c
Part: implement Part.Wire.makeEvolved and Part.Face.makeEvolved
2021-11-30 18:17:29 +01:00
Chris Hennes
ded7adb798
Revert "Merge pull request #4626 from pavltom/GUI_TreeView_Item_Ordering"
...
This reverts commit b0452667c72f330323f6b3366f45bf039d05feef, reversing
changes made to b2d99f3fa7b4c7c305aed4a8d975a8624a6d590f.
See forums discussion: https://forum.freecadweb.org/viewtopic.php?p=549120
2021-11-24 09:03:35 -06:00
carlopav
04176db50a
Part: Auto-add primitives to active Part
...
Modified DlgPrimitives.cpp to allow auto adding the newly created object to active Std_Part.
Works with: box, cylinder, sphere, cone, torus, tube, primitives.
2021-11-23 21:44:53 +01:00
Yorik van Havre
c4d4575eb3
Merged crowdin translations
2021-11-16 17:30:39 +01:00
wmayer
69fd6d35ec
Part: use of factory method of Vector2dPy
2021-11-14 18:19:34 +01:00
Chris Hennes
8d1735741b
Merge pull request #4626 from pavltom/GUI_TreeView_Item_Ordering
...
[Gui] Issue #3923 - Add arbitrary Tree View item ordering
2021-11-10 23:35:05 -06:00
0penBrain
2f3d7cfdf0
[ViewProvider2DObject=>Sketcher] Fix grid visibility management
...
Error in grid visibility equation that makes grid to disappear when saving document in Edit mode
2021-11-05 03:18:08 +01:00
0penBrain
c878c6d960
[ViewProvider2DObject] Fix typo
2021-11-05 03:18:08 +01:00
Chris Hennes
3cdfe38978
Merge pull request #4952 from realthunder/FixDocumentRestore
...
Fix external document loading
2021-10-31 10:36:12 -05:00
wmayer
e4851a11b4
Part: fixes #0004774 : Datum plane or line is not available in sketch in another body via binder
2021-10-30 22:28:57 +02:00
wmayer
42174a7b13
Part: in ViewProviderSpline use the ViewProviderSplineExtension to avoid code duplication
2021-10-30 17:57:52 +02:00
wmayer
4d7f2ef6e5
Part: [skip ci] include PartGlobal.h in ViewProviderExt.h
2021-10-30 17:57:11 +02:00
wmayer
91aa308cba
Part: [skip ci] add PartGlobal.h with export/import macros
2021-10-30 17:29:11 +02:00
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
Tomas Pavlicek
17f328c7a9
[Gui] Issue #3923 - Arbitrary Tree item ordering + tests
2021-10-26 19:09:34 +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
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