Commit Graph

13226 Commits

Author SHA1 Message Date
Russell Johnson
1ac8f4cfe9 4th-axis update (#2311)
Improve property creation
Improve property setup
Implement PathLog.debug() for troubleshooting.
Improve default property values.
Remove unused and incomplete method
Remove unnecessary comments; fix final depth issue
4th-axis improvements
rotation method improvements
remove extra comment blocks
fix incorrect variable references
fix -0.0 re-introduction after initial filter
negative zero re-introduced causes problems with naming method for temp clones
Update faceRotationAnalaysis() method
update opFeatures()
Commented out call to PathOp.FeatureRotation
This feature not yet implemented.
delete call to removed method - self.reportThis()
Remove unnecessary comments
2019-07-01 09:30:58 -05:00
Abdullah Tahiri
e9f3551f8f Sketcher: Mode filter of Elements Widget
========================================

A combobox type filter to filter out on Normal geometry, Construction geometry, External geometry.

Useful, for example, to select and or delete only construction geometry.

It also fixes a bug, that external geometry was wrongly indexed in non-extended naming mode.
2019-07-01 13:49:06 +02:00
sliptonic
bf9f6021ab Merge pull request #2303 from Russ4262/path_3d_pocket_upgrade
[Path] 3D Pocket: Upgrade to collective face processing!
2019-06-30 18:54:30 -05:00
sliptonic
1e27decdc9 Merge pull request #2309 from Russ4262/4th_axis_drilling
[Path] PathDrilling: 4th-axis integration
2019-06-30 18:43:34 -05:00
Bernd Hahnebach
5c9e3ac187 FEM: code forating, solver fenics tools, get rid of not needed indent 2019-07-01 00:06:26 +02:00
Bernd Hahnebach
91ed554517 FEM: in out, get rid of not needed exception 2019-06-30 23:50:03 +02:00
Bernd Hahnebach
e31b086bc7 FEM: bare Python exceptions, fix the Import ones 2019-06-30 23:49:55 +02:00
Bernd Hahnebach
757fa0658e FEM: unit tests, set up documents without a try except 2019-06-30 23:49:47 +02:00
Russell Johnson
4fc39dfb36 PathDrilling 4th-axis integration
Initial integration of 4th-axis functionality to the Drilling op in PathWB
2019-06-30 14:14:38 -05:00
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
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