Commit Graph

19099 Commits

Author SHA1 Message Date
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
hlg
ff8c64fb03 [Arch] export IFC: last modification date is mandatory even on creation 2019-12-17 15:03:21 -03:00
hlg
7bebdad937 [Arch] IFC export: some points and vectors should be 2D, not 3D
* true north direction
* profile orientation
* grid axis polylines
2019-12-17 15:03:21 -03:00
Bernd Hahnebach
c394eb91ff FEM: gmsh, new interpolation parameter, add missing code (thanks to _UR) 2019-12-17 18:13:10 +01:00
wandererfan
b09233314b [TD]fix Svg hatch on export 2019-12-17 08:29:49 -05:00
wmayer
f23188a99e TechDraw: [skip ci] fix 'copy-constructor' of CenterLine 2019-12-17 12:41:14 +01:00
Bernd Hahnebach
d01997c172 FEM: gmsh, add linear nodes interpolation parameter (thanks to _UR) 2019-12-17 12:27:19 +01:00
wmayer
508412ee41 Part: [skip ci] fix two little copy&paste errors 2019-12-17 11:04:13 +01:00
DeepSOIC
1aa635e782 Part: fixup (to make gcc happy) 2019-12-17 10:52:28 +01:00
DeepSOIC
7554c2111c Part: fix memory leak in distToShape
https://forum.freecadweb.org/viewtopic.php?f=10&t=41620
2019-12-17 10:52:20 +01:00
wandererfan
3c5398b43f [TD]fix Py2 errors 2019-12-16 20:36:10 -05:00
wandererfan
8cbcd243e6 [TD]Py routines for CenterLines 2019-12-16 20:36:10 -05:00
wandererfan
b54212f82c [TD]Python routines and extension for line formating 2019-12-16 20:36:10 -05:00
wandererfan
a71bc8f734 [TD]Python routines and extension for Cosmetic Edges 2019-12-16 20:36:10 -05:00
wandererfan
f63cd9255a [TD]Python routines & extension for CosmeticVertex 2019-12-16 20:36:10 -05:00
wmayer
0458d31dbb Mesh: [skip ci] handle visbility changes of mesh defects view provider due to side-effects caused in implementation of base class 2019-12-16 18:01:46 +01:00
wmayer
8bed7e4bd1 issue #0004225: FreeCAD crash when making draft in PartDesign [skip ci] 2019-12-16 15:26:34 +01:00
wmayer
ce47213b05 SpreadSheet: [skip ci] fix crash when changing data inside a spread sheet 2019-12-16 14:41:03 +01:00
Bernd Hahnebach
1296bcbbdc FEM: solver run, fix besides dir 2019-12-16 09:10:20 +01:00
Bernd Hahnebach
8f1b5d7de3 FEM: py3 fix in selection widget 2019-12-16 05:41:28 +01:00
Bernd Hahnebach
0856563866 FEM: selection widgets, add some error prints 2019-12-16 05:41:23 +01:00
Bernd Hahnebach
80dfbfd381 FEM: fix missing error classes 2019-12-16 05:41:18 +01:00
Bernd Hahnebach
d2c9fac6b8 FEM: typo 2019-12-16 05:40:59 +01:00
Bernd Hahnebach
6a736272f8 FEM: equations, fix reset edit mode 2019-12-16 05:40:51 +01:00
Markus Lampert
4befb9c169 Added support for dressups to toggle Active state command. 2019-12-15 17:52:05 -08:00
Markus Lampert
fd9b2d4cdb Fix tag dressup to deal with inactive base operation 2019-12-15 17:51:43 -08:00