Commit Graph

104 Commits

Author SHA1 Message Date
wmayer
a07226cea1 use constraint to limit minimum and maximum degree 2017-09-18 12:07:00 +02:00
tomate44
f8585e71c1 add MaxDegree setting to Part.Loft 2017-09-18 12:07:00 +02:00
wmayer
98bf3bdb4a don't reverse orientation after converting mesh to shape 2017-09-12 07:59:31 +02:00
wmayer
c9957b8a98 Port to occ7.2:
+ use default constructor of BRepOffsetAPI_MakeOffsetShape since overloaded versions are deprecated
+ use default constructor of BRepOffsetAPI_MakeThickSolid since overloaded versions are deprecated
+ fix small bug in MeshVertex
2017-09-02 12:04:07 +02:00
wmayer
fd5e7768dd Port to occ7.2:
+ replace use of StlMesh classes as they have been removed
2017-09-02 00:26:04 +02:00
wmayer
949c86d364 Port to occ7.2:
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
wmayer
f6a086dde0 add comment to source code 2017-06-18 16:23:29 +02:00
Kurt Kremitzki
90f0e5ceb8 Remove redundant matrix scale factor multiplication 2017-06-16 00:15:22 +02:00
wmayer
51d7949409 add optional parameter to TopoShape.check() to run bop check 2017-05-10 22:40:12 +02:00
Peter Lama
a75a98ef27 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
wmayer
35e8edeb08 extend interface to get actual property with geometric data, get center of gravity of a geometry 2017-03-05 18:05:11 +01:00
wmayer
dfbd6aa237 cleanup work: overload methods instead of using new method names 2017-01-04 15:39:27 +01:00
triplus
43ad429734 Add Part BOA multiCut, multiCommon and multiSection methods 2017-01-04 14:06:12 +01:00
wwmayer
01fd5ce6f3 Merge pull request #357 from mlampert/PathGeom
Path: Path->Wire transformation and other goemetry helpers.
2016-12-01 12:48:03 +01:00
Markus Lampert
fcc187880e Enhance makeHelix to also support helixes that spiral downwards. 2016-11-28 15:10:25 -08:00
wmayer
4130f845e2 port TopoShape::exportStep to occ7.1 2016-11-27 11:01:15 +01:00
triplus
3d26fec75a Part generalFuse enable SetRunParallel
Test case:

http://forum.freecadweb.org/viewtopic.php?f=10&t=18179&p=143225#p143225
2016-11-02 15:52:42 +01:00
triplus
e892d09f2e Part multiFuse enable SetRunParallel
Forum discussion:

http://forum.freecadweb.org/viewtopic.php?f=10&t=18179

Test case:

http://forum.freecadweb.org/viewtopic.php?f=10&t=18179#p142663
2016-11-02 14:44:58 +01:00
wmayer
c833136cde handle possible crashes with FaceMaker and fix a few coding flaws 2016-10-02 14:47:59 +02:00
DeepSOIC
c7f975279c Part: Offset2D: rewrite to use FaceMaker
new features supported:
* fill offset in collective mode when result wires are closed
* offsetting faces in collective mode

Remaining TODOs:
- collective offset of open wires in "skin" mode
2016-10-01 23:13:44 +03:00
wmayer
1ce73dda96 fix -Wextra in Part 2016-09-22 11:49:28 +02:00
DeepSOIC
47c745f228 Part: Offset2D: fix save-load instability
Fixes #2699
It was found out that when direction of normal found by FindPlane
depends on if we are using result of offset directly, or after copying.

The fix (workaround) is to copy offset result inside  offset routine, so
that no unstable behavior makes its way to the user.
2016-09-18 18:45:04 +03:00
DeepSOIC
5318e03561 Part: TopoShape: add makeOffset2D method
Supports:
* offsetting wire, compound of wires.
* offsetting compounds in collective or independent manners
('intersection' parameter)
* two offset modes (parameter 'allowOpenResult')
* filling offset when offsetting one wire, or compound in independent
manner

Not supported yet (planned):
* filling offset when offset in collective manner (intersection= true)
* offsetting planar faces
2016-09-02 16:26:02 +02:00
wmayer
e8b36592c0 fix Coverity issues 2016-08-21 18:46:40 +02:00
wmayer
461c0b1f7b fix TopoShape::getFacesFromSubelement 2016-08-04 15:22:30 +02:00
wmayer
bff60f36a7 fix build failure with occ 6.9.0 2016-07-17 16:18:12 +02:00
wmayer
bdb359df39 + GFA is available since OCC 6.9.0, raise an AttributeError otherwise 2016-07-14 15:16:02 +02:00
DeepSOIC
c8ebc7f9c2 Part: TopoShape: add generalFuse method (GFA)
OCC's Generaal Fuse Algorithm
2016-07-04 14:55:38 +03:00
wmayer
9316a1511a + fix index error using occ matrix class 2016-05-15 16:12:24 +02:00
wmayer
bca7a1866e + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
34b9ff8867 + command to create points object from geometry
+ implement TopoShape::getPoints
2016-03-05 23:36:57 +01:00
wmayer
9139ab37d3 + change binary export & import of shapes to restore placement and orientation 2016-02-29 18:37:36 +01:00
wmayer
898e0fb359 + make API of InventorBuilder more flexible and add new methods 2015-11-26 15:27:40 +01:00
wmayer
7f9aa7b4a5 + add method to write/read BREP in binary format 2015-09-07 19:02:56 +02:00
wmayer
2f25170763 + write out product name if defined to IGES/STEP files 2015-07-11 14:05:47 +02:00
wmayer
78671cb27e + raise exceptions in TopoShape::makeOffsetShape if needed 2015-05-15 20:20:37 +02:00
wmayer
4fe99f2658 + whitespace improvement 2015-05-15 20:07:55 +02:00
blobfish
0950e1963a Part: Offset: fill rework. 2015-05-15 20:00:47 +02:00
wmayer
153e988237 + make argument of multiFuse const reference 2015-02-21 12:48:12 +01:00
Sebastian Hoogen
c2ce8f5eba add TopoShape::multiFuse method
to fuse multiple shapes at once.
2015-02-21 12:35:21 +01:00
Sebastian Hoogen
cd771f65c6 meshing was removed from StlTransfer
with OCCT CR0025357 issue #1906
2015-02-12 13:46:14 +01:00
wmayer
82edb4b50a + fixes #0001662: IGES does not export correctly 2015-01-11 12:14:41 +01:00
wmayer
ee86871bed + fixes #0000763: Bad IGS import 2015-01-05 16:28:40 +01:00
WandererFan
ba97d17b2a Fix #0001722 Left-handed helix with an angle>0 produces 1 too many turns 2014-11-06 10:49:02 -02:00
wmayer
76906d20a0 + customize IGES header 2014-10-29 16:39:33 +01:00
Sebastian Hoogen
a53a239f2f issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
Sebastian Hoogen
f1283cf24c fixes #1782 remove unused precsion parameters
from gp_Trsf::SetValues
2014-10-11 13:03:02 +02:00
wmayer
032c893183 + fix warnings with clang 2014-09-24 17:46:04 +02:00
wmayer
841b4fab1b + fixes #0001630: IGES-Export in [mm] turns to [Inches] 2014-07-23 13:49:16 +02:00
wmayer
80cc2e4710 + Replace OCC_HEX_VERSION with OCC_VERSION_HEX 2014-07-18 14:51:54 +02:00