{'fraction_non_alphanumeric': 0.022236340533672173, 'fraction_numerical': 0.0025412960609911056, 'mean_word_length': 5.325301204819277, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Geometric Reasoning for Feature Recognition

Recognition of machining features provides a bridge between Computer Aided Design (CAD) and Computer Aided Manufacturing (CAM) of machined parts. CAD produces part descriptions in terms of geometric entities or design features, which need not coincide with the manufacturing features needed by process planning activities. The CAD data must therefore be interpreted so as to generate part representations in terms of machining features. IF 2 (Integrated Incremental Feature Finder) is the second recognizer of machining features designed and implemented at USC. Like its predecessor, OOFF, IF 2 is hint-based, and handles arbitrary spatial intersections between features. Hints or clues for the existence of machining features are generated from various sources, and processed by geometric procedures that attempt to complete the features. Completion amounts to computing a maximal volumetric feature that is compatible with the corresponding hint and does not intrude into the desired part. This paper discusses the hint generation and completion procedures of IF 2. IF 2 uses a generate-test-repair paradigm. Given a hint for a speciic feature type, the generate step proposes a maximally-extended removal volume. The test step checks if the proposed volume can be removed without intrusion. If so, the corresponding machining feature is instantiated. If the test fails, repairing algorithms attempt to construct a smaller, non-intrusive volume. Repair is not always possible, and therefore some proposed features are rejected.