Commit Graph

19074 Commits

Author SHA1 Message Date
wmayer
980c6ab227 Base: [skip ci] replace raw pointers of UnitsSchema with unique_ptr 2019-12-21 10:45:22 +01:00
wmayer
c16c7eda27 Base: [skip ci] make UnitSystem an enum class 2019-12-21 10:10:19 +01:00
mlampert
52e0470eb6 Merge branch 'master' into feature/toggle-active-cmd-support-for-dressups 2019-12-20 19:40:25 -08:00
wmayer
a11e9277de Gui: [skip ci] reduce confusion m vs. mm in units calculator 2019-12-20 16:54:56 +01:00
wmayer
a81e7ff747 Base: [skip ci] handle acceleration and force m/s^2 2019-12-20 16:53:26 +01:00
wmayer
b03aab9a9b extend units calculator 2019-12-20 14:45:05 +01:00
wmayer
79ab25a25c Gui: set/get number of decimals of a quantity spin box 2019-12-20 14:44:40 +01:00
donovaly
0f22ffdd6e UnitsCalculator fixes
- missing initial value
- missing check for invalid units starting with 'e'
2019-12-20 13:49:01 +01:00
wmayer
b0ca5f3e3b Gui: [skip ci] use defined font when creating text editor 2019-12-20 12:41:24 +01:00
wmayer
9746106740 Gui: allow to set font family and size and syntax highlighting 2019-12-19 23:17:46 +01:00
Bernd Hahnebach
52f29cff0e Mod: gitattributes, add some more comments 2019-12-19 22:40:05 +01:00
Bernd Hahnebach
0bdf7821c4 Merge pull request #2796 from berndhahnebach/lineendings
Lineendings
2019-12-19 22:30:49 +01:00
Bernd Hahnebach
def9f37d43 Mod: some comments in gitattributes 2019-12-19 22:26:24 +01:00
Bernd Hahnebach
cc024b1328 Complete: file endings, normalize them and let git manage them 2019-12-19 22:26:24 +01:00
Bernd Hahnebach
ec8dc258fa Idf: file endings, normalize them and let git manage them 2019-12-19 22:26:24 +01:00
Bernd Hahnebach
c2bfd781d1 OpenSCAD: file endings, normalize them and let git manage them 2019-12-19 22:26:24 +01:00
Bernd Hahnebach
01559e8b71 Show: file endings, normalize them and let git manage them 2019-12-19 22:26:24 +01:00
Bernd Hahnebach
02549f0e82 Tux: file endings, normalize them and let git manage them 2019-12-19 22:26:24 +01:00
Bernd Hahnebach
66b853cff8 line endings, better handling in module directory 2019-12-19 22:26:15 +01:00
wmayer
065356281d Python: change generation of callback functions for class or static methods 2019-12-19 17:55:12 +01:00
wmayer
546dc43929 Base: [skip ci] fix block comment in lexer file 2019-12-19 17:08:11 +01:00
donovaly
26196ae612 add mJ and kW
- also some fixes
- add conversions for forces
2019-12-19 13:31:12 +01:00
wmayer
cbaff212eb Test: [skip ci] add new tests for quantities 2019-12-19 13:31:12 +01:00
donovaly
23ec305c4b correct Unit::Work conversions
- also add conversions for Unit::Mass and Unit::Power
2019-12-19 13:31:12 +01:00
donovaly
53b34a3dc0 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
4b99ee28ce generate QuantityLexer.c
- also set proper unit conversions
- fix MilliWatt and MilliMole
2019-12-19 13:31:12 +01:00
donovaly
94bae36cee 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
63b8c014c2 Arch: IFC export, add building parts with undefined ifc type to building structure 2019-12-19 09:02:06 +01:00
Bernd Hahnebach
78e3d4c725 Arch: add gitattributes file to let git manage file endings and normalize them 2019-12-19 07:51:09 +01:00
Bernd Hahnebach
8e09ea8a32 Draft: add gitattributes file to let git manage file endings and normalize them 2019-12-19 07:51:09 +01:00
Bernd Hahnebach
789e24cead AddonManager: add gitattributes file to let git manage file endings and normalize them 2019-12-19 07:51:09 +01:00
mlampert
aafd901224 Merge branch 'master' into feature/toggle-active-cmd-support-for-dressups 2019-12-18 18:19:42 -08:00
wandererfan
9dcd9cdf6b [TD]fix SectionFace hatch on SVG Export 2019-12-18 15:03:22 -05:00
wandererfan
51cdc944f1 [TD]add Tolerance size factor to preferences 2019-12-18 07:01:46 -05:00
wandererfan
25618be6a7 [TD]remove duplicate line 2019-12-18 07:01:46 -05:00
wandererfan
9be2af54d3 [TD]improve presentation of tolerance text 2019-12-18 07:01:46 -05:00
Bernd Hahnebach
1e68bc1684 Arch: export IFC, add missing debug prints 2019-12-18 09:49:29 +01:00
Bernd Hahnebach
6168831571 Arch: export IFC, fix building parts export with ifc type set to Undefined 2019-12-18 09:35:14 +01:00
Bernd Hahnebach
82679b780d FEM: gmsh, small changes in comments and update of comments in unit test file 2019-12-17 22:41:42 +01:00
Bernd Hahnebach
7365bcbd6c FEM: gmsh, new interpolation parameter, fix unit test 2019-12-17 22:41:33 +01:00
Yorik van Havre
4e167f32bb Draft: Fixed regression in Rotate tool 2019-12-17 15:30:31 -03:00
luz.paz
d10ca28c88 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
luz.paz
56b618c8be Revised per feedback from review 2019-12-17 15:13:48 -03:00
luz.paz
99604dd6f6 Follow-up typo and whitespace fixes 2019-12-17 15:13:48 -03:00
luz.paz
cc97145e9d Fix various typos [skip ci]
Fixed via 
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2019-12-17 15:13:48 -03:00
Syres916
aeccba2e18 [AddonManager] Improve Non GitPython Error..
...Handling. Previous output when clicking Macros tab caused errors in Report View with no Macros loaded at all.
2019-12-17 15:12:41 -03:00
vocx-fc
8637a995e0 Sketcher: Constraint_Parallel, new icon, with the parallel lines of different lenghts, so that the constraint isn't mistaken for the equal lengths constraint. 2019-12-17 15:10:13 -03:00
vocx-fc
d841e59668 Gui: better icon for the Origin object
During the LinkMerge, a new icon
`Std_CoordinateSystem.svg` was used
for the `App::Origin` object that appears in
`PartDesign::Body`. However, this icon
doesn't look as good as the original `CoordinateSystem.svg`.

This commit renames the old icon to the new name. The newer icon
is kept as an alternate version `Std_CoordinateSystem_alt.svg`.

In addition, a new icon `Std_Placement.svg`
is provided for the `App::Placement` object, which previously
was also using `CoordinateSystem.svg`.
In this way, `App::Placement` and `App::Origin`
use different icons and there is no confusion
in the tree view.
2019-12-17 15:08:30 -03:00
vocx-fc
2a4fb552ec Draft: move the TestDraft unit tests to separate modules
This results in better organization of the tests,
avoiding extremely big files.
2019-12-17 15:06:36 -03:00
hlg
ebfe96b013 [Arch] export IFC: assign space to storey as aggregation
According to the standard, entities of type IfcSpatialStructureElement
should not be related to other spatial structure elements through
IfcRelContainedInSpatialStructure but through IfcRelAggregates.
2019-12-17 15:03:21 -03:00