wmayer
09fb4bc2d2
Part: fix issue found by lgtm: Expression has no effect
2021-12-28 17:38:20 +01:00
Abdullah Tahiri
84898bd9a8
Part: Geometry and Sketcher: GeometryFacade and ExternalGeometryFacade
...
======================================================================
Change pass-by-value to const reference.
Thanks Kunda!
https://lgtm.com/projects/g/FreeCAD/FreeCAD/alerts/?mode=tree&ruleFocus=2163210742
https://forum.freecadweb.org/viewtopic.php?p=555658#p555658
2021-12-27 21:03:51 +01:00
wmayer
6e457c9ea8
Part: handle removal of function HLRBRep_PolyAlgo::Angle in OCC 7.5
2021-12-21 21:26:00 +01:00
wmayer
20f9aa42e7
Part: expose Poly HLR algorithm to Python
2021-12-21 19:45:01 +01:00
wmayer
20a36e1508
Part: expose HLR algorithm to Python
2021-12-21 10:49:03 +01:00
wmayer
db936b60c4
Part: add function GetCircleCenter from CommandCreateGeo.cpp of the Sketcher module to the Geom2dCircle class in the Part module
2021-12-17 13:01:59 +01:00
wmayer
a84262b2f0
Part: set explicit format version number for binary BRep files to support all OCC versions
2021-12-12 01:15:56 +01:00
wmayer
d80e83a517
Part: set explicit format version number for BRep files to support all OCC versions
2021-12-11 23:31:41 +01:00
luz paz
430aadb791
Fix various typos and grammatical refinements
2021-12-09 08:57:52 -06:00
Abdullah Tahiri
a16cbdc7a4
Part: Geometry - Curve member to calculate the normal at Point
...
==============================================================
Convenience member function combining closestParameter and normalAt using parameter.
2021-12-07 16:30:53 +01:00
Abdullah Tahiri
80f9793344
Part: Geometry - Extend Geometry Curve to query the value at parameter point directly from D0
...
=============================================================================================
Use the geometry specific D0 to calculate value at parameter point.
2021-12-07 16:30:53 +01:00
wmayer
1a96fa60ce
Part: add exception handling to Face.makeEvolved/Wire.makeEvolved
2021-11-30 20:04:31 +01:00
wmayer
d41a9a1e5c
Part: implement Part.Wire.makeEvolved and Part.Face.makeEvolved
2021-11-30 18:17:29 +01:00
wmayer
69fd6d35ec
Part: use of factory method of Vector2dPy
2021-11-14 18:19:34 +01: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
12fe72e66e
Part: for vertex, edge, wire use BRepExtrema_DistShapeShape to check whether point is inside
2021-10-23 16:39:28 +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
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
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
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
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
wmayer
47fe2babac
port to MSYS2/clang
2021-09-20 18:15: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
Christophe Grellier
67ecfb6a1d
Update BSplineSurfacePyImp.cpp
...
Typo in setVKnot()
2021-08-15 11:16:01 +02:00
wmayer
7e48441687
Part: [skip ci] workaround for OCCT 7.5.2
2021-05-12 17:35:42 +02:00
Yorik van Havre
80ecefde1a
Merge pull request #4770 from mpu-creare/master
...
Mod Part [doc]: Adding documentation to Part.BSplineCurve of Python API
2021-05-11 12:15:59 +02:00
wmayer
a6e7bdf849
allow to enable PCH for gcc and clang
2021-05-03 17:37:58 +02:00
Matt Ueckermann
3d1176053f
Part [DOC]: Adding documentation to Python API of BSplineCurve (intersect and buildFromPoles)
2021-04-29 23:06:55 -04:00
wmayer
58f72ccc80
Part: remove some more deprecated Py2 code
2021-04-26 11:13:22 +02:00
luz paz
e0ab0382b3
Part: remove py2 code
2021-04-25 11:29:35 +02:00
Tomas Pavlicek
a7d83b5e15
Sketcher - Add new Split Edge action
2021-04-24 14:30:35 +02:00
tomate44
2daf6a03e4
Part: Shape.ReflectLines: add 2D/3D, visibility and EdgeType options
2021-04-18 08:26:26 +02:00
wmayer
333859d618
Py: fix memory leak
2021-04-12 00:05:42 +02:00
wmayer
dbbac56185
Base: do not report C++ exception when converting it to Python exception
...
See https://forum.freecadweb.org/viewtopic.php?f=23&t=56464
2021-04-11 14:54:11 +02:00
wmayer
14e3c91158
Py: fix memory leak
2021-04-09 16:59:33 +02:00
donovaly
c3264a7cfa
[Part] [skip ci] add a word in description
...
since we have now 3 angles for cylinders, make clear the angle property is for the rotation
2021-04-06 11:39:51 +02:00