Commit Graph

1320 Commits

Author SHA1 Message Date
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
1d11f742ca now each module registers its unit tests itself 2018-08-28 13:14:16 +02:00
luz.paz
f6de3eac88 Whitespace formatting 2018-08-26 17:30:44 +02:00
luz.paz
53e122a75a Misc. typo fixes
Found via `codespell`
2018-08-26 17:30:44 +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
6ea3ad3ed9 do not show dialog of progress indicator for OCCT < 6.9.0 2018-08-17 08:10:16 +02:00
wmayer
0eb432ddb7 BOPAlgo supports progress indicator since version 6.9.0 2018-08-15 09:09:44 +02:00
wmayer
23af852ad9 add progress indicator to BOP check task panel 2018-08-14 23:51:02 +02:00
Mark Ganson TheMarkster
176820c042 use parallel mode of BOPCheck class 2018-08-13 10:10:27 +02:00
wmayer
a7f261dc13 fix warnings 2018-08-08 18:02:59 +02:00
wmayer
ddfa3c8843 remove kwd argument for functions only with flag METH_VARARGS 2018-08-08 17:39:32 +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
wmayer
6c7bdbb558 [WIP] add box selection to select individual faces 2018-08-04 19:37:49 +02:00
wmayer
e4976a4997 fix explosion of face colors dialog if too many faces are selected 2018-08-04 18:16:05 +02:00
wmayer
9f8a47b605 add protected default constructor of SelectionFilterGate to simplifiy writing of sub-classes 2018-08-04 16:52:57 +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
eae378431c cleanup of defeaturing in Part Gui 2018-07-29 11:50:07 +02:00
tomate44
30cac3716a add OCC defeaturing to PartWB Gui 2018-07-29 11:50:07 +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
8b33e6829b Part: Fixed wording in ShapeBuilder messages 2018-07-25 12:55:27 -03:00
Yorik van Havre
a7e865ecb0 Part: Added 'Wire from Edges' option to Part ShapeBuilder 2018-07-20 20:15:26 -03: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
Janne Keränen
37c4bda776 Correct small bug in CompoundFilter in command line
Without this, CompoundFilter does not work in Python script in non-GUI-mode.
See:
https://forum.freecadweb.org/viewtopic.php?f=10&t=27593&p=222303
and
https://www.freecadweb.org/tracker/view.php?id=3381
2018-05-28 16:55:15 +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
wmayer
f3dc1adc2c fix inconsistency with default value of random shape color 2018-05-26 18:52:58 +02:00
DeepSOIC
0f4d9c23d2 Part: fix imports of Show.TempoVis 2018-05-25 17:24:57 -03:00
luz.paz
43244aa762 More misc. typos 2018-05-19 12:17:52 -04:00
Yorik van Havre
23725806af Merge branch 'randomshapecolor' of https://github.com/dulouie/FreeCAD into dul 2018-04-25 09:45:12 -03:00
luz.paz
9167064fc1 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
DeepSOIC
dac72f25f1 Part: fix compoundfilter's items property tooltip
reported by chrisb:
https://forum.freecadweb.org/viewtopic.php?f=3&t=28299#p229889
2018-04-25 10:58:30 +02:00