circuit-json 0.0.532 → 0.0.534

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -260,6 +260,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
260
260
  - [SimulationVoltageProbe](#simulationvoltageprobe)
261
261
  - [SimulationVoltageSource](#simulationvoltagesource)
262
262
  - [Drawing Elements](#drawing-elements)
263
+ - [DrawingDimensionLine](#drawingdimensionline)
263
264
  - [DrawingPage](#drawingpage)
264
265
  - [DrawingPageTitleBlock](#drawingpagetitleblock)
265
266
  - [DrawingPartView](#drawingpartview)
@@ -5107,6 +5108,33 @@ interface SimulationAcVoltageSource {
5107
5108
 
5108
5109
  ## Drawing Elements
5109
5110
 
5111
+ ### DrawingDimensionLine
5112
+
5113
+ ```typescript
5114
+ /** Resolved drawing strokes in page-centered paper mm, +X right/+Y up.
5115
+ * Core computes the model measurement, projection, placement and formatted text.
5116
+ * A renderer draws these supplied coordinates without resolving model geometry.
5117
+ * The preformatted text is preserved exactly and need not equal paper length. */
5118
+ interface DrawingDimensionLine {
5119
+ type: "drawing_dimension_line"
5120
+ drawing_dimension_line_id: string
5121
+ drawing_part_view_id: string
5122
+ /** Distinct endpoints of the visible dimension line, in paper mm. */
5123
+ start: { x: number; y: number }
5124
+ end: { x: number; y: number }
5125
+ /** Required preformatted measured value, preserved exactly. */
5126
+ text: string
5127
+ /** Optional attachment of a witness line leading to start. */
5128
+ edge_ref_start?: { x: number; y: number }
5129
+ /** Independently optional attachment of a witness line leading to end. */
5130
+ edge_ref_end?: { x: number; y: number }
5131
+ /** Exact nonblank model feature name; optional metadata only. */
5132
+ edge_ref_name?: string
5133
+ /** Stable annotation identity, separate from the measured text. */
5134
+ name?: string
5135
+ }
5136
+ ```
5137
+
5110
5138
  ### DrawingPage
5111
5139
 
5112
5140
  ```typescript