or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/numpy-stl@3.2.x
tile.json

tessl/pypi-numpy-stl

tessl install tessl/pypi-numpy-stl@3.2.0

Library to make reading, writing and modifying both binary and ascii STL files easy.

Agent Success

Agent success rate when using this tile

85%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.39x

Baseline

Agent success rate without this tile

61%

rubric.jsonevals/scenario-4/

{
  "context": "Evaluates how well the solution leverages numpy-stl's experimental 3MF importer to load meshes, derive summaries, and write STL outputs. Scoring focuses solely on correct use of numpy-stl APIs for ingestion, measurement, filtering, merging, and export. General coding style or unrelated logic is not considered.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "3MF loader",
      "description": "Uses numpy-stl `Mesh.from_3mf_file` to read the provided 3MF fixtures instead of manually parsing ZIP/XML content, ensuring iteration over all meshes returned by the loader.",
      "max_score": 30
    },
    {
      "name": "Normals flag",
      "description": "Propagates the `recalc_normals`/`calculate_normals` option into `Mesh.from_3mf_file` (or calls `update_normals`) so normal generation is controlled by the caller.",
      "max_score": 10
    },
    {
      "name": "Triangle counts",
      "description": "Derives triangle totals from numpy-stl mesh data (e.g., `len(mesh.vectors)` or `mesh.vectors.shape[0]`) rather than hard-coding values or re-parsing geometry.",
      "max_score": 15
    },
    {
      "name": "Bounding boxes",
      "description": "Computes bounding boxes using numpy-stl mesh coordinates (such as `mesh.x`, `mesh.y`, `mesh.z`, or `mesh.vectors` min/max) without duplicating geometry parsing logic.",
      "max_score": 15
    },
    {
      "name": "Filtering and merge",
      "description": "Applies include filters using mesh metadata from numpy-stl (e.g., `mesh.name`) and merges selected meshes by concatenating their numpy-stl geometry (vectors/attributes) instead of writing ad-hoc STL content.",
      "max_score": 15
    },
    {
      "name": "STL export",
      "description": "Uses numpy-stl saving routines (e.g., `mesh.save` with the appropriate mode) to create the output STL rather than manual binary writing or third-party exporters.",
      "max_score": 15
    }
  ]
}