Commit Graph

18949 Commits

Author SHA1 Message Date
Markus Lampert
5df4bbf2f4 Added support for dressups to toggle Active state command. 2019-12-15 17:52:05 -08:00
Markus Lampert
3d5d10c4ea Fix tag dressup to deal with inactive base operation 2019-12-15 17:51:43 -08: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
Markus Hovorka
f4e79ed26b 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
b4a3100209 FEM: utils, changes and some comments for working dir 2019-12-10 22:43:34 +01:00
Markus Hovorka
a9c19ca6d4 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
f86cf8abaa FEM: code conventions, fix link 2019-12-10 21:48:49 +01:00
Bernd Hahnebach
20788d16c8 FEM: code conventions, add info in the regard of slashes 2019-12-10 21:44:59 +01:00
Bernd Hahnebach
0b6e79be35 FEM: code formating do not use to many slashes 2019-12-10 21:41:06 +01:00
Bernd Hahnebach
7fe9beff0f FEM: code formating in a header 2019-12-10 21:40:59 +01:00
wmayer
36bd2f987c fix usability regression of Mefisto mesher cuased by 95f20b9d
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
d17b3c68d1 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
e1e9c7e7bd [TD]add ability to filter obvious geometry errors
- also add checks for geometry errors
2019-12-10 06:51:09 -05:00
wandererfan
17b61adf16 [TD]soft fail on bad geometry error w/ polygon algo 2019-12-10 06:51:09 -05:00
donovaly
78e6861127 TD: DrawProjGroup: add units for spacing
-also improve some tooltips
2019-12-10 06:50:27 -05:00
wmayer
42196ead39 implement algorithmic solution to determine whether triangle is visible 2019-12-09 20:06:48 +01:00
Yorik van Havre
46792a91ac Update ArchCutPlane.py 2019-12-09 15:25:22 -03:00
JeromeL63
c957795540 Added Linecut function 2019-12-09 15:25:22 -03:00
wmayer
3490adf7da [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
09cd151221 Part: fix Compound2 placement lost after restore 2019-12-09 15:30:34 +01:00
wmayer
4a0ddd0a9e handle possibly set Python error flag in DocumentPy::recompute() to avoid crash in debug mode 2019-12-09 12:29:07 +01:00
wmayer
fd741e4338 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
8516c6fbe3 Gui: fix Gui.addCommand() in Python3 2019-12-09 00:37:34 +00:00
Zheng, Lei
13fd54a42f App: fix pyObjectToAny() in Python3 2019-12-09 00:37:34 +00:00
mlampert
227a292e8e Merge branch 'master' into feature/tool-bit-poc 2019-12-08 15:59:33 -08:00
Bernd Hahnebach
22e9133dd0 FEM: code formating in some headers 2019-12-08 22:53:50 +01:00
donovaly
0721f7f1e4 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
50f4c012b4 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
719c11e714 Gui: track editing object placement change 2019-12-08 14:46:34 +01:00
mlampert
f1f8d34ac8 Merge branch 'master' into feature/tool-bit-poc 2019-12-07 13:23:11 -08:00
wandererfan
ceeb776fff [TD]DrawViewBalloon OriginX/Y to PropertyDistance 2019-12-07 15:44:48 -05:00
wandererfan
efed66da15 [TD]fix merge resolution error 2019-12-07 15:44:48 -05:00
mlampert
ea182cbfa2 Merge branch 'master' into feature/tool-bit-poc 2019-12-07 12:42:53 -08:00
Mikhaylov-yv
c1f177b528 Edit A4 2019-12-07 12:59:56 -05:00
donovaly
de1be3b381 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
2fa9369d42 TechDraw: add unit for rotation 2019-12-07 07:29:07 -05:00
mlampert
dc741894eb Merge branch 'master' into feature/tool-bit-poc 2019-12-06 22:08:28 -08:00