Commit Graph

2388 Commits

Author SHA1 Message Date
wmayer
63c5c25b03 Part: [skip ci] add unit test for PR #7258 2022-07-27 14:44:29 +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
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
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
adrianinsaval
73f91e3623 Improve grid maxNumberOfLines warning message 2022-07-25 21:01:12 +02:00
wmayer
2b039d67fe Part: Fix several clazy issues:
* Maybe you meant to call Primitive::onChanged() instead [-Wclazy-skipped-base-method]
* Maybe you meant to call Primitive::mustExecute() instead [-Wclazy-skipped-base-method]
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Use multi-arg instead [-Wclazy-qstring-arg]
* Use midRef() instead [-Wclazy-qstring-ref]
2022-07-25 08:31:18 +02:00
wmayer
33a07fcdf0 Part: initialize controls of DlgImportExportStep with ImportExportSettings 2022-07-23 21:16:04 +02:00
wmayer
231c5f44d9 Part: implement class ImportExportSettings for consistent parameter access 2022-07-23 21:15:22 +02:00
Syres916
3b6e5d7b79 [Part] Bugfix Primitives correction of decimal..
...places on creation
See https://forum.freecadweb.org/viewtopic.php?f=3&t=70339
2022-07-23 03:27:32 +02:00
wmayer
cdaff7f550 Part: fix TopoShape.isInside() for faces 2022-07-22 15:32:30 +02:00
luz paz
e3bdf0a1ef Fix typos in Part and TechDraw workbenches
[skip ci]
2022-07-21 15:15:35 +02:00
wmayer
1e3275a065 Part: add instruction how to adjust the maximum number of grid lines 2022-07-19 11:50:56 +02:00
Uwe
db920f7222 [Part] add missing part from: cleanup new preferences Feature 2022-07-19 01:16:47 +02:00
Uwe
763a575b23 Mod: remove some unnecessary nullptr checks 2022-07-18 12:58:12 +02:00
Uwe
d2ccbc75c4 [Part] cleanup new preferences Feature
- correct preferences location
- handle preferences packs
- remove unused code
2022-07-18 12:42:26 +02:00
Uwe
73887b6399 [Part] DlgSettingsMeasure.ui: change wording style
to match the style used be the other Part preferences tabs
2022-07-18 12:16:31 +02:00
VM4Dim
7181024879 [PartGui] Add Font and Color Preferences to Measure dimensions (#7148)
* [Part] Add Font and Color Preferences to Measure dimensions v4

authored-by: VM4Dim <vm4dim@users.noreply.github.com>
Co-authored-by: Uwe <donovaly@users.noreply.github.com>
2022-07-18 11:52:00 +02:00
Uwe
24468b59ad 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
0ff8a02105 [Part] remove more superfluous nullptr checks 2022-07-18 01:36:27 +02:00
Uwe
48e84945ed [Part] remove superfluous nullptr checks 2022-07-17 18:06:21 +02:00
wmayer
654de93621 Gui: implement mechanism to set a custom icon name or tooltip of a preferences group 2022-07-16 19:27:22 +02:00
Uwe
0c5407b63d [Gui] preferences: clarify Part/PD page
- users are confused that we have a preferences page named "Part design" that also defines things for the Part WB. The Wiki is clear that the preferences page is for both, Part and PD, however the UI is not.
This PR makes this clear.
2022-07-16 16:20:36 +02:00
wmayer
74e77f0191 Part: replace PyObject_Not with Base::asBoolean 2022-07-16 14:10:34 +02:00
wmayer
b6494085b4 Part: replace PyObject_IsTrue with Base::asBoolean 2022-07-16 13:31:10 +02:00
wmayer
a8ac45b090 Replace std::ignore with boost::ignore_unused()
According to https://isocpp.org/blog/2016/09/quick-q-stdignore-for-ignoring-unused-variable std::ignore is not supposed to be used for this
2022-07-15 13:15:47 +02:00
wmayer
a0012ce7c0 Part: [skip ci] fix possible build failure 2022-07-11 11:12:45 +02:00
Uwe
030aba9b92 [Part] [PD] add preferences setting for transparency
- allow to specify the default transparency for new shapes
2022-07-09 23:24:17 +02:00
Uwe
869d8d8062 [Part] AppPartPy.cpp: compilation fix for precompiled headers 2022-07-09 19:04:40 +02:00
Uwe
e5be6dc241 [Part] Geom2d*: add more necessary includes
- these gp_* inlcudes are weird
2022-07-09 18:43:18 +02:00
Uwe
22c130e475 [Part] ShapeFix: remove unneeded includes
- also sort includes
2022-07-09 18:30:04 +02:00
Uwe
d758c92bb1 [Part] Geom2d*: add more necessary includes 2022-07-09 18:28:36 +02:00
Uwe
4c404b6353 [Part] Geom2d*: add necessary includes 2022-07-09 18:15:02 +02:00
Uwe
c97236a503 [Part] Geom2d: remove unneeded includes
- also sort includes
2022-07-09 17:57:53 +02:00
Uwe
98d6dda84c [Part] ChFi2d_FilletAlgoPyImp.cpp: add necessary include 2022-07-09 17:28:22 +02:00
Uwe
363f9258d8 [Part] ChFi2d etc.: remove unneeded includes
- also sort includes
2022-07-09 17:13:38 +02:00
Uwe
98c36665be [Part] FeaturePart*: remove unneeded includes
- also sort includes
2022-07-09 16:57:06 +02:00
Uwe
6aed12384a [Part] FeatureRevolution.cpp: add necessary includes 2022-07-09 16:37:26 +02:00
Uwe
a09833896c [Part] FeatureExtrusion.cpp: add necessary include 2022-07-09 16:20:24 +02:00
Uwe
d58a05dc18 [Part] Feature*: remove unneeded includes
- also sort includes
2022-07-09 15:59:22 +02:00
Uwe
86eb643854 [Part] Arc*: remove unneeded includes
- also sort includes
2022-07-09 14:38:13 +02:00
Uwe
c2c7f485db [Part] App*: remove unneeded includes
- also sort includes
2022-07-09 14:11:56 +02:00
Uwe
4f33fd1056 [Part] Attach*: remove unneeded includes
- also sort includes
2022-07-09 13:20:06 +02:00
Uwe
8dd7fb8be1 [Part] [Skip CI] BRepOffsetAPI_MakePipeShellPyImp: re-add an include 2022-07-09 04:12:32 +02:00
Uwe
9694ac0297 [Part] B*: remove unneeded includes
- also sort includes
2022-07-09 03:52:17 +02:00