luzpaz
82cdbebe97
PD: Fix 'testing inequality to None' syntax ( #7279 )
...
* PD: Fix 'testing inequality to None' syntax
- Substitute `is not None` for `!= None`
- Fix trailing whitespace
2022-07-30 04:01:40 +02:00
Chris Hennes
d860c4bb2d
PD: Fix w[z] plot in ShaftWizard
2022-06-01 19:48:42 -04:00
Uwe
2de25dd04e
[PD] fix Shaft wizard
...
- the functionality is now in FC's core, for more info see: https://forum.freecadweb.org/viewtopic.php?p=599044#p599044
and following
2022-06-01 16:13:09 +02:00
luzpaz
2a900b1850
[PartDesign] Expose WizardShaft/ strings to translation ( #4964 )
...
* [PartDesign] Expose WizardShaft/ strings to translation
* Correct use of double quotes
* [PD] Suggested changes in `Crowdin/pd-wizard-shaft` (#4 )
* [PartDesign] Use correct method name in `WizardShaft`
Use `QtCore.QT_TRANSLATE_NOOP` instead of `QT_TRANSLATE_NOOP` because latter is
not what is imported.
* [PartDesign] Remove undesired translations in `WizardShaftTable.py`
See comments by @chennes on PR#4964.
Co-authored-by: Ajinkya Dahale <AjinkyaDahale@users.noreply.github.com >
2021-08-13 18:16:42 -05:00
luzpaz
b0b4b321cb
[PartDesign] Linting and cleaning superfluous whitespace ( #4851 )
...
* [PartDesign] Linted Mod/PartDesign/Scripts for pep8 compliance
* [PartDesign] Fix superfluous whitespace in WizardShaft/
* Added spaces per @chennes's feedback
2021-08-11 15:02:58 -05:00
wmayer
be11a92f4e
PD: [skip ci] in wizard shaft handle case where Plot module is not available
2020-12-11 16:09:01 +01:00
wmayer
ed063646ed
PD: [skip ci] fix invalid strings
2020-12-09 16:59:34 +01:00
wmayer
37c4d51501
PartDesign: [skip ci] Coverity: Structurally dead code
2020-09-22 20:22:26 +02:00
wmayer
46ab178102
PartDesign: [skip ci] Coverity: Bad use of null-like value
2020-09-22 20:03:42 +02:00
wmayer
60443034a4
PartDesign: [skip ci] fix method to access main window in shaft wizard
2020-09-22 19:15:59 +02:00
donovaly
f2c83ac46b
remove program-specific SVG namespaces
...
while fixing a SVG export issue for techDraw I noticed that some SVG files have program-dependent (and thus not clean) code in it. These are traces of the programs Sodipodi and Inkscape, like e.g. this line:
inkscape:export-filename="/home/yorik/PartDesign_Groove.png
This is unnecessary and FC should not use program-dependent code in the SVG but use instead plain SVG strictly following the SVG specification.
This PR transforms the few affected SVGs to a plain version.
2020-02-07 07:34:49 -05:00
wmayer
1f92535883
PartDesign: [skip ci] set explicit encoding of Python files for backward compatibility
2020-01-09 17:07:04 +01:00
luz.paz
d38f18af23
PartDesign: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all PartDesign WB files
2019-12-22 00:58:38 +01:00
wmayer
fb43b00501
[skip ci] fix SyntaxWarning: 'is not' with a literal. Did you mean '!='?
2019-11-25 16:29:56 +01:00
luz.paz
1bc33025d6
LGTM: various fixes for using string operator instead of numeric
2019-10-25 10:33:12 -03:00
wmayer
1dbbb4371b
Py3: Port Wizard shaft to Python 3
2018-11-27 18:13:35 +01:00
looooo
fa99f792e3
Py3: PartDesign: relative imports
2018-08-19 10:59:11 +02:00
luz.paz
781d007321
Misc. typos
...
Found via `codespell`
Trivial typos
Found via `codespell`
2018-08-18 21:48:42 +02:00
looooo
be5ea8391c
PySide2: qApp -> QApplication
2018-04-14 10:40:31 +02:00
luzpaz
c1152f2a2c
PartDesign: typos
2017-12-25 11:04:43 +01:00
wmayer
bd59cea7f3
fix Shaft Wizard due to renamed property
2017-11-17 12:18:24 +01:00
Priit Laes
da1081bc98
python: PartDesign: *.py: Fix python3 syntax
2017-03-01 17:19:24 +01:00
wmayer
1855c80f36
replace Part.Line with Part.LineSegment
2016-11-30 21:25:18 +01:00
jrheinlaender
2954d9a960
Port of WizardShaft to PySide
2014-01-06 16:21:09 -02:00
jrheinlaender
be36a348c8
Shaft Wizard: Right-click on column header brings up context menu
2013-03-24 16:28:13 +04:30
jrheinlaender
f9d677e594
Shaft Wizard: Removed unnecessary (and erroneous) class variables which now allows the wizard to be called multiple times in a session...
2013-03-24 15:52:15 +04:30
jrheinlaender
a085e21e9a
Bug fixes
2013-03-22 19:29:45 +04:30
jrheinlaender
d6dadf0a3b
Fixed unit mismatches in Shaft Wizard
2013-03-22 08:12:05 +04:30
jrheinlaender
ac91d8b0ec
Enhancements to Shaft Design Wizard, e.g. display of stresses for three axes and bending curve for shaft
2013-03-21 16:58:40 +04:30
jrheinlaender
d48542cf56
Split code into separate files for each constraint type
2013-03-21 16:56:57 +04:30
wmayer
6455c4edad
Update draft and shaft icons
2012-12-04 12:21:54 +01:00
jrheinlaender
ea1ae29985
WizardShaft: Automatic adjustment of axes length
2012-12-03 21:43:45 +01:00
jrheinlaender
3a8b127e6a
Added inner diameter parameter for shaft wizard
2012-12-03 21:43:45 +01:00
jrheinlaender
48f06f64b8
Fixed bug that showed wrong scaling (m instead of mm) on x axis
2012-12-03 21:43:45 +01:00
wmayer
58a0ad50ec
0000896: ShaftDesign wizard incorrectly calls the active document
2012-12-03 14:28:56 +01:00
wmayer
747a0f1241
Add shaft icon without feature key
2012-12-03 12:12:09 +01:00
wmayer
c2d972d5f5
Add correct shaft icon
2012-12-03 12:11:03 +01:00
wmayer
6dddb653d3
Add icon to wizard shaft, error handling of missing python modules, slight changes to the wizard shaft command
2012-12-02 15:24:55 +01:00
jrheinlaender
179f526cd2
Added accept() method
2012-12-02 13:29:07 +01:00
jrheinlaender
0a98b35fea
Moved the UI from a dock window into a task window
...
Added menu entry in PartDesign workbench menu
2012-12-02 13:29:06 +01:00
jrheinlaender
a375f6b4a9
Use plot module for graphs
2012-12-02 13:29:06 +01:00
jrheinlaender
1eb738fc3f
Changed list views to comboboxes in the table
2012-12-02 13:29:05 +01:00
jrheinlaender
5c1948d8b6
Created shaft wizard (moved here from PartDesign branch)
2012-12-02 13:29:05 +01:00