Commit Graph

934 Commits

Author SHA1 Message Date
wmayer
072d05725b fix compiler warning, fix build failure with older OCCT versions 2018-09-17 10:20:03 +02:00
tomate44
b2c9833c9f add a check to BSplineCurve.segment() 2018-09-17 10:02:04 +02:00
wmayer
70aa8e056b expose more methods of Geom_Curve to Python 2018-09-15 11:26:26 +02:00
DeepSOIC
e7485effb4 Part, PartDesign, Attacher: fix a few problems with infinite shapes
To throw an error instead of returning a semi-infinite result that kills rendering.
fixes #3439
2018-09-13 13:12:55 +02:00
DeepSOIC
d91765a79c Part: Attacher: fix flip-sides for O-X-Y-like attachment modes
fixes #2519
2018-09-13 13:03:06 +02:00
wmayer
47c6e294f6 fix build failure for OCCT < 7.0 2018-09-05 10:56:56 +02:00
wmayer
68b57d659a add optional parameters to copy method to copy topology and/or triangulation 2018-09-04 23:17:25 +02:00
Christophe Grellier
56d5305edf add Const to ancestorsOfType 2018-09-03 22:06:46 +02:00
Michal Ulianko
2e2b8cba6a py3.7 fix
PyUnicode_AsUTF8() returns const char* in py3.7 instead of char*. Making
changes to reflect that which should also be safe in
other Python versions.
2018-09-01 22:44:39 +02:00
wmayer
498040e9ee Part sweep now accepts compounds of edges that build a wire 2018-08-26 17:02:01 +02:00
wmayer
908e680a3e Part loft now accepts compounds of edges that build a wire 2018-08-26 16:49:48 +02:00
wmayer
303b7f41cb CMP0050: make Part module aware of cmake policy 2018-08-20 16:54:23 +02:00
wmayer
5a380af1d7 remove ambiguous function setTolerance, use Tolerance attribute instead 2018-08-19 14:31:04 +02:00
wmayer
1c7a41af58 fix -Wignored-qualifiers 2018-08-19 12:38:57 +02:00
wmayer
cd02aac795 fix -Wparentheses 2018-08-19 12:28:05 +02:00
wmayer
05089339cd fix -Wabsolute-value 2018-08-17 09:47:38 +02:00
wmayer
a7f261dc13 fix warnings 2018-08-08 18:02:59 +02:00
Markus Lampert
e13c09235f Changed all catch types to references for polymorphic exceptions. 2018-08-08 15:45:30 +02:00
luz.paz
424cd49398 Typos and whitespace fixes 2018-08-07 11:13:31 -04:00
wmayer
4bf5a5f3b3 backport to OCCT < 6.8 2018-08-07 16:56:33 +02:00
Zheng, Lei
4028057b3c PropertyPartShape: remove CopyShapeOnSave parameter 2018-08-06 19:01:37 +02:00
Zheng, Lei
94940c8471 PropertyPartShape: fix brep shape saving without copy 2018-08-06 19:01:09 +02:00
Zheng, Lei
54904d2f16 PropertyPartShape: add parameter to disable copy on save
By default PropertyPartShape uses BRepBuilderAPI_Copy to copy the shape
on saving, to get rid of the triangulation. However, OCCT seems to
perform a deep copy and shape sharing information is lost.

A new parameter, BaseApp/Preferences/Mod/Part/General/CopyShapeOnSave,
is added to disable this.
2018-08-06 19:00:58 +02:00
Abdullah Tahiri
f809d67685 Part: Improvement to closest parameter determination when the projection does not exist in the trimmer curve 2018-07-29 13:44:06 +02:00
tomate44
32db13241b add a missing check for OCC version 2018-07-29 11:50:08 +02:00
tomate44
8d177f3caf add python binding of OCC defeaturing 2018-07-29 11:50:06 +02:00
tomate44
607a6c122b add OCC defeaturing to TopoShape 2018-07-29 11:50:06 +02:00
wmayer
25456c08de fix -Wunused 2018-07-28 12:56:31 +02:00
Yorik van Havre
37388663f6 Part: Allow to disable progress bar in brep string reader 2018-07-19 11:57:07 -03:00
wmayer
9bc9ebed21 backport to occt < 6.9 2018-06-10 21:57:25 +02:00
tomate44
9eaafad8a0 add Approximation option to TopoShape section 2018-06-10 20:59:06 +02:00
tomate44
8bc59f47ca add Approximation option to FeaturePartSection 2018-06-10 20:59:06 +02:00
wmayer
920a4e62b2 add missing newlines 2018-06-09 11:47:12 +02:00
wmayer
3f38fd0057 do not use deprecated class in OCCT 7.3 2018-06-01 17:02:27 +02:00
wmayer
f2ae921768 expose function to Python to get optimal bounding box 2018-05-30 21:27:49 +02:00
wmayer
564b2ea86c fixes #0003493: Python Shape.isClosed() returns false for any solid, including primitive Parts 2018-05-27 15:10:44 +02:00
luz.paz
43244aa762 More misc. typos 2018-05-19 12:17:52 -04:00
luz.paz
9167064fc1 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
wmayer
99ec96acd5 prepare for PyCXX 7.0 2018-04-18 19:20:50 +02:00
luz.paz
46d32d78a3 Misc. typos: Please merge right before 0.17 release
I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge  so that if I find other typos in the meantime they will be part this release.
2018-03-18 15:15:16 +01:00
wmayer
980e95ce05 fix Debian bug #825861 2018-03-14 18:05:24 +01:00
tomate44
a570804ea0 add simulate function to MakePipeShell 2018-03-02 10:47:45 -03:00
tomate44
2ec68ac393 Edge.getParameterByLength fix 2018-02-14 18:46:35 +01:00
wmayer
204de231bb fix reference counting issue 2018-02-11 14:08:18 +01:00
luz.paz
1d5799e5b3 Misc. typos
Inspired by @normandc per https://gitter.im/FreeCAD/FreeCAD?at=5a729c6ece68c3bc742df205
2018-02-07 09:40:03 +01:00
wmayer
9b28d1e226 remove SetMinTolerance as suggested by PR 1240 2018-01-21 18:17:45 +01:00
tomate44
fa85b1e76d typo 2018-01-21 17:29:17 +01:00
tomate44
e0ee9bf9ce indentation fix 2018-01-21 12:30:29 +01:00
tomate44
31ce28aa0d tolerance fix in TopoFace.validate() 2018-01-21 12:25:14 +01:00
tomate44
ecce5eea6d fix some TopoShape documentation 2018-01-21 12:03:53 +01:00