Commit Graph

19246 Commits

Author SHA1 Message Date
wmayer
f4e3e8abd6 Mesh: [skip ci] refactor Mesh open/import functions 2021-03-20 21:54:30 +01:00
wmayer
182952a881 Mesh: [skip ci] do not make lower case read lines of OBJ file as otherwise it may fail to load the MTL file 2021-03-20 19:19:30 +01:00
Abdullah Tahiri
3a656d8597 Sketcher: UI Constraint Creation - PointOnObject + Tangency on edge constraint substitution
============================================================================================

On creation of a constraint from the UI (toolbar/menu):

1. if a PointOnObject constraint preexisted the addition of an
edge-to-edge tangency, substitute it with a point-to-edge tangency.

2. if an edge-to-edge tangency preexisted, addition of a PointOnObject
results in a substitution of the edge-to-edge tangency with an edge-to-curve
tangency.

Bonus:
- Refactor of this with preexisting coincident+tangent substitution.
- Activate both substitutions in continuous constraint addition mode.
2021-03-20 18:12:54 +01:00
Abdullah Tahiri
c08a19626f Sketcher: Use old NotifyConstraintSubstitution parameter in DlgCheackableMessageBox 2021-03-20 15:59:15 +01:00
David Osterberg
d759a8e43d Sketcher: Change constraint-conversion MessageBox to DlgCheckableMessageBox 2021-03-20 15:59:15 +01:00
Claas Ahlrichs
f0f25af3f5 Update grbl_post.py 2021-03-20 10:27:46 +01:00
wmayer
9c8685c20c Import: [skip ci] avoid conflicting class names in global namespace 2021-03-19 15:18:25 +01:00
Markus Lampert
67555d2cc3 Fixed coin import for py3 class initialisation 2021-03-18 18:00:55 -07:00
Markus Lampert
e510d095c4 Moved coin import under GuiUp clause 2021-03-18 11:44:57 -07:00
mlampert
cbb76ca84e Merge branch 'master' into bugfix/dogbone-on-straight-edges-and-noop-moves 2021-03-17 20:13:56 -07:00
mlampert
49c6349a5c Merge branch 'master' into bugfix/job-setup 2021-03-17 20:09:52 -07:00
Markus Lampert
1704f42fb4 Cleanup marker after deleting them 2021-03-17 20:06:01 -07:00
Markus Lampert
c343533604 Added visualisation for dogbones during editing 2021-03-17 19:46:51 -07:00
Stephen Early
75b4225d45 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
371b089ea0 OpenSCAD: fix test_import_surface by changing currently working directory 2021-03-17 12:35:15 +01:00
Bernd Hahnebach
cf241d0c93 FEM: examples, elmer eigenvalues, add calculix solver for frequencies 2021-03-17 12:25:09 +01:00
wmayer
9a105e3405 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
0581409fbe OpenSCAD: [skip ci] fix incorrect filename creation in unit tests 2021-03-17 11:56:58 +01:00
UR-0
0f12d6e9ec [FEM] improve get_gmsh_version 2021-03-17 11:28:23 +01:00
Bernd Hahnebach
5bf22ad4ac FEM: examples, elmer tut1, eigenvalues, fix some problems 2021-03-17 10:45:37 +01:00
Bernd Hahnebach
71141d0964 FEM: fix unit test because of denisty writing. See 3e1b16b198. This reverts 8ec3766b00 2021-03-17 09:33:21 +01:00
Bernd Hahnebach
3e1b16b198 FEM: elmer writer, only write denisty if really needed, partitially revert 2d73444a66, unit test fix in separate commit 2021-03-17 09:26:48 +01:00
mlampert
bf3a3a871e Merge branch 'master' into bugfix/job-setup 2021-03-16 19:58:52 -07:00
mlampert
5ad9f69b71 Merge branch 'master' into bugfix/dogbone-on-straight-edges-and-noop-moves 2021-03-16 19:58:34 -07:00
wmayer
4561deb4fa Part: [skip ci] implement makeShellFromWires 2021-03-16 16:01:43 +01:00
Bernd Hahnebach
bfdeaf6af3 Update task_material_common.py 2021-03-16 11:55:19 +01:00
Bernd Hahnebach
b9f4576dba FEM: material task panel, small code improvements 2021-03-16 11:22:27 +01:00
mlampert
f42d96fb46 Merge branch 'master' into bugfix/job-setup 2021-03-15 22:42:07 -07:00
Markus Lampert
fb49fb2470 Dogbone resiliency against noop moves 2021-03-15 22:39:27 -07:00
Markus Lampert
ef6d526bc3 Dogbone resiliency against comments between moves 2021-03-15 22:39:18 -07:00
Markus Lampert
35efc4ec4d Don't insert dogbone between two straight segments 2021-03-15 22:39:09 -07:00
Markus Lampert
501524e1dc Disable stock/model linking by default 2021-03-14 19:33:45 -07:00
Markus Lampert
2f2ea4c9d4 Fixed race condition in deleting job when cancelling its task panel 2021-03-14 18:33:22 -07:00
Markus Lampert
2ffa5be3fa Fixed aligning path model along an axis. 2021-03-14 18:23:49 -07:00
marioalexis
bc60c93266 Draft: Fix regression in sync_snap_toolbar_button function 2021-03-14 17:14:58 -03:00
UR-0
381ce4a830 [FEM] get Gmsh version 2021-03-14 17:22:09 +01:00
Bernd Hahnebach
8ec3766b00 FEM: unit tests, fix denisty writing in existing unit tests 2021-03-13 22:38:56 +01:00
Bernd Hahnebach
69aacc2fc5 FEM: pep8 2021-03-13 21:47:50 +01:00
Bernd Hahnebach
a8c1624b94 FEM: elmer writer, add comment 2021-03-13 21:47:40 +01:00
UR-0
f11945d1c7 getPropertyOfGeometry() used to get BoundBox 2021-03-13 21:23:23 +01:00
UR-0
abf4fee6a4 upgrade getBoundBoxOfAllDocumentShapes to handle more objects 2021-03-13 21:23:23 +01:00
UR-0
65b9f8b43d [FEM]implement Gmsh mesh property "MeshSizeFromCurvature" 2021-03-13 21:13:30 +01:00
Bernd Hahnebach
9f2d1d76c8 FEM: examples, add elmer nongui tutorial 1, eigenvalue of a beam 2021-03-13 20:59:09 +01:00
Bernd Hahnebach
2d73444a66 FEM: elmer writer, do write density in any case 2021-03-13 20:58:56 +01:00
sliptonic
4092c97bac 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
bd6c8324ab 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
e6801d9c58 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
6bf27e0ae1 [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
f55c46cc86 PD: adjust unit test for mirrored offset that doesn't fail any more 2021-03-13 14:48:16 +01:00
wmayer
ee60ccd044 PD: remove empty try/catch block 2021-03-13 14:48:16 +01:00