此模块将 XMCD 中的 mathcad 文件转换为与 Smath Studio 兼容的 XMCD
项目描述
mathcad2smath
使用 Smath Studio 支持将 mathcad XMCD 转换为 XMCD 的命令工具。
用法:
mathcad2smath [-h] [-o] [-r] [-d BASEDIR] [-p PREFIX] [-s SUFIX] [--ignore_custom]
[-e ADD_EXTERNAL [ADD_EXTERNAL ...]] [--external_path EXTERNAL_PATH] [-f FILENAME]
Convert XMCD mathcad files into XMCD compatible with Smath Studio
optional arguments:
-h, --help show this help message and exit
-o, --overwrite Overwrite the output file if exist
-r, --recursive Find XMCD files recursively
-d BASEDIR, --basedir BASEDIR
The basedir to convert the XMCD's file
-p PREFIX, --prefix PREFIX
The prefix to output file
-s SUFIX, --sufix SUFIX
The sufix to output file
--ignore_custom Include a "custom.sm" file into output XMCD directory with mathcad specific functions
-e ADD_EXTERNAL [ADD_EXTERNAL ...], --add_external ADD_EXTERNAL [ADD_EXTERNAL ...]
Add user externals files into output XMCD directory. Try to add a file relative to
"external_path", then try to get the file as full path. If a "*" is used, try to add
all SM file in "external_path"
--external_path EXTERNAL_PATH
The path to user external files
-f FILENAME, --filename FILENAME
Convert specific file
--smath_path SMATH_PATH
Path to Smath Studio instalation, convert external files to SM when needed
--save_as_sm Save output file as SM file
"custom.sm" 文件具有 Smath Studio 中未定义的 "ceil" 和 "floor" 函数,并且还定义了 "Percent" 变量,因为在 Smath 导入 XMCD 文件时 "%" 字符被翻译为 "Percent" .
SMATH_PATH 用于在文件中存在链接工作表时转换 SM 文件中的 XMCD,因为 Smath 中的“包含”功能仅适用于 SM 文件。这也用于使用“save_as_sm”选项将转换后的文件另存为 SM。
项目详情
下载文件
下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。
源分布
mathcad2smath-1.8.1.tar.gz
(23.0 kB
查看哈希)
内置分布
mathcad2smath-1.8.1-py3-none-any.whl
(26.4 kB
查看哈希)
关
mathcad2smath -1.8.1.tar.gz 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | 442289ec78297f625e2f1b9ba89d24137ba27f8867d136c5481d5b737bc6ca4f |
|
| MD5 | a7de051b8823c0ce2f3d381cc144fd2d |
|
| 布莱克2-256 | e50de9b8dd66bca4bb26514fecee4f4180b0cac84692e1279f474fedb528013c |
关
mathcad2smath -1.8.1-py3-none-any.whl 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | dfa9a2d2aa6fe75a1d0b2825ae5778485b317c89ac3d811189d273f8ed1e08ce |
|
| MD5 | 7f5e1b48023669972698ac7149650d9e |
|
| 布莱克2-256 | 39dbb4747d2858bf5281bc3c81e6470ea7d1e7230ba0383fbbc547d9423a00e1 |