semvec/pypi-packages huggingface dataset:
makit 0.2.8
Interactive Makefile step picker
License: MIT
Requires Python: >=3.8

# Makeit

**makeit** is an interactive Makefile runner.

<div align="center">
    <a href="https://github.com/igrek51/makeit">GitHub</a>
    -
    <a href="https://pypi.org/project/makit">PyPI</a>
</div>

![](./docs/img/screenshot.png)

## Installation
```shell
pip3 install makit
```

This will install `makeit` executable.

## Usage
Run it in the directory of your Makefile:

```shell
makeit
```

It will show a list of available Makefile steps. Pick one and hit Enter to run it with `make`.
mesh-reducer 2.0.2
A Python package for reading STL, OBJ files and extracting points
License: MIT
Requires Python: >=3.9
Keywords: stl, reducer, python, rust, pyo3, grid, voxel, mesh, obj

# Mesh Reducer

This project provides a Rust implementation for reading and reducing points from various 3D mesh file formats (STL, OBJ, PLY, and STEP) using a fast grid sampling method. The functionality is exposed to Python using PyO3.

## Features

- Read STL, OBJ, PLY, and STEP files and extract points.
- Reduce the number of points using a fast grid sampling method.
- Python bindings for seamless integration with Python projects.

## Supported Formats
- STL
- OBJ
- PLY
- STEP (initial implementation with future improvements expected)

## Usage

Example usage in Python: [click here](https://github.com/vffuunnyy/ai_hack).

### Python

```bash
pip install mesh-reducer
```

## Functions

#### `load_mesh(file_path: Path, clusters: int) -> List[Tuple[float, float, float]]`
Reduces the number of points in a mesh file using fast grid clustering.

**Args:**

- file_path (Path): Path to the mesh file.
- clusters (int): Number of clusters to reduce the points to.

**Returns:**

`List[Tuple[float, float, float]]`: A list of tuples containing the reduced points.

#### `load_meshes(file_paths: List[Path], clusters: int) -> List[List[Tuple[float, float, float]]]`
Reduces the number of points in multiple mesh files using fast grid clustering.

**Args:**

- file_paths (List[Path]): List of paths to the mesh files.
- clusters (int): Number of clusters to reduce the points to.

**Returns:**

`List[List[Tuple[float, float, float]]]`: A list of lists of tuples containing the reduced points for each file.

## License

This project is licensed under the MIT License.