Commit Graph

14 Commits

Author SHA1 Message Date
wmayer
b9e9fe435a Part: modernize C++: use equals default 2023-08-22 15:14:03 +02:00
wmayer
c78e792737 Part: fix build failures with OCC >= 7.6 2022-08-09 18:42:38 +02:00
wmayer
8fb716643c Mod: [skip ci] fix warning: [-Wreturn-std-move] 2022-07-29 18:55:10 +02:00
wmayer
2b039d67fe Part: Fix several clazy issues:
* Maybe you meant to call Primitive::onChanged() instead [-Wclazy-skipped-base-method]
* Maybe you meant to call Primitive::mustExecute() instead [-Wclazy-skipped-base-method]
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Use multi-arg instead [-Wclazy-qstring-arg]
* Use midRef() instead [-Wclazy-qstring-ref]
2022-07-25 08:31:18 +02:00
Uwe
9694ac0297 [Part] B*: remove unneeded includes
- also sort includes
2022-07-09 03:52:17 +02:00
andrea
c66aadeb60 removed references to OCC<7 2022-06-25 14:29:24 +02:00
wmayer
e486f91f6a Part: in BRepOffsetAPI_MakeOffsetFix::MakeWire also consider the generated edges of the vertexes of the input shape 2022-06-08 13:02:07 +02:00
wmayer
60442c2712 Part: Add function BRepOffsetAPI_MakeOffsetFix::Replace() to replace unwanted curve type with a B-Spline curve 2022-04-11 14:13:36 +02:00
wmayer
2d266a75cd Part: make sure that new wire has same orientation as old wire as otherwise the offset will be negative 2022-04-09 12:46:27 +02:00
Uwe
ead05ae30e [Part] extend BRepOffsetAPI_MakeOffsetFix and use it for padding
BRepOffsetAPI_MakeOffsetFix provides already a workaround for an OCC bug. To use it for Pad/pocket, only the Init feature has to be added
we take the same implementation like it if for BRepOffsetAPI_MakeOffset
2022-04-09 06:43:46 +02:00
wmayer
88849b5981 Part: [skip ci] fix crash in BRepOffsetAPI_MakeOffsetFix 2020-02-17 15:36:45 +01:00
asapelkin
ced8100ab9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
wmayer
41e46cd98a add missing header file 2019-01-27 00:05:23 +01:00
wmayer
cc1bb80f24 fixes 0003020: 2D offset of circle are not in the right place 2019-01-26 22:52:40 +01:00