184d4720be
* claim: #7912 * Sketch: dimension a sketch entity against a model edge A dimension took sketch entities only, so measuring a sheet-metal body's edge was refused with "cannot dimension that combination of entities". The entities now take a model reference too, an {edge: [x,y,z], body?} or a {vertex: [x,y,z], body?}, which is projected into the sketch first, as the constraint commands' operands are since #6348, and measured there. The Dimension tool picks a body's edge or vertex when the sketch has nothing under the cursor, and reads the pick back into the reference the command takes. * style: rustfmt the sketch dimension command * Cap the entities one call may project A dimension projects the model references among its entities into the sketch, one link and one resolve each, and the loop had no cap: a single request could make the engine resolve thousands of model edges before the dimension refused the list. The count is now refused before anything is projected, and the projection loop stops at the same limit the Project command uses. * Sketch dimension on a model edge: use the sketch store after the store refactor Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: bherbruck <brennen.herbruck@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>