Commit Graph

14845 Commits

Author SHA1 Message Date
cclauss
59731e95a8 Undefined name: to --> 'to' (again)
Just like #1884 but on a different file.
```
./src/Tools/FCFileTools.py:47:50: F821 undefined name 'to'
                print('Error copying', pathFrom, to, pathTo, '--skipped')
                                                 ^
./src/Tools/FCFileTools.py:86:54: F821 undefined name 'to'
                    print('Error copying', pathFrom, to, pathTo, '--skipped')
                                                     ^
```
2019-01-08 11:57:18 -02:00
Yorik van Havre
e638705bc4 Draft: Fixed grid not appearing on working plane setup 2019-01-08 11:43:36 -02:00
wmayer
1ebcb36545 Remove decode as returned object by translate() function is a unicode oject 2019-01-08 13:23:51 +01:00
wmayer
55a4f78adf Add command to create coordinate system as datum item 2019-01-08 12:48:37 +01:00
Yorik van Havre
6efd6de4c1 Start: Show 'New' button even if recent files list is empty 2019-01-07 19:44:49 -02:00
cclauss
a7c0f4bc5b Drop depencence on six module 2019-01-07 15:51:34 +01:00
cclauss
51ab27f54a Fix file, long, raw_input, and xrange for Python 3 2019-01-07 15:42:37 +01:00
easyw
fdb855e366 minor fix on SVG import 2019-01-07 12:26:34 -02:00
cclauss
3c4a5389d6 Undefined name: Typo ‘newob‘ —> ‘newobj’
Discovered via #1883
2019-01-07 12:26:07 -02:00
cclauss
9af7b83538 Missing import FreeCAD and/or FreeCADGui (again) 2019-01-07 12:25:27 -02:00
Yorik van Havre
59eb1735bc Arch: Fixed wrong movement of references on reload 2019-01-07 11:19:32 -02:00
Yorik van Havre
e10e90516e Draft: Fixed wrong Qt import 2019-01-07 11:18:49 -02:00
Yorik van Havre
a9f1a0c4e2 AddonManager: Don't overwrite displayed text after a module install/removal 2019-01-06 22:26:03 -02:00
wmayer
1a8d3a7030 make handling more user-friendly if Sketch is outside of Body object 2019-01-06 22:43:14 +01:00
wmayer
a395c570f8 respect transparency when setting color per face 2019-01-05 19:50:12 +01:00
lorenz
ab1f4c442d py3: AddonManager-macro: use unicode
proposal from here: https://forum.freecadweb.org/viewtopic.php?f=3&t=33172&start=10#p278156
2019-01-05 14:50:25 +01:00
wmayer
2c3268f9f6 Py3: use feature detection instead of version detection 2019-01-05 13:11:04 +01:00
Markus Lampert
381f087536 Using fixed size images for qt5/4 compatibility 2019-01-05 12:30:41 +01:00
Markus Lampert
81729f6621 Setting fixed size for tool images 2019-01-05 12:30:41 +01:00
Markus Lampert
6e0a5580b8 Fixed Queue import for py3 2019-01-05 12:30:41 +01:00
Markus Lampert
cd1ebb1732 Fixed indexing dictionary keys 2019-01-05 12:30:40 +01:00
cclauss
d33098860d Fix TabError for Python 3
Was split out of #1885...
```
./src/Tools/ArchiveNameFromVersionHeader.py:41:34: E999 TabError: inconsistent use of tabs and spaces in indentation
	version['FCRepositoryHash'] = SHA
                                 ^
```
2019-01-05 12:20:49 +01:00
Bernd Hahnebach
ade267b8f6 Arch: import ifc, code formating, flake8, only the most important ones 2019-01-05 12:17:52 +01:00
Bernd Hahnebach
bc31a9afcd Material: code formating, flake8 2019-01-05 12:17:52 +01:00
Bernd Hahnebach
b3de953c18 Material: code formating, file beginnings Python block comment with space, flake8 E265 2019-01-05 12:17:52 +01:00
Bernd Hahnebach
86c7a85e3c FEM: code formating, flake8, make line breaks before binary operator, it really reads better :-) 2019-01-05 12:17:51 +01:00
eszlari
19cd5690e7 XDGData: remove CMAKE_CURRENT_SOURCE_DIR 2019-01-05 12:15:58 +01:00
eszlari
0177c8b64e Linux mime: add icon 2019-01-05 12:15:58 +01:00
Yorik van Havre
d9f8cfac18 Arch: Fixed wire/edge bug in IFC import 2019-01-04 22:48:49 -02:00
Yorik van Havre
41a9f5bbab Updated credits page 2019-01-04 15:25:12 -02:00
wmayer
9f2904e8ec fix flake8 issues suggested by cclauss 2019-01-04 15:30:17 +01:00
Bernd Hahnebach
56db51867c FEM: ccx tools, better error handling on run ccx 2019-01-04 15:28:17 +01:00
Bernd Hahnebach
37a2cceab3 FEM: ccx tools, ccx run, set ret code to 0 for check analysis and return ret code 2019-01-04 15:28:17 +01:00
Bernd Hahnebach
76541ca1b5 FEM: ccx tools, debug prints 2019-01-04 15:28:16 +01:00
Bernd Hahnebach
2e6dac1871 FEM: code formating, flake8 2019-01-04 15:28:16 +01:00
Bernd Hahnebach
3f443d2264 FEM: result reading, debugg prints 2019-01-04 15:28:16 +01:00
Bernd Hahnebach
8a3fd0caf6 Arch: IFC, print code formating in the regard of Py3 2019-01-04 15:28:16 +01:00
wmayer
64fa8cb855 improve handling of (raw) input in Python console 2019-01-04 14:16:50 +01:00
wmayer
2c838bfc7d fix typo in StartPage module 2019-01-04 10:56:34 +01:00
wmayer
df3853738e fix several Py3 issues 2019-01-03 18:11:37 +01:00
cclauss
7afb54f49b Undefined name: to --> 'to'
```
./src/Tools/fcbt/FileTools.py:47:50: F821 undefined name 'to'
                print('Error copying', pathFrom, to, pathTo, '--skipped')
                                                 ^
./src/Tools/fcbt/FileTools.py:86:54: F821 undefined name 'to'
                    print('Error copying', pathFrom, to, pathTo, '--skipped')
                                                     ^
```
2019-01-03 17:38:45 +01:00
wmayer
7ba92f96a5 reduce code duplication 2019-01-03 17:33:39 +01:00
wmayer
8358d7f876 Qt5: don't use native color dialog 2019-01-03 16:14:12 +01:00
wmayer
b8455531c1 declare private intersect() function as static to make clear it doesn't belong to a GeomCurve instance 2019-01-03 15:40:59 +01:00
wmayer
2aa4f8c47f Update copyright notice 2019-01-03 15:37:02 +01:00
tomate44
9ea523a9e0 fix intersectCC method missing some intersection points for Geom2d curves 2019-01-03 12:33:58 +01:00
wmayer
3ba0772d97 handle C++ exception in Python interface 2019-01-03 12:19:37 +01:00
Silas
8526b0747e Improve readability with some comments 2019-01-03 11:43:43 +01:00
Silas
309640eb7f Only changes the ViewSystem if the user confirms
UnitsApi::setSchema() was being called when the user changed the
comboBox item, so the view system was saved if the user later clicked
Cancel.  This call was moved to the saveSettings() method that is called
only if the user clicks Apply or OK.
2019-01-03 11:43:43 +01:00
cclauss
f1c6c549a9 Cannot mix bytes and nonbytes literals in OpenSCADUtils.py
Fixes Travis test failure: https://travis-ci.org/FreeCAD/FreeCAD/jobs/474743289#L8528
2019-01-03 11:37:00 +01:00