draftwright 0.4.19__tar.gz → 0.4.20__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {draftwright-0.4.19 → draftwright-0.4.20}/CHANGELOG.md +18 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/PKG-INFO +4 -4
- {draftwright-0.4.19 → draftwright-0.4.20}/README.md +2 -2
- {draftwright-0.4.19 → draftwright-0.4.20}/docs/reference/recogniser-capabilities.md +95 -119
- {draftwright-0.4.19 → draftwright-0.4.20}/docs/reference/sheet.md +60 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/pyproject.toml +2 -3
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/_core.py +2 -4
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/_geometry.py +51 -3
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/analysis.py +13 -18
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/annotations/from_model.py +160 -19
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/annotations/orchestrator.py +11 -5
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/blend_contract.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/drawing.py +37 -15
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/evaluation/step_analysis.py +151 -82
- draftwright-0.4.20/src/draftwright/feature_identity.py +26 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/inspection.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/inspection_contract.py +5 -5
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/__init__.py +4 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/blend_coverage.py +96 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/chamfer_coverage.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/channel_coverage.py +24 -8
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/circular_blind_step_coverage.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/coverage.py +73 -117
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/fillet_coverage.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/flat_coverage.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/groove_coverage.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/hole_coverage.py +1 -1
- draftwright-0.4.20/src/draftwright/linting/oriented_slot_coverage.py +299 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/pad_coverage.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/paired_ramp_step_coverage.py +1 -1
- draftwright-0.4.20/src/draftwright/linting/passage_coverage.py +16 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/plate_coverage.py +2 -2
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/pocket_coverage.py +30 -7
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/pocket_pattern_coverage.py +67 -33
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/polygonal_boss_coverage.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/polygonal_stock_coverage.py +1 -1
- draftwright-0.4.20/src/draftwright/linting/prismatic_pocket_coverage.py +16 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/profiled_bore_coverage.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/quality.py +16 -17
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/rectangular_blind_slot_coverage.py +32 -14
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/requirements.py +6 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/round_bottom_blind_slot_coverage.py +34 -16
- draftwright-0.4.20/src/draftwright/linting/section_recess_coverage.py +102 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/slot_coverage.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/through_step_coverage.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/turned_step_coverage.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/model/__init__.py +6 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/model/compiled.py +7 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/model/declare.py +65 -10
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/model/detect.py +197 -407
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/model/ir.py +341 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/model/planner.py +59 -2
- draftwright-0.4.20/src/draftwright/oriented_slot_contract.py +384 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/pmi.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/recogniser_contract.py +67 -222
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/recogniser_policy.py +1 -33
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/recogniser_schema.py +40 -36
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/recognition/__init__.py +3 -3
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/recognition_cache.py +3 -3
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/recognition_frame.py +49 -13
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/recognition_ownership.py +68 -12
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/reporting.py +23 -5
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/score.py +2 -2
- draftwright-0.4.20/src/draftwright/section_recess_contract.py +518 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/sheet.py +105 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/sheet_emit.py +44 -3
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/_recogniser_public_contract.py +16 -2
- draftwright-0.4.20/tests/_section_recess_cases.py +36 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/conftest.py +2 -2
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_add_dimension.py +19 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_compiled_plan_boundary.py +1 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_counting_calls.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_declare.py +41 -24
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_declared_recognition_gate.py +3 -3
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_detect_once.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_detect_registry.py +18 -7
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_e2e_standards.py +5 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_external_recognition_boundary.py +10 -11
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_fillets_adjacency.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_flat_completeness.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_flat_stock_identity.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_flat_stock_opposition.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_geometry_graph_spike.py +5 -5
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_grid_lattice_convention.py +3 -3
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_import_boundaries.py +51 -47
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_inspection_contract.py +5 -5
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1058_wheel_profile.py +5 -5
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1073_cross_body_patterns.py +26 -28
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1082_polygonal_stock.py +2 -2
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1143_hole_completeness.py +4 -2
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1166_cross_pass_feature_leaders.py +24 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1202_observed_drawing_consumer.py +2 -2
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1204_multiscale_view_issues.py +3 -3
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1229_ledger_member_keying.py +3 -3
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1245_passage_disposition.py +31 -49
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1246_prismatic_pocket_disposition.py +43 -28
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1247_angled_step_disposition.py +2 -2
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1254_turned_chamfers.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1281_turned_fillets.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1308_machined_leader_analytics.py +34 -4
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1351_structured_note_coverage.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1357_framed_activation.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1357_framed_boundary.py +2 -2
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1357_plural_turned_profiles.py +7 -8
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1357_pmi_frame.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1369_hole_completeness_evidence.py +2 -2
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1370_countersink_completeness_evidence.py +5 -5
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1370_double_d_completeness_evidence.py +10 -10
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1370_hole_pattern_completeness_evidence.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1371_flat_completeness_evidence.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1371_polygonal_stock_completeness_evidence.py +13 -13
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1372_groove_completeness_evidence.py +10 -7
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1372_pad_completeness_evidence.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1372_pocket_completeness_evidence.py +56 -11
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1372_pocket_pattern_completeness_evidence.py +74 -35
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1372_polygonal_boss_completeness_evidence.py +2 -2
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1373_plate_completeness_evidence.py +6 -6
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1374_chamfer_completeness_evidence.py +3 -3
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1374_fillet_completeness_evidence.py +3 -3
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1374_turned_step_completeness_evidence.py +24 -16
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1382_046_step_inventory.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1382_circular_blind_step_semantics.py +3 -3
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1382_paired_ramp_semantics.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1382_through_step_semantics.py +49 -29
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1392_recognisers_048.py +8 -8
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1397_unverifiable_requirement_message.py +12 -5
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1421_rectangular_blind_slot_completeness.py +41 -32
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1421_rectangular_blind_slot_semantics.py +67 -61
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1421_round_bottom_blind_slot_completeness.py +41 -32
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1421_round_bottom_blind_slot_semantics.py +67 -61
- draftwright-0.4.20/tests/test_issue_1432_adoption.py +257 -0
- draftwright-0.4.20/tests/test_issue_1432_boundary_failures.py +168 -0
- draftwright-0.4.20/tests/test_issue_1432_oriented_slot_semantics.py +1249 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1433_blend_semantics.py +20 -11
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1438_boss_ownership.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1438_channel_ownership.py +34 -20
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1438_generation_snapshot.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1438_nested_ownership.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1438_occurrence_ownership.py +12 -6
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1438_pattern_ownership.py +4 -4
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1438_plate_ownership.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1438_policy_dispositions.py +26 -16
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1438_report_projection.py +50 -8
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1438_through_step_ownership.py +5 -3
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1438_turned_step_ownership.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1450_boss_blend_ownership.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1460_step_inspection.py +4 -3
- draftwright-0.4.20/tests/test_issue_1466_dimension_options.py +304 -0
- draftwright-0.4.20/tests/test_issue_1471_boundary_failures.py +237 -0
- draftwright-0.4.20/tests/test_issue_1471_evidence_schema.py +37 -0
- draftwright-0.4.20/tests/test_issue_1471_groove_profile.py +179 -0
- draftwright-0.4.20/tests/test_issue_1471_section_recess_contract.py +251 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1471_section_recess_pockets.py +5 -6
- draftwright-0.4.20/tests/test_issue_1479_radius_leader_targets.py +262 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_676_polygonal_boss.py +2 -2
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_740_leader_assignment.py +1 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_798_silhouette_lint.py +30 -8
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_885_prismatic_coverage.py +2 -2
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_909_sloped_profile.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_915_dense_case.py +24 -5
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_917_open_channel.py +81 -26
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_958_cross_solid_recognition.py +32 -17
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_make_drawing.py +76 -51
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_parameter_id.py +28 -0
- draftwright-0.4.20/tests/test_pocket_pattern_recognition.py +214 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_quality_components.py +42 -29
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_recogniser_adoption.py +2 -2
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_recogniser_capabilities.py +188 -427
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_recogniser_contract.py +46 -47
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_recognition.py +29 -29
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_recognition_result.py +6 -7
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_score.py +11 -4
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_sheet_emit.py +41 -9
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_sheet_identity_invariant.py +1 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_slanted_blind_step.py +8 -8
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_slot_completeness.py +1 -1
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_slot_pattern_recognition.py +2 -2
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_strip_layout.py +5 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_turned_steps.py +1 -1
- draftwright-0.4.19/src/draftwright/linting/passage_coverage.py +0 -38
- draftwright-0.4.19/src/draftwright/linting/prismatic_pocket_coverage.py +0 -38
- draftwright-0.4.19/tests/test_pocket_pattern_recognition.py +0 -223
- {draftwright-0.4.19 → draftwright-0.4.20}/.gitignore +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/LICENSE +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/docs/adr/README.md +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/docs/research/1062-repeating-radial-profile-evidence.md +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/skills/SKILL.md +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/__init__.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/_build_profile.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/_pmi_part21.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/_warnings.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/annotate.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/annotations/__init__.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/annotations/_common.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/annotations/balloons.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/annotations/gears.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/annotations/holes.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/annotations/leaders.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/annotations/sections.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/audit.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/builder.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/cli.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/compose.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/evaluation/__init__.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/export.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/fits.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/fonts/IBMPlexMono-Regular.ttf +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/fonts/IBMPlexSansCondensed-Regular.ttf +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/fonts/LICENSE-IBMPlexMono-OFL.txt +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/fonts/LICENSE-IBMPlexSansCondensed-OFL.txt +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/fonts/__init__.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/intents.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/layout.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/_registry.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/angled_step_coverage.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/evidence.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/gear_coverage.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/ink_overlap.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/issues.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/pmi_coverage.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/structural.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/linting/suggest.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/make_drawing.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/model/callout.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/model/pmi_lowering.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/plate_correspondence.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/projection.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/py.typed +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/registry.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/repair.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/src/draftwright/view_plan.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/_kernel.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/_layout_sig.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/ap242_single_cylinder_diameter.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/README.md +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/ambiguous-open-semicircle.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/blind-hole.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/chamfer-asymmetric.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/chamfer-compound.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/chamfer-overlap.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/chamfer-plain.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/chamfer-planar-x.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/chamfer-planar-y.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/chamfer-planar-z.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/chamfer-topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/chamfer-topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/chamfer-turned.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-chamfers-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-countersinks-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-double-d-bores-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-fillets-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-flats-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-grooves-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-hole-patterns-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-plates-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-pocket-patterns-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-pockets-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-polygonal-bosses-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-polygonal-stock-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-rectangular-pads-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-turned-steps-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/corpus-v1.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/countersink-deburr.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/countersink-external-cone.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/countersink-mixed-pair.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/countersink-single.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/countersink-topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/countersink-topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/double-d-axis-x.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/double-d-axis-y.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/double-d-blind.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/double-d-coaxial-compound.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/double-d-opposed-blind.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/double-d-roll-30.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/double-d-round-bore.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/double-d-single-z.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/double-d-topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/double-d-topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/fillet-compound.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/fillet-overlap.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/fillet-plain.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/fillet-planar-x.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/fillet-planar-y.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/fillet-planar-z.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/fillet-repeated.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/fillet-topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/fillet-topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/fillet-turned.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/flat-coaxial.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/flat-double-d.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/flat-lone-d.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/flat-nonround.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/flat-slanted-double-d.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/flat-topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/flat-topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/groove-compound.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/groove-lone-x.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/groove-lone-y.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/groove-lone-z.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/groove-monotonic-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/groove-narrow.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/groove-topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/groove-topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pad-compound-equal.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pad-detached-body-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pad-full-span-ledge-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pad-nested-staircase-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pad-topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pad-topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pad-x-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pad-x-positive.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pad-y-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pad-y-positive.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pad-z-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pad-z-positive.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pattern-ambiguous.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pattern-grid.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pattern-topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pattern-topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/plain-block.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/plate-compound-equal.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/plate-cross-topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/plate-cross-topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/plate-detached-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/plate-rotational-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/plate-single-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/plate-t-xz.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/plate-t-yz.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/plate-thick-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/plate-u-additive.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/plate-u-cut.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-compound.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-edge-anchored.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-lone.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-opposed.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-pattern-ambiguous.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-pattern-grid.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-pattern-linear.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-pattern-pair.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-pattern-topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-pattern-topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-prismatic-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-side.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-through-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/pocket-two-equal.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-boss-compound-equal.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-boss-detached-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-boss-in-plane-rotated.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-boss-other-protrusions-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-boss-recess-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-boss-stock-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-boss-topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-boss-topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-boss-x.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-boss-y.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-boss-z.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-stock-compound-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-stock-cylinder-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-stock-irregular-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-stock-octagon-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-stock-recess-negative.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-stock-roll17.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-stock-topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-stock-topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-stock-translated.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-stock-x.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/polygonal-stock-y.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/turned-step-axis-x.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/turned-step-axis-y.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/turned-step-axis-z.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/turned-step-compound.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/turned-step-repeated-lengths.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/turned-step-through-bore.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/turned-step-topology-a.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/turned-step-topology-b.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/evaluation/turned-step-translated-blind-bore.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/grm03_thumbwheel_drive_screw.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/grm03_thumbwheel_drive_screw_ap242_pmi.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/grm04_drive_plate.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/if_step_flat_across_cylinder.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/issue_1058_wheel_rh.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/issue_1247_angled_blind_step.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/issue_909_basic_part_design_017_body.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/issue_915_case_study_2.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/nist_ctc_01_asme1_ap203.stp +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/nist_ctc_01_asme1_ap242.stp +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/nist_ctc_02_asme1_ap203.stp +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/nist_ctc_02_asme1_ap242.stp +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/nist_ctc_03_asme1_ap203.stp +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/nist_ctc_03_asme1_ap242.stp +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/nist_ctc_04_asme1_ap203.stp +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/nist_ctc_04_asme1_ap242.stp +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/nist_ctc_05_asme1_ap203.stp +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/nist_ctc_05_asme1_ap242.stp +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/fixtures/tuner_jig_blind_obround_pockets.step +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/refactor_golden/bracket_section.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/refactor_golden/centered_rebate.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/refactor_golden/chamfered.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/refactor_golden/filleted.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/refactor_golden/flange_dense.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/refactor_golden/grid_plate.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/refactor_golden/grooved_shaft.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/refactor_golden/hex_bar.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/refactor_golden/holed_slot.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/refactor_golden/pocketed.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/refactor_golden/prismatic_ladder.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/refactor_golden/scattered_plate.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/refactor_golden/side_drilled.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/refactor_golden/turned_stepped.json +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_adr0018_arrangement_gate.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_adr0018_view_routing.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_adr0018_view_selection.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_adr_corpus.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_agents_guide.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_api_docs.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_architecture_docs.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_audit_differential.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_balloon_ring_standoff.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_build_profile_harness.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_carve_free_position_callers.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_dense_sheet_canary.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_deprecation_dates.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_dimension_role_vocabulary.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_drawing_encapsulation.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_e2e_slice.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_export_dxf_curves.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_export_dxf_zoom.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_export_reproducible.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_fits.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_gdt_placement.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_iso_nts_caption_placement.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1000_envelope_reuse.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1086_declared_gears.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1116_ap242_hole_tolerance_lowering.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1130_view_planning_evidence.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1142_hole_leader_labels.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1144_transactional_hole_table.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1146_scale_completeness.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1147_legibility_pair_aggregation.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1153_contradictory_dimensions.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1154_one_owner_per_measurement.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1155_grm04_sheet_use.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1176_quality_fidelity.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1177_angular_dimensions.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1187_unroutable_leaders.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1188_per_view_assignment.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1190_section_decision.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1196_deterministic_view_names.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1209_linear_pmi_witnesses.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1215_envelope_tolerance.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1215_no_approved_tolerance_is_dropped.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1216_callout_reservation_measures_ink.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1216_pairwise_across_scale_groups.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1217_claimed_representations.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1217_the_facility_is_shared.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1219_location_claims_its_own_axis.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1240_iso_above_strip_visibility.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1260_view_constraints.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1262_automatic_turned_views.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1276_turned_leader_targets.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1296_cylindrical_diameter_pmi.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1298_manufacturing_requirements.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1299_page_escalation.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1312_engine_costs.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1325_nominal_agreement.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1332_overlap_remedy.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1332_zone_labels.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1334_prevent_ink.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1336_grm03_ap242_pmi_fixture.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1338_scale_before_page_escalation.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1349_precision_display.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1350_detected_takeover.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1352_searchable_pdf_text.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1353_cnc_authoritative_workflow.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1360_thread_depth.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1382_framed_step_family_evidence.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1390_sheet_registration.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1395_degenerate_iso_region.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1396_layout_advisories.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1438_cli_report_sidecar.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_1438_report_writer.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_367_leader_ink.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_443_grm03_axial_coverage.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_563_placement_intent.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_676_polygonal_boss_declare.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_798_floor_cardinality.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_798_material_field.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_916_pocket_leader.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_924_zero_length_shoulders.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_issue_955_height_contingency.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_label_provenance.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_layout.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_layout_cleanliness.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_layout_hypothesis.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_layout_property.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_leader_footprint.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_lint_box_cache.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_lint_ink_overlap.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_lint_reconciliation.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_lint_structural.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_linting.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_location_vocabulary.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_note_verb.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_object_aspects.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_occupancy_boxes.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_part_model.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_pitch_dim_footprint.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_pmi.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_pmi_datum_lowering.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_pmi_gtol_lowering.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_pmi_part21.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_pocket_pattern.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_principal_profile_classifier.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_private_test_attr_reads.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_private_test_imports.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_refactor_golden.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_registry.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_render_seam.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_repack_geometry_seam.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_script_detail_parity.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_shared_box_memo.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_sheet_gdt.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_sheet_notes.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_sheet_of.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_sheet_section.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_sheet_tables.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_slot_pattern.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_soft_deprecation.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_solve_trace.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_step_analysis_evaluation.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_suppression_ledger.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_suppression_marks.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_tolerances.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_view_plan.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_witness_label_reconciliation.py +0 -0
- {draftwright-0.4.19 → draftwright-0.4.20}/tests/test_workflows.py +0 -0
|
@@ -154,6 +154,23 @@
|
|
|
154
154
|
|
|
155
155
|
### Changed
|
|
156
156
|
|
|
157
|
+
- Production recognition now consumes published `quiddity==0.2.2`. Unified section-recess
|
|
158
|
+
occurrences and their same-run patterns feed the existing pocket, channel and blind-slot
|
|
159
|
+
drawing grammar. Original occurrence ownership, independent completeness and explicit
|
|
160
|
+
unsupported/refusal outcomes follow that single aggregate (#1471).
|
|
161
|
+
- Machine-readable reports and STEP inspection documents advance to schema v2 because their
|
|
162
|
+
closed producer object now names `quiddity`. The schema-v1 documents remain available for
|
|
163
|
+
existing files; readers must select the schema using `schema_version` (#1471).
|
|
164
|
+
- Groove membership now retains Quiddity's body-local profile identity. Generated declarations
|
|
165
|
+
use `profile_group` to associate coaxial grooves and steps without copying provider keys.
|
|
166
|
+
Omitted steps do not cause a groove to attach to another body (#1471).
|
|
167
|
+
- Known limitations in Quiddity 0.2.2: some mixed-profile/nested pockets, bore-intersected channels
|
|
168
|
+
and edge-open recesses, and pockets in cylindrical stock can lose automatic annotations.
|
|
169
|
+
Refusals remain visible in lint and evidence. Regression cases are retained as strict expected
|
|
170
|
+
failures while upstream [#536](https://github.com/pzfreo/quiddity/issues/536),
|
|
171
|
+
[#538](https://github.com/pzfreo/quiddity/issues/538) and
|
|
172
|
+
[#541](https://github.com/pzfreo/quiddity/issues/541) are open.
|
|
173
|
+
|
|
157
174
|
- Accepted schema-v3 straight or circular `Blend` chains, including concave occurrences, now cross
|
|
158
175
|
a dedicated end-to-end consumer path:
|
|
159
176
|
`BlendFeature`, explicit `Sheet.blend(...)`, executable generated declarations, one
|
|
@@ -167,7 +184,7 @@
|
|
|
167
184
|
also retains circular paths, while raw arbitrarily rotated circular recognition remains an
|
|
168
185
|
upstream limitation (b123d-recognisers#491) (#1433; ADRs 0011, 0013–0017, 0020).
|
|
169
186
|
|
|
170
|
-
-
|
|
187
|
+
- The preceding recognition update pinned the immutable `b123d-recognisers` 0.4.14 release and advanced its
|
|
171
188
|
fail-closed capability and inspection joins. `Blend` schema v3 replaces the old flat cylindrical
|
|
172
189
|
fields with exact `StraightBlendPath` and `CircularBlendPath` records and admits proved concave
|
|
173
190
|
and toroidal occurrences; Draftwright preserves those semantics through IR, `Sheet.blend(...)`,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: draftwright
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.20
|
|
4
4
|
Summary: Automated technical-drawing generation for build123d
|
|
5
5
|
Project-URL: Homepage, https://github.com/pzfreo/draftwright
|
|
6
6
|
Project-URL: Repository, https://github.com/pzfreo/draftwright
|
|
@@ -684,13 +684,13 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
684
684
|
Classifier: Topic :: Scientific/Engineering
|
|
685
685
|
Requires-Python: <3.15,>=3.10
|
|
686
686
|
Requires-Dist: antlr4-python3-runtime<4.10
|
|
687
|
-
Requires-Dist: b123d-recognisers==0.4.14
|
|
688
687
|
Requires-Dist: build123d-drafting-helpers>=0.14.2
|
|
689
688
|
Requires-Dist: build123d<0.11,>=0.9.0; python_full_version < '3.13'
|
|
690
689
|
Requires-Dist: build123d<0.12,>=0.11; python_full_version >= '3.13'
|
|
691
690
|
Requires-Dist: numpy>=1.24
|
|
692
691
|
Requires-Dist: pillow>=10
|
|
693
692
|
Requires-Dist: pypdfium2>=4
|
|
693
|
+
Requires-Dist: quiddity==0.2.2
|
|
694
694
|
Requires-Dist: reportlab>=4.0
|
|
695
695
|
Requires-Dist: steputils==0.1
|
|
696
696
|
Requires-Dist: svglib>=1.5
|
|
@@ -1001,12 +1001,12 @@ builds on three libraries:
|
|
|
1001
1001
|
|
|
1002
1002
|
```
|
|
1003
1003
|
draftwright
|
|
1004
|
-
└──
|
|
1004
|
+
└── quiddity — deterministic geometry recognition
|
|
1005
1005
|
└── build123d-drafting-helpers — Dimension, Leader, HoleCallout, …
|
|
1006
1006
|
└── build123d — CAD kernel
|
|
1007
1007
|
```
|
|
1008
1008
|
|
|
1009
|
-
Geometry recognition lives in the Apache-2.0 `
|
|
1009
|
+
Geometry recognition lives in the Apache-2.0 `quiddity` package. Draftwright owns
|
|
1010
1010
|
the per-build recognition cache, record→IR conversion, drafting policy, and linting
|
|
1011
1011
|
(`linting/`); annotation primitives (`Dimension`, `Leader`, etc.) live in
|
|
1012
1012
|
`build123d-drafting-helpers` and can be used independently. The compiler is largely converged
|
|
@@ -301,12 +301,12 @@ builds on three libraries:
|
|
|
301
301
|
|
|
302
302
|
```
|
|
303
303
|
draftwright
|
|
304
|
-
└──
|
|
304
|
+
└── quiddity — deterministic geometry recognition
|
|
305
305
|
└── build123d-drafting-helpers — Dimension, Leader, HoleCallout, …
|
|
306
306
|
└── build123d — CAD kernel
|
|
307
307
|
```
|
|
308
308
|
|
|
309
|
-
Geometry recognition lives in the Apache-2.0 `
|
|
309
|
+
Geometry recognition lives in the Apache-2.0 `quiddity` package. Draftwright owns
|
|
310
310
|
the per-build recognition cache, record→IR conversion, drafting policy, and linting
|
|
311
311
|
(`linting/`); annotation primitives (`Dimension`, `Leader`, etc.) live in
|
|
312
312
|
`build123d-drafting-helpers` and can be used independently. The compiler is largely converged
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Recogniser capability contract
|
|
2
2
|
|
|
3
|
-
Draftwright consumes the public capability manifest installed with `
|
|
3
|
+
Draftwright consumes the public capability manifest installed with `quiddity`; it never
|
|
4
4
|
reads a sibling checkout or a package-private file. The matching Draftwright-owned declaration is
|
|
5
5
|
implemented in `draftwright.recogniser_contract` and validated in CI.
|
|
6
6
|
|
|
@@ -14,7 +14,7 @@ library.
|
|
|
14
14
|
Declared-feature geometry reads use a different public boundary. The installed package's
|
|
15
15
|
inspection manifest format 1 is joined to the separate Draftwright-owned declaration in
|
|
16
16
|
`draftwright.inspection_contract`. That contract admits inspection API major 1 and exactly the
|
|
17
|
-
consumed `
|
|
17
|
+
consumed `quiddity.inspection` symbol schemas: the five geometry readers, their public
|
|
18
18
|
result/error types, the cylindrical surface parameter layout, bevel rejection reasons, and the
|
|
19
19
|
semantic names and units of the Double-D tuple. It also checks the exact installed package
|
|
20
20
|
version. Recognition-family policy does not leak into this smaller measurement contract, and an
|
|
@@ -59,7 +59,7 @@ Validation fails closed and names the family and boundary whenever possible:
|
|
|
59
59
|
## Adding or changing a recogniser
|
|
60
60
|
|
|
61
61
|
For an additive field that increments an existing record schema, update the relevant Draftwright
|
|
62
|
-
adapter and declaration when advancing the exact `
|
|
62
|
+
adapter and declaration when advancing the exact `quiddity` dependency pin. Tests must
|
|
63
63
|
prove the installed schema is accepted while later schemas still fail. The package version belongs
|
|
64
64
|
only in `pyproject.toml` and `uv.lock`; the capability declaration derives runtime identities from
|
|
65
65
|
installed package metadata.
|
|
@@ -70,39 +70,51 @@ issue. The contract test derives package record outputs, converter registries, l
|
|
|
70
70
|
and emitter branches independently, so copying a new name into the declaration alone cannot make CI
|
|
71
71
|
pass.
|
|
72
72
|
|
|
73
|
-
### Quiddity
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
73
|
+
### Quiddity 0.2.2 runtime contract
|
|
74
|
+
|
|
75
|
+
[#1471](https://github.com/pzfreo/draftwright/issues/1471) moves production recognition to the
|
|
76
|
+
published `quiddity==0.2.2` package. Its public `quiddity`, `quiddity.evidence` and
|
|
77
|
+
`quiddity.inspection` surfaces supply recognition, exact occurrence evidence and declared geometry
|
|
78
|
+
reads. There is one recognition aggregate per build; consumers project that result rather than
|
|
79
|
+
calling the document builder to obtain another run.
|
|
80
|
+
|
|
81
|
+
The manifest has 27 families. One `section-recesses` family replaces the former pockets, pocket
|
|
82
|
+
patterns, channels, rectangular and round-bottom blind slots, passages and prismatic pockets.
|
|
83
|
+
`RecognitionResult.section_recesses` contains the immutable occurrences;
|
|
84
|
+
`section_recess_patterns` relates them by run-local occurrence indices; `section_recess_refusals`
|
|
85
|
+
retains the provider's explicit reasons for refusing candidate geometry. The public document
|
|
86
|
+
builder is a serialization front door, not another feature family or a production rescan.
|
|
87
|
+
|
|
88
|
+
The shared adapter reads the published frame, profile, run interval and ends and lowers supported
|
|
89
|
+
principal-axis geometry to the existing pocket, channel and blind-slot IR. It preserves the opening
|
|
90
|
+
direction and edge anchoring and rejects malformed records. Unsupported profiles and sloped ends
|
|
91
|
+
remain explicit unsupported outcomes; they receive no invented dimensions. Pattern members resolve
|
|
92
|
+
to the original records in the same aggregate before they share a drawing owner. Missing members,
|
|
93
|
+
duplicate indices, cross-body grouping and inconsistent lattice geometry fail closed.
|
|
94
|
+
|
|
95
|
+
Independent pocket and pattern corpora, channel ownership tests and both blind-slot corpora check
|
|
96
|
+
measurements, public declarations, executed generated code and the placed requirement ledger.
|
|
97
|
+
Recognition refusals retain source provenance and contribute an unsupported outcome without a
|
|
98
|
+
fabricated position. Report and inspection schema v2 name `producer.quiddity`; their v1 schemas
|
|
99
|
+
remain available for existing documents.
|
|
100
|
+
|
|
101
|
+
The 0.4.20 release includes these known Quiddity 0.2.2 limitations:
|
|
102
|
+
|
|
103
|
+
- Some mixed line/arc and nested pockets, including the tuner-jig and dense #915 STEP fixtures,
|
|
104
|
+
are refused: [Quiddity #536](https://github.com/pzfreo/quiddity/issues/536).
|
|
105
|
+
- Bores intersecting channel walls, floors or an edge-open recess can prevent recognition:
|
|
106
|
+
[Quiddity #538](https://github.com/pzfreo/quiddity/issues/538).
|
|
107
|
+
- A pocket cut into cylindrical stock can be refused:
|
|
108
|
+
[Quiddity #541](https://github.com/pzfreo/quiddity/issues/541).
|
|
109
|
+
|
|
110
|
+
These cases can lose automatic annotations that the previous provider emitted. Check recognition
|
|
111
|
+
refusals and lint when using affected geometry. An explicit refusal makes the limitation visible;
|
|
112
|
+
it does not establish drawing completeness. The regression cases remain in the suite as strict
|
|
113
|
+
expected failures linked to the upstream issues. Other recognition, declaration, placement,
|
|
114
|
+
reporting and coverage checks remain release gates.
|
|
115
|
+
|
|
116
|
+
`bosses` remains a fully consumed reference family. `repeating-radial-profiles` remains geometry-only
|
|
117
|
+
critique evidence for a separately authored gear declaration, with no inferred gear feature.
|
|
106
118
|
|
|
107
119
|
## Hole completeness evidence
|
|
108
120
|
|
|
@@ -205,11 +217,11 @@ independent score.
|
|
|
205
217
|
|
|
206
218
|
## Pocket completeness evidence
|
|
207
219
|
|
|
208
|
-
The lone `
|
|
220
|
+
The lone-pocket grammar within `section-recesses` is independently `supported` from
|
|
209
221
|
`tests/fixtures/evaluation/corpus-pockets-v1.json`. Ten construction-authored cases contribute 13
|
|
210
222
|
physical pockets, 52 parameter checks and 52 downstream checks. The corpus covers a through-slot
|
|
211
223
|
negative, one off-centre pocket, an edge-anchored corner interruption, equal independent pockets,
|
|
212
|
-
opposite openings, a principal side opening,
|
|
224
|
+
opposite openings, a principal side opening, an unsupported polygonal-pocket ownership negative, separate
|
|
213
225
|
compound bodies and a reverse-serialized topology pair.
|
|
214
226
|
|
|
215
227
|
Identity uses width/long/depth axes, opening sign and physical location; width, length, depth and
|
|
@@ -223,7 +235,7 @@ single public `location` authoring unit.
|
|
|
223
235
|
|
|
224
236
|
## Pocket-pattern completeness evidence
|
|
225
237
|
|
|
226
|
-
The
|
|
238
|
+
The pocket-pattern grammar within `section-recesses` is independently `supported` from
|
|
227
239
|
`tests/fixtures/evaluation/corpus-pocket-patterns-v1.json`. Seven construction-authored cases
|
|
228
240
|
cover 30° linear and rectangular-grid positives, the two-member threshold, unequal-spacing
|
|
229
241
|
ambiguity, a plain negative, an axis-aligned underside compound case and a reverse-serialized
|
|
@@ -260,6 +272,14 @@ its diameter is drafted once. Removing provider grooves, changing width/diameter
|
|
|
260
272
|
corrupting declaration or generated code, or severing either measurement claim reduces the
|
|
261
273
|
corresponding independent layer.
|
|
262
274
|
|
|
275
|
+
Quiddity's optional `Groove.profile` key now identifies the exact body-local turned profile.
|
|
276
|
+
The compiler and independent axial/step ledgers use that key and still cross-check the published
|
|
277
|
+
axis line and axial band. Missing profile identity retains the geometric ambiguity refusal;
|
|
278
|
+
a missing profile in an authored subset cannot redirect the groove to another coaxial body.
|
|
279
|
+
Generated declarations replace the provider key with the same `profile_group` token used for the
|
|
280
|
+
owning steps. The keyed nested-body and omission checks live in
|
|
281
|
+
`tests/test_issue_1471_groove_profile.py`; they supplement the unchanged authored groove corpus.
|
|
282
|
+
|
|
263
283
|
## Rectangular-pad completeness evidence
|
|
264
284
|
|
|
265
285
|
The `rectangular-pads` completeness boundary is independently `supported` from
|
|
@@ -535,27 +555,10 @@ position. Removing any one of those five physical facts produces
|
|
|
535
555
|
independently authored rectangular-pad detection/parameter/downstream benchmark corpus required
|
|
536
556
|
before claiming family-level completeness.
|
|
537
557
|
|
|
538
|
-
##
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
Draftwright advances its exact package join without widening the set of inspection symbols it
|
|
543
|
-
consumes. The additive `b123d_recognisers.evidence` API is public provider capability, but this
|
|
544
|
-
adoption does not consume it before a concrete correspondence slice demonstrates that need.
|
|
545
|
-
|
|
546
|
-
Unchanged record schemas do not mean byte-identical recognition output. The 0.4.10 provider closes
|
|
547
|
-
slot-depth, subdivided paired-ramp/AngledStep, and noisy stubby-pocket gaps and fixes Double-D/Hole
|
|
548
|
-
ownership, external-cone countersink false positives, Plate tie covariance, and turned-step
|
|
549
|
-
translation covariance. Draftwright accepts those public aggregate outcomes: its consumer tests pin
|
|
550
|
-
that an external cone no longer creates a countersink requirement and that an edge-open rectangular
|
|
551
|
-
recess now yields to the dedicated blind-slot owner instead of retaining a false `Pocket` callout.
|
|
552
|
-
The provider's immutable
|
|
553
|
-
[0.4.10 release](https://github.com/pzfreo/b123d-recognisers/releases/tag/v0.4.10) owns the lower-level
|
|
554
|
-
recognition predicates and counterexamples; Draftwright does not duplicate private provider
|
|
555
|
-
algorithms to restate them.
|
|
556
|
-
|
|
557
|
-
The release adds `rectangular-blind-slots` and `round-bottom-blind-slots` to the one aggregate.
|
|
558
|
-
Both now have dedicated Draftwright feature types and public Sheet words. The rectangular family
|
|
558
|
+
## Blind-slot drawing grammar
|
|
559
|
+
|
|
560
|
+
Quiddity publishes both blind-slot shapes as `SectionRecess` occurrences in the unified inventory.
|
|
561
|
+
Their consumer contracts remain distinct. Both now have dedicated Draftwright feature types and public Sheet words. The rectangular family
|
|
559
562
|
uses `RectangularBlindSlotFeature` and
|
|
560
563
|
`Sheet.rectangular_blind_slot(...)` declaration, generated-code round trip and solver-owned
|
|
561
564
|
`OPEN SLOT width × capped-run × depth DEEP` callout. Its axes and opening signs remain structural
|
|
@@ -583,14 +586,11 @@ with exact full-record correspondence and parameter/outcome provenance under the
|
|
|
583
586
|
rules as the rectangular family. It now participates independently in `audited_score`; ordinary
|
|
584
587
|
slots, pockets, channels and rectangular blind slots do not share ownership.
|
|
585
588
|
|
|
586
|
-
##
|
|
589
|
+
## Path-complete Blend drawing grammar
|
|
587
590
|
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
accepts `PassageEnds`, `PassageSection`, and `SectionPassage` schema v2. Passage remains explicitly
|
|
592
|
-
unsupported under #1245: accepting its released structural schema does not invent an IR feature,
|
|
593
|
-
Sheet declaration, or completeness credit.
|
|
591
|
+
Quiddity 0.2.2 retains `Blend` schema v3 with nested `StraightBlendPath` and
|
|
592
|
+
`CircularBlendPath` schema-v1 records. The installed manifest and the independently declared
|
|
593
|
+
consumer schemas must agree before these records can reach drawing generation.
|
|
594
594
|
|
|
595
595
|
The supported Blend adapter preserves the complete discriminated path. Straight occurrences keep
|
|
596
596
|
their canonical line direction and anchor; circular occurrences keep their centre, canonical
|
|
@@ -618,12 +618,13 @@ the complete canonical `axis_direction`; `Sheet.blend(...)`, generated replay an
|
|
|
618
618
|
solver-owned `n× R` leader preserve it without pretending it is a legacy Fillet. Exact occurrence
|
|
619
619
|
and measurement provenance place Blend in `audited_score`.
|
|
620
620
|
|
|
621
|
-
`oriented_slots`
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
621
|
+
Standalone `oriented_slots` are supported through dedicated vector-valued IR, the public
|
|
622
|
+
`Sheet.oriented_slot(...)` declaration, executable generated code, two compiler-approved width/length
|
|
623
|
+
requirements, and solver-owned leaders. Exact run-local identity binds each accepted record to its
|
|
624
|
+
IR owner. Array/grid members are excluded by exact provider-record membership and retain the
|
|
625
|
+
still-deferred `oriented-slot-patterns` policy; they are not emitted as competing singletons.
|
|
626
|
+
The shared requirement ledger feeds both lint and reports. Malformed or copied pattern authority
|
|
627
|
+
is refused rather than reconstructed from equal geometry.
|
|
627
628
|
|
|
628
629
|
The existing schema-v1 `PairedRampStep` record is unchanged, while 0.4.12 expands provider
|
|
629
630
|
recognition to shallow nonzero ramp pairs. A released shallow specimen now crosses the already
|
|
@@ -657,7 +658,7 @@ height/shoulder projection. The aggregate face-level and riser families remain s
|
|
|
657
658
|
outcome says only that each raw evidence record is not itself an independent inferred feature or
|
|
658
659
|
completeness requirement. It adds no Sheet word, IR adapter, drawing ink, or provider API.
|
|
659
660
|
|
|
660
|
-
##
|
|
661
|
+
## Historical: recognisers 0.4.9 prepared frame boundary
|
|
661
662
|
|
|
662
663
|
Draftwright's 0.4.9 boundary accepted `RiserEvidence` v2,
|
|
663
664
|
`TurnedStep`/`TurnedProfile` v2, and the nested `TurnedProfileKey` v1. These records preserve
|
|
@@ -705,51 +706,26 @@ Sheet declaration, generated code or annotation, and emits
|
|
|
705
706
|
occurrence contributes one `unsupported` completeness requirement. Issue #1247 records this
|
|
706
707
|
consumer decision.
|
|
707
708
|
|
|
708
|
-
##
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
`
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
The installed `b123d-recognisers==0.4.14` release contains the `passages` family introduced
|
|
729
|
-
in 0.2.6. Version 0.4.0 made `SectionPassage` the authoritative physical output; 0.4.14 publishes
|
|
730
|
-
its nested schema v2 and retains `Passage` as a compatibility projection. Draftwright declares all
|
|
731
|
-
six public and nested record schemas exhaustively but deliberately keeps the family `unsupported`,
|
|
732
|
-
with the drafting decision recorded by issue #1245. This is a truthful consumer disposition: both
|
|
733
|
-
aggregate inventories remain visible, but only authoritative `section_passages` contributes an explicitly
|
|
734
|
-
`unsupported` completeness requirement. Draftwright does not invent an IR feature, DSL
|
|
735
|
-
declaration, generated code, or drawing annotation for either inventory.
|
|
736
|
-
|
|
737
|
-
The 0.4 contract is explicit:
|
|
738
|
-
|
|
739
|
-
- `SectionPassage` will be the authoritative physical output and aggregate census source;
|
|
740
|
-
- legacy `Passage` values will be an accepted-only compatibility projection;
|
|
741
|
-
- `recognise_passages(..., ledger=...)` will be a fail-loud unavailable compatibility operation;
|
|
742
|
-
- the writer-free `recognise_passages` name will remain public but non-authoritative; and
|
|
743
|
-
- rich split-junction passages can supersede a Slot claim, moving physical ownership to the
|
|
744
|
-
unsupported Passage family through `SLOT_SUPERSEDED_BY_PASSAGE`.
|
|
745
|
-
|
|
746
|
-
The exact 0.4.14 pin, manifest-v2 validator and explicit unsupported inventories make that limitation
|
|
747
|
-
fail-visible rather than silently treating rich passages as supported. Draftwright deliberately
|
|
748
|
-
does not claim that a regular-polygon `HEX … A/F THRU` callout covers the complete line/arc section
|
|
749
|
-
schema. Each authoritative `RecognitionResult.section_passages` occurrence therefore emits
|
|
750
|
-
`passage_requirement_unsupported` at warning severity and contributes an `unsupported` requirement
|
|
751
|
-
to the completeness component. The accepted-only legacy `.passages` projection contributes neither
|
|
752
|
-
a second issue nor a second requirement. Issue #1245 records this consumer decision.
|
|
709
|
+
## Unsupported polygonal-pocket and passage grammar
|
|
710
|
+
|
|
711
|
+
Quiddity's unified `SectionRecess` inventory carries both supported and unsupported profile
|
|
712
|
+
geometry. Draftwright selects its existing drawing grammar from the exact public section and ends;
|
|
713
|
+
it does not rerun provider recognition or retain a second legacy pocket/passage inventory.
|
|
714
|
+
|
|
715
|
+
A general polygonal recess has no truthful rectangular `W × L × D DEEP` callout. A general line/arc
|
|
716
|
+
through-opening likewise cannot be represented by a regular-polygon `HEX … A/F THRU` callout.
|
|
717
|
+
These occurrences retain the decisions recorded by #1246 and #1245: no inferred IR feature, public
|
|
718
|
+
declaration, generated feature or annotation is invented. Each occurrence instead contributes one
|
|
719
|
+
`unsupported` completeness outcome and its corresponding `prismatic_pocket_requirement_unsupported`
|
|
720
|
+
or `passage_requirement_unsupported` warning. Exact mouth-to-section correlation can replace a
|
|
721
|
+
generic unsupported-profile warning for that occurrence; unrelated unrecognised geometry remains
|
|
722
|
+
visible. The old accepted-only Passage projection no longer exists and cannot add another count.
|
|
723
|
+
|
|
724
|
+
Provider refusals are distinct from accepted geometry outside the drawing grammar. Each exact
|
|
725
|
+
`SectionRecessRefusal` is retained with its reason and original evidence, emits
|
|
726
|
+
`section_recess_recognition_refused`, and carries no fabricated feature position. A valid unmatched
|
|
727
|
+
supported recess still contributes its full independent requirement count. A malformed recess
|
|
728
|
+
cannot establish a trustworthy family or denominator and is rejected at intake.
|
|
753
729
|
|
|
754
730
|
## Step families introduced in recognisers 0.4.6
|
|
755
731
|
|
|
@@ -4,6 +4,49 @@
|
|
|
4
4
|
are documented here because they are part of normal use even though their Python names begin
|
|
5
5
|
with an underscore.
|
|
6
6
|
|
|
7
|
+
## Grooves on coaxial bodies
|
|
8
|
+
|
|
9
|
+
When different turned bodies share an axis line, give their steps distinct `profile_group`
|
|
10
|
+
values and use the owning body's value on `s.groove(..., profile_group="outer")`.
|
|
11
|
+
The token associates features; it does not specify an annotation position or add a measurement.
|
|
12
|
+
Generated scripts preserve this association using Draftwright-owned tokens instead of provider
|
|
13
|
+
keys. A groove can still be declared when the authored set omits all of that body's steps.
|
|
14
|
+
|
|
15
|
+
## Checking dimension placement rules
|
|
16
|
+
|
|
17
|
+
Call `handle.dimension_ids()` to find the measurements a declared feature exposes, then
|
|
18
|
+
query a measurement before choosing its placement controls:
|
|
19
|
+
|
|
20
|
+
```python
|
|
21
|
+
options = s.dimension_options(hole, "bore.diameter")
|
|
22
|
+
# options["placements"] contains pairs accepted by the planner's placement rules.
|
|
23
|
+
# None means leave that override unspecified.
|
|
24
|
+
|
|
25
|
+
check = s.validate_dimension(hole, "bore.diameter", view="plan", side="left")
|
|
26
|
+
if check["supported"]:
|
|
27
|
+
s.dimension(hole, "bore.diameter", view="plan", side="left")
|
|
28
|
+
else:
|
|
29
|
+
print(check["issues"], check["options"])
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Both queries return versioned JSON-ready dictionaries without recording intent, preparing the
|
|
33
|
+
Sheet, recognising geometry or rendering. Use complete view/side pairs: a side supported in one
|
|
34
|
+
view may be unavailable in another. The `axis` argument follows `dimension()`'s parameter-variant
|
|
35
|
+
rules; full parameter ids already name their variant. Location intent currently admits no view
|
|
36
|
+
or side override. Invalid references, unsupported controls and unsupported placement pairs have
|
|
37
|
+
separate structured refusal codes in `validate_dimension()`; `dimension_options()` raises on an
|
|
38
|
+
invalid reference.
|
|
39
|
+
|
|
40
|
+
The explicit `single_dimension_placement_rules` scope means `supported` reports acceptance by
|
|
41
|
+
the current planner placement rules. Both documents set `requires_build_validation: true`:
|
|
42
|
+
whole-part classification can select a different renderer, so this query does not prove actual
|
|
43
|
+
rendered support. For example, a boss on a turned part can use a different diameter renderer
|
|
44
|
+
from a boss on a prismatic part. Agreement with other authored dimensions, visibility in an
|
|
45
|
+
authored view set, available space, completeness and collision-free placement also require a
|
|
46
|
+
build. Build and lint still assess the resulting Sheet. A
|
|
47
|
+
query never replaces an existing dimension request. Keep the original feature handle for edits;
|
|
48
|
+
these reports do not introduce persistent feature identities or new lane, route or pin controls.
|
|
49
|
+
|
|
7
50
|
## Sheet
|
|
8
51
|
|
|
9
52
|
::: draftwright.sheet.Sheet
|
|
@@ -156,6 +199,13 @@ explicit declaration has the same exact occurrence identity and view routing as
|
|
|
156
199
|
record.
|
|
157
200
|
Generated Sheet code preserves every field.
|
|
158
201
|
|
|
202
|
+
Straight-path radius leaders target curved boundaries of the physical cylindrical patch.
|
|
203
|
+
Their `at` value locates the analytic axis, not the arrow tip. If a declared support is missing
|
|
204
|
+
or ambiguous, the engine reports `blend_dropped`. Physical lint reports
|
|
205
|
+
`radius_leader_target_mismatch` when a placed tip misses its trimmed boundary, or
|
|
206
|
+
`radius_leader_target_unverifiable` when that boundary cannot be established; these findings
|
|
207
|
+
lower fidelity. Circular-path toroidal blends retain their separate tangency selection.
|
|
208
|
+
|
|
159
209
|
These are part-space feature coordinates, never page positions. The annotation placement solve
|
|
160
210
|
owns the final leader and label coordinates. The word is explicit-only because detached surface
|
|
161
211
|
geometry cannot prove a complete chain or the provider aggregate's Fillet precedence.
|
|
@@ -303,3 +353,13 @@ with the canonical feature diameter, using the same rule as planning. A larger m
|
|
|
303
353
|
keeps the original source value and identity in a blocked dimension; it does not replace
|
|
304
354
|
the canonical value or crash planning. Generated Sheet scripts retain the blocker, and
|
|
305
355
|
`authored_dim_source_unresolved` reports the withheld source dimension through lint.
|
|
356
|
+
|
|
357
|
+
### Oriented through-slots
|
|
358
|
+
|
|
359
|
+
`Sheet.oriented_slot(...)` declares a rectangular through-slot with explicit width, long and
|
|
360
|
+
run directions and its retained passage geometry. Its two independently addressable
|
|
361
|
+
measurements are `oriented_slot_width.length` and `oriented_slot_length.length`; generated
|
|
362
|
+
Sheet scripts preserve those directions and the passage. The current drawing grammar requires
|
|
363
|
+
both run ends to be open and perpendicular to the run. Automatic conversion rejects a source
|
|
364
|
+
with a nonzero end-plane gradient, because the IR cannot retain that slope and a flat opening
|
|
365
|
+
would put the leader on the wrong physical rim.
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "draftwright"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.20"
|
|
8
8
|
description = "Automated technical-drawing generation for build123d"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { file = "LICENSE" }
|
|
@@ -18,7 +18,7 @@ dependencies = [
|
|
|
18
18
|
"build123d>=0.9.0,<0.11 ; python_full_version < '3.13'",
|
|
19
19
|
"build123d>=0.11,<0.12 ; python_full_version >= '3.13'",
|
|
20
20
|
"build123d-drafting-helpers>=0.14.2",
|
|
21
|
-
"
|
|
21
|
+
"quiddity==0.2.2",
|
|
22
22
|
"numpy>=1.24",
|
|
23
23
|
# PNG raster export (SVG→PDF→PNG). Both permissively licensed (Pillow HPND; pypdfium2
|
|
24
24
|
# Apache-2.0 wrapping Google PDFium BSD-3) and ship pre-built wheels with NO native system
|
|
@@ -170,7 +170,6 @@ dev = [
|
|
|
170
170
|
"pytest-timeout>=2",
|
|
171
171
|
"pytest-xdist>=3",
|
|
172
172
|
# Released provider used by the migration parity tests; production remains on 0.4.14.
|
|
173
|
-
"quiddity==0.2.1",
|
|
174
173
|
"ruff>=0.4",
|
|
175
174
|
"tomli>=2; python_version < '3.11'",
|
|
176
175
|
]
|
|
@@ -25,8 +25,8 @@ from types import SimpleNamespace
|
|
|
25
25
|
from typing import TYPE_CHECKING, Literal
|
|
26
26
|
|
|
27
27
|
if TYPE_CHECKING:
|
|
28
|
-
from
|
|
29
|
-
from
|
|
28
|
+
from quiddity import RecognitionResult, TurnedProfile
|
|
29
|
+
from quiddity.evidence import RecognitionEvidence
|
|
30
30
|
|
|
31
31
|
from draftwright.compose import StripDepths
|
|
32
32
|
from draftwright.recognition_ownership import RecognitionOwnership
|
|
@@ -1135,8 +1135,6 @@ class Analysis:
|
|
|
1135
1135
|
patterns: list
|
|
1136
1136
|
bosses: list # external bosses (recognise_bosses), detected once — the one inventory (#244)
|
|
1137
1137
|
slots: list
|
|
1138
|
-
pockets: list
|
|
1139
|
-
pocket_patterns: list
|
|
1140
1138
|
pads: list # geometry-derived rectangular-pad coverage inventory (#885)
|
|
1141
1139
|
z_diams: list[float]
|
|
1142
1140
|
cross_diams: list[float]
|
|
@@ -18,8 +18,8 @@ from dataclasses import dataclass
|
|
|
18
18
|
from decimal import Decimal
|
|
19
19
|
from inspect import signature
|
|
20
20
|
|
|
21
|
-
from
|
|
22
|
-
from
|
|
21
|
+
from build123d import Compound, GeomType, Shape
|
|
22
|
+
from quiddity import full_cylinders
|
|
23
23
|
|
|
24
24
|
_log = logging.getLogger(__name__)
|
|
25
25
|
|
|
@@ -53,7 +53,7 @@ _OD_FILL_MIN = 0.8
|
|
|
53
53
|
_OD_AXIS_TOL = 0.05
|
|
54
54
|
_COAXIAL_TOL = 1e-3
|
|
55
55
|
|
|
56
|
-
# ``
|
|
56
|
+
# ``quiddity`` publishes independently quantised public measurements at six
|
|
57
57
|
# significant figures. These model-neutral bounds reconstruct the possible geometry from the
|
|
58
58
|
# published decimal cells without coupling either the IR waist or linting to provider internals.
|
|
59
59
|
_PROVIDER_SIGNIFICANT_FIGURES = 6
|
|
@@ -1181,3 +1181,51 @@ def _segments_cross_or_overlap(a1, a2, b1, b2) -> bool:
|
|
|
1181
1181
|
if on_segment(point, first, second) and not (same(point, first) or same(point, second)):
|
|
1182
1182
|
return True
|
|
1183
1183
|
return False
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
def _straight_blend_faces(blend, cylinders, radius, *, defining_faces=None):
|
|
1187
|
+
"""Use exact occurrence faces, or one unambiguous declared cylinder support."""
|
|
1188
|
+
if defining_faces is not None:
|
|
1189
|
+
return tuple(defining_faces)
|
|
1190
|
+
origin = blend.frame.origin
|
|
1191
|
+
direction = blend.axis_direction
|
|
1192
|
+
length = math.hypot(*direction)
|
|
1193
|
+
normal = tuple(value / length for value in direction)
|
|
1194
|
+
matches = []
|
|
1195
|
+
for family in cylinders:
|
|
1196
|
+
for cylinder in family:
|
|
1197
|
+
if abs(cylinder["diameter"] / 2 - radius) > 2e-3:
|
|
1198
|
+
continue
|
|
1199
|
+
if cylinder["external"] != (blend.side == "convex"):
|
|
1200
|
+
continue
|
|
1201
|
+
axis = cylinder["dir_xyz"]
|
|
1202
|
+
alignment = abs(sum(normal[i] * axis[i] for i in range(3)))
|
|
1203
|
+
delta = tuple(origin[i] - cylinder["axis_xyz"][i] for i in range(3))
|
|
1204
|
+
along = sum(delta[i] * axis[i] for i in range(3))
|
|
1205
|
+
radial = math.hypot(*(delta[i] - along * axis[i] for i in range(3)))
|
|
1206
|
+
station = sum(origin[i] * axis[i] for i in range(3))
|
|
1207
|
+
if (
|
|
1208
|
+
abs(alignment - 1) <= 2e-6
|
|
1209
|
+
and radial <= 2e-3
|
|
1210
|
+
and cylinder["s_lo"] - 2e-3 <= station <= cylinder["s_hi"] + 2e-3
|
|
1211
|
+
):
|
|
1212
|
+
matches.append(cylinder["face"])
|
|
1213
|
+
return tuple(matches) if len(matches) == 1 else ()
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
def _blend_profile_arcs(faces, radius):
|
|
1217
|
+
"""Curved boundaries of the physical cylindrical patch carrying this radius.
|
|
1218
|
+
|
|
1219
|
+
An oblique end trim can be a spline in 3-D while its end-on profile is still a radius
|
|
1220
|
+
arc. Validate the cylinder's radius and retain the actual boundary curve, never rebuild
|
|
1221
|
+
an untrimmed mathematical circle. Straight generatrices are not radius targets.
|
|
1222
|
+
"""
|
|
1223
|
+
return tuple(
|
|
1224
|
+
edge
|
|
1225
|
+
for face in faces
|
|
1226
|
+
if face.geom_type == GeomType.CYLINDER
|
|
1227
|
+
and face.radius is not None
|
|
1228
|
+
and abs(face.radius - radius) <= 2e-3
|
|
1229
|
+
for edge in face.edges()
|
|
1230
|
+
if edge.geom_type != GeomType.LINE
|
|
1231
|
+
)
|