Commit Graph

20474 Commits

Author SHA1 Message Date
Markus Lampert
18a0ff7bd0 Moved coin import under GuiUp clause 2021-03-18 11:44:57 -07:00
mlampert
48055c746f Merge branch 'master' into bugfix/dogbone-on-straight-edges-and-noop-moves 2021-03-17 20:13:56 -07:00
mlampert
4162e324c1 Merge branch 'master' into bugfix/job-setup 2021-03-17 20:09:52 -07:00
Markus Lampert
462b88d074 Cleanup marker after deleting them 2021-03-17 20:06:01 -07:00
Markus Lampert
fb4ec3e18e Added visualisation for dogbones during editing 2021-03-17 19:46:51 -07:00
Stephen Early
261ad81b0e Fix camera position buttons in WebGL export
Fix the "View Top" and "View Front" buttons on pages generated with the
WebGL exporter to select the same views as the FreeCAD Navigation Cube.
2021-03-17 18:48:19 +00:00
wmayer
fc39b205d2 OpenSCAD: fix test_import_surface by changing currently working directory 2021-03-17 12:35:15 +01:00
Bernd Hahnebach
8c1165f1e9 FEM: examples, elmer eigenvalues, add calculix solver for frequencies 2021-03-17 12:25:09 +01:00
wmayer
a1952dade7 OpenSCAD: fix utility_create_scad by changing currently working directory so that test_import_surface doesn't fail any more 2021-03-17 11:59:14 +01:00
wmayer
a9b602816d OpenSCAD: [skip ci] fix incorrect filename creation in unit tests 2021-03-17 11:56:58 +01:00
UR-0
0a06458cb3 [FEM] improve get_gmsh_version 2021-03-17 11:28:23 +01:00
Bernd Hahnebach
b34fe9bf19 FEM: examples, elmer tut1, eigenvalues, fix some problems 2021-03-17 10:45:37 +01:00
Bernd Hahnebach
16e851e0e0 FEM: fix unit test because of denisty writing. See 8f32144b447. This reverts f7605f29633 2021-03-17 09:33:21 +01:00
Bernd Hahnebach
9a25d17ad0 FEM: elmer writer, only write denisty if really needed, partitially revert c236616cb092, unit test fix in separate commit 2021-03-17 09:26:48 +01:00
mlampert
a2e0a6bbaf Merge branch 'master' into bugfix/job-setup 2021-03-16 19:58:52 -07:00
mlampert
de033975ac Merge branch 'master' into bugfix/dogbone-on-straight-edges-and-noop-moves 2021-03-16 19:58:34 -07:00
wmayer
b86deada1c Part: [skip ci] implement makeShellFromWires 2021-03-16 16:01:43 +01:00
Bernd Hahnebach
1e4d2777e6 Update task_material_common.py 2021-03-16 11:55:19 +01:00
Bernd Hahnebach
6acf00f401 FEM: material task panel, small code improvements 2021-03-16 11:22:27 +01:00
mlampert
0d75a148f8 Merge branch 'master' into bugfix/job-setup 2021-03-15 22:42:07 -07:00
Markus Lampert
a589be64d9 Dogbone resiliency against noop moves 2021-03-15 22:39:27 -07:00
Markus Lampert
eb91c02925 Dogbone resiliency against comments between moves 2021-03-15 22:39:18 -07:00
Markus Lampert
02c0a6dd7b Don't insert dogbone between two straight segments 2021-03-15 22:39:09 -07:00
Markus Lampert
7efc6743c3 Disable stock/model linking by default 2021-03-14 19:33:45 -07:00
Markus Lampert
8e1c2bf678 Fixed race condition in deleting job when cancelling its task panel 2021-03-14 18:33:22 -07:00
Markus Lampert
b05c055eee Fixed aligning path model along an axis. 2021-03-14 18:23:49 -07:00
marioalexis
4bbd75686c Draft: Fix regression in sync_snap_toolbar_button function 2021-03-14 17:14:58 -03:00
UR-0
192b1726fc [FEM] get Gmsh version 2021-03-14 17:22:09 +01:00
Bernd Hahnebach
4984d0031b FEM: unit tests, fix denisty writing in existing unit tests 2021-03-13 22:38:56 +01:00
Bernd Hahnebach
cd0f3405ee FEM: pep8 2021-03-13 21:47:50 +01:00
Bernd Hahnebach
7c46a54343 FEM: elmer writer, add comment 2021-03-13 21:47:40 +01:00
UR-0
2226db404a getPropertyOfGeometry() used to get BoundBox 2021-03-13 21:23:23 +01:00
UR-0
31ca5bc02e upgrade getBoundBoxOfAllDocumentShapes to handle more objects 2021-03-13 21:23:23 +01:00
UR-0
de9329a6c1 [FEM]implement Gmsh mesh property "MeshSizeFromCurvature" 2021-03-13 21:13:30 +01:00
Bernd Hahnebach
d1ce9c4c9d FEM: examples, add elmer nongui tutorial 1, eigenvalue of a beam 2021-03-13 20:59:09 +01:00
Bernd Hahnebach
0badb7dc2a FEM: elmer writer, do write density in any case 2021-03-13 20:58:56 +01:00
sliptonic
34ace78388 Merge pull request #4573 from Russ4262/fix_pocketshape_warning_msg
[Path] PocketShape: Remove 'verify final depth' warning
2021-03-13 11:54:05 -06:00
Russell Johnson
1ce0389e45 Path: Fix connected multi-face clearing bug
Identified by MLampert.  If multiple faces are selected at varying Z-heights, the `combineConnectedShapes()` method fails to connect them due to offset Z-heights.  This fix places all input faces for that method into the same working plane.
2021-03-13 11:34:35 -06:00
sliptonic
e954bf0f2a Merge pull request #4613 from sliptonic/bug/outputsplit
[PATH] Fix bug with spindle not restarting
2021-03-13 09:46:39 -06:00
Chris Hennes
748e113418 [OpenSCAD] Reimplement surface() to match OpenSCAD
The original implementation of the surface() function used a simple
B-spline representation for the surface, which generated degenerate
surface with several of OpenSCAD's demo input files. This commit
modifies the algorithm to generate a discrete surface identical to the
one generated within OpenSCAD itself. It also adds several units tests
to identify future regressions.

Note that PNG input is not yet supported for the surface() function.
2021-03-13 16:11:16 +01:00
wmayer
cb41286beb PD: adjust unit test for mirrored offset that doesn't fail any more 2021-03-13 14:48:16 +01:00
wmayer
5e71f945c4 PD: remove empty try/catch block 2021-03-13 14:48:16 +01:00
David Osterberg
482129c5a4 PartDesign: Transformed. Fix regression in preview 2021-03-13 14:48:16 +01:00
David Osterberg
b7ac48aef7 PartDesign: Transformed. Fix regression for Mirrored, and multiple features 2021-03-13 14:48:16 +01:00
David Osterberg
79facc579e PartDesign: Transformed: Allow explict selection of overlap mode 2021-03-13 14:48:16 +01:00
David Osterberg
34fbe57485 PartDesign: Performance improvements in Transformed (pattern)
- Use fuzzy fuse/cut method with tolerance Precision::Confusion()
- Use parallel computation feature
- Allow that individual patterned item fail to intersect the baseobject.
	Issue warning instead of error. This was done for performance reasons
	but it can also be considered a feature.
- Simplify the code a bit
- Distinguish between overlapping mode and non-overlapping mode. In non-overlapping mode
  the tool shapes are compounded instead of fused. For huge benefit in performance.
2021-03-13 14:48:16 +01:00
grggnzlz
5fe4730cbc Sketcher: Constraint svg caching
================================

Calls to:
Gui::BitmapFactory().pixmapFromSvg(type.toLatin1().data(),QSizeF(edit->constraintIconSize,edit->constraintIconSize));

are expensive and the scaled pixmap is heavily reused.

Solution is to cache the icon.
2021-03-13 06:43:10 +01:00
Abdullah Tahiri
b47c7cf368 Sketcher: allow icon/color update in STATUS_SKETCH_UseHandler mode
==================================================================

Updating color and constraint icons does not seem necessary in other modes:
https://forum.freecadweb.org/viewtopic.php?f=3&t=56064&start=10#p486578
2021-03-13 06:43:10 +01:00
grggnzlz
a4b5f436e7 Sketcher: fix performance issue with drawing svg icons 2021-03-13 06:43:10 +01:00
sliptonic
15d23af9f8 [PATH] Fix bug with spindle not restarting
if output is split by operation spindle should restart when next file is loaded
2021-03-12 13:12:09 -06:00