add_table
Creates tables on SolidWorks drawing sheets, including computed spur or bevel gear data tables from teeth, module, and mating teeth parameters for documenting specifications.
Instructions
A table on the sheet: rows [[cell, ...], ...] (title=True merges the first row), or gear={...} for a computed gear data table: kind 'spur' (diameters, span over k teeth, centre distance) or 'bevel' (straight: cone angles, cone distance, chordal thickness and height, crown to apex), teeth, module, mating_teeth, pressure_angle_deg, face_width_mm, profile_shift, shaft_angle_deg, accuracy, extra_rows [[label, value], ...]; teeth, module and mating_teeth default to the part's custom properties Teeth, Module, MatingTeeth. at=[x, y] its top-left corner, by default free room.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ||
| gear | No | ||
| rows | No | ||
| title | No | ||
| text_height_mm | No | ||
| column_widths_mm | No |