代码拉取完成,页面将自动刷新
@echo off
rem #####################################################################################
rem Name: runCGX.bat
rem Description: Startup script for CalculiX CGX used by file associations
rem Author: Cesare Guardino
rem Last modified: 19 January 2016
rem
rem GE CONFIDENTIAL INFORMATION 2016 General Electric Company - All Rights Reserved
rem #####################################################################################
set CALCULIX_BIN_DIR=%~dp0
if #%CALCULIX_BIN_DIR:~-1%# == #\# set CALCULIX_BIN_DIR=%CALCULIX_BIN_DIR:~0,-1%
call "%CALCULIX_BIN_DIR%\CALCULIXWindowsEnvironment.bat"
set CALCULIX_BIN_DIR=
call "%~dp0..\etc\CALCULIXWindowsEnvironment.bat"
:start
cls
set oldcwd=%cd%
for %%F in ("%~1") do set dirname=%%~dpF
if #%dirname:~-1%# == #\# set dirname=%dirname:~0,-1%
cd /d "%dirname%"
if %~x1==.inp goto cgxc
if %~x1==.fbd goto cgxb
if %~x1==.foam goto cgxfoam
if %~x1==.frd goto cgx
if %~x1==.stl goto cgxstl
if %~x1==.stp goto cgxstp
goto end
:cgxc
cgx.exe -c %1
goto end
:cgxb
cgx.exe -b %1
goto end
:cgxfoam
cgx.exe -foam %dirname%
goto end
:cgx
cgx.exe -read %1
goto end
:cgxstl
cgx.exe -stl %1
goto end
:cgxstp
cgx.exe -step %1
goto end
:end
cd /d "%oldcwd%"
set oldcwd=
set dirname=
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。