Library for analyzing CAD geometry.
Project description
kerfed.client
A client for the Kerfed Engine which reliably analyzes 2D or 3D CAD geometry into a well-defined data structure. It can be used for many applications, including e-commerce, robotic automation, and process analysis.
Check out an API demo which converts a mesh into a full milling plan with G-code at CarveWizard.
Install
pip install kerfed.client
Quick Start
import os
import kerfed.client as ke
if __name__ == "__main__":
# create a client using a free tier API key
# requests may be rate limited, de-scoped, and run on slower hardware
client = ke.EngineClient(api_key="kerfed_limited_access")
# Generate a GeometryRequest
file_name = "tray.stl.zip"
with open(file_name, "rb") as f:
request = ke.GeometryRequest(
source=ke.FileBlob(
name=file_name,
data=f.read(),
),
source_units="inches",
)
# Start the geometry request running in the cloud.
task_id = client.geometry_start(request, upload=True)
# This will either return a `GeometryReponse` or raise an error.
response = client.geometry_result(task_id=task_id)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kerfed_client-0.4.1-py3-none-any.whl.
File metadata
- Download URL: kerfed_client-0.4.1-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
075f51b26b5a59c4e24d5282bf63160ea53914eec3f509ff53548802e52f7e15
|
|
| MD5 |
8e684c126b9124c2957685a58fb042a0
|
|
| BLAKE2b-256 |
27e8a9fc9fd0ece910b689e8090c32ba0b329414ef685f50e0509300204a047c
|