Commit Graph

21473 Commits

Author SHA1 Message Date
vocx-fc
466751c7a8 Draft: clean up code, PEP8, and docstrings in PathArray
Test the inputs to the `make_path_array` function
and return `None` if there is a problem.

Now the make function accepts as input a `"String"` which must be
the `Label` of an object in the document, so it is easier to create
arrays quickly from the Python console.

Add the new parameters to the make function, `align_mode`,
`tan_vector`, `force_vertical`, and `vertical_vector`.
These properties were added to the proxy object in 0db11da9cf.

Add  message deprecating the older call `makePathArray`.

Adjust the GuiCommand accordingly. Now it uses the commit
mechanism of the parent `Modifier` class so that the executed
functions are recorded in the Python console.

Clean up the `PathArray` class as well.
2020-06-05 13:14:46 +02:00
bartoszek
db84309150 Fix qt5:5.15.0 build. 2020-06-05 10:02:56 +02:00
sliptonic
e3b985e900 Merge pull request #3560 from Russ4262/Import_Base_Geometry_fix
Path: PathOpGui - Fix Base Geometry import feature
2020-06-04 13:17:28 -05:00
sliptonic
9c21caa7fe Merge pull request #3556 from Russ4262/3D_Surface_Waterline_Fixes
Path: 3D Surface and Waterline fixes per forum identification
2020-06-04 13:17:08 -05:00
wmayer
f4c97263a5 Mesh: [skip ci] fix regression in PlaneSurfaceFit::Initialize 2020-06-04 19:29:00 +02:00
WandererFan
96f2eee40e Merge pull request #3559 from WandererFan/SectionFaceError6
[TD]Improve section face display
2020-06-04 13:25:27 -04:00
Russell Johnson
fcd934b498 Path: PathOpGui - Fix Base Geometry import feature
for pre-existing operations
2020-06-04 10:54:43 -05:00
wmayer
515250485e Gui: [skip ci] fix unicode handling when showing units in status bar 2020-06-04 16:27:58 +02:00
WandererFan
2db99798f6 [TD]Improve section face display 2020-06-04 09:00:22 -04:00
wmayer
7fffe88433 gcc: [skip ci] fix -Waddress 2020-06-04 14:56:20 +02:00
Yorik van Havre
b1c7efa387 Arch: Added Profile command 2020-06-04 12:52:22 +02:00
Zheng, Lei
02ac923ca5 Gui: fix crash on selecting removing object
The crash happens if some code calls Gui::Selection().addSelect() of a
removing object in response to App::Document::signalDeletedObject.
2020-06-04 09:34:27 +02:00
Bernd Hahnebach
419b2addc0 FEM: constraint electrostatic potential, better addition of attributs 2020-06-04 08:55:09 +02:00
Russell Johnson
1d18ad5e0a Path: Fix for single selected non-planar face 2020-06-04 00:03:31 -05:00
Russell Johnson
c8f654e7a1 Path: Fix error with multi-language usage of QComboBox inputs
The methods here might need to be applied throughout PathWB to allow language translations of GUI combobox inputs.
2020-06-03 21:24:18 -05:00
Russell Johnson
c7222a51a7 Path: Fix duplication of gcode for Single-pass layer mode.. 2020-06-03 20:13:39 -05:00
Russell Johnson
4b9b1e3c76 Path: Clean up messaging and add translation() usage 2020-06-03 19:00:59 -05:00
Russell Johnson
2fe53c58bf Path: Fix failure to create model STL when selecting faces 2020-06-03 19:00:36 -05:00
Russell Johnson
7ba218f417 Path: Fix paths through model
All cut patterns except Offset were cutting through model.
2020-06-03 18:59:46 -05:00
Russell Johnson
d94ae6e813 Path: Simplify creation of debug objects
Path: Improve debug messages
2020-06-03 18:59:46 -05:00
Russell Johnson
7fd047a9be Path: Make missing connections between UI panel and operation 2020-06-03 18:59:46 -05:00
Russell Johnson
3e83b1d8e5 Path: Add missing cut patterns and organize the enumeration lists 2020-06-03 18:59:46 -05:00
Bernd Hahnebach
c0fa72929a FEM: fluid task panel, use log for a log 2020-06-04 00:29:21 +02:00
Bernd Hahnebach
0bfbe98b14 FEM: mechanical result task panel, small improvements 2020-06-04 00:25:42 +02:00
Bernd Hahnebach
0bfecf7af5 FEM: gmsh view provider, small improvements 2020-06-04 00:15:15 +02:00
Bernd Hahnebach
c8b67c8d39 FEM: ccx tools task panel, add comment 2020-06-04 00:09:47 +02:00
Bernd Hahnebach
20f7d61dec FEM: import module unit test, add missing packages 2020-06-03 23:49:11 +02:00
Bernd Hahnebach
feb5f78b74 FEM: migrate gui, move to gui utils 2020-06-03 23:49:09 +02:00
Bernd Hahnebach
ef6d394ce9 FEM: move task panel in separate module, constraint initial flow velocity 2020-06-03 23:49:07 +02:00
Bernd Hahnebach
8bbc1c3be2 FEM: move task panel in separate module, mesh region 2020-06-03 23:49:05 +02:00
Bernd Hahnebach
bc4212b065 FEM: move task panel in separate module, mesh group 2020-06-03 23:49:03 +02:00
Bernd Hahnebach
d930bc90d3 FEM: move task panel in separate module, mesh boundary layer 2020-06-03 23:49:01 +02:00
Bernd Hahnebach
2fa90a8b2e FEM: move task panel in separate module, material reinforced 2020-06-03 23:48:59 +02:00
Bernd Hahnebach
fc4dae0c02 FEM: move task panel in separate module, material common 2020-06-03 23:48:57 +02:00
Bernd Hahnebach
a732f51e47 FEM: move task panel in separate module, element rotation 1D 2020-06-03 23:48:55 +02:00
Bernd Hahnebach
caea80db44 FEM: move task panel in separate module, element geometry 2D 2020-06-03 23:48:52 +02:00
Bernd Hahnebach
ee0183bf27 FEM: move task panel in separate module, element geometry 1D 2020-06-03 23:48:50 +02:00
Bernd Hahnebach
ec287878ea FEM: move task panel in separate module, element fluid 1D 2020-06-03 23:48:48 +02:00
Bernd Hahnebach
b62192fa63 FEM: move task panel in separate module, constraint tie 2020-06-03 23:48:46 +02:00
Bernd Hahnebach
5238a5d5bc FEM: move task panel in separate module, constraint flow velocity 2020-06-03 23:48:44 +02:00
Bernd Hahnebach
01a3839bdf FEM: move task panel in separate module, constraint electrostatic potential 2020-06-03 23:48:42 +02:00
Bernd Hahnebach
c0c14934e7 FEM: move task panel in separate module, gmsh mesh 2020-06-03 23:48:40 +02:00
Bernd Hahnebach
ba3e4cdaa5 FEM: move task panel in separate module, solver ccxtools 2020-06-03 23:48:38 +02:00
Bernd Hahnebach
c74e2a6378 FEM: move task panel in separate module, result mechanical 2020-06-03 23:48:34 +02:00
Bernd Hahnebach
6d17c2451a FEM: prepare separation of task panels 2020-06-03 23:48:34 +02:00
Bernd Hahnebach
3df9bf5407 FEM: ccx writer, newline because of pep8 2020-06-03 23:48:32 +02:00
sliptonic
ddc7f43934 Merge pull request #3501 from gwicke/mesh_deflections
Path: Respect meshing tolerance settings for 3d surfaces
2020-06-03 15:46:08 -05:00
Zheng, Lei
1f41f6f088 App: improve FunctionExpression forward compatibility
Remove runtime check when constructing FunctionExpression, in order to
support future built-in function. Exception will be thrown when
evaluating the expression to inform user about the error.
2020-06-03 22:18:39 +02:00
ebrahimraeyat
8cf8989802 FEM: ccx writer, changes in element sections 2020-06-03 22:00:24 +02:00
Abdullah Tahiri
c2c0428e99 Sketcher: Fix solver failure when setting datum results in wrong solver information
===================================================================================

fixes:
https://forum.freecadweb.org/viewtopic.php?p=404945#p405014
2020-06-03 19:07:50 +02:00