Library to make reading, writing and modifying both binary and ascii STL files easy.
85
Evaluation — 85%
↑ 1.39xAgent success when using this tile
Reposition STL meshes through axis-angle rotations, reusable rotation matrices, translations, and homogeneous transforms.
@generates
from __future__ import annotations
from typing import Sequence
import numpy as np
class MeshPose:
def __init__(self, mesh) -> None: ...
def rotate_axis_angle(self, axis: Sequence[float], radians: float, pivot: Sequence[float] | None = None) -> None: ...
def apply_rotation_matrix(self, matrix: np.ndarray, pivot: Sequence[float] | None = None) -> None: ...
def recenter(self, target_center: Sequence[float]) -> None: ...
def apply_transform(self, matrix: np.ndarray) -> None: ...Load and mutate STL meshes, updating vertices and normals.
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