Does anyone know if there is a way to read in or write out a Mathcad file to/from Rhino/Grasshopper?
I have found ways to do this with Excel files, but typically I prefer to work in Mathcad since spreadsheets are error-prone. The use is for engineering work where geometry is created in Rhino/Grasshopper but the parameters and input would be in Mathcad.
Thanks @Erik_Beeren. I have seen this, however, it doesn’t appear to support Rhino 8, and I’m not sure if it supports Mathcad Prime 9 either given the development of the plugin is outdated.
@scottd , I’ve been trying to get this solution to work, but it requires installing MathcadPy inside of the GH Python script editor which isn’t working. (pip install MathcadPy)
Any suggestions on how to install a module (e.g., MathcadPy, numpy, etc.) in GH?
This script kind of works for me. Notice that I am not specifying pywin32 as it is a requirement of MathcadPy and pip automatically installs that.
However on the first run, the package installs but I get an import error on import MathcadPy. There reason is that pywin32 installs a .pth file that adjusts python search paths.
On restarting Rhino and running the script again, the module imports correctly.