icadkit 0.3.10__tar.gz → 0.3.12__tar.gz
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.
- {icadkit-0.3.10 → icadkit-0.3.12}/Cargo.lock +2 -2
- {icadkit-0.3.10 → icadkit-0.3.12}/Cargo.toml +1 -1
- {icadkit-0.3.10 → icadkit-0.3.12}/PKG-INFO +1 -1
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/changelog.md +31 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/drawing.md +14 -7
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/drawing.py +326 -91
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/write.py +1 -1
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_drawing.py +471 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/COMMERCIAL-LICENSE.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/LICENSE +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/LICENSES/Apache-2.0.txt +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/LICENSES/PolyForm-Noncommercial-1.0.0.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/LICENSES/parasolid-core-MIT.txt +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/LICENSES/rust-dependencies.txt +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/README.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/THIRD_PARTY_NOTICES.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/corpus/README.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/corpus/generate.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/corpus/public.jsonl +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/Cargo.toml +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/LICENSE +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/build.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/compression.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/container.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/document.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/error.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/header.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/lib.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/limits.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/native.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/parasolid.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/parts.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/provenance.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/reader.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/record.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/resource.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/schema.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/trailer.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/src/views.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/tests/container.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/tests/header.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-core/tests/resources.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-python/Cargo.toml +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-python/LICENSE +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-python/src/brep.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-python/src/document.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-python/src/geometry.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-python/src/lib.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/crates/icad-python/src/schema.rs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/api.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/csg.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/license.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/native.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/parameters.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/parts.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/preview.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/references.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/roadmap.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/saved-bodies.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/shapes.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/support.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/trailer.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/viewer.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/docs/writing.md +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/pyproject.toml +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/scripts/bump_version.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/scripts/check_license.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/scripts/check_public_tree.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/scripts/test_publication.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/scripts/test_versions.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/scripts/verify_artifacts.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/scripts/verify_corpus.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/scripts/verify_install.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/scripts/verify_native_corpus.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/__init__.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/__main__.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/_core.pyi +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/_csg_occt.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/_preview_bridge.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/_saved_occt.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/_shape_occt.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/_viewer/index.html +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/_viewer/viewer.css +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/_viewer/viewer.js +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/_viewer_io.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/api.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/cli.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/container.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/csg.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/document.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/errors.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/geometry.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/models.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/native.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/parameters.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/parts.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/preview.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/py.typed +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/references.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/saved.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/schema.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/shape.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/trailer.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/versions.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/viewer.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/src/icadkit/views.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/conftest.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/drawing_fixtures.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/fixture_builders.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/geometry_fixtures.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/parameter_fixtures.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/part_fixtures.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/preview_fixtures.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/saved_fixtures.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_api.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_cli.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_container.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_corpus.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_csg.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_distribution.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_extrusion.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_followup_parts.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_geometry.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_inspect.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_legacy_parts.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_mirrors.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_native.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_native_corpus.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_native_round.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_parameters.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_part_profiles.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_part_semantics.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_parts.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_parts_material.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_preview.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_profile_shapes.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_references.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_resource_cli.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_resources.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_saved.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_shape.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_trailer.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_v7_parts.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_v8l4_boundary.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_version_geometry.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_viewer.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_views_placement.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/test_write.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/trailer_fixtures.py +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/viewer_assembly_browser.mjs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/viewer_browser.mjs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/tests/viewer_mirror_browser.mjs +0 -0
- {icadkit-0.3.10 → icadkit-0.3.12}/uv.lock +0 -0
|
@@ -89,7 +89,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
|
89
89
|
|
|
90
90
|
[[package]]
|
|
91
91
|
name = "icad-core"
|
|
92
|
-
version = "0.3.
|
|
92
|
+
version = "0.3.12"
|
|
93
93
|
dependencies = [
|
|
94
94
|
"flate2",
|
|
95
95
|
"parasolid-core",
|
|
@@ -99,7 +99,7 @@ dependencies = [
|
|
|
99
99
|
|
|
100
100
|
[[package]]
|
|
101
101
|
name = "icad-python"
|
|
102
|
-
version = "0.3.
|
|
102
|
+
version = "0.3.12"
|
|
103
103
|
dependencies = [
|
|
104
104
|
"icad-core",
|
|
105
105
|
"parasolid-core",
|
|
@@ -2,8 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Leader notes whose drawn leader has more than three points (the tip, two
|
|
8
|
+
or more elbows and the end of the shelf; a 2026 production drawing) read
|
|
9
|
+
`complete` with the full `path`. 0.3.11 unpacked exactly three points and
|
|
10
|
+
the whole drawing failed with "too many values to unpack".
|
|
11
|
+
- `read_drawing()` keeps an entity whose record raises while it is decoded
|
|
12
|
+
(`ValueError`, `IndexError`, `struct.error`) in place as `invalid` with a
|
|
13
|
+
`drawing.entity_error` diagnostic instead of failing the drawing; size
|
|
14
|
+
limits still raise `LimitExceededError`.
|
|
15
|
+
|
|
5
16
|
### Added
|
|
6
17
|
|
|
18
|
+
- `DrawingText.underline`: view labels ("A-A", "Z矢視図") append one line
|
|
19
|
+
item after their runs; it is read like a dimension item in both byte
|
|
20
|
+
orders, and the fixed words of such labels (+14, +46, +60, +76) read
|
|
21
|
+
`complete`. V5-V7 elliptical arcs saved as curves carry `0x90` in header byte
|
|
22
|
+
7 and are accepted, and 3D projection frames (type 211, a rotation matrix
|
|
23
|
+
without drawn items) are attribute records.
|
|
7
24
|
- `read_drawing()` interprets five more saved 2D record types. Ellipses and
|
|
8
25
|
elliptical arcs (types 88 and 89) become `DrawingPrimitive` kinds
|
|
9
26
|
`ellipse` / `elliptical_arc` with the semi-axes, the axis rotation and
|
|
@@ -31,6 +48,20 @@
|
|
|
31
48
|
runs of P&ID and circuit drawings, with the saved `name`) are
|
|
32
49
|
interpreted; motion-verification records (230–234) and line information
|
|
33
50
|
without framed items are reported as `drawing.attribute_record`.
|
|
51
|
+
- Further legacy layouts: the big-endian hatch (rendered lines without a
|
|
52
|
+
boundary), the half-arrow length dimension (type 29), the older leader
|
|
53
|
+
note with a two-point leader (type 34) and the leader without text (44),
|
|
54
|
+
blocks of text lines (14), the trajectory lines and labels of motion
|
|
55
|
+
verification (230, 234) and its circles (232), texts with a trailing
|
|
56
|
+
attribute chunk (view labels, update marks) and hidden runs inside
|
|
57
|
+
composite records. Type 29 is a chamfer dimension (`kind="chamfer"`: the
|
|
58
|
+
chamfer size of the text, one drawn arrowhead on a leader) and the older
|
|
59
|
+
note (34) is a balloon whose circle is `DrawingNote.circle`.
|
|
60
|
+
- UTF-16LE runs accept the flag variants at `+49` (view labels of frame
|
|
61
|
+
files), `vectors` items carry one, two or three vectors (surface-texture
|
|
62
|
+
symbols, type 28, read as `DrawingSymbol`), the elliptical arcs of V5–V7
|
|
63
|
+
(a free curve with an appended chunk) read as `DrawingCurve`, and type 12
|
|
64
|
+
(a point with two segments) is the `vectors` primitive.
|
|
34
65
|
- `View.placement` and `ViewIndex.placements` decode the 264-byte control
|
|
35
66
|
records of the 2D global view as `ViewPlacement`: the view origin on the
|
|
36
67
|
sheet (millimetres of the 2D global view), the view scale, the saved record
|
|
@@ -134,18 +134,22 @@ Layer values outside the observed one-byte layout remain unqualified.
|
|
|
134
134
|
| Line | Start/end, direction and length | Zero-length lines retain their direction |
|
|
135
135
|
| Circle | Center and positive radius | Saved planar circles only |
|
|
136
136
|
| Arc | Center, radius, start angle and signed sweep | Angles are radians; sweep is not an end angle |
|
|
137
|
-
| Ellipse and elliptical arc (types 88, 89) | Center, the semi-axes (`radius` along the ellipse's x axis, `minor_radius`), the `rotation` of that axis and the parametric start angle and signed sweep, in both byte orders | A point is `center + R(rotation) * (a cos t, b sin t)`, the DXF convention; the
|
|
137
|
+
| Ellipse and elliptical arc (types 88, 89) | Center, the semi-axes (`radius` along the ellipse's x axis, `minor_radius`), the `rotation` of that axis and the parametric start angle and signed sweep, in both byte orders | A point is `center + R(rotation) * (a cos t, b sin t)`, the DXF convention; V5–V7 saved elliptical arcs as a free curve with the ellipse words in an appended chunk, read as `DrawingCurve` |
|
|
138
|
+
| Vectors (type 12) | A point and the two segments from it (`DrawingPrimitive` kind `vectors`: the point and the two ends) | View-direction and section marks |
|
|
138
139
|
| Free curve (type 16) | `DrawingCurve`: the knots (start point and cumulative offsets), their chord lengths, the total length and the saved extent, in both byte orders | The six doubles saved per segment are retained as `segment_words` without a meaning; a caller draws through the knots |
|
|
139
|
-
|
|
|
140
|
-
|
|
|
140
|
+
| Elliptical arc of V5-V7 (type 89, 448 bytes, subtype `0x10`) | `DrawingCurve` as a free curve with the ellipse words retained in the appended chunk; byte 7 of the header is `0x90` in these records (3D-derived drawings) | The 16 records of the corpus read `complete` |
|
|
141
|
+
| Underlined text (type 21 with one line item) | `DrawingText.underline`: the start and end of the 48-byte line item that view labels ("A-A", "Z矢視図") append after their runs, any byte order; the fixed words differ from a plain text (header +14 = 3, +46 counts the run and the item, +60 = 0x40, +76 = `03 01`) and read `complete` for one line | The item's appearance bytes are not kept separately |
|
|
142
|
+
| 3D projection frame (type 211) | Attribute record (`drawing.attribute_record`): a composite without drawn items whose words hold a 3×3 rotation matrix (isometric in the corpus) | Not drawn |
|
|
143
|
+
| Leader note (types 22, 34, 44) | `DrawingNote`: the text runs (one per line), the arrowhead (a corner, the tip, the other corner), the drawn leader (tip, one or more elbows, end; the older type 34 stores a two-point leader) and the arrow parameters; type 44 is a leader without text (partial, `drawing.note_text`) | Hidden alternative items are retained in `items` |
|
|
144
|
+
| Symbol (types 212, 14, 28) | `DrawingSymbol`: drawn point markers, lines, arcs and vectors (a point with one, two or three vectors: the strokes of surface-texture symbols, type 28), the text runs (UTF-16LE or CP932) and the nested member list of a group as opaque ranges; `raw_kind` is the saved byte at `+31` (1 point markers, 50 labels); type 14 is a block of text lines | A run that does not decode is skipped with `drawing.symbol_text` |
|
|
141
145
|
| Line information (type 224) | `DrawingSymbol` with the saved `name` (`Line`, `Junction`, `Connection Mark`, symbol names of P&ID and circuit drawings): the drawn lines, circles (marker `0x0444`) and text runs of the framed item stream | Records without a framed item stream (cable names, tables) are attribute records (`drawing.attribute_record`) |
|
|
142
146
|
| Point with attributes (type 1, 128 bytes) | The point; the appended attribute record is retained | Connection points of P&ID symbols |
|
|
143
|
-
| Motion verification (types 230–234) |
|
|
147
|
+
| Motion verification (types 230–234) | 230 (trajectory lines) and 234 (a labelled run after the UTF-16 name at `+36`) read as `DrawingSymbol`; 232 frames a circle before its data chunk and reads as a `circle` | 231 and records without framed items are `drawing.attribute_record` |
|
|
144
148
|
| Text | Counted runs with the saved layout below: UTF-16LE in little-endian V7L6 and later, legacy CP932 runs (flag byte `0x40`, one or two bytes per character) in big-endian documents and little-endian V7L2–V7L5, including multiline and private-use characters | Rotated text keeps its angle without an anchor or box; fonts, glyph strokes and tilt are not interpreted |
|
|
145
|
-
| Length dimension | The saved layout: measured points, dimension line, line point, value text run, arrowheads and aux lines as saved items, the measured value and the arrow parameters | Tolerances, extra words and other styles are unobserved |
|
|
149
|
+
| Length dimension (types 25 and 29) | The saved layout: measured points, dimension line, line point, value text run, arrowheads and aux lines as saved items, the measured value (the measured distance projected on the dimension line) and the arrow parameters; type 29 draws one arrowhead and keeps the other hidden | Tolerances, extra words and other styles are unobserved; type 46 (a note-like record with blocks 33/34, a run, an arrowhead and a line) keeps its items with kind `unknown` |
|
|
146
150
|
| Diameter and radius dimension | The measured circle or arc (centre, radius), the pick point, the dimension line, the line point, the value text run and the arrowheads; `radius` when the value equals the radius. The leader variant adds `leader` (the arrowhead tip, the elbow and the end of the shelf) | Other item sequences keep their framed items, arc and text with a partial status |
|
|
147
151
|
| Angle dimension (type 26) | The vertex (`center`), the drawn dimension arc (`radius`, `arc_start`, `arc_sweep`), the two `measured` points on the legs, the line point, the value in degrees and the value text run | Unobserved item sequences keep their items with a partial status |
|
|
148
|
-
| Hatch | The anchor, the boundary edges (start, middle, end; line or arc) and every rendered line with its direction and spacing | Patterns other than parallel lines, dashed lines and point lists that do not close keep the layout partial |
|
|
152
|
+
| Hatch | The anchor, the boundary edges (start, middle, end; line or arc) and every rendered line with its direction and spacing; the big-endian layout stores the rendered lines only (no boundary) | Patterns other than parallel lines, dashed lines and point lists that do not close keep the layout partial |
|
|
149
153
|
| Other types | Raw type, source range and diagnostics | No decomposition into guessed primitives |
|
|
150
154
|
|
|
151
155
|
`DrawingText` qualifies the saved text layout of the observed little-endian
|
|
@@ -236,7 +240,10 @@ ends of neighbouring lines, arcs and curves.
|
|
|
236
240
|
`DrawingText` also accepts the 88-byte attribute block that some V8 labels
|
|
237
241
|
(line information, P&ID) store instead of the 48-byte block; the runs
|
|
238
242
|
follow the block and the fixed words of the extended block are not
|
|
239
|
-
compared, so these texts read `complete` unless rotated.
|
|
243
|
+
compared, so these texts read `complete` unless rotated. View labels and
|
|
244
|
+
update marks append one attribute chunk framed like a run; it is retained
|
|
245
|
+
after the runs. A hidden run (marker bytes `00 20`) inside a composite
|
|
246
|
+
record is skipped.
|
|
240
247
|
|
|
241
248
|
`DrawingHatch` reads the hatch record (type 92): an `anchor`, the boundary
|
|
242
249
|
as a point list relative to it (`raw_points`, interpreted as `edges` of
|