Plan safe schematic drawing region
easyeda_schematic_plan_safe_regionCalculates a safe schematic placement region based on requested content size and margin, returning anchor and bounds while avoiding title-block overlaps.
Instructions
Compute a safe schematic drawing region before placing components. Uses live sheet info when available, assumes EasyEDA bottom-left coordinates, reserves the default lower-right title-block keep-out, and returns an anchor/bounds plan that avoids title-block overlap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| margin | No | ||
| projectId | No | ||
| contentWidth | Yes | Estimated width of the planned circuit block in EasyEDA coordinates | |
| contentHeight | Yes | Estimated height of the planned circuit block in EasyEDA coordinates | |
| preferredRegion | No | upper-left | |
| titleBlockKeepout | No | Optional explicit title-block keep-out rectangle when the sheet template is known |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| sheet | Yes | ||
| anchor | Yes | ||
| bounds | Yes | ||
| issues | Yes | ||
| blocked | Yes | ||
| keepouts | Yes | ||
| warnings | Yes | ||
| project_id | No | ||
| not_available | No | ||
| usable_bounds | Yes | ||
| preferred_region | Yes | ||
| requested_bounds | Yes |