wmayer
918fc83cd3
Part: implement wrapper class around Interface_Static
2022-10-03 19:03:32 +02:00
marioalexis
acdfde774a
Part: Replace C cast
2022-09-18 11:06:51 -05:00
wmayer
7dc67b7a01
Inspection: support display of lines, avoid explicit type checks
2022-09-15 11:46:20 +02:00
wmayer
1309b86ea5
App: move from float to double for accuracy parameter, add a virtual method to determine a default accuracy
2022-09-15 09:52:14 +02:00
wmayer
70838e224f
Part: implement TopoShape::getLines
2022-09-13 23:14:17 +02:00
wmayer
ced0f46ef5
Clang: fix clang-diagnostic-error
2022-08-24 17:02:17 +02:00
berniev
180edfa3cc
Mod: Single arg ctors must be explicit
2022-08-24 16:55:20 +02:00
berniev
5fa05ab83d
Mod: Redundant_string_initialization
2022-08-08 16:52:42 +02:00
berniev
f4ffd15864
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
berniev
53ba98d636
Mod: use empty
2022-08-06 19:30:13 +02:00
berniev
47ac049e14
Mod: use emplace_back
2022-08-05 10:36:16 +02:00
wmayer
a8ac45b090
Replace std::ignore with boost::ignore_unused()
...
According to https://isocpp.org/blog/2016/09/quick-q-stdignore-for-ignoring-unused-variable std::ignore is not supposed to be used for this
2022-07-15 13:15:47 +02:00
wmayer
21c967ef77
Part: fix build failure
2022-07-04 02:21:59 +02:00
Uwe
f130051618
[Part] To*: remove unneeded includes
...
- also sort includes
2022-07-03 18:39:24 +02:00
andrea
c66aadeb60
removed references to OCC<7
2022-06-25 14:29:24 +02:00
wmayer
67e963781b
Part: in TopoShape::transformGeometry convert OCC exception into Base exception
...
The conversion is needed because TopoShape::transformGeometry reimplements ComplexGeoData::transformGeometry and is called in the core system
2022-04-29 15:37:44 +02:00
wmayer
a5d7987ad0
Part: handle exception of makeGTransform in _makeTransform
2022-04-29 15:15:51 +02:00
wmayer
2d5c2f0700
Part: adjust TopoShape::transformGShape() to reduce code duplication of TopoShape::makeGTransform
...
Revert changes of 4e7efd68d42a68 as otherwise there is no way to handle a failure in client code
2022-04-29 14:57:05 +02:00
wmayer
3e6c6974ca
Part: handle OCC exception inside TopoShape::makeGTransform
...
For more details about the problems an unhandled exception will cause see: https://forum.freecadweb.org/viewtopic.php?f=3&t=61000
2022-04-27 18:39:55 +02:00
wmayer
59eabaf9bb
Part: [skip ci] fix computing of face normals in TopoShape::getPoints
2022-04-13 12:51:08 +02:00
wmayer
10afc60497
Part: issue #6727 : Missing B-Spline in STEP file after Part Offset2D
2022-04-11 14:16:29 +02:00
wmayer
ef5d7fa64e
Part: fixes #6282 : exportStep breaking model
2022-04-11 11:58:57 +02:00
Chris Hennes
2ecc125497
Part: PR6497 move return statement to new line
2022-03-29 12:37:00 -05:00
wmayer
6d2d45ceb7
Part: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
mwganson
fc617e1524
Part: 2doffset fix crash by chacking for null shape before adding with builder.Add()
2022-03-12 02:48:22 +01:00
wmayer
f1f68db55b
App: Optimize includes to reduce compile time
2022-03-07 15:53:58 +01:00
wmayer
0c583fb7fa
Part: fix typos in make* functions
2022-02-16 12:48:02 +01:00
wmayer
0208608b9e
Base: fix Matrix4D::hasScale
...
* If all column vectors of the 3x3 sub-matrix are equal the function incorrectly claims that it's uniform scaling.
* Detect also non-uniform scaling and if was applied from the left or right side
* Replace the int with an enum and expose it to Python
* Add several new unit tests
2022-02-15 21:05:11 +01:00
wmayer
c9007693cf
Part: in function to create a part handle meshes with defects
2022-01-18 15:20:55 +01:00
mwganson
1f6daebdbf
TopoShape::analyze() SetRunParallel(true) to do the bopcheck in parallel mode
2022-01-16 16:30:08 +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
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
5ddaa470da
Part: in TopoShape::getDomains use functions of Tools class
2021-10-08 15:32:19 +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
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
614e247dff
Part: support null shapes in boolean operations
2021-09-16 12:43:32 +02:00
wmayer
333859d618
Py: fix memory leak
2021-04-12 00:05:42 +02:00
tomate44
f5de466ae5
Part: fixes and check input values for spiral and helix primitives
2021-03-10 14:24:01 +01:00
tomate44
1ad246bdad
Part primitives: use makeSpiralHelix in spiral and helix primitives
2021-03-10 14:22:04 +01:00
tomate44
8a7a5b583f
TopoShape: add a common function to build spirals and helixes
2021-03-10 14:18:12 +01:00
David Osterberg
cb2da22e86
PartDesign: New features AdditiveHelix and SubtractiveHelix
...
These features, based on the code for the Pipe class, allow the user
to simply create a helical sweep within PartDesign workbench.
Sample application is threads, springs, coils, augers, etc.
Also, remove needless requirement for positive cone angle on helixes.
Thanks to @bitacovir for helping with the icons
Thanks to @chennes for review
Thanks to @vosk for review
Thanks to @wwmayer for review
Enforce that links stay within scope for ProfileBased features
This also ensures that the Body itself is not used for creating features within
the body, causing a "Graph not a DAG" error.
2021-02-04 13:01:12 +01:00
wmayer
d65937d338
Part: [skip ci] rename methods in TopoShape that override non-virtual functions of base class
2021-02-03 16:10:38 +01:00
wmayer
f636dfc623
Part: [skip ci] in TopoShape::getMemSize() handle edges or faces with no attached geometry
2021-01-06 15:39:25 +01:00
Mateusz Skowroński
b8c26c0273
Fix GCC warnings: type qualifiers ignored on cast result type [-Wignored-qualifiers]
2020-12-28 23:17:26 +01:00
wmayer
eee49a8f1f
Sketcher: support vertexes in sketch used e.g. for hole features
2020-12-22 07:10:48 +01:00