Commit Graph

18939 Commits

Author SHA1 Message Date
Bernd Hahnebach
c080d17895 Material: add gitattributes file to let git manage file endings and normalize them 2019-12-12 07:29:23 +01:00
Bernd Hahnebach
e680701037 FEM: add gitattributes file to let git manage file endings and normalize them 2019-12-12 07:29:15 +01:00
Yorik van Havre
97804f851d Draft: fixed regression in rotations 2019-12-11 23:15:05 -03:00
wmayer
696719f3a1 Add GUI command to insert a text document into the active document 2019-12-11 16:01:31 +01:00
wmayer
5939082b9f [skip ci] fix some warnings:
-Wunused-parameter
-Winconsistent-missing-override
2019-12-11 10:17:24 +01:00
sliptonic
8ed924ee39 Merge pull request #2724 from mlampert/feature/tool-bit-poc
Path: Feature/tool bit poc
2019-12-10 16:38:07 -06:00
Markus Hovorka
97dd360ee5 FEM: Remove debug print output from test module
There was some output still getting through and makeing the test run
output confusing. These prints where commented out for now.
2019-12-10 22:59:02 +01:00
Bernd Hahnebach
dd55cf6861 FEM: utils, changes and some comments for working dir 2019-12-10 22:43:34 +01:00
Markus Hovorka
8f7844c5c9 FEM: Restore path functions of run module
The functions getTempDir, getBesideDir and getBesideBase where moved to
femutils, modified and made public in the past. This breaks the solver
framework under certain circumstances. These folders are only intended
for the solver. Using it for other puroses may result in unexpected
behaviour (including crashes). This commit restores the original
functions for the solver module. The problem that other modules of the
workbench use those folders should be resolved at some point.
2019-12-10 22:43:24 +01:00
Bernd Hahnebach
8c22b0e3b8 FEM: code conventions, fix link 2019-12-10 21:48:49 +01:00
Bernd Hahnebach
769d710af3 FEM: code conventions, add info in the regard of slashes 2019-12-10 21:44:59 +01:00
Bernd Hahnebach
acbe6702a7 FEM: code formating do not use to many slashes 2019-12-10 21:41:06 +01:00
Bernd Hahnebach
a496411d60 FEM: code formating in a header 2019-12-10 21:40:59 +01:00
wmayer
5a92af3cf0 fix usability regression of Mefisto mesher cuased by cc1f7de8
The maximum edge length for the Mefisto mesher is always set in the accept() method so that effectively user input is always ignored.
There is now a button Estimate to guess a good default value. And user input is no longer ingored
2019-12-10 16:43:10 +01:00
wmayer
7a874bdbdd Mesh: In ViewProviderMesh::getVisibleFacets replace SoFCOffscreenRenderer with SoQtOffscreenRenderer to due issues with Indirect GLX on recent Linux systems [skip ci] 2019-12-10 15:03:46 +01:00
wandererfan
15f180038f [TD]add ability to filter obvious geometry errors
- also add checks for geometry errors
2019-12-10 06:51:09 -05:00
wandererfan
02616b5674 [TD]soft fail on bad geometry error w/ polygon algo 2019-12-10 06:51:09 -05:00
donovaly
07ca5b9d39 TD: DrawProjGroup: add units for spacing
-also improve some tooltips
2019-12-10 06:50:27 -05:00
wmayer
4f423bf555 implement algorithmic solution to determine whether triangle is visible 2019-12-09 20:06:48 +01:00
Yorik van Havre
ce4ab3eafe Update ArchCutPlane.py 2019-12-09 15:25:22 -03:00
JeromeL63
61de21bfbb Added Linecut function 2019-12-09 15:25:22 -03:00
wmayer
a57014a86c [skip ci] when converting from SoSFImage to QImage check that the internal buffer is not null 2019-12-09 17:53:52 +01:00
Zheng, Lei
cc85d1a1d3 Part: fix Compound2 placement lost after restore 2019-12-09 15:30:34 +01:00
wmayer
097d5ab64d handle possibly set Python error flag in DocumentPy::recompute() to avoid crash in debug mode 2019-12-09 12:29:07 +01:00
wmayer
1e33567a99 check returned value of PyUnicode_AsUTF8() before passing to a std::string to avoid possible segfaults 2019-12-09 12:23:58 +01:00
Zheng, Lei
4d61820060 Gui: fix Gui.addCommand() in Python3 2019-12-09 00:37:34 +00:00
Zheng, Lei
227a6d3e93 App: fix pyObjectToAny() in Python3 2019-12-09 00:37:34 +00:00
mlampert
f8df5b89af Merge branch 'master' into feature/tool-bit-poc 2019-12-08 15:59:33 -08:00
Bernd Hahnebach
44d74c49a1 FEM: code formating in some headers 2019-12-08 22:53:50 +01:00
donovaly
fade9156b1 TD: DrawView.cpp: add routine for PropertyDistance change
X and Y were changed at first by me to PropertyLength and later by Wandererfan to PropertyDistance. For this second change there is handleChangedPropertyType() code missing. This PR adds this.

- also some code formatting improvements automatically done by MSVC
2019-12-08 15:42:07 -05:00
Zheng, Lei
f29b07c143 Gui: change tree view select all behavior
Only select all objects of the current document
2019-12-08 15:07:36 +01:00
Zheng, Lei
fce44f1423 Gui: track editing object placement change 2019-12-08 14:46:34 +01:00
mlampert
4897c4870e Merge branch 'master' into feature/tool-bit-poc 2019-12-07 13:23:11 -08:00
wandererfan
f9e492ccb6 [TD]DrawViewBalloon OriginX/Y to PropertyDistance 2019-12-07 15:44:48 -05:00
wandererfan
77bac6dd54 [TD]fix merge resolution error 2019-12-07 15:44:48 -05:00
mlampert
0a6b4c2825 Merge branch 'master' into feature/tool-bit-poc 2019-12-07 12:42:53 -08:00
Mikhaylov-yv
b6a7b7960c Edit A4 2019-12-07 12:59:56 -05:00
donovaly
bb2db008ad TD: add units for line widths
- this also prevents negative values
- also fix an issue in DrawViewBalloon introduced by me recently
2019-12-07 08:37:56 -05:00
donovaly
70be2a2bff TechDraw: add unit for rotation 2019-12-07 07:29:07 -05:00
mlampert
c452320174 Merge branch 'master' into feature/tool-bit-poc 2019-12-06 22:08:28 -08:00
Zheng, Lei
737eec13d4 Fix copy/paste objects through temp file 2019-12-06 14:43:02 -03:00
Zheng, Lei
a17f38fb74 Do not reserve memory when copy/paste objects through file 2019-12-06 14:43:02 -03:00
donovaly
a0f5206a2e DlgUnitsCalculator: tweaks requested by vocx-fc and luzpaz 2019-12-06 14:42:02 -03:00
donovaly
a82ba07886 DlgUnitsCalculatorImp.cpp: some cleanup 2019-12-06 14:42:02 -03:00
donovaly
d255744684 Fix the broken UnitsCalculator dialog
see https://forum.freecadweb.org/viewtopic.php?f=3&t=41331&p=351289#p351289 for details why and how
2019-12-06 14:42:02 -03:00
0penBrain
90825d290a Improve Inkscape version parsing in SVG import 2019-12-06 14:35:59 -03:00
vocx-fc
d65225124f PartDesign: rename icon, and organize resource file 2019-12-06 14:35:14 -03:00
vocx-fc
6777f91e40 Gui: PartDesign: remove execute bit from icons, now 644 2019-12-06 14:34:25 -03:00
Zheng, Lei
65bc3ae5c0 Draft: support linked transform and color override in link array 2019-12-06 14:33:59 -03:00
wmayer
c7a1854701 fix broken XML syntax in .ui file 2019-12-06 14:58:48 +01:00