Chris Hennes
df0054bbf1
Part: translate geometry check results
2023-04-17 16:06:15 -05:00
wmayer
ad29f1628a
Part: fix -Wclazy-connect-by-name
2023-04-05 00:44:13 +02:00
wmayer
b57e5646f6
Part: move to new style connect()
2023-01-13 17:14:07 +01:00
Uwe
0533550f95
remove some unnecessary Boolean checks
...
- checks for true/false and nullptr
2022-12-12 21:17:49 -06:00
Uwe
998056364d
[Part] Task*: remove unused includes - part 1
...
- also some sorting
2022-09-26 03:05:23 +02:00
Uwe
5d76afe0a5
re-add some nullptr
...
to be safe since their removal within assert() or bools might have some impact I don't know
2022-07-18 02:32:36 +02:00
Uwe
5f8e0c46ee
[Part] remove more superfluous nullptr checks
2022-07-18 01:36:27 +02:00
Uwe
e491ba8d12
[Part] remove superfluous nullptr checks
2022-07-17 18:06:21 +02:00
wmayer
4ec9c381d4
Part: re-add dropped parameter ( 93525ff7eb)
2022-06-25 16:14:14 +02:00
andrea
93525ff7eb
removed references to OCC<7
2022-06-25 14:29:24 +02:00
mwganson
d41395bbd1
Part: CheckGeometry handle non-ascii characters in object names when generating advanced shape content
2022-04-06 05:08:39 +02:00
wmayer
068c0e5a98
Part: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
8f894ebefe
[Part] remove Python.h from headers
...
seems not to be necessary anymore
2022-03-20 14:16:55 +01:00
mwganson
c93c0e6aaf
[Part::CheckGeometry] pass object to buildShapeContent() rather than string as docname.objname
2022-01-05 15:06:49 +01:00
mwganson
22a4270a51
[Part::CheckGeometry] add edwilliams16's code for some global properties to the advanced shape content
2022-01-01 11:39:05 +01:00
wmayer
74639da997
OCCT: port FreeCAD sources to version 7.6
...
SMESH is not yet ported
Although FreeCAD code compiles with OCCT 7.6 it doesn't work at the moment
2021-10-09 13:49:02 +02:00
luz paz
5cef2ce379
Crowdin: remove obsolete translation manually [skip ci]
...
For some reason updatets.py is not successfully removing obsolete translations. This is a long standing issue. The workaround is to manually remove them from the .ts file.
ref: https://forum.freecadweb.org/viewtopic.php?f=21&t=51825&p=483474#p482519
crowdin: https://crowdin.com/translate/freecad/7254/en-pl?filter=basic&value=0#6572886
2021-04-19 06:23:07 -04:00
luz paz
f2b93a7af3
Crowdin: represent whitespace in code instead of in string [skip ci]
...
Removing possible whitespace from strings lead to more accurate translations
2021-04-19 06:16:09 -04:00
Chris Hennes
00d9dd965f
[Part] Remove deprecated Qt < 5.9 code
2021-04-01 19:36:40 +02:00
Benjamin Nauck
afb1d0fbc9
[Path] Switch from boost::tuple to std::tuple
...
It's better to use the standard lib when possible
2021-03-06 19:31:06 +01:00
Chris Hennes
3ef6e1c6d0
[OTHER] Catch only Exception, not BaseException
2021-02-11 11:52:45 +01:00
Chris Hennes
46a899c437
[Part] Coverity: dtors can't throw
2021-02-09 23:58:09 +01:00
wmayer
11afaaea68
Part: [skip ci] port class TaskCheckGeometryResults to OCCT 7.5
2020-10-09 08:39:42 +02:00
wmayer
de64e6500b
Part: port class BOPProgressIndicator to OCCT 7.5
2020-10-09 02:42:13 +02:00
wmayer
fd9cdb9de9
Part/Import: [skip ci] disable use of Message_ProgressIndicator for OCC >= 7.5 due to major API changes
2020-10-08 14:48:35 +02:00
mwganson
df0204466e
[CheckGeometry] fix segfault, reformat output with lower case, use try/except to check for runtime python errors and fall back on OCCT method if script failed.
2020-09-03 12:09:38 +02:00
mwganson
a4e38baeb3
[CheckGeometry] add new shapecontent builder instead of OCCT's to correct some errors in OCCT's values and to add for some more advanced information, e.g. volume or area, add new method to Base::Interpreter runStringWithKey() -- allows to run a python script and get a string return value
2020-09-03 12:09:38 +02:00
wmayer
cbb5f99ade
PVS: V730 Not all members of a class are initialized inside the constructor
2020-07-18 10:59:27 +02:00
Syres916
25ea264cda
[Gui] Part TaskCheckGeometry change Error to Log..
...
for faulty geometry output, The user can still see all the error output in the task panel but by default they will see nothing in the Report View as Log is not Enabled for new users. See discussion https://forum.freecadweb.org/viewtopic.php?f=15&t=46803#p402533
2020-05-28 18:45:36 +02:00
asapelkin
e951094af9
use emplace_back instead of push_back where justified
2019-11-21 14:48:09 +01:00
mwganson
70d3983258
[Geometry check] open settings page first before running check, add 2 new navigation buttons: settings and results, allow to collapse results box
2019-09-03 17:37:48 +02:00
mwganson
c18dab4a75
[GeometryCheck] add new settings options
2019-09-03 17:37:34 +02:00
Zheng, Lei
6da72b9859
Part: changes to Part Module
...
* Added Part::Feature::getTopoShape/getShape() function that can obtain
shape from any object with proper implementation of getSubObject(). It
can even construct compound from group object with proper implementation
of getSubObjects().
* Modified ViewProviderExt to work on any object, because it now obtain
the shape using Part::Feature::getShape()
* Modified various Part features to obtain base/tool shapes using
Part::getShape(), which allows them to be any type of object,
including Link and groups.
* Modified various Part command to relax type requirement on selected
objects.
* Add support of link and group to dimension, and add dimension refresh
command
* Support link and group in simple command command, and add a few more
copy command variations.
* Add special handling of 'Shape' attribute in PropertyContainerPy and
use Part::Feature::getShape() to return shape for any object without
Shape property. This allows many python feature work with any object
without modification.
* GeometrySurface/CurvePy, add convenience attribute 'Rotation'
* TopoShapePy:
* Extended support of sub shape attribute, e.g. Compound1, Solid2,
SubShape3 ('SubShape' is used to access child shape of a compound)
* makeWires(), new API to sort and return wires given a list of edges.
* transformed/translated/rotated/scaled(), return a new shape with
some transformation.
* findPlane(), find the plane of a planar shape
* isCoplanar(), check if two shape are coplanar
2019-08-17 15:08:35 +02:00
mwganson
9a3fe1fb78
TaskCheckGeometry -- log geometry check errors to report view
2019-06-26 12:13:23 +02:00
mwganson
961ffce93e
TaskCheckGeometry settings panel with runBOPCheck option
2019-06-26 12:02:43 +02:00
Abdullah Tahiri
df38102017
PCH: Part GUI
2019-05-03 23:15:25 +02:00
wmayer
24cf5d23b5
fix possible crash when aborting geometry checker
2018-09-19 13:50:44 +02:00
wmayer
b04ea27042
do not show dialog of progress indicator for OCCT < 6.9.0
2018-08-17 08:10:16 +02:00
wmayer
e290de07a9
BOPAlgo supports progress indicator since version 6.9.0
2018-08-15 09:09:44 +02:00
wmayer
d5c63cf211
add progress indicator to BOP check task panel
2018-08-14 23:51:02 +02:00
Mark Ganson TheMarkster
99b077cf80
use parallel mode of BOPCheck class
2018-08-13 10:10:27 +02:00
wmayer
c582b069ba
fix compiler warnings with py3 and msvc
2018-04-16 18:24:53 +02:00
wmayer
9e0ddec00a
port to occ 7.2.1
2018-01-03 14:31:52 +01:00
wmayer
4c7a0a1404
port to occ 7.2.1
2018-01-03 14:16:23 +01:00
Kunda
99c99006b8
source typo fixes pt4 (only on py3 merged code)
2017-03-02 13:47:21 +01:00
wmayer
1ce73dda96
fix -Wextra in Part
2016-09-22 11:49:28 +02:00
Mateusz Skowroński
d7240c6b2b
Fix some GCC warnings.
2016-07-15 13:05:37 +02:00
wmayer
8a30ac74b0
+ fix gcc warning
2016-07-02 14:28:59 +02:00
blobfish
b5dfc41759
Part: Check Geometry: see following
...
adding parallel mode for bopargcheck. didn't help speed.
add time to bopalgo check
entry for stopOnFirstFaulty. didn't help speed.
adding new bopalgochecks
2016-05-15 00:06:22 +02:00
Mateusz Skowroński
cd2db00f22
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00