Skip to content

Commit

Permalink
Release v0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
imirzov committed May 11, 2020
1 parent dfb9f88 commit 898ee40
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
© Ihor Mirzov, May 2020
© Ihor Mirzov, May 2020
Distributed under GNU General Public License v3.0

<br/><br/>
Expand Down Expand Up @@ -162,10 +162,11 @@ In Windows to work with subroutines and to recompile CalculiX sources from CAE y
# What's new

+ CalculiX solver v. 2.16.
+ From now CGX is embed into CAE!
+ UNV2CCX converter v. 1.1.
+ From now CGX is embed into the distribution!
+ CAE sends commands to CGX to highlight surfaces, node and element sets.
+ All logs are handled in the textEdit (including CGX messages).
+ INP example models are excluded from distribution. Please, download examples from https://github.com/calculix/examples
+ INP example models are excluded from distribution. See menu Help. Download examples from https://github.com/calculix/examples
+ Mesh object is reparsed after edit in the treeView.
+ Elsets and surfaces could be painted in different colors. See menu Job.

Expand Down Expand Up @@ -201,3 +202,5 @@ In Windows to work with subroutines and to recompile CalculiX sources from CAE y
- Change CGX colormaps via Xlib.

- Reparse mesh/model after tree.actionDeleteImplementation.

- Merge tests.py and model.parsers.mesh.py
Binary file modified bin/unv2ccx
Binary file not shown.
Binary file modified bin/unv2ccx.exe
Binary file not shown.
7 changes: 2 additions & 5 deletions make_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@
- python3 make_release.py
or 'Ctrl+F5' from VSCode """


import os
import shutil
import datetime
import PyInstaller.__main__


def copy(src, dst, skip):
for f in os.listdir(src):
if f!='dist' and not f.endswith(skip):
Expand All @@ -28,11 +26,11 @@ def copy(src, dst, skip):
if os.path.isfile(src_path):
shutil.copy2(src_path, dst_path)


if __name__ == '__main__':
if os.name=='nt':
op_sys = '_windows'
skip = ('_linux', '_linux.env', '.sh', '.desktop')
skip = ('_linux', '_linux.env', '.sh', '.desktop',
'ccx', 'cgx', 'unv2ccx', 'ccx2paraview')
extension = '.exe' # binary extension in OS
TEMP = 'C:\\Windows\\Temp\\'
else:
Expand All @@ -42,7 +40,6 @@ def copy(src, dst, skip):
TEMP = '/tmp/'

PROJECT_NAME = os.path.split(os.getcwd())[-1] # name of project's folder
DIRECTORY = os.path.join(os.path.abspath('dist'), 'cae')
DATE = '_' + datetime.datetime.now().strftime('%Y%m%d')
ARCH = os.path.join('./releases', PROJECT_NAME + DATE + op_sys)

Expand Down

0 comments on commit 898ee40

Please sign in to comment.