CenterHole
The CenterHole model records a center hole that the drawing specifies by a standard (for example DIN 332-A 2,5x5,3 or ISO 6411-A 2/4.25). It stores the standard and the form as written, the pilot and outer diameters where the drawing states them, whether the hole must, may or must not remain on the finished part, the quantity, the label as it appears on the drawing, and a confidence score.
requirement follows ISO 6411. A center hole marked "optional" on the drawing is PERMITTED: it may remain on the finished part but is not required.
Bases: Feature
Represents a center hole specified by a standard (e.g. DIN 332-A 2,5x5,3, ISO 6411-A 2/4.25, DIN 332-D M16).
| PARAMETER | DESCRIPTION |
|---|---|
reference_id | Reference ID to identify the object. TYPE: |
label | A short description of the feature in a human-readable format. TYPE: |
confidence | Confidence in the feature extraction or interpretation. TYPE: |
quantity | The number of center holes or instances. Must be at least 1. TYPE: |
standard | The standard the center hole is specified by, as written on the drawing. TYPE: |
form | The form defined by the standard (e.g. TYPE: |
pilot_diameter | The diameter of the pilot hole (e.g. TYPE: |
outer_diameter | The outer diameter of the countersink (e.g. TYPE: |
requirement | Whether the center hole must, may or must not remain on the finished part, if stated. TYPE: |
thread | The thread in a threaded center hole (e.g. TYPE: |
Source code in werk24/models/v2/models.py
1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 | |
Bases: str, Enum
Whether a center hole must remain on the finished part (ISO 6411).
- REQUIRED: the center hole is required on the finished part.
- PERMITTED: the center hole may remain, but is not required (often written as "optional").
- NOT_PERMITTED: the center hole must not remain on the finished part.