Commit Graph

23134 Commits

Author SHA1 Message Date
Chris Hennes
044b7ed744 Addon Manager: Add dialog to manage Python deps 2022-07-27 09:59:25 -05:00
Uwe
c25c0888c9 [FEM] fix PostObject hiding issue
- when a PostObject is hidden the FemPostDataAtPointFilter must not be taken into account
2022-07-27 16:56:06 +02:00
Uwe
9a9ac18916 [FEM] save icons as plain SVG - part 2/2 2022-07-27 16:42:46 +02:00
Uwe
4c08e41a88 [FEM] PostDataAtPoint: remove unnecessary style setting
- PostDataAtPoint is a point therefore setting a filling style is not necessary

- also fix a typo in a comment
2022-07-27 16:15:04 +02:00
Uwe
1b5d51f5b8 [Sketcher] [skip CI] CommandCreateGeo: code style fix
- the MSVC IDE had problems with this, thus apply our .clang style
2022-07-27 16:05:39 +02:00
wmayer
63c5c25b03 Part: [skip ci] add unit test for PR #7258 2022-07-27 14:44:29 +02:00
0penBrain
776c17df01 [BUGFIX] Sketcher: fix icon normal/construction toggling when commands used in custom toolbar
Fixes #7064
2022-07-27 14:28:54 +02:00
luz paz
b42c1b32a5 Trim trailing whitespace for Part/App/BSplineSurfacePyImp.cpp 2022-07-27 14:27:08 +02:00
tomate44
0398a684df [Part] BSplineSurface: add setBounds method 2022-07-27 14:27:08 +02:00
wmayer
bb846fa62c Part: [skip ci] add unit test for PR #7260 2022-07-27 14:18:27 +02:00
tomate44
07805f1a61 [Part] BSplineSurface: fix KnotSequence for periodic BSpline surfaces 2022-07-27 14:14:01 +02:00
Uwe
d81fe59c2e [FEM] remove checks for Python 2 2022-07-27 14:09:23 +02:00
berniev
ba06e203be Fix column number calc
(cherry picked from commit 0a8b875751c9469a52548730539dfd4b4fc51acc)
2022-07-27 13:45:33 +02:00
wmayer
a693b1bf4e Test: [skip ci] fix typo 2022-07-27 13:35:34 +02:00
wmayer
f3b02a487f App/Test: implement unit test for PR #7250 2022-07-27 13:22:00 +02:00
wmayer
fc585f4af4 Spreadsheet: Returning data of temporary QByteArray [-Wclazy-returning-data-from-temporary] 2022-07-27 07:42:55 +02:00
wmayer
526228c89e Spreadsheet: fix several memory leaks 2022-07-27 07:37:23 +02:00
Uwe
9c89935297 [FEM] skip CI] update a comment 2022-07-27 03:54:26 +02:00
Uwe
591b0f3e1b [FEM] update ViewProvider selection code
as suggested in
7884cb92d9 (r79459854)
2022-07-27 03:51:46 +02:00
Uwe
1c419864c3 [FEM] save icons as plain SVG - part 1/2 2022-07-27 03:34:04 +02:00
Uwe
2e9788d488 [FEM] BodyHeat constraint: use unique icon
- it was not possible to distinguish the constraint from the heatFlux constraint
2022-07-27 03:09:15 +02:00
Uwe
9c7af25d26 [FEM] BodyHeat constraint: hide unused property
- the constraint does not take a references and when trying to set one as user because one thinks this empty property must be set, one gets a recompute error
2022-07-27 02:55:29 +02:00
Uwe
1cc410cb1e [FEM] update Elmer tests after commit 594b65b3 2022-07-27 02:33:42 +02:00
Uwe
2b6f351880 [FEM] Elmer: a fix for keywords
- according to the Elmer solver manual, check keywords have to be quoted
2022-07-27 01:48:10 +02:00
wmayer
0561348bfc Part: move initialization of STEP/IGES reader/writer to ImportExportSettings::initialize() 2022-07-26 22:34:20 +02:00
wmayer
4ba5aef334 Part: [skip ci] change some default parameters for STEP export 2022-07-26 19:34:55 +02:00
wmayer
781997984d TD: Use new-style syntax of connect()
When fixing clazy issues -Wclazy-fully-qualified-moc-types then old-style syntax of connect() may fail. Thus, replace it with the new-style syntax
2022-07-26 16:10:45 +02:00
Benjamin Bræstrup Sayoc
c8ca1c4631 [TechDraw] Make image test a unittest 2022-07-26 09:40:19 -04:00
Benjamin Bræstrup Sayoc
ab612c3cd5 [TechDraw] Make symbol test a unittest 2022-07-26 09:40:19 -04:00
Benjamin Bræstrup Sayoc
a9a31ad3b8 [TechDraw] Make annotation test a unittest 2022-07-26 09:40:19 -04:00
Benjamin Bræstrup Sayoc
64f6249ee9 [TechDraw] Make hatch test a unittest 2022-07-26 09:40:19 -04:00
andrea
e3adea272c Remove deprecated function 2022-07-26 08:52:04 -04:00
Yorik van Havre
612be230b2 Merge pull request #7249 from Roy-043/Draft-Improve-alignToFace-in-WorkingPlane.py
Draft: Improve alignToFace in WorkingPlane.py
2022-07-26 10:27:53 +02:00
Yorik van Havre
9f0d9bb6cd Merge pull request #7243 from Roy-043/Draft-Housekeeping-import-translate-from-correct-file
Draft: Housekeeping: import translate from correct file
2022-07-26 10:25:21 +02:00
Uwe
e425ed39a6 [FEM] PostObject: improve color bar refreshing
- for data point filters the color bar must not be updated
2022-07-26 04:00:02 +02:00
Uwe
f0d633eb4b [FEM] Elmer writer: fix errors on missing material properties
- we must in this case raise an error and stop the writer script
2022-07-26 03:37:55 +02:00
Uwe
bb5c445848 [FEM] add generic Aluminum material
- with full thermal info
2022-07-26 03:20:27 +02:00
Uwe
4325f0386c [FEM] update bodyHeatSource
- to the state of the other constraints

(this constraint is currently completely broken by the way)
2022-07-26 01:47:09 +02:00
Uwe
fb99e37727 [TD] remove unnecessary nullptr checks 2022-07-26 00:28:57 +02:00
Uwe
648af9b7c3 [Part] ReferenceHighlighter: re-add necessary include 2022-07-26 00:15:06 +02:00
Uwe
c27eacce17 [Part] Gui: M to S: remove unused includes
- also sort includes
2022-07-26 00:10:47 +02:00
Uwe
a815c0c316 [Part] A to C: remove unused includes
- also sort includes
2022-07-25 23:52:02 +02:00
Uwe
f38144c353 [PD] AppPartDesignGui: sort includes 2022-07-25 23:36:39 +02:00
0penBrain
b3cbedcc4e Make image scaling command aware of user units (#7222)
* Image: image scaling command is user unit aware ; fixes #6118

- if unitless value entered, InputField uses user choosen base unit
 Before change, always used FC core base unit
 Only applies to GUI user entered values, value changed programmatically still ...
 ... considered in core base unit if applied unitless
2022-07-25 21:17:02 +02:00
adrianinsaval
73f91e3623 Improve grid maxNumberOfLines warning message 2022-07-25 21:01:12 +02:00
wmayer
c5910c1530 TD: [skip ci] Fix several clazy issues:
* Using copy-ctor but class TechDraw::anglePoints has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
* Using copy-ctor but class TechDraw::arcPoints has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* C++11 range-loop might detach Qt container (QList) [-Wclazy-range-loop-detach]
* signal arguments need to be fully-qualified (TechDrawGui::QGIView instead of QGIView) [-Wclazy-fully-qualified-moc-types]
* Use multi-arg instead [-Wclazy-qstring-arg]
* Use midRef() instead [-Wclazy-qstring-ref]
2022-07-25 17:00:48 +02:00
wmayer
a93082bc06 PD: [skip ci] Fix several clazy issues:
* Maybe you meant to call base method instead [-Wclazy-skipped-base-method]
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Mixing iterators with const_iterators [-Wclazy-strict-iterators]
* Unused QByteArray [-Wclazy-unused-non-trivial-variable]
* C++11 range-loop might detach Qt container (QList) [-Wclazy-range-loop-detach]
2022-07-25 13:40:19 +02:00
wmayer
50ef527ded Sketcher: [skip ci] Fix several clazy issues:
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Unused QString [-Wclazy-unused-non-trivial-variable]
* Missing emit keyword on signal call [-Wclazy-incorrect-emit]
* Don't call QList::operator[]() on temporary [-Wclazy-detaching-temporary]
* Use multi-arg instead [-Wclazy-qstring-arg]
* Maybe you meant to call ViewProvider2DObjectGrid::onChanged() instead [-Wclazy-skipped-base-method]
2022-07-25 12:56:09 +02:00
wmayer
af71685a50 Path: [skip ci] Fix several clazy issues:
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
2022-07-25 12:21:32 +02:00
wmayer
a9a4cf3d6d Fem: [skip ci] Fix several clazy issues:
* Maybe you meant to call base method instead [-Wclazy-skipped-base-method]
* Using copy-ctor but class SbMatrix has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
* Missing emit keyword on signal call FemGui::PointMarker::PointsChanged [-Wclazy-incorrect-emit]
2022-07-25 12:11:47 +02:00