Commit Graph

19030 Commits

Author SHA1 Message Date
wmayer
7fe10182a9 [skip ci] fix header uniformity
Set a real email address for headers in inspection and surface module
2019-12-21 16:12:54 +01:00
luz.paz
0c6786d4bf Templates: fix header uniformity
This PR fixes header uniformity across all template files.
2019-12-21 16:12:54 +01:00
luz.paz
cbdba0b5bb TD: fix header uniformity
This PR fixes header uniformity across all TechDraw WB.
2019-12-21 09:57:45 -05:00
Zheng, Lei
15944dde60 Gui: change DAG view selection behavior
If there is selection, then DAG view will show the owner document of
the resolved selected object instead of the active document.
2019-12-21 15:55:00 +01:00
Zheng, Lei
5a32181b64 Gui: fix DAG view property link update 2019-12-21 15:26:20 +01:00
Zheng, Lei
af4fb7d37f Gui: fix DAG view icon sync problem 2019-12-21 15:26:09 +01:00
Zheng, Lei
df548bf82e Gui: fix Document::signalInEdit
Make it sure it is signaled with the correct document
2019-12-21 15:26:02 +01:00
Zheng, Lei
1cbec1a60d Gui: fix Std_Transform tool
The problem is caused by tracking of editing object placement
introduced in 719c11e714.

After this commit, any editing object can disable placement tracking by
calling Gui::Document::setEditingTransform() inside either
ViewProvider::startEditing() or setEditingViewProvider().
2019-12-21 15:17:48 +01:00
wmayer
b795162660 allow to choose a custom units schema in calculator 2019-12-21 13:36:25 +01:00
wmayer
98dfe7c387 add posibility to use a unit schema other then the system schema to represent a quantity 2019-12-21 13:35:14 +01:00
wmayer
04b54cd6a5 Base: [skip ci] replace raw pointers of UnitsSchema with unique_ptr 2019-12-21 10:45:22 +01:00
wmayer
4bcb43ebd2 Base: [skip ci] make UnitSystem an enum class 2019-12-21 10:10:19 +01:00
wmayer
702ae025c7 Gui: [skip ci] reduce confusion m vs. mm in units calculator 2019-12-20 16:54:56 +01:00
wmayer
43e5933e3d Base: [skip ci] handle acceleration and force m/s^2 2019-12-20 16:53:26 +01:00
wmayer
492af81db1 extend units calculator 2019-12-20 14:45:05 +01:00
wmayer
b6ae122351 Gui: set/get number of decimals of a quantity spin box 2019-12-20 14:44:40 +01:00
donovaly
07549653cd UnitsCalculator fixes
- missing initial value
- missing check for invalid units starting with 'e'
2019-12-20 13:49:01 +01:00
wmayer
af011dabd9 Gui: [skip ci] use defined font when creating text editor 2019-12-20 12:41:24 +01:00
wmayer
d969581ff8 Gui: allow to set font family and size and syntax highlighting 2019-12-19 23:17:46 +01:00
Bernd Hahnebach
99e5bededb Mod: gitattributes, add some more comments 2019-12-19 22:40:05 +01:00
Bernd Hahnebach
5be60cf1cb Merge pull request #2796 from berndhahnebach/lineendings
Lineendings
2019-12-19 22:30:49 +01:00
Bernd Hahnebach
6f68bf627e Mod: some comments in gitattributes 2019-12-19 22:26:24 +01:00
Bernd Hahnebach
50036da5ed Complete: file endings, normalize them and let git manage them 2019-12-19 22:26:24 +01:00
Bernd Hahnebach
210d3cffb6 Idf: file endings, normalize them and let git manage them 2019-12-19 22:26:24 +01:00
Bernd Hahnebach
75b7cab2d1 OpenSCAD: file endings, normalize them and let git manage them 2019-12-19 22:26:24 +01:00
Bernd Hahnebach
0032353035 Show: file endings, normalize them and let git manage them 2019-12-19 22:26:24 +01:00
Bernd Hahnebach
fa25f974f1 Tux: file endings, normalize them and let git manage them 2019-12-19 22:26:24 +01:00
Bernd Hahnebach
7a652357fc line endings, better handling in module directory 2019-12-19 22:26:15 +01:00
wmayer
228f89638d Python: change generation of callback functions for class or static methods 2019-12-19 17:55:12 +01:00
wmayer
df25aed148 Base: [skip ci] fix block comment in lexer file 2019-12-19 17:08:11 +01:00
donovaly
2949afb55b add mJ and kW
- also some fixes
- add conversions for forces
2019-12-19 13:31:12 +01:00
wmayer
f1cd9c05f8 Test: [skip ci] add new tests for quantities 2019-12-19 13:31:12 +01:00
donovaly
317dd26a7d correct Unit::Work conversions
- also add conversions for Unit::Mass and Unit::Power
2019-12-19 13:31:12 +01:00
donovaly
f5f0728a9f take care of the UnitsCalculator
- also fix uF and uH
- add conversion routine for C and T
2019-12-19 13:31:12 +01:00
donovaly
1ffaaf100a generate QuantityLexer.c
- also set proper unit conversions
- fix MilliWatt and MilliMole
2019-12-19 13:31:12 +01:00
donovaly
82dc8e88f5 add the following units:
- mmol
- ml
- bar
- mbar
- kJ
- kWh
- eV
- C
- T
- F (p, n, u, m)
- H (n, u, m)
2019-12-19 13:31:12 +01:00
Bernd Hahnebach
ba688b05f5 Arch: IFC export, add building parts with undefined ifc type to building structure 2019-12-19 09:02:06 +01:00
Bernd Hahnebach
d98e958166 Arch: add gitattributes file to let git manage file endings and normalize them 2019-12-19 07:51:09 +01:00
Bernd Hahnebach
8f7220da51 Draft: add gitattributes file to let git manage file endings and normalize them 2019-12-19 07:51:09 +01:00
Bernd Hahnebach
3db86602e5 AddonManager: add gitattributes file to let git manage file endings and normalize them 2019-12-19 07:51:09 +01:00
wandererfan
e499f38424 [TD]fix SectionFace hatch on SVG Export 2019-12-18 15:03:22 -05:00
wandererfan
c05ad5c875 [TD]add Tolerance size factor to preferences 2019-12-18 07:01:46 -05:00
wandererfan
92e714726f [TD]remove duplicate line 2019-12-18 07:01:46 -05:00
wandererfan
6a31795600 [TD]improve presentation of tolerance text 2019-12-18 07:01:46 -05:00
Bernd Hahnebach
537620aa32 Arch: export IFC, add missing debug prints 2019-12-18 09:49:29 +01:00
Bernd Hahnebach
2315cc5f78 Arch: export IFC, fix building parts export with ifc type set to Undefined 2019-12-18 09:35:14 +01:00
Bernd Hahnebach
c251caa934 FEM: gmsh, small changes in comments and update of comments in unit test file 2019-12-17 22:41:42 +01:00
Bernd Hahnebach
97b6c3eb04 FEM: gmsh, new interpolation parameter, fix unit test 2019-12-17 22:41:33 +01:00
Yorik van Havre
597de362c3 Draft: Fixed regression in Rotate tool 2019-12-17 15:30:31 -03:00
luz.paz
a00769bebf LGTM: remove unnecessary 'pass' statements
Issue: A pass statement is only necessary when it is the only statement in a block (the list of statements forming part of a compound statement). This is because the purpose of the pass statement is to allow empty blocks where they would otherwise be syntactically invalid. If the block already contains other statements then the pass statement is unnecessary.

Recommendation: Remove the pass statement.

Relevant links: 
1a82a5e136/files/src/Mod/Import/stepZ.py (x78f479c31a062553):1

1a82a5e136/files/src/Mod/OpenSCAD/OpenSCADCommands.py (xad4868ffcdf82498):1

1a82a5e136/files/src/App/FreeCADInit.py (x9034ec6815c48e38):1
2019-12-17 15:15:53 -03:00