Commit Graph

25292 Commits

Author SHA1 Message Date
GUAN Xin
75251151ff 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
241a6a4eac FEM: tasks and writer, use generic solver input writing method name 2021-07-18 14:47:50 +02:00
Bernd Hahnebach
efbe176691 FEM: writer base, typo 2021-07-18 14:47:43 +02:00
Bernd Hahnebach
a7caa50d38 FEM: mesh set getter, output print 2021-07-18 14:47:36 +02:00
Bernd Hahnebach
bbb557aab6 FEM: calculix writer, fix time output 2021-07-17 20:46:42 +02:00
Bernd Hahnebach
d0dbdf8bf3 FEM: make use of mesh data getter class for calculix solver and ccxtools 2021-07-17 20:46:36 +02:00
Bernd Hahnebach
afeb9b2305 FEM: calculix writer, use mat geo sets instead of ccx elsets 2021-07-17 20:46:29 +02:00
Yorik van Havre
8b061cecc2 Draft: Fixed wrong placement of lines in shape2dview's cutface mode 2021-07-16 12:42:30 +02:00
Yorik van Havre
4869e040f8 Draft: Use different icon if object has AutoUpdate turned off 2021-07-16 12:24:26 +02:00
Yorik van Havre
146dcd75a9 Arch: Fixed windows invert hinge option 2021-07-16 12:22:56 +02:00
Yorik van Havre
573a295067 Arch: Fixed wrong numbering in arch axis in section mode 2021-07-16 12:22:15 +02:00
Bernd Hahnebach
6a76c7668d FEM: calculix writer, make use of the member objs everywhere 2021-07-16 08:11:21 +02:00
Bernd Hahnebach
7df9e7fe63 FEM: calculix writer, code formating 2021-07-16 08:11:15 +02:00
Bernd Hahnebach
043aa945bc FEM: mesh data getter, add time and some comments 2021-07-16 08:11:05 +02:00
Bernd Hahnebach
fd3f17ea45 FEM: separate getting the mesh sets from writer class 2021-07-15 21:57:02 +02:00
Bernd Hahnebach
507ccc518b FEM: material task panel, code formating 2021-07-15 21:09:26 +02:00
Bernd Hahnebach
07efb027ac FEM: calculix writer, matgeosets, code formating 2021-07-15 21:03:08 +02:00
Bernd Hahnebach
f20e29a04c Material editor: add some comments 2021-07-15 09:20:31 +02:00
Bernd Hahnebach
5bb95f0139 Material Editor, code formating 2021-07-15 08:34:51 +02:00
Bernd Hahnebach
1b8244580e Material, workaround for precision problem 2021-07-15 08:34:49 +02:00
Roy-043
807f61400d 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
a7492d1934 Material: comments 2021-07-15 00:09:58 +02:00
Bernd Hahnebach
179f7234fb FEM: material task panel, catch wrong ThermalConductivity quantity 2021-07-15 00:09:53 +02:00
Bernd Hahnebach
addb41d424 FEM: calculix writer, materials, delete code added by mistake with d72d24b30c 2021-07-15 00:09:47 +02:00
Bernd Hahnebach
0afa4bd344 Material: nitrogen card, fix wrong minus which leads to syntax error in unit system 2021-07-14 20:45:33 +02:00
Bernd Hahnebach
cfcf8df4ce Material: matcard reader, fix some problems 2021-07-14 16:07:36 +02:00
luz paz
a9300c2141 Fix FEM and Material typos
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu`
2021-07-14 10:48:20 +02:00
Bernd Hahnebach
def2df9253 FEM: calculix writer, improve information about units in input file 2021-07-14 10:46:43 +02:00
Bernd Hahnebach
2bf2c7d546 FEM: calculix writer, improve floats writing for femelement material 2021-07-14 10:15:18 +02:00
Bernd Hahnebach
3f45205ea6 FEM: calculix writer, improve floats writing for femelement geometry 2021-07-14 09:16:47 +02:00
Bernd Hahnebach
a58cd00e5a FEM: calculix writer, continue improve floating point writing for constraints 2021-07-14 09:16:39 +02:00
Bernd Hahnebach
138144d88e FEM: calculix writer, improve floating point writing 2021-07-13 22:27:31 +02:00
Bernd Hahnebach
74c3a4f676 FEM: calculix writer, use better writing for young's modulus, improves c73c6097bf 2021-07-13 20:52:48 +02:00
Bernd Hahnebach
2fe036e823 Material: card reader, do not break if error on card reading. 2021-07-13 20:41:38 +02:00
Bernd Hahnebach
9a564dd906 Maaterial: card writer, force to use utf-8 2021-07-13 17:55:21 +02:00
Bernd Hahnebach
78924196db Material: better warning message if card name is not file name 2021-07-13 17:42:25 +02:00
Bernd Hahnebach
3e14f499e5 Material: matcard writer, print error if no card name is provided on save 2021-07-13 17:42:19 +02:00
Bernd Hahnebach
6257ec125e Material: matcard writer, get rid of Python 2 code 2021-07-13 17:42:13 +02:00
Bernd Hahnebach
4596f441bf FEM: calculix writer, materials, comment 2021-07-13 16:37:27 +02:00
Yorik van Havre
8d93a0f3d8 Arch: Better icon for Arch component 2021-07-13 15:46:54 +02:00
Bernd Hahnebach
2685f13eb3 FEM: calculix writer, print getting sets time 2021-07-13 13:27:57 +02:00
Yorik van Havre
8728400e04 Merge pull request #4910 from Roy-043/Arch_Fix_Arch_Wall
Arch: Fix Arch_Wall: block joints where put on the wrong side of offset
2021-07-13 11:29:12 +02:00
Yorik van Havre
2acfba9870 Merge pull request #4883 from steelman/arch-timezone
Arch: Draw solar diagrams for timezones other than UTC and UTC-3
2021-07-13 11:24:34 +02:00
Bernd Hahnebach
c73c6097bf FEM: cslculix writer, fix if young's modulus is smaller than 500 kPa 2021-07-13 09:32:47 +02:00
Bernd Hahnebach
e704f3267c FEM: calculix writer, small improvements 2021-07-13 09:32:20 +02:00
Bernd Hahnebach
ad76c5b554 FEM: calculix writer, move generic constraint writer into base writer 2021-07-13 09:32:16 +02:00
Bernd Hahnebach
d72d24b30c FEM: calculix writer, move material, element geometry and mat-geo-elementsets into separte methods 2021-07-12 23:45:44 +02:00
Bernd Hahnebach
9fa444c113 FEM: calculix writer, move write mesh in separate module 2021-07-12 23:45:39 +02:00
Bernd Hahnebach
61436a874d FEM: calculix writer, move write footer and step in separate modules
Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen,
2021-07-12 23:45:35 +02:00
Bernd Hahnebach
90cecd0d2c FEM: calculix writer, rename constraint writing methods 2021-07-12 23:45:29 +02:00