Extract a drawing PDF’s text layer
extract_drawing_textRead text tokens from a technical-drawing PDF page, providing each token's text, position, and a unit system guess to aid in classifying values for metric-imperial conversion.
Instructions
Read the printed text tokens of one page of a technical-drawing PDF: each token with its index, text and position (page points, top-left origin, rotation in degrees), plus page geometry and a heuristic guess of the drawing’s unit system. Use the token indices to build classifications for convert_drawing_pdf when you want to decide yourself which tokens are convertible values (e.g. mark a bare "3.2" next to a surface symbol as category=surface, or a title-block number as skip).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number (default 1) | |
| path | Yes | path to the drawing PDF |