Commit Graph

15577 Commits

Author SHA1 Message Date
wmayer
5105ef279c make handling more user-friendly if Sketch is outside of Body object 2019-01-06 22:43:14 +01:00
Przemo Firszt
671d5b1b88 Fix medfile loction on different versions of fedora
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-01-05 19:58:33 +01:00
Przemo Firszt
7a210a1f8a Tidy up BuildRequires in fedora spec
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-01-05 19:58:33 +01:00
Przemo Firszt
48a4dc3435 Add med to fedora spec file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-01-05 19:58:33 +01:00
wmayer
6145aee5a1 respect transparency when setting color per face 2019-01-05 19:50:12 +01:00
lorenz
f875775fdb 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
e3d4cbeb3d Py3: use feature detection instead of version detection 2019-01-05 13:11:04 +01:00
Markus Lampert
a86f53271c Using fixed size images for qt5/4 compatibility 2019-01-05 12:30:41 +01:00
Markus Lampert
729b5a2221 Setting fixed size for tool images 2019-01-05 12:30:41 +01:00
Markus Lampert
c3e413340f Fixed Queue import for py3 2019-01-05 12:30:41 +01:00
Markus Lampert
096c21f338 Fixed indexing dictionary keys 2019-01-05 12:30:40 +01:00
cclauss
2aa53c7316 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
d80f851b96 Arch: import ifc, code formating, flake8, only the most important ones 2019-01-05 12:17:52 +01:00
Bernd Hahnebach
0bfcc2872a Material: code formating, flake8 2019-01-05 12:17:52 +01:00
Bernd Hahnebach
8166145d0c Material: code formating, file beginnings Python block comment with space, flake8 E265 2019-01-05 12:17:52 +01:00
Bernd Hahnebach
19826213ee FEM: code formating, flake8, make line breaks before binary operator, it really reads better :-) 2019-01-05 12:17:51 +01:00
eszlari
56c006261b XDGData: remove CMAKE_CURRENT_SOURCE_DIR 2019-01-05 12:15:58 +01:00
eszlari
a881d572b5 Linux mime: add icon 2019-01-05 12:15:58 +01:00
Yorik van Havre
c83c7f3057 Arch: Fixed wire/edge bug in IFC import 2019-01-04 22:48:49 -02:00
Yorik van Havre
4892a24f18 Updated credits page 2019-01-04 15:25:12 -02:00
wmayer
e1d0591752 fix flake8 issues suggested by cclauss 2019-01-04 15:30:17 +01:00
Bernd Hahnebach
d4c86acfd4 FEM: ccx tools, better error handling on run ccx 2019-01-04 15:28:17 +01:00
Bernd Hahnebach
eef8aaef03 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
00d7e0a6fd FEM: ccx tools, debug prints 2019-01-04 15:28:16 +01:00
Bernd Hahnebach
0dfe012205 FEM: code formating, flake8 2019-01-04 15:28:16 +01:00
Bernd Hahnebach
0e157aac5b FEM: result reading, debugg prints 2019-01-04 15:28:16 +01:00
Bernd Hahnebach
fc51b429d3 Arch: IFC, print code formating in the regard of Py3 2019-01-04 15:28:16 +01:00
wmayer
91988080df improve handling of (raw) input in Python console 2019-01-04 14:16:50 +01:00
wmayer
65adba7ce2 fix typo in StartPage module 2019-01-04 10:56:34 +01:00
wmayer
3e12a59d41 fix several Py3 issues 2019-01-03 18:11:37 +01:00
cclauss
730f314839 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
8eff973fc5 reduce code duplication 2019-01-03 17:33:39 +01:00
wmayer
378c57fe1c Qt5: don't use native color dialog 2019-01-03 16:14:12 +01:00
wmayer
43e5729f54 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
d27c884c71 Update copyright notice 2019-01-03 15:37:02 +01:00
tomate44
990e202a5e fix intersectCC method missing some intersection points for Geom2d curves 2019-01-03 12:33:58 +01:00
wmayer
fc27c9986b handle C++ exception in Python interface 2019-01-03 12:19:37 +01:00
Silas
895a920b19 Improve readability with some comments 2019-01-03 11:43:43 +01:00
Silas
aa02240325 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
06bca8fd72 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
wmayer
51144af43e in test_python_syntax fix check for Py3 2019-01-03 10:40:19 +01:00
Yorik van Havre
06acc2545d Draft: fixed bug in arc tracker 2019-01-02 18:05:34 -02:00
paullee
ba4520d259 Curvilinear Landing based on underlying curve edges supported; found sortEdges() 'problem'
Discussion:-
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=100#p277409
2019-01-02 17:26:34 -02:00
Bernd Hahnebach
2435572de4 FEM: gmsh tools, Py3, there still are extra b'ees to remove 2019-01-02 17:26:00 -02:00
luz.paz
393e2d0f35 FEM: source comment typo fixes 2019-01-02 17:24:58 -02:00
Diego Elio Pettenò
9a510c42c3 setup: don't require the user to agree to GPL to complete setup.
As @foone complains on twitter often enough, this should not require
agreement for use since GPL is not an EULA.

The definitions are inspired from the similar NSIS setup file from VLC.
2019-01-02 17:23:52 -02:00
wmayer
6ab931615f fix bytes vs. str issue on macOS 2019-01-02 16:26:16 +01:00
wmayer
db393123b0 add slice apart command to sub-menu 2019-01-01 22:21:07 +01:00
Stian Skjelstad
116478b93f Fix #3697
We need to initialize progressTime for given number of step-operations too,
else the filter that checks for X ms between each refresh update will always
fail, due to time-difference being way out of range.

Also, 10 updates per second is not a lot, since we also filter out the
QT event loop for long operations performed in the main thread.
2019-01-01 21:47:11 +01:00
wmayer
761c543b81 remove signal blocker
fixes 0003752: Preferences/Sketcher: Changing Grid size default is not respected upon creation of new Sketches
2019-01-01 18:17:23 +01:00