Commit Graph

20158 Commits

Author SHA1 Message Date
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
Yorik van Havre
644a77a17f Arch: Fixed windows invert hinge option 2021-07-16 12:22:56 +02:00
Yorik van Havre
1eab74ef4d Arch: Fixed wrong numbering in arch axis in section mode 2021-07-16 12:22:15 +02:00
Bernd Hahnebach
666ce64959 FEM: calculix writer, make use of the member objs everywhere 2021-07-16 08:11:21 +02:00
Bernd Hahnebach
5f57d48b55 FEM: calculix writer, code formating 2021-07-16 08:11:15 +02:00
Bernd Hahnebach
6f254bb27b FEM: mesh data getter, add time and some comments 2021-07-16 08:11:05 +02:00
Bernd Hahnebach
8e39ad5755 FEM: separate getting the mesh sets from writer class 2021-07-15 21:57:02 +02:00
Bernd Hahnebach
e0c9587904 FEM: material task panel, code formating 2021-07-15 21:09:26 +02:00
Bernd Hahnebach
856bc75710 FEM: calculix writer, matgeosets, code formating 2021-07-15 21:03:08 +02:00
Bernd Hahnebach
01c5c1a63c Material editor: add some comments 2021-07-15 09:20:31 +02:00
Bernd Hahnebach
70c8ff15ba Material Editor, code formating 2021-07-15 08:34:51 +02:00
Bernd Hahnebach
29ec98df8d Material, workaround for precision problem 2021-07-15 08:34:49 +02:00
Roy-043
8ae5978146 Draft: fix dimensions with decimals=0 problem
The display_external function in units.py did not handle decimals=0 properly.
2021-07-15 06:24:23 +02:00
Bernd Hahnebach
323f323864 Material: comments 2021-07-15 00:09:58 +02:00
Bernd Hahnebach
800b96d25b FEM: material task panel, catch wrong ThermalConductivity quantity 2021-07-15 00:09:53 +02:00
Bernd Hahnebach
d93e262184 FEM: calculix writer, materials, delete code added by mistake with 68aba941df1 2021-07-15 00:09:47 +02:00
Bernd Hahnebach
56ee4ca2a8 Material: nitrogen card, fix wrong minus which leads to syntax error in unit system 2021-07-14 20:45:33 +02:00