Commit Graph

1655 Commits

Author SHA1 Message Date
wmayer
01c140be28 fix warnings 2018-08-08 18:02:59 +02:00
wmayer
a9c4bcb5d6 remove kwd argument for functions only with flag METH_VARARGS 2018-08-08 17:39:32 +02:00
Markus Lampert
0b40519f3f Changed all catch types to references for polymorphic exceptions. 2018-08-08 15:45:30 +02:00
luz.paz
baa6d89328 Typos and whitespace fixes 2018-08-07 11:13:31 -04:00
wmayer
88aefc28e8 backport to OCCT < 6.8 2018-08-07 16:56:33 +02:00
Zheng, Lei
8f3cf6156b PropertyPartShape: remove CopyShapeOnSave parameter 2018-08-06 19:01:37 +02:00
Zheng, Lei
d65349f1f9 PropertyPartShape: fix brep shape saving without copy 2018-08-06 19:01:09 +02:00
Zheng, Lei
8018f2640d 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
8068150c64 [WIP] add box selection to select individual faces 2018-08-04 19:37:49 +02:00
wmayer
70e5b9fec3 fix explosion of face colors dialog if too many faces are selected 2018-08-04 18:16:05 +02:00
wmayer
272c89b007 add protected default constructor of SelectionFilterGate to simplifiy writing of sub-classes 2018-08-04 16:52:57 +02:00
Abdullah Tahiri
de9e7cc942 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
b40c1f16b5 add a missing check for OCC version 2018-07-29 11:50:08 +02:00
tomate44
3c049e44f1 cleanup of defeaturing in Part Gui 2018-07-29 11:50:07 +02:00
tomate44
d5db3ff588 add OCC defeaturing to PartWB Gui 2018-07-29 11:50:07 +02:00
tomate44
1f63d6a103 add python binding of OCC defeaturing 2018-07-29 11:50:06 +02:00
tomate44
4a0ea3c0ec add OCC defeaturing to TopoShape 2018-07-29 11:50:06 +02:00
wmayer
61a6fbe6d2 fix -Wunused 2018-07-28 12:56:31 +02:00
Yorik van Havre
f6fdad4d07 Part: Fixed wording in ShapeBuilder messages 2018-07-25 12:55:27 -03:00
Yorik van Havre
4aa91d62e2 Part: Added 'Wire from Edges' option to Part ShapeBuilder 2018-07-20 20:15:26 -03:00
Yorik van Havre
c93ff200ca Part: Allow to disable progress bar in brep string reader 2018-07-19 11:57:07 -03:00
wmayer
f90cd4a56d backport to occt < 6.9 2018-06-10 21:57:25 +02:00
tomate44
f3ac51d9b7 add Approximation option to TopoShape section 2018-06-10 20:59:06 +02:00
tomate44
be96fcc62d add Approximation option to FeaturePartSection 2018-06-10 20:59:06 +02:00
wmayer
833c2c601e add missing newlines 2018-06-09 11:47:12 +02:00
wmayer
211a24507c do not use deprecated class in OCCT 7.3 2018-06-01 17:02:27 +02:00
wmayer
009b18a553 expose function to Python to get optimal bounding box 2018-05-30 21:27:49 +02:00
Janne Keränen
6781a8167f 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
0425c7f3c8 fixes #0003493: Python Shape.isClosed() returns false for any solid, including primitive Parts 2018-05-27 15:10:44 +02:00
wmayer
4b089f9667 fix inconsistency with default value of random shape color 2018-05-26 18:52:58 +02:00
DeepSOIC
0c4c04156c Part: fix imports of Show.TempoVis 2018-05-25 17:24:57 -03:00
luz.paz
7a09a5774e More misc. typos 2018-05-19 12:17:52 -04:00
Yorik van Havre
059e4e65dc Merge branch 'randomshapecolor' of https://github.com/dulouie/FreeCAD into dul 2018-04-25 09:45:12 -03:00
luz.paz
505488c4f9 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
DeepSOIC
2c78478b5c 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
dulouie
d8b5b6938d fix small layout issues 2018-04-21 13:33:40 +02:00
Arne Schmidt
492f5057e2 random shapecolor with toggle in settings dialog 2018-04-21 13:33:40 +02:00
wmayer
840c9e8b3c prepare for PyCXX 7.0 2018-04-18 19:20:50 +02:00
wmayer
5326d15ed2 improve handling if PySide(2) is not installed 2018-04-17 19:10:01 +02:00
Yorik van Havre
9551e2bf7d Part: Added icon to Simple Copy command 2018-04-17 11:39:07 -03:00
wmayer
c582b069ba fix compiler warnings with py3 and msvc 2018-04-16 18:24:53 +02:00
sL1pKn07
018b41032a [For v018] Fix build with Qt5 beta
Seems need add some headers for build with incoming Qt 5.11 (Tested with 5.11.0beta2)
2018-04-10 12:59:41 +02:00
Yorik van Havre
d4f835ab39 Merged translations from crowdin 2018-03-26 18:52:02 -03:00
wmayer
0859db6415 improve German translation 2018-03-21 11:38:01 +01:00
luz.paz
b45bc4889d 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
7e1334b1f9 fix Debian bug #825861 2018-03-14 18:05:24 +01:00
wmayer
8c6b4ad1a6 fix German translation 2018-03-03 23:37:15 +01:00
tomate44
dd49ee27fd add simulate function to MakePipeShell 2018-03-02 10:47:45 -03:00
Yorik van Havre
29864ff821 Part: Added an icon to Make Compound command 2018-02-27 12:48:11 -03:00
Yorik van Havre
12f3258ded Applied latest translations from crowdin 2018-02-21 14:25:31 -03:00