Commit Graph

18983 Commits

Author SHA1 Message Date
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
luz.paz
d49edcc982 Revised per feedback from review 2019-12-17 15:13:48 -03:00
luz.paz
fc52c2e59b Follow-up typo and whitespace fixes 2019-12-17 15:13:48 -03:00
luz.paz
06cf1d5b70 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
2ff80fa47b [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
ed8ba392c2 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
92fa38152e 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
fa73d29d84 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
fff55c7ae5 [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
4a6d68f35d [Arch] export IFC: last modification date is mandatory even on creation 2019-12-17 15:03:21 -03:00
hlg
8db24f9b63 [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
e7be69e9cb FEM: gmsh, new interpolation parameter, add missing code (thanks to _UR) 2019-12-17 18:13:10 +01:00
wandererfan
57bfc2e380 [TD]fix Svg hatch on export 2019-12-17 08:29:49 -05:00
wmayer
b33e1687b4 TechDraw: [skip ci] fix 'copy-constructor' of CenterLine 2019-12-17 12:41:14 +01:00
Bernd Hahnebach
0935a6bab1 FEM: gmsh, add linear nodes interpolation parameter (thanks to _UR) 2019-12-17 12:27:19 +01:00
wmayer
6af98e080f Part: [skip ci] fix two little copy&paste errors 2019-12-17 11:04:13 +01:00
DeepSOIC
cbe19e396b Part: fixup (to make gcc happy) 2019-12-17 10:52:28 +01:00
DeepSOIC
693130d860 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
3186d4753e [TD]fix Py2 errors 2019-12-16 20:36:10 -05:00
wandererfan
a04d0f2574 [TD]Py routines for CenterLines 2019-12-16 20:36:10 -05:00
wandererfan
1ad2d35bce [TD]Python routines and extension for line formating 2019-12-16 20:36:10 -05:00
wandererfan
08f23b84f7 [TD]Python routines and extension for Cosmetic Edges 2019-12-16 20:36:10 -05:00
wandererfan
d9e0c2e452 [TD]Python routines & extension for CosmeticVertex 2019-12-16 20:36:10 -05:00
wmayer
5022026906 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
2c13387cef issue #0004225: FreeCAD crash when making draft in PartDesign [skip ci] 2019-12-16 15:26:34 +01:00
wmayer
00b3aa5cfa SpreadSheet: [skip ci] fix crash when changing data inside a spread sheet 2019-12-16 14:41:03 +01:00
Bernd Hahnebach
fed1e79bac FEM: solver run, fix besides dir 2019-12-16 09:10:20 +01:00
Bernd Hahnebach
1f53e8b395 FEM: py3 fix in selection widget 2019-12-16 05:41:28 +01:00
Bernd Hahnebach
f1a3a628c5 FEM: selection widgets, add some error prints 2019-12-16 05:41:23 +01:00
Bernd Hahnebach
91535bc1d0 FEM: fix missing error classes 2019-12-16 05:41:18 +01:00
Bernd Hahnebach
d662c20fe7 FEM: typo 2019-12-16 05:40:59 +01:00
Bernd Hahnebach
7d960163fc FEM: equations, fix reset edit mode 2019-12-16 05:40:51 +01:00
easyw
50d8adcfee creating the temp .stp file in a temporary dir 2019-12-15 15:48:14 +01:00
David James McCorrie
31ac21e065 Mesh: [skip-ci] Fixed wrong Coin3d off-screen renderer backround color type object SbColor -> SbColor4f 2019-12-15 15:33:03 +01:00
wmayer
91f6a5e5ee Mesh: [skip ci] Add static method to get list of supported input/output mesh formats 2019-12-14 15:33:33 +01:00
wmayer
0175008ceb [skip ci] Implement AcceptMode for FileChooser to also allow to define an output file 2019-12-13 22:43:47 +01:00
Yorik van Havre
19127f3f78 Arch: Fixed wrong export of objects of undefined IFC type 2019-12-13 12:29:26 -03:00
Yorik van Havre
2c0daad48f Arch: store last double-clicked building part 2019-12-12 17:58:21 -03:00
Bernd Hahnebach
96b2f131c2 FEM: code formating, remove to much empty lines 2019-12-12 21:06:04 +01:00
Yorik van Havre
5c9b117314 Arch: place buildingparts at WP origin upon creation 2019-12-12 14:15:19 -03:00
Yorik van Havre
39ee1654f9 Draft: fixed minor bug 2019-12-12 14:11:59 -03:00
Bernd Hahnebach
c6702814fe FEM: code conventions, add some text for LF line endings 2019-12-12 07:43:51 +01:00
Bernd Hahnebach
bafadd544e Material: add gitattributes file to let git manage file endings and normalize them 2019-12-12 07:29:23 +01:00
Bernd Hahnebach
12c31ab055 FEM: add gitattributes file to let git manage file endings and normalize them 2019-12-12 07:29:15 +01:00
Yorik van Havre
15f72b9167 Draft: fixed regression in rotations 2019-12-11 23:15:05 -03:00
wmayer
13db5b0560 Add GUI command to insert a text document into the active document 2019-12-11 16:01:31 +01:00
wmayer
1a87354282 [skip ci] fix some warnings:
-Wunused-parameter
-Winconsistent-missing-override
2019-12-11 10:17:24 +01:00
sliptonic
540aeada3a Merge pull request #2724 from mlampert/feature/tool-bit-poc
Path: Feature/tool bit poc
2019-12-10 16:38:07 -06:00