Commit Graph

17188 Commits

Author SHA1 Message Date
Russell Johnson
e67fc4e706 3D Pocket: Upgrade to collective face processing!
New property added: `HandleMultipleFeatures`.
New property and related code allows for improved, and expected, 3D Pocket operations.
Improvement combines faces selected to create one envelope to be processed as the path shape ('collectively' setting).
Old behavior is available with 'Individually' setting.
Enjoy!
2019-06-30 14:06:37 -05:00
sliptonic
4715fc45ba Merge pull request #2305 from mlampert/bugfix/pocket-shape-extensions
Path: Bugfix/pocket shape extensions
2019-06-30 14:05:19 -05:00
Yorik van Havre
36bc48c9bf Draft: Better positioned layers button popup + new layer entry 2019-06-30 13:32:42 -03:00
sliptonic
a62607505f Merge branch 'master' into bugfix/pocket-shape-extensions 2019-06-30 09:32:07 -05:00
Russell Johnson
3132dfbf54 ProfileFaces: Fix obj.processPerimeter feature (#2306)
https://forum.freecadweb.org/viewtopic.php?f=15&t=37368
if obj.processPerimeter: `else` block re-configured to read new property, `HandleMultipleFeatures`
Removed some excess comments
2019-06-30 09:31:30 -05:00
Bernd Hahnebach
fe91c44508 FEM: code formating, max line length in unit test module 2019-06-30 14:09:05 +02:00
Bernd Hahnebach
1a67ec6c26 FEM: flake8 and lgtm, dummy usage of imports in unit test module 2019-06-30 14:08:55 +02:00
Yorik van Havre
507c40669d Draft: Turned autogroup button into layers selector (added pref option to restore old groups-based system) 2019-06-30 01:00:50 -03:00
Markus Lampert
68939608ea Properly deal with deleted objects when cleaning up the extension visualisation. 2019-06-29 19:16:33 -07:00
Markus Lampert
aa15a6cf4a Cover entire hole if pockeet extension is bigger than hole. 2019-06-29 18:16:56 -07:00
Markus Lampert
4fb0b04a39 Fixed extensions for round holes. 2019-06-29 18:16:56 -07:00
Markus Lampert
05249b2123 Removed redundant log message 2019-06-29 18:16:56 -07:00
Markus Lampert
9c5fa124c3 Fixed extension selection 2019-06-29 18:16:56 -07:00
Markus Lampert
70d8be5b3c Fixed document restoration logic. 2019-06-29 18:16:56 -07:00
Yorik van Havre
fe3cb2f0e8 Moving OfflineRenderingUtils.py from Draft to Arch 2019-06-29 21:03:03 -03:00
Yorik van Havre
6778232022 Draft: Added Offline rendering utils module 2019-06-29 20:59:46 -03:00
Yorik van Havre
44b9929d8c Draft: Fixed SelectPlane command not working when an object is selected 2019-06-29 19:48:41 -03:00
Bernd Hahnebach
d19470a971 FEM: ccx writer, lgtm, Nested for statement uses loop variable 'femobj' of enclosing for statement 2019-06-29 13:22:38 +02:00
Bernd Hahnebach
06f42de79e FEM: lgtm, various improvements 2019-06-29 13:22:31 +02:00
Bernd Hahnebach
4bcf2446a0 FEM: lgtm, do not test if for a constant, because it will give the same result in any case 2019-06-29 13:22:23 +02:00
Franck Jullien
accf578dd9 [TD] Fix TaskPanel comboBox values 2019-06-29 06:31:54 -04:00
Yorik van Havre
9e174f1115 AddonManager: Fixed wrong file name 2019-06-28 12:26:18 -03:00
Yorik van Havre
287d763ee9 AddonManager: Added Render icon 2019-06-28 12:00:25 -03:00
Oliver Oxtoby
89b8ab6128 [AddonManager] Correct the name of the CfdOF workbench icon 2019-06-28 11:41:27 -03:00
luz.paz
4d7d46b4e8 [AddonManager] Add Geomatics WB logo 2019-06-28 11:40:38 -03:00
luz.paz
3abffaea31 src/App/MaterialPyImp.cpp: fix source code typos
s/transpareny/transparency/
2019-06-28 11:39:36 -03:00
luz.paz
e0377f8e4f Misc. typo and whitespace fixes
Found via `codespell`
2019-06-28 11:39:36 -03:00
luz.paz
ffd0019063 Fix for ac2eb3 + general unifromity fix
Previous commit (ac2eb3) was incomplete. This commit fixes it. The commit also includes an general uniformity fix.
2019-06-27 15:36:12 -03:00
Yorik van Havre
49067725c3 AddonManager: Fixed image links 2019-06-27 14:53:02 -03:00
wmayer
115ff0191e improve projection of points onto mesh 2019-06-27 19:27:47 +02:00
wmayer
c5e400cd38 Add methods to get intersections of mesh edges, project point on edge 2019-06-27 19:27:12 +02:00
Yorik van Havre
5fb22278e8 Arch: Removed log message in DAE exporter 2019-06-27 11:54:15 -03:00
luz.paz
ac2eb3604f [AddonManager] Add DynamicData WB Logo 2019-06-27 11:51:11 -03:00
carlopav
e7e3550901 [Draft] Cleaned code in arc 3Points preview
Arc tracker during creation is computed by arc tracker new method.
2019-06-27 11:50:45 -03:00
carlopav
87225f0a6b [Draft] Fixed a bug in arc editing and added preview
Fixed a bug so arc editing take correctly the placement into account.
Added preliminary support for preview during arc editing. To be improved in the future.
2019-06-27 11:50:45 -03:00
carlopav
04ce90c4fd [Draft] Arc Tracker by 3points method
Added arcBy3Points method to arc tracker
2019-06-27 11:50:45 -03:00
Syres916
cdcc647458 [AddonManager] Improve handling of Wb Readme images
...with particular regard to Windows character limit.
2019-06-27 11:49:44 -03:00
furti
f58c20afec Fix some problems with ArchFence
The commit that introduces the colorization option added some problems.
First the "sectionFaceNumbers" property is only set when an execute is
performed. When this does not happen, an exception is thrown when the
document is saved that contains a fence created with an older version
of FreeCAD.

Also the new Props on the ViewProvider where not set because the
"onDocumentRestored" is not reckognized for ViewProviders.
2019-06-27 11:48:50 -03:00
furti
99a816699f Fix possible colorization problem
When we set "UseOriginalColors" to true, it is possible that we cant
calculate the exact number of diffuse colors, because the "applyShape"
method optimized the shape somewhat. That operations could remove faces.

To fix this for now, we simply set the shape without further optimizations.
2019-06-27 11:48:50 -03:00
paullee0
41d54eb25f Fix offsetWire() to treat wire with 1 edge (circle e.g) correctly (no need to connect()) 2019-06-27 11:30:59 -03:00
Bernd Hahnebach
0944d2f45c FEM: flake8, lgtm, try to get them both quiet 2019-06-27 13:23:48 +02:00
Bernd Hahnebach
251a3b1ff5 FEM: gui objects, catch a syntax error, if the user triggers the OK button with a wrong input 2019-06-27 00:21:46 +02:00
Bernd Hahnebach
b6fa7bd78d FEM: gui objects, fix problems because off different Attribute names of part to mesh in mesh objs 2019-06-27 00:21:40 +02:00
Bernd Hahnebach
441b3d517e FEM: utils, add a method to get the Part to mesh 2019-06-27 00:21:34 +02:00
Bernd Hahnebach
ece1b7ecba FEM: gui, commands, typo the second one :-) 2019-06-26 21:35:46 +02:00
wmayer
c1d9087d09 add method to project points on mesh 2019-06-26 16:57:14 +02:00
wandererfan
916fe7ced3 [TD]Remove tracker on Cancel 2019-06-26 08:19:12 -04:00
mwganson
9a3fe1fb78 TaskCheckGeometry -- log geometry check errors to report view 2019-06-26 12:13:23 +02:00
mwganson
961ffce93e TaskCheckGeometry settings panel with runBOPCheck option 2019-06-26 12:02:43 +02:00
Zheng, Lei
0bab393394 BrowserView: fix QWebEngine focus problem 2019-06-26 11:10:51 +02:00