Commit Graph

17205 Commits

Author SHA1 Message Date
Gabriel Wicke
670f3b6098 Path: Area based unified projection implementation
Generalize the `extractFaceOffset` method to `getOffsetArea`, which can
handle both face offsetting and projection. Another difference is that
the new method exposes Area's ability to preserve internal holes,
defaulting to preserving. The method is moved to the PathUtils module,
reflecting its generality and fairly wide used across Path.

This method is then used to provide a drop-in alternative to
`FindUnifiedRegions` via a small wrapper in PathSurfaceSupport. The Area
implementation is generally quick, but can fail (throw) in some cases,
so the wrapper is trying the Area method as an optimization first, and
falls back to the full `FindUnifiedRegions` logic if that fails.
2020-07-21 18:34:09 -07:00
Bernd Hahnebach
c61a1d2dbf FEM: solver frame work, beside dir fix 2020-07-21 22:12:16 +02:00
Bernd Hahnebach
0518db90b6 FEM: unit tests, fix z88 for installed FC 2020-07-21 20:54:30 +02:00
sliptonic
43f4ae927d Merge pull request #3709 from etrombly/3dSurface
[Path] fix two never ending while loops in PathSurfaceSupport
2020-07-21 10:58:48 -05:00
Bernd Hahnebach
933c90c74a Arch: import ifc, use the new layer make command since the dereciated one does not create layers on import 2020-07-21 15:18:41 +02:00
wmayer
0eb7967c40 Coverity: [skip ci] Dereference before null check
Remove logically dead code because 'pcActiveBody' cannot be null at this stage
2020-07-21 14:33:54 +02:00
wmayer
2588d0701a Coverity: [skip ci] Dereference before null check 2020-07-21 14:31:09 +02:00
wmayer
b3d292865f Coverity: [skip ci] Bad use of null-like value 2020-07-21 12:23:10 +02:00
Bernd Hahnebach
a3de62c8f1 FEM: calculix solver, fix result mesh purging on multiple result obj. 2020-07-21 07:27:42 +02:00
Sudhanshu Dubey
94509e8c18 FEM: unit tests, add tests for cantilever examples 2020-07-21 00:06:08 +02:00
Sudhanshu Dubey
36b00c0e91 FEM: unit tests, add test for node load example 2020-07-20 23:52:28 +02:00
Sudhanshu Dubey
be6ce20a48 FEM: unit tests, add test for edge load calculation example 2020-07-20 23:52:13 +02:00
Sudhanshu Dubey
f4980e73cb FEM: examples, add node load calculation example 2020-07-20 23:52:05 +02:00
Sudhanshu Dubey
5681af9206 FEM: examples, add edge load calculation on twisted hollow profile 2020-07-20 23:51:58 +02:00
Bernd Hahnebach
2f4c0bc5a8 FEM: fix unit test after coverity test 2020-07-20 23:11:18 +02:00
Bernd Hahnebach
6c47bb5b9e FEM: coverity, some left outs 2020-07-20 23:10:47 +02:00
Bernd Hahnebach
af4a520716 FEM: coverity, control flow issues 2020-07-20 22:34:04 +02:00
Bernd Hahnebach
8a6eaed01f FEM: coverity, Null pointer dereferences 2020-07-20 22:33:54 +02:00
Bernd Hahnebach
93a00dc4b2 FEM: elmer and z88 writer, add input files directory print 2020-07-20 19:37:34 +02:00
Bernd Hahnebach
cbf48af184 FEM: elmer tasks, better handling of not available elmer env variables 2020-07-20 19:37:25 +02:00
Bernd Hahnebach
1db461837d FEM: examples, selfweight elmer, change solver attribute 2020-07-20 19:37:17 +02:00
wmayer
983939b32d Coverity: Uninitialized scalar/pointer field 2020-07-20 17:34:30 +02:00
wmayer
560e13c5f2 Coverity: Unchecked return value 2020-07-20 17:34:30 +02:00
wmayer
9b2a6edeb0 Coverity: Uncaught exception 2020-07-20 17:34:29 +02:00
wmayer
f82389d67e Coverity: Useless call 2020-07-20 17:34:28 +02:00
wmayer
a9202f931b Coverity: Unchecked dynamic_cast 2020-07-20 17:34:28 +02:00
wmayer
2453a50aba Coverity: Structurally/Logically dead code 2020-07-20 17:34:28 +02:00
wmayer
b862c0fa41 Coverity: Using invalid iterator 2020-07-20 17:34:27 +02:00
wmayer
7224fe8e8f Coverity: Explicit null dereferenced 2020-07-20 17:34:27 +02:00
wmayer
f37c728a2c Coverity: Division or modulo by float zero 2020-07-20 17:34:26 +02:00
wmayer
ba683bf241 Coverity: Dereference null return value 2020-07-20 17:34:26 +02:00
wmayer
0a6929a122 Coverity: Dereference after null check 2020-07-20 17:34:25 +02:00
wmayer
c4bb1ff762 Coverity: Copied into fixed size buffer 2020-07-20 17:34:25 +02:00
wmayer
36363b3f14 Coverity: Resource leak 2020-07-20 17:34:24 +02:00
wmayer
083d0e012f Coverity: Invalid printf format string 2020-07-20 17:34:23 +02:00
Bernd Hahnebach
fbd222ca2a FEM: migrate tools, fix github links 2020-07-20 16:22:47 +02:00
Bernd Hahnebach
d93229b8c5 FEM: writer base: use warning instead of error message 2020-07-20 16:22:47 +02:00
mikeprice99
a3749d38b1 fixed door open plan symbol and make makeWindow use name parameter 2020-07-20 14:26:35 +02:00
mwganson
e6aee6b5e6 [openscad] mirror mesh feature -- rename OpenSCADUtils.mirror() to OpenSCADUtils.mirrormesh(), and provide some better interactive help information when typing OpenSCADUtils.mirrormesh() into the python console 2020-07-20 14:24:29 +02:00
mwganson
6c85779ec4 [openscad] mirror mesh feature -- separate gui from function 2020-07-20 14:24:29 +02:00
mwganson
ee7b4054ce [openscad] fix refine shape feature 2020-07-20 14:24:29 +02:00
mwganson
89ff7e16e2 [openscad] add updated icon to qrc file 2020-07-20 14:24:29 +02:00
mwganson
342fc03ce2 [openscad] work on icon for mesh mirror 2020-07-20 14:24:29 +02:00
mwganson
f429b568bb [openscad] add icon for mirror mesh feature 2020-07-20 14:24:29 +02:00
mwganson
c845ece1e3 [openscad] add ulrich's mirror mesh macro, fix error in refine shape 2020-07-20 14:24:29 +02:00
vocx-fc
0fa3f8b81b Draft: add Draft Layer unit tests
Also create a test `Layer` in the `draft_test_objects` script.
2020-07-20 14:21:15 +02:00
vocx-fc
ee11678a58 Draft: migrate Layer object and function to the new structure
Move `make_layer` to `draftmake`; `Layer` and `LayerContainer`
to `draftobjects`; `ViewProviderLayer` and `ViewProviderLayerContainer`
to `draftviewproviders`.

The make function and the classes are imported in `Draft.py`
to support the usage of the older `VisGroup`.
2020-07-20 14:21:15 +02:00
vocx-fc
ff4cb41860 Draft: move GuiCommand for Draft Layer to its own module 2020-07-20 14:21:15 +02:00
Mateusz Skowroński
06f72637d7 Mod/Web: Use of deprecated not thread-safe setter, use setUrlRequestInterceptor instead. 2020-07-20 14:18:12 +02:00
paul lee
f8584455f8 [ArchWall] Failed if Sketch as Base has Point, now OK
FC Forum Discussion -
https://forum.freecadweb.org/viewtopic.php?f=23&t=48668&sid=ba6dd68ad32eefbad6ae95d8fadc30e6#p416779
2020-07-20 14:17:28 +02:00