Commit Graph

20158 Commits

Author SHA1 Message Date
Daniel Wood
40cdf68491 only reset the Op visibility when the active state is toggled 2020-05-24 07:48:55 +01:00
Gabriel Wicke
1f22269be0 Path: Safer step over optimization
- Only apply aggressive optimizations to short horizontal moves within
  cutter diameter. The safe model STL does not accurately reflect stock
  state, so using it for determining long distance move safe heights is
  not safe. There would be a high chance of hitting the stock at rapid
  speeds.

  Thankfully, the vast majority of step-overs tend to be short, so are
  still optimized.
- For short moves, only allow completely lift-free transitions when
  there is (almost) no Z change, and the min safe travel height does not
  rise above the same level.
  Otherwise, lift to the max of end points and min safe travel height
  first, then move horizontally. A future optimization would be to
  directly use the drop scan for transition path generation.
2020-05-23 20:18:37 -07:00
wmayer
1803c4df0e Sketcher: [skip ci] do not rename object identifier of an expression on undo/redo 2020-05-23 21:30:02 +02:00
Daniel Wood
ccadfd1673 Enable the selection of circles, arcs and faces to set the job origin 2020-05-23 16:30:55 +01:00
wandererfan
6a3b2a02f5 [Draft]Post-review changes 2020-05-23 11:22:14 -04:00
wandererfan
770e6c57c2 [Draft]Trap missing ViewObject attribute
- sometimes VO does not have DiffuseColor
  attribute
2020-05-23 11:22:14 -04:00
wandererfan
a697c838fc [Draft]Additional modes for PathArray 2020-05-23 11:22:14 -04:00
joha2
bdfd0b10a7 FEM: add methods to to edit mesh groups:
- add addGroup, addGroupElements, removeGroup to C++ mesh class
- expose the methods to Python
- add a unit test class
- update test commands file
- add test to fem test app module
2020-05-23 14:56:15 +02:00
Bernd Hahnebach
39d520f672 FEM: unit tests, add print to test command creation method 2020-05-23 14:56:10 +02:00
Bernd Hahnebach
fbca6946d5 FEM: writer base, change print from error to warning 2020-05-23 13:06:01 +02:00
Bernd Hahnebach
a780c1f730 FEM: unit test information, update 2020-05-23 13:05:58 +02:00
Abdullah Tahiri
d5f29f79d3 PartDesign: Chamfer feature corrections and improvements
========================================================

- Correction to mustExecute() to account for the new properties
- Make properties not used by the mode as read-only.
- Gui: apply() only for construction mode valid features
2020-05-23 12:24:08 +02:00
Armandas Jarušauskas
8c303d3f25 PartDesign: Chamfer direction flipping support 2020-05-23 12:24:08 +02:00
Armandas Jarušauskas
7ecbb42a98 PartDesign: Chamfer icon art - flip icon 2020-05-23 12:24:08 +02:00
Armandas Jarušauskas
84afdc6d96 PartDesign: Chamfer - updated parameter validation code. 2020-05-23 12:24:08 +02:00
Armandas Jarušauskas
83b77f1500 PartDesign: Chamfer with multiple creation modes 2020-05-23 12:24:08 +02:00
Bernd Hahnebach
e279d2fc97 FEM: cmake, fix file move 2020-05-23 10:43:06 +02:00
Bernd Hahnebach
08a6c2d616 FEM: move test informations and test commands into femtest 2020-05-23 10:37:10 +02:00
Bernd Hahnebach
cc51121c8a FEM: unit tests, code improvements 2020-05-23 09:34:56 +02:00
Bernd Hahnebach
aefffd74fb FEM: unit test, fix not closed documents 2020-05-23 09:12:45 +02:00
Bernd Hahnebach
d006ae7c27 FEM: test informations, update 2020-05-23 09:12:41 +02:00
Bernd Hahnebach
7024732de1 FEM: test commands, update and improvements 2020-05-23 08:40:19 +02:00
Bernd Hahnebach
09928b19ff FEM: test informatins, improve formating 2020-05-23 08:18:44 +02:00
Bernd Hahnebach
236e5d6001 FEM: test app, move all comments in separate file 2020-05-23 08:06:32 +02:00
Bernd Hahnebach
91e106add3 FEM: material task panel, code formating 2020-05-23 07:59:17 +02:00
qingfengxia
b49b9c3a7a FEM: material task panel, make use of the new input field update method 2020-05-23 00:03:16 +02:00
qingfengxia
8a74e550d8 FEM: material task panel, add method to update input field values 2020-05-23 00:03:14 +02:00
qingfengxia
768b1e718a FEM: fix unit for volumetric thermal exapnsion coefficient 2020-05-23 00:03:12 +02:00
Bernd Hahnebach
3725a78124 FEM: fix unit test 2020-05-22 22:26:04 +02:00
Bernd Hahnebach
4d961531f3 FEM: normalise license headers 2020-05-22 18:55:05 +02:00
Bernd Hahnebach
b16348cd6e FEM: solver base, fix regression added with a3397856c1 2020-05-22 17:52:24 +02:00
Bernd Hahnebach
fe7cb17544 FEM: unit tests, add separate tests for Gui 2020-05-22 15:55:56 +02:00
Bernd Hahnebach
2ad9a35593 FEM: unit tests, add app to test fem module name 2020-05-22 15:55:56 +02:00
Bernd Hahnebach
c51d545b9b FEM: cmake, some formating 2020-05-22 15:55:54 +02:00
Bernd Hahnebach
e3b7aecb71 FEM: unit tests, import py modules, do not import taskpanel in cmd mode 2020-05-22 11:59:55 +02:00
Bernd Hahnebach
920d9c3263 FEM: migrate modules, small fix 2020-05-22 11:08:44 +02:00
Bernd Hahnebach
e6d64affcb unit tests, deacitvate contact solid solid 2020-05-22 09:31:36 +02:00
Bernd Hahnebach
863aa72e30 FEM: unit tests, fix syntax error 2020-05-22 08:53:30 +02:00
Bernd Hahnebach
f681e89b02 FEM: unit tests, reactivate unit test, do not run the test which do not pass on Python 2 2020-05-22 08:12:58 +02:00
Bernd Hahnebach
202ed20d4e FEM: Py2, deactivate migration modules 2020-05-22 08:12:31 +02:00
Russell Johnson
00c1038ffd Path: Expose property creation process to user access; Code cleanup
Path: EOL syncs with source

PathSurface and PathWaterline modules have incorrect, Windows, line endings and need to be converted to Unix style.
2020-05-21 23:24:17 -05:00
Russell Johnson
3a04e06cfa Path: Update for inter-panel visibility updates
Also, clear`singleStep` and `value` properties for `StepOver` spinBox in UI panel.
2020-05-21 23:24:17 -05:00
Russell Johnson
e8c9483201 Path: Add ProfileEdges and AvoidLastX_Faces inputs to GUI
Path: Set min & max values for `StepOver`
2020-05-21 23:24:17 -05:00
Russell Johnson
691c3900c1 Path: LGTM cleanup and PEP8 2020-05-21 23:24:17 -05:00
Russell Johnson
374df7838a Path: Relocate common 3D Surface and Waterline methods to support module 2020-05-21 23:24:17 -05:00
Russell Johnson
64d1a21b24 Path: Use lazyloader for importing some modules 2020-05-21 23:24:17 -05:00
Russell Johnson
c9782a3b69 Path: Improvements to user messages
Remove some messages.
Implement FreeCAD.Console.Print___() in place of PathLog.___().
Path: fixes
2020-05-21 23:24:17 -05:00
Russell Johnson
52e0b04cbf Path: new FindUnifiedRegions class
Improve `HandleMultipleFeatures` processing when set to `Collectively` by implementing new class to refine the processing area, attempting to remove common edges between connected face regions.
2020-05-21 23:24:17 -05:00
Russell Johnson
edda808c3c Path: Improve open-edges, messaging, Final Depth initial guess and more
Open-edges will now work in simple cases where user selects bottom edge, without requiring adjustment to Final Depth.  This will speed up procedural usage of the operation for open edges by re-enabling the `select-edge_create_OK` work flow.
The guessing procedure for Final Depth based on Base Geometry selected is fixed in `UpdateDepths()` method.
Improvements to user messages.
Remove unnecessary code and comments.
Improve debugging feedback.
2020-05-21 22:44:50 -05:00
Bernd Hahnebach
6fc6a62df2 FEM: unit tests temporary deactivate testst due to Python2 problem 2020-05-22 01:57:25 +02:00