Skip to main content

@magistr/jscad-stl-validator

v2026.04.04.2

STL file validator — checks triangle count, degenerate faces, bounding box

Labels

cadjscadstlvalidation

Contents

Install

$ swamp extension pull @magistr/jscad-stl-validator

@magistr/jscad-stl-validatorv2026.04.04.2jscad_stl_validator.ts
validateValidate the STL output stored by a @magistr/jscad-cad model instance
ArgumentTypeDescription
cadModelNamestringName of the @magistr/jscad-cad model whose stored output STL to validate
version?numberData version to validate (defaults to latest)
validateFileValidate an STL file at an absolute path on disk
ArgumentTypeDescription
filePathstringAbsolute path to the STL file to validate

Resources

report(infinite)— STL validation report