Bernd Hahnebach
0c00f5e85c
FEM: solver tasks, use same result reading method name in all solver
2021-07-25 19:18:13 +02:00
Russell Johnson
0504ebc704
Path: Add Array operation to recognized Active types for toggle
2021-07-24 22:29:18 -05:00
Russell Johnson
ff03764e95
Path: Add Active property to PathArray object; Fixes #4704
...
This property is required for the Path Simulator. It might also be required for some post-processing procedures.
2021-07-24 22:29:18 -05:00
Russell Johnson
fe06dfefb6
Path: Improve method name for setting editor modes for properties
2021-07-24 22:29:18 -05:00
Russell Johnson
d12312a469
Path: Improve variable names for mode values
2021-07-24 22:29:18 -05:00
Russell Johnson
ffa74e0aa5
Path: Refactor path array algorithm into independent PathArray class
...
New class is `obj` independent allowing for greater scripting capability.
Added missing `onDocumentRestored()` method to ObjectArray class to handle property visibility and edit modes, per standard Path operations on document restoration.
2021-07-24 22:29:18 -05:00
Russell Johnson
249b3f5133
Path: Close Adaptive geometry source file upon unit test completion
2021-07-24 21:59:05 -05:00
Russell Johnson
23b4c1363b
Path: Re-enable all disabled Path unit tests
2021-07-24 21:39:25 -05:00
Russell Johnson
161388b522
Path: Fix multi-OS path issue.
...
Not all operating systems use the same path scheme - the slash direction. The issue fixed with this commit exists in other parts of the Path workbench
2021-07-24 16:46:49 -05:00
Russell Johnson
c13f42bd89
Path: Code cleanup, remove duplication, fix obj.removalshape shape
2021-07-24 11:57:53 -05:00
Russell Johnson
aa76499a53
Path: Fix bug with inaccurate Task Panel values upon new op creation
...
Path: Fix bug with inaccurate Task Panel values upon new op creation
2021-07-24 11:57:53 -05:00
Russell Johnson
1939ea7be4
Path: Fix readonly lockout bug with blank expression
2021-07-24 11:57:53 -05:00
Russell Johnson
b4d90562c1
Path: Prioritize self.parent and self.obj declarations
...
This prioritization and conversion of `self.parent` declaration allows for removal of the `setParent()` method.
2021-07-24 11:57:53 -05:00
Russell Johnson
e6d6301769
Path: Restore edge processing to Adaptive as in 0.19 release
2021-07-24 11:42:30 -05:00
Russell Johnson
6b822558e6
Path: Improve comments and docStrings
2021-07-24 11:00:17 -05:00
Russell Johnson
33650efbe8
Path: Delete dead code and comments
2021-07-24 10:59:43 -05:00
sliptonic
9d5c9cdc80
Merge pull request #4917 from Russ4262/fix/Adaptive_process_edges
...
[Path] Adaptive: Correct the processing of selected edges
2021-07-23 12:35:08 -05:00
ho-ho-ho
4d0b034a2d
Path: fix grbl --return-to placement
2021-07-23 16:48:30 +02:00
Russell Johnson
6108f9982e
Path: Add some Adaptive unit tests
...
Also includes alphabetical sort of affected lists in CMakeLists and TestPathApp files.
Unit tests focus around feature selection capabilities.
2021-07-22 23:16:53 -05:00
GUAN Xin
9d5e707350
Start: Properly hash thumbnail filenames
...
Image filenames should be encoded as URI before being hashed.
Also assume that filenames are already utf8 because the community
has been advertiseing utf8 usage since the beginning of this centry.
Calling .encode("utf8") on strings that are already in utf8 simply
raises the following exception:
UnicodeDecodeError: 'ascii' codec can't decode byte ...
for non-ascii (already utf8) strings.
It's in fact impossible to precisely determine pathname encoding
because different components within the path may have different
encodings, e.g., a utf8 directory name followed by an MBCS filename
is valid on Linux native filesystems.
It's the user's responsibility to keep the iocharset consistent.
2021-07-21 16:49:06 +08:00
sliptonic
c71c022b15
Merge pull request #4446 from Schildkroet/deburr_improve
...
[0.20][PATH] Deburr improve
2021-07-20 12:29:31 -05:00
Bernd Hahnebach
73d819a1e1
FEM: calculix writer, use generic elset variable names
2021-07-20 09:54:49 +02:00
Bernd Hahnebach
60739e0b22
FEM: mesh set getter, use ccx independent method names
2021-07-20 09:54:42 +02:00
Bernd Hahnebach
9e89a16078
FEM: mesh set getter, use ccx independent variable names
2021-07-20 09:54:35 +02:00
川島和津実
e8d2e35e42
Merge branch 'master' into shutil-no-which
2021-07-19 17:17:36 +08:00
GUAN Xin
bab49f88ef
Some shutil don't have the .which method.
...
Directly calling subprocess.Popen without checking the presence of the
program is the optimal solution because:
1) Avoids race condition, where the program disappears between the
check and the Popen call.
2) Popen will raise exception if the program is absent anyway,
no race condition here.
2021-07-19 14:12:03 +08:00
Bernd Hahnebach
a6e74bf8f0
FEM: material task panel, raise max possible young's modul value
2021-07-19 07:50:04 +02:00
marioalexis
b25b7f142d
Draft: Enable multiple selection for dumb task dialog in Modification commands
2021-07-19 02:45:17 -03:00
Syres916
b0c5f62672
[Draft] gui_utils Coin import addition
2021-07-18 19:52:31 +01:00
Bernd Hahnebach
2aeba3674a
FEM: tasks and writer, use generic solver input writing method name
2021-07-18 14:47:50 +02:00
Bernd Hahnebach
21889b16d5
FEM: writer base, typo
2021-07-18 14:47:43 +02:00
Bernd Hahnebach
c62334412a
FEM: mesh set getter, output print
2021-07-18 14:47:36 +02:00
marioalexis
23e92e038b
Draft: Save last WP used
2021-07-18 02:07:59 -03:00
marioalexis
1b7a703519
Draft: Fix regression generated in commit d3595bf
2021-07-18 02:07:08 -03:00
Syres916
39c450c909
[Draft] gui_utils Minor bugfix on change to...
...
...Draft Wb with grid enabled. Please backport to 0.19 branch, see discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=60251
2021-07-17 21:52:30 +01:00
Bernd Hahnebach
e172c07534
FEM: calculix writer, fix time output
2021-07-17 20:46:42 +02:00
Bernd Hahnebach
fcb91f36af
FEM: make use of mesh data getter class for calculix solver and ccxtools
2021-07-17 20:46:36 +02:00
Bernd Hahnebach
895c817f56
FEM: calculix writer, use mat geo sets instead of ccx elsets
2021-07-17 20:46:29 +02:00
Russell Johnson
544a87e235
Path: Remove unnecessary commented-out code blocks
2021-07-16 12:02:24 -05:00
Russell Johnson
44b82bfda9
Path: Correct tuple lengths in return values
...
PathAreaOp needs tuples of three items, after rotational code purge. This module was missed for tuple length adjustment.
2021-07-16 12:02:24 -05:00
Russell Johnson
16489777d2
Path: Add debug comments and comment out unused code
2021-07-16 11:54:13 -05:00
Russell Johnson
aec0bb1329
Path: Fix relative paths for bit path attributes in library files
2021-07-16 11:54:13 -05:00
Russell Johnson
71f8007bab
Path: Fixes #0004647 , relative shape file locations
...
This solution restricts relative shape files to filename only within the toolbit file.
2021-07-16 11:54:13 -05:00
Russell Johnson
b6b08a5a2e
Path: Add internal comments to code
2021-07-16 11:54:13 -05:00
Russell Johnson
5b83cece9a
Path: Add tools README.md file to tools working directory on install
...
This code copies all files in the default (program install location) Path\Tools folder to the user's working tools folder when they setup the ToolBit working directories for the first time.
2021-07-16 11:54:13 -05:00
Russell Johnson
3085b1c536
Path: Remove Side assignment to Outside for full model profiles
...
The profile operation is forcing cut side to `Outside` when profiling whole models. This change in code also allows for profiling `Inside` of entire models. Apart from limiting profiling capabilities of entire models, this override could cause problems with profiling of selected faces or edges in very specific use cases. Also, this fix removes the property assignment of a key control property within the execution code, which should not happen, apart from feedback properties.
2021-07-16 11:51:00 -05:00
Russell Johnson
7320b6d716
Path: Implement the Extensions feature with selected edges
2021-07-16 11:50:20 -05:00
Russell Johnson
66889de9fe
Path: Correct the processing of selected edges
...
The recent Extensions upgrade for Adaptive disabled the processing of selected edges. This commit re-enables that capability. Issue raised in forum at, https://forum.freecadweb.org/viewtopic.php?f=15&t=60037
2021-07-16 11:50:20 -05:00
Yorik van Havre
10faf786c8
Draft: Fixed wrong placement of lines in shape2dview's cutface mode
2021-07-16 12:42:30 +02:00
Yorik van Havre
f8f541c1e7
Draft: Use different icon if object has AutoUpdate turned off
2021-07-16 12:24:26 +02:00