Skip to main content

mathcad2smath

Command tool to convert mathcad XMCD to XMCD with Smath Studio support.

Usage:

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

The "custom.sm" file has the "ceil" and "floor" function that is not defined in Smath Studio and define also a "Percent" variable, because the "%" char is translated as "Percent" when Smath import XMCD files.

The SMATH_PATH is used to convert XMCD in SM file when there is a linked worksheet in file, because the "include" function in Smath only works with SM files. This is used also for save the converted file as SM with the "save_as_sm" option.

Release files for mathcad2smath 1.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mathcad2smath 1.8.1
File Size Uploaded
mathcad2smath-1.8.1.tar.gz 23.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mathcad2smath 1.8.1
File Interpreter ABI Platform
mathcad2smath-1.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 49.4 kB

Release files / mathcad2smath-1.8.1.tar.gz

Download URL mathcad2smath-1.8.1.tar.gz
Size 23.0 kB
Tags Source
SHA-256 checksum
How to use checksums
442289ec78297f625e2f1b9ba89d24137ba27f8867d136c5481d5b737bc6ca4f
BLAKE2b-256 checksum
How to use checksums
e50de9b8dd66bca4bb26514fecee4f4180b0cac84692e1279f474fedb528013c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Release files / mathcad2smath-1.8.1-py3-none-any.whl

Download URL mathcad2smath-1.8.1-py3-none-any.whl
Size 26.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dfa9a2d2aa6fe75a1d0b2825ae5778485b317c89ac3d811189d273f8ed1e08ce
BLAKE2b-256 checksum
How to use checksums
39dbb4747d2858bf5281bc3c81e6470ea7d1e7230ba0383fbbc547d9423a00e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Release history Release notifications | RSS feed

This release

1.8.1 This release

2 release files

1.8

2 release files

1.7

2 release files

1.6

2 release files

1.5

2 release files

1.4

2 release files

1.3

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page