Library to make reading, writing and modifying both binary and ascii STL files easy.
85
Evaluation — 85%
↑ 1.39xAgent success when using this tile
{
"context": "Evaluates whether the solution uses numpy-stl's I/O APIs to load STL files with automatic ASCII/BINARY detection, control output formats, and surface the Cython speedups toggle. Scoring looks only at correct usage of mesh.Mesh.from_file, mesh.Mesh.save, and related Mode/speedups settings, not general code quality.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Auto load",
"description": "Uses mesh.Mesh.from_file (or BaseStl.load through Mesh) with mode=Mode.AUTOMATIC to ingest STL files and derive the detected format for both ASCII and binary inputs.",
"max_score": 25
},
{
"name": "Speedups toggle",
"description": "Passes the speedups parameter from user input into mesh.Mesh.from_file (or BaseStl.load) and reflects the resulting mesh.speedups flag, allowing runs with Cython optimizations disabled when requested.",
"max_score": 20
},
{
"name": "Force ASCII save",
"description": "When ASCII output is requested, calls mesh.Mesh.save with mode=Mode.ASCII rather than relying on defaults, ensuring binary inputs are explicitly written as ASCII.",
"max_score": 20
},
{
"name": "Force binary save",
"description": "When binary output is requested, calls mesh.Mesh.save with mode=Mode.BINARY to emit binary STL data even if the source mesh was ASCII.",
"max_score": 20
},
{
"name": "Auto save behavior",
"description": "For the default path, preserves the detected format (or uses Mode.AUTOMATIC) when saving so that outputs match input format unless an override is provided.",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-numpy-stlevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10