Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

b123d-recognisers

Deterministic, geometry-only feature recognition for build123d solids and imported STEP models.

This is the standalone Apache-2.0 recognition layer extracted from Draftwright. It reports immutable geometric records and does not own drawing, manufacturing, editing, or consumer-cache policy.

Usage

Run the complete shared recognition orchestration when a consumer needs one consistent inventory:

from b123d_recognisers import build_recognition_result

result = build_recognition_result(part)
for hole in result.holes:
    print(hole.diameter, hole.depth, hole.through)

Individual recognisers remain public for focused consumers. Reusable evidence is explicitly injected so it is not rediscovered:

from b123d_recognisers import analyse_cylinders, recognise_hole_patterns, recognise_holes

cylinders = analyse_cylinders(part)
holes = recognise_holes(part, cyls=cylinders)
patterns = recognise_hole_patterns(holes)

Every recognise_* function returns a deterministic list of frozen dataclass records. Records provide to_dict() projections containing only JSON-serialisable geometry values. See docs/adr/0002-uniform-deterministic-recogniser-contract.md for the complete contract.

Migrated behavior

The initial 0.1 release series preserves the recognition behavior of Draftwright commit 3fe20b0f71a71deced06b310943dd44cc66e355e. The migration includes every public recogniser, shared cylinder/level substrates, the aggregate result, and feature_census. There are no feature policy changes; one previously platform-dependent numerical axis tie is normalized to the pinned baseline result. The checked-in semantic corpus records and continuously verifies the compatibility boundary; see migration/PARITY.md.

The dependency direction is:

consumer → b123d-recognisers → build123d/OCP

The runtime package does not import Draftwright and does not return build123d or OCP objects in public feature records.

Licence

Apache License 2.0. See LICENSE, NOTICE, and THIRD_PARTY_NOTICES.md.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

b123d_recognisers-0.1.0a1.tar.gz (232.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

b123d_recognisers-0.1.0a1-py3-none-any.whl (106.4 kB view details)

Uploaded Python 3

File details

Details for the file b123d_recognisers-0.1.0a1.tar.gz.

File metadata

  • Download URL: b123d_recognisers-0.1.0a1.tar.gz
  • Upload date:
  • Size: 232.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for b123d_recognisers-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 6e82bcd0d870d731e2de90e0e752716df9d2df4a13132b429755a207ea105d32
MD5 73c9357d89839f792c3def1aeaa4f5eb
BLAKE2b-256 50eccc8480e436651a9f044341ddfbcd869c708c54f3c5239a32e9e24043fdd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for b123d_recognisers-0.1.0a1.tar.gz:

Publisher: publish.yml on pzfreo/b123d-recognisers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file b123d_recognisers-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for b123d_recognisers-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 5989187c1ee232778cd81ad4efdbe7d79a46101b40bdf6d0149ba107cc9e8b02
MD5 01660c7a500168a56c84305e0e43beed
BLAKE2b-256 c1bc2cf6c9faeab43bcad377f44a18d1a8cbc0f328cb4f169d5d10af3b5965cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for b123d_recognisers-0.1.0a1-py3-none-any.whl:

Publisher: publish.yml on pzfreo/b123d-recognisers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.4.16

2 files

0.4.15

2 files

0.4.14

2 files

0.4.13

2 files

0.4.12

2 files

0.4.11

2 files

0.4.10

2 files

0.4.9

2 files

0.4.8

2 files

0.4.7

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

This release

0.1.0a1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page