This is a PDF version of Article CS189486 and may be out of date. For the latest version click here
Article - CS189486

WriteSTL - Create 3D models mathematically in PTC Mathcad

Created: 07-Sep-2015   |   Modified: 07-Sep-2015   

Applies To

  • Mathcad Prime 3.0

Description

  • WriteSTL custom function allows Mathcad users to create 3D models mathematically using PTC Mathcad then save them as STL files, perfectly suited for incorporation to CAD assemblies.
  • Along with the README, the attached zip file contains two worksheets, showing 2 different matrix styles possible to generate 3D models. WriteSTL takes an array of triangle vertices. The included PTC Mathcad worksheets demonstrate inline routines to convert each matrix type to triangle vertices arrays.