Skip to main content

AI-powered platform for extracting and analyzing data from technical drawings / CAD drawings to enhance manufacturing workflows.

Project description

Werk24 Python Client

Werk24

PyPI version Tests

Overview

Werk24 provides AI-powered solutions for extracting and interpreting technical drawings. This Python client enables easy interaction with the Werk24 API for processing technical drawings efficiently. The API give you access to the following structured data:

  • Meta Data: Drawing ID, Part ID, Designation, General Tolerances, General Roughness, Material, Weight, Bill of Material, Revision Table, Languages and Notes.
  • Features: Dimensions incl. Tolerances, Threads, Bores, Chamfers, Roughnesses, GDnTs, Radii
  • Insights: Manufacturing Method, Postprocesses, Input Geometry, Output Geometry
  • Redaction: Redact information from Technical Drawings.

Check our website at https://werk24.io.

Features

  • Automated Extraction: Retrieve metadata, dimensions, and annotations from technical drawings.
  • Fast Processing: Optimized API calls for efficient inference.
  • Seamless Integration: Works with Python-based workflows for manufacturing, CAD, and ERP systems.
  • JSON Output: Standardized response format for easy processing.

Applications

Harness Werk24 for:

  • Instant Pricing: Automate 2D drawing-based quoting.
  • Feasibility Checks: Evaluate RFQs efficiently.
  • Configurator Auto-Fill: Populate online configurators with minimal input.
  • Drawing Anonymization: Protect sensitive data in technical drawings.
  • Supplier Scouting: Automate vendor selection for specific requirements.
  • ERP Registration: Streamline incoming RFQ registrations.
  • Structured Archiving: Organize drawings with metadata extraction.

Installation

Pip installation

pip install werk24    # install the library
werk24 init           # obtain a trial license

Quick Start

Here's how you can use the Werk24 client to extract data from a technical drawing:

import asyncio
from werk24 import Werk24Client, AskMetaData, get_test_drawing

async def read_drawing(asks):
  fid = get_test_drawing()
  async with Werk24Client() as client:
      return [msg async for msg in client.read_drawing(fid, asks)]

asyncio.run(read_drawing([AskMetaData()]))

Documentation

See https://werk24.io/docs/index.html

CLI

To get a first impression, you can run the CLI:

$> werk24 --help
 Usage: python -m werk24.cli.werk24 [OPTIONS] COMMAND [ARGS]...

╭─ Options ─────────────────────────────────────────────────────────────────────────────────╮
│ --log-level                 TEXT  Set the log level [default: WARNING]                    │
│ --install-completion              Install completion for the current shell.               │
│ --show-completion                 Show completion for the current shell, to copy it or... | --help                            Show this message and exit.                             │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────────────────────╮
│ init           Initialize Werk24 by providing or creating a license.                      │
│ health-check   Run a comprehensive health check for the CLI.                              │
│ techread       Read a drawing file and extract information.                               │
│ version        Print the version of the Client.                                           │
╰───────────────────────────────────────────────────────────────────────────────────────────╯

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 Distribution

werk24-2.1.0.tar.gz (112.6 kB view details)

Uploaded Source

Built Distribution

werk24-2.1.0-py3-none-any.whl (136.8 kB view details)

Uploaded Python 3

File details

Details for the file werk24-2.1.0.tar.gz.

File metadata

  • Download URL: werk24-2.1.0.tar.gz
  • Upload date:
  • Size: 112.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for werk24-2.1.0.tar.gz
Algorithm Hash digest
SHA256 7d9a221fdcf82161dcf573f8090c61968bc40a530b2d85508469c02457c01b3f
MD5 06bb887fe3d262984ce98cdcb43e6764
BLAKE2b-256 bc4e4b9aa1692a0d19230847c8e51e311029d42de0a5c73d917b17cb26d5f975

See more details on using hashes here.

File details

Details for the file werk24-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: werk24-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 136.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for werk24-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d90196354e777dee5b89a3cfaf7045062a34e2bc19d70e3ed433b0d624f59764
MD5 2f7d486dc8410435f9ed2dd5efc56607
BLAKE2b-256 3b36ac30cf6197feac56c9f4eadd2e7251efd93044d2d2dd924248f544fa4c5a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page