Commit Graph

640 Commits

Author SHA1 Message Date
wmayer
ed87303802 Mesh: add unit tests for splitting facets 2021-02-14 12:33:29 +01:00
wmayer
d941c114cb Mesh: [skip ci] expose some mesh evaluation functions to Python 2021-02-14 12:02:45 +01:00
wmayer
00cce75bd5 Mesh: [skip ci] replace tabs with spaces 2021-02-14 11:26:53 +01:00
wmayer
1b42828d25 Mesh: [skip ci] implement splitFacet 2021-02-14 00:54:30 +01:00
Chris Hennes
feb4ffc693 Correct minimum distance calculation in SplitFacet
Found via LGTM.
2021-02-12 21:59:50 +01:00
Chris Hennes
3ef6e1c6d0 [OTHER] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
bitacovir
ddcb7b73f4 Fix mesh icon names of 3 SVG files 2021-02-09 20:10:24 +01:00
Chris Hennes
5d0cf1081e LGTM: Eliminate float-to-double overflow warning
LGTM complains if this calculation is done from inside the sqrt() call
because it sees the explicit cast to float and assumes that sqrt() is
intended to take a double. By adding an intermediate step it should be
clear to LGTM that the float version of sqrt is intended.
2021-02-09 20:01:13 +01:00
Yorik van Havre
bcb5c8786f merged crowdin translations 2021-02-09 16:12:18 +01:00
wmayer
53c5852ccb Mesh: [skip ci] use a more appropriate icons for cross sections 2021-02-09 13:29:13 +01:00
bitacovir
2b5bc5d99d Fix mesh icon names of 9 SVG files 2021-02-09 11:57:41 +01:00
bitacovir
73b8995c7b Fix mesh icons names of SVG files 2021-02-08 16:40:58 +01:00
bitacovir
5323de3d0b [UI] Add SVG icon for Mesh SplitComponents 2021-02-08 10:53:18 +01:00
Chris Hennes
081cc4d9eb Remove extra comma in Asymptote surface color definition
Found via LGTM.
2021-02-08 10:50:18 +01:00
Chris Hennes
05dd6c287c Silence incorrect LGTM warning. 2021-02-08 10:48:17 +01:00
wmayer
4719bb703d Mesh: [skip ci] fix MeshPy::trim 2021-02-07 13:12:23 +01:00
Zheng, Lei
db9525e7d7 Mesh: minor change to exporter based on suggestion 2021-02-06 17:13:36 +01:00
Zheng, Lei
ea61253c67 Mesh: refactor mesh exporter for better support of Link 2021-02-06 17:13:36 +01:00
wmayer
9788467a35 Mesh: [skip ci] fix hot spot of mesh selection cursor 2021-01-19 19:17:54 +01:00
Mateusz Skowroński
2559f2d29c Fix build warnings from deprecated Boost headers (they are used internally by Boost). Thanks @wwmayer for the hint. 2020-12-29 10:20:53 +01:00
wmayer
ed0a5af0d6 Mesh: [skip ci] fix -Wrange-loop-construct 2020-12-23 17:39:02 +01:00
Yorik van Havre
5a322d75cb Merged crowdin translations 2020-12-23 15:13:05 +01:00
Yorik van Havre
5a974f824c Updated ts files 2020-12-23 14:51:04 +01:00
luz paz
68eba58e64 Mesh: Uniformity fixes [skip ci]
* Sort Mesh.qrc
* Capital Case .svg files
* Rename Tree_Mesh.svg to Mesh_Tree.svg
* Make appropriate changes in the source regarding said name changes
2020-12-13 17:08:22 +01:00
Chris Hennes
ea3ecf4054 Silence Qt/Windows setGeometry Warning
Add the optional Qt::MSWindowsFixedSizeDialogHint parameter to all uses of the QInputDialog::getX static functions to silence a Qt/Windows debug mode warning about QWindowsWindow::setGeometry: Unable to set geometry. Increase the size of the unit calculator to eliminate the same warning. Finally, call adjustSize() on the "Unsaved Changes" dialog to silence the warning.
2020-12-11 09:58:09 +01:00
luz paz
69d4258f76 Mesh: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the Mesh Wb.  
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
wmayer
20649ec529 Mesh: [skip ci] add command to split a mesh into its components 2020-11-21 11:46:59 +01:00
wmayer
b7f9e351c5 Win: [skip ci] check if NOMINMAX is already defined before setting it 2020-11-11 13:34:42 +01:00
Yorik van Havre
e76c857036 Merged crowdin translations 2020-11-10 14:58:06 +01:00
wmayer
e81482c7f9 Mesh: [skip ci] improve reading OFF mesh format 2020-11-03 11:15:37 +01:00
wmayer
ebb43351d1 Mesh: [skip ci] improve reading OFF mesh format 2020-11-02 16:36:07 +01:00
Yorik van Havre
7c9e0f3a99 Merged crowdin translations 2020-10-28 12:04:37 +01:00
wmayer
df9282dc12 C++11: [skip ci] replace deprecated function std::mem_fun_ref with lambda functions 2020-10-15 18:55:29 +02:00
wmayer
d4c0baba0c C++11: replace deprecated function std::bind2nd with lambda functions 2020-10-15 14:46:02 +02:00
Yorik van Havre
089ed768cc Merged crowdin translations 2020-09-30 14:37:02 +02:00
Yorik van Havre
2a92a7b5a7 Updated ts files 2020-09-30 13:06:53 +02:00
vejmarie
81af54e410 Big update to remove deprecation warning from Qt 5.15.0
That is need on MacOS build as travis log is bigger than 50k lines
which breaks travis rules
And by the way deprecations are real
All file contains the same modification replace 0 to Qt::WindowFlags() when needed
as the class needs to be instantiated

Signed-off-by: vejmarie <jmverdun3@gmail.com>
2020-09-24 12:56:43 +02:00
wmayer
e8b5cfced7 MeshGui: [skip ci] expose highlightSegments() to Python 2020-09-17 18:25:14 +02:00
wmayer
3051b75267 Gui/Mesh: [skip ci] make sure object fits into canvas 2020-09-08 15:12:09 +02:00
wmayer
f82b570832 Gui/Mesh: [skip ci] add Iso view position button to Web 3d page 2020-09-07 17:43:04 +02:00
wmayer
6019f6c69f Gui/Mesh: [skip ci] put view positions at top of Web 3d page 2020-09-07 14:18:01 +02:00
wmayer
aa6f060365 Mesh: [skip ci] include missing header 2020-09-04 10:40:01 +02:00
sgrogan
41da46a682 fix build on Win 2020-09-01 17:57:36 +02:00
wmayer
9f9d8e1523 Mesh: [skip ci] allow to set custom size for asymptote output 2020-08-29 19:05:28 +02:00
wmayer
66617c5e93 Mesh: [skip ci] support compressed X3D output 2020-08-29 14:56:41 +02:00
wmayer
f50c4a9e26 Mesh: [skip ci] improve color support for X3D and X3DOM output 2020-08-29 14:23:38 +02:00
wmayer
c06a4d462b Mesh: [skip ci] support of WebGL/X3D export 2020-08-28 18:06:55 +02:00
wmayer
dbcf003f34 Mesh: [skip ci] fix bug in binary PLY export for mesh with colors 2020-08-27 15:11:30 +02:00
wmayer
b0f78f5a3d Mesh: [skip ci] improve support of asymptote export 2020-08-27 15:10:23 +02:00
wmayer
dd7afa72de Mesh: [skip ci] adjust MeshInput::supportedMeshFormats() 2020-08-27 14:08:04 +02:00