1pub const BASE_SCHEMA: &str = "13006";
14
15#[derive(Clone, Copy, Debug, PartialEq, Eq)]
17pub enum Kind {
18 Int,
21 Real,
23 Vector,
25 Interval,
27 Box,
29 Char,
31 Unknown,
33}
34
35#[derive(Clone, Copy, Debug, PartialEq, Eq)]
37pub enum Count {
38 Scalar,
39 Variable,
40 Fixed(usize),
41}
42
43#[derive(Clone, Debug, PartialEq, Eq)]
44pub struct FieldDef {
45 pub name: String,
46 pub kind: Kind,
47 pub count: Count,
48}
49
50pub fn kind_of(code: u8) -> Option<Kind> {
52 Some(match code {
53 b'd' | b'u' | b'n' | b'w' | b'p' | b't' => Kind::Int,
54 b'f' => Kind::Real,
55 b'v' | b'h' => Kind::Vector,
56 b'i' => Kind::Interval,
57 b'b' => Kind::Box,
58 b'c' | b'l' => Kind::Char,
59 b'X' => Kind::Unknown,
60 _ => return None,
61 })
62}
63
64pub const V30_SCHEMA: &str = "30100";
68
69pub const V25_SCHEMA: &str = "25001";
72
73pub const V12_SCHEMA: &str = "12006";
76
77pub const STORED_SCHEMAS: [&str; 3] = [V12_SCHEMA, V25_SCHEMA, V30_SCHEMA];
80
81pub fn stored_delta(schema: &str, node_type: u16) -> Option<&'static str> {
85 let find = |table: &[(u16, &'static str)]| table.iter().find(|(t, _)| *t == node_type).map(|(_, d)| *d);
86 match schema {
87 V30_SCHEMA => v30_delta(node_type),
88 V25_SCHEMA => find(V25_DELTAS).or_else(|| {
89 v30_delta(node_type).filter(|d| *d == "255 " || V25_AS_V30.contains(&node_type))
93 }),
94 V12_SCHEMA => find(V12_DELTAS),
95 _ => None,
96 }
97}
98
99#[rustfmt::skip]
106const V25_DELTAS: &[(u16, &str)] = &[
107 (12, "29 CCCCCCCCCCCCCDI5 owner12 0 CCCCCCCCCA16 index_map_offset0 0 1 dA9 index_map82 0 A17 node_id_index_map82 0 A20 schema_embedding_map82 0 A5 child12 0 A14 lowest_node_id0 0 1 dZ"),
108 (38, "255 "),
109 (41, "255 "),
110];
111
112const V25_AS_V30: [u16; 3] = [19, 70, 74];
115
116#[rustfmt::skip]
124const V12_DELTAS: &[(u16, &str)] = &[
125 (12, "255 "), (13, "255 "), (14, "255 "), (15, "255 "), (16, "255 "), (17, "255 "), (18, "255 "), (19, "255 "),
126 (29, "255 "), (30, "255 "), (31, "255 "), (50, "255 "), (51, "255 "),
127 (70, "12 CCCCDI9 list_type0 0 1 uCCDI10 last_block1012 0 CA12 finger_block1012 0 A12 finger_index0 0 1 dA10 notransmit0 0 1 lZ"),
128 (74, "255 "), (79, "255 "),
129 (80, "6 CCCCDDI12 legal_owners0 13 1 lDI6 fields0 1 1 cTZ"),
130 (81, "255 "), (84, "255 "),
131];
132
133pub fn v30_delta(node_type: u16) -> Option<&'static str> {
140 V30_DELTAS.iter().find(|(t, _)| *t == node_type).map(|(_, d)| *d)
141}
142
143#[rustfmt::skip]
144const V30_DELTAS: &[(u16, &str)] = &[
145 (12, "34 CCCCCCI4 mesh1006 0 I8 polyline1008 0 CCCCCCCDI5 owner1040 0 CCCCCCI13 boundary_mesh1006 0 I17 boundary_polyline1008 0 CCCA16 index_map_offset0 0 1 dA9 index_map82 0 A17 node_id_index_map82 0 A20 schema_embedding_map82 0 A5 child12 0 A14 lowest_node_id0 0 1 dA16 mesh_offset_data206 0 Z"),
146 (13, "255 "),
147 (14, "255 "),
148 (15, "255 "),
149 (16, "255 "),
150 (17, "255 "),
151 (18, "255 "),
152 (19, "8 CCCCCCCA5 owner12 0 Z"),
153 (29, "255 "),
154 (30, "255 "),
155 (31, "255 "),
156 (32, "255 "),
157 (38, "12 CCCCCCCCCCCA17 intersection_data204 0 Z"),
158 (40, "255 "),
159 (41, "3 CI8 term_use0 0 1 cCZ"),
160 (45, "255 "),
161 (50, "255 "),
162 (51, "255 "),
163 (52, "255 "),
164 (53, "255 "),
165 (54, "255 "),
166 (56, "255 "),
167 (59, "255 "),
168 (60, "255 "),
169 (67, "255 "),
170 (68, "255 "),
171 (70, "11 CI9 list_type0 0 1 uI10 notransmit0 0 1 lCCCDCCDI12 finger_index0 0 1 dI12 finger_block1012 0 CZ"),
172 (74, "4 CI16 index_map_offset0 0 1 dCCZ"),
173 (79, "255 "),
174 (80, "255 "),
175 (81, "255 "),
176 (82, "255 "),
177 (83, "255 "),
178 (84, "255 "),
179 (89, "255 "),
180 (98, "255 "),
181 (124, "255 "),
182 (125, "255 "),
183 (126, "255 "),
184 (127, "255 "),
185 (128, "255 "),
186 (133, "255 "),
187 (134, "255 "),
188 (135, "255 "),
189 (136, "255 "),
190 (137, "255 "),
191 (141, "255 "),
192 (163, "255 "),
193 (184, "255 "),
194 (204, "2 17 INTERSECTION_DATA17 Intersection data7 uv_type0 0 1 u6 values0 1 1 fT"),
195];
196
197pub fn base(node_type: u16) -> Option<(&'static str, Vec<FieldDef>)> {
199 let (_, name, fields) = BASE.iter().find(|(t, _, _)| *t == node_type)?;
200 let fields = fields
201 .iter()
202 .map(|&(name, code, n)| FieldDef {
203 name: name.to_string(),
204 kind: kind_of(code).expect("base schema type codes are known"),
205 count: match n {
206 0 => Count::Scalar,
207 1 => Count::Variable,
208 n => Count::Fixed(n),
209 },
210 })
211 .collect();
212 Some((name, fields))
213}
214
215type BaseNode = (u16, &'static str, &'static [(&'static str, u8, usize)]);
218
219#[rustfmt::skip]
220const BASE: &[BaseNode] = &[
221 (10, "ASSEMBLY", &[("highest_node_id", b'd', 0), ("attributes_features", b'p', 0), ("attribute_chains", b'p', 0), ("list", b'p', 0), ("lattice", b'p', 0), ("surface", b'p', 0), ("curve", b'p', 0), ("point", b'p', 0), ("mesh", b'p', 0), ("polyline", b'p', 0), ("key", b'p', 0), ("res_size", b'f', 0), ("res_linear", b'f', 0), ("ref_instance", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("state", b'u', 0), ("owner", b'p', 0), ("type", b'u', 0), ("sub_instance", b'p', 0), ("mesh_offset_data", b'p', 0)]),
222 (11, "INSTANCE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("type", b'u', 0), ("part", b'p', 0), ("transform", b'p', 0), ("assembly", b'p', 0), ("next_in_part", b'p', 0), ("prev_in_part", b'p', 0), ("next_of_part", b'p', 0), ("prev_of_part", b'p', 0)]),
223 (12, "BODY", &[("highest_node_id", b'd', 0), ("attributes_features", b'p', 0), ("attribute_chains", b'p', 0), ("surface", b'p', 0), ("curve", b'p', 0), ("point", b'p', 0), ("key", b'p', 0), ("res_size", b'f', 0), ("res_linear", b'f', 0), ("ref_instance", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("state", b'u', 0), ("base_owner", b'p', 0), ("body_type", b'u', 0), ("nom_geom_state", b'u', 0), ("shell", b'p', 0), ("boundary_surface", b'p', 0), ("boundary_curve", b'p', 0), ("boundary_point", b'p', 0), ("region", b'p', 0), ("edge", b'p', 0), ("vertex", b'p', 0)]),
224 (13, "SHELL", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("body", b'p', 0), ("next", b'p', 0), ("face", b'p', 0), ("edge", b'p', 0), ("vertex", b'p', 0), ("region", b'p', 0), ("front_face", b'p', 0)]),
225 (14, "FACE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("tolerance", b'f', 0), ("next", b'p', 0), ("previous", b'p', 0), ("loop", b'p', 0), ("shell", b'p', 0), ("surface", b'p', 0), ("sense", b'c', 0), ("next_on_surface", b'p', 0), ("previous_on_surface", b'p', 0), ("next_front", b'p', 0), ("previous_front", b'p', 0), ("front_shell", b'p', 0)]),
226 (15, "LOOP", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("halfedge", b'p', 0), ("face", b'p', 0), ("next", b'p', 0)]),
227 (16, "EDGE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("tolerance", b'f', 0), ("halfedge", b'p', 0), ("previous", b'p', 0), ("next", b'p', 0), ("curve", b'p', 0), ("next_on_curve", b'p', 0), ("previous_on_curve", b'p', 0), ("owner", b'p', 0)]),
228 (17, "HALFEDGE", &[("attributes_features", b'p', 0), ("loop", b'p', 0), ("forward", b'p', 0), ("backward", b'p', 0), ("vertex", b'p', 0), ("other", b'p', 0), ("edge", b'p', 0), ("curve", b'p', 0), ("next_at_vx", b'p', 0), ("sense", b'c', 0)]),
229 (18, "VERTEX", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("halfedge", b'p', 0), ("previous", b'p', 0), ("next", b'p', 0), ("point", b'p', 0), ("tolerance", b'f', 0), ("owner", b'p', 0)]),
230 (19, "REGION", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("body", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("shell", b'p', 0), ("type", b'c', 0)]),
231 (29, "POINT", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("pvec", b'v', 0)]),
232 (30, "LINE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("pvec", b'v', 0), ("direction", b'v', 0)]),
233 (31, "CIRCLE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("centre", b'v', 0), ("normal", b'v', 0), ("x_axis", b'v', 0), ("radius", b'f', 0)]),
234 (32, "ELLIPSE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("centre", b'v', 0), ("normal", b'v', 0), ("x_axis", b'v', 0), ("major_radius", b'f', 0), ("minor_radius", b'f', 0)]),
235 (38, "INTERSECTION", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("surface", b'p', 2), ("chart", b'p', 0), ("start", b'p', 0), ("end", b'p', 0)]),
236 (40, "CHART", &[("base_parameter", b'f', 0), ("base_scale", b'f', 0), ("chart_count", b'd', 0), ("chordal_error", b'f', 0), ("angular_error", b'f', 0), ("parameter_error", b'f', 2), ("hvec", b'h', 1)]),
237 (41, "LIMIT", &[("type", b'c', 0), ("hvec", b'h', 1)]),
238 (45, "BSPLINE_VERTICES", &[("vertices", b'f', 1)]),
239 (50, "PLANE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("pvec", b'v', 0), ("normal", b'v', 0), ("x_axis", b'v', 0)]),
240 (51, "CYLINDER", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("pvec", b'v', 0), ("axis", b'v', 0), ("radius", b'f', 0), ("x_axis", b'v', 0)]),
241 (52, "CONE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("pvec", b'v', 0), ("axis", b'v', 0), ("radius", b'f', 0), ("sin_half_angle", b'f', 0), ("cos_half_angle", b'f', 0), ("x_axis", b'v', 0)]),
242 (53, "SPHERE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("centre", b'v', 0), ("radius", b'f', 0), ("axis", b'v', 0), ("x_axis", b'v', 0)]),
243 (54, "TORUS", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("centre", b'v', 0), ("axis", b'v', 0), ("major_radius", b'f', 0), ("minor_radius", b'f', 0), ("x_axis", b'v', 0)]),
244 (56, "BLENDED_EDGE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("blend_type", b'c', 0), ("surface", b'p', 2), ("spine", b'p', 0), ("range", b'f', 2), ("thumb_weight", b'f', 2), ("boundary", b'p', 2), ("start", b'p', 0), ("end", b'p', 0)]),
245 (59, "BLEND_BOUND", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("boundary", b'n', 0), ("blend", b'p', 0)]),
246 (60, "OFFSET_SURF", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("check", b'c', 0), ("true_offset", b'l', 0), ("surface", b'p', 0), ("offset", b'f', 0), ("scale", b'f', 0)]),
247 (67, "SWEPT_SURF", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("section", b'p', 0), ("sweep", b'v', 0), ("scale", b'f', 0)]),
248 (68, "SPUN_SURF", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("profile", b'p', 0), ("base", b'v', 0), ("axis", b'v', 0), ("start", b'v', 0), ("end", b'v', 0), ("start_param", b'f', 0), ("end_param", b'f', 0), ("x_axis", b'v', 0), ("scale", b'f', 0)]),
249 (70, "LIST", &[("node_id", b'd', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("base_del1", b'X', 0), ("list_length", b'd', 0), ("block_length", b'd', 0), ("base_del2", b'X', 0), ("list_block", b'p', 0)]),
250 (74, "POINTER_LIS_BLOCK", &[("n_entries", b'd', 0), ("next_block", b'p', 0), ("entries", b'p', 1)]),
251 (79, "ATT_DEF_ID", &[("string", b'c', 1)]),
252 (80, "ATTRIB_DEF", &[("next", b'p', 0), ("identifier", b'p', 0), ("type_id", b'd', 0), ("actions", b'u', 8), ("field_names", b'p', 0), ("legal_owners", b'l', 14), ("fields", b'u', 1)]),
253 (81, "ATTRIBUTE", &[("node_id", b'd', 0), ("definition", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("next_of_type", b'p', 0), ("previous_of_type", b'p', 0), ("fields", b'p', 1)]),
254 (82, "INT_VALUES", &[("values", b'd', 1)]),
255 (83, "REAL_VALUES", &[("values", b'f', 1)]),
256 (84, "CHAR_VALUES", &[("values", b'c', 1)]),
257 (85, "POINT_VALUES", &[("values", b'v', 1)]),
258 (86, "VECTOR_VALUES", &[("values", b'v', 1)]),
259 (87, "AXIS_VALUES", &[("values", b'v', 1)]),
260 (88, "TAG_VALUES", &[("values", b't', 1)]),
261 (89, "DIRECTION_VALUES", &[("values", b'v', 1)]),
262 (90, "FEATURE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("type", b'u', 0), ("first_member", b'p', 0)]),
263 (91, "MEMBER_OF_FEATURE", &[("dummy_node_id", b'd', 0), ("owning_feature", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("next_member", b'p', 0), ("previous_member", b'p', 0)]),
264 (98, "UNICODE_VALUES", &[("values", b'w', 1)]),
265 (99, "FIELD_NAMES", &[("names", b'p', 1)]),
266 (100, "TRANSFORM", &[("node_id", b'd', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("rotation_matrix", b'f', 9), ("translation_vector", b'v', 0), ("scale", b'f', 0), ("flag", b'd', 0), ("perspective_vector", b'v', 0)]),
267 (101, "WORLD", &[("assembly", b'p', 0), ("attribute", b'p', 0), ("body", b'p', 0), ("transform", b'p', 0), ("lattice", b'p', 0), ("surface", b'p', 0), ("curve", b'p', 0), ("point", b'p', 0), ("mesh", b'p', 0), ("polyline", b'p', 0), ("alive", b'l', 0), ("attrib_def", b'p', 0), ("attdef_list", b'p', 0), ("highest_id", b'd', 0), ("current_id", b'd', 0), ("index_map", b'p', 0), ("schema_embedding_map", b'p', 0), ("mesh_offset_data", b'p', 0)]),
268 (120, "PE_SURF", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("type", b'c', 0), ("data", b'p', 0), ("tf", b'p', 0), ("internal_geom", b'p', 1)]),
269 (121, "INT_PE_DATA", &[("geom_type", b'd', 0), ("real_array", b'p', 0), ("int_array", b'p', 0)]),
270 (122, "EXT_PE_DATA", &[("key", b'p', 0), ("real_array", b'p', 0), ("int_array", b'p', 0)]),
271 (124, "B_SURFACE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("nurbs", b'p', 0), ("data", b'p', 0)]),
272 (125, "SURFACE_DATA", &[("original_uint", b'i', 0), ("original_vint", b'i', 0), ("extended_uint", b'i', 0), ("extended_vint", b'i', 0), ("self_int", b'u', 0), ("original_u_start", b'c', 0), ("original_u_end", b'c', 0), ("original_v_start", b'c', 0), ("original_v_end", b'c', 0), ("extended_u_start", b'c', 0), ("extended_u_end", b'c', 0), ("extended_v_start", b'c', 0), ("extended_v_end", b'c', 0), ("analytic_form_type", b'c', 0), ("swept_form_type", b'c', 0), ("spun_form_type", b'c', 0), ("blend_form_type", b'c', 0), ("analytic_form", b'p', 0), ("swept_form", b'p', 0), ("spun_form", b'p', 0), ("blend_form", b'p', 0)]),
273 (126, "NURBS_SURF", &[("u_periodic", b'l', 0), ("v_periodic", b'l', 0), ("u_degree", b'n', 0), ("v_degree", b'n', 0), ("n_u_vertices", b'd', 0), ("n_v_vertices", b'd', 0), ("u_knot_type", b'u', 0), ("v_knot_type", b'u', 0), ("n_u_knots", b'd', 0), ("n_v_knots", b'd', 0), ("rational", b'l', 0), ("u_closed", b'l', 0), ("v_closed", b'l', 0), ("surface_form", b'u', 0), ("vertex_dim", b'n', 0), ("bspline_vertices", b'p', 0), ("u_knot_mult", b'p', 0), ("v_knot_mult", b'p', 0), ("u_knots", b'p', 0), ("v_knots", b'p', 0)]),
274 (127, "KNOT_MULT", &[("mult", b'n', 1)]),
275 (128, "KNOT_SET", &[("knots", b'f', 1)]),
276 (130, "PE_CURVE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("type", b'c', 0), ("data", b'p', 0), ("tf", b'p', 0), ("internal_geom", b'p', 1)]),
277 (133, "TRIMMED_CURVE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("basis_curve", b'p', 0), ("point_1", b'v', 0), ("point_2", b'v', 0), ("parm_1", b'f', 0), ("parm_2", b'f', 0)]),
278 (134, "B_CURVE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("nurbs", b'p', 0), ("data", b'p', 0)]),
279 (135, "CURVE_DATA", &[("self_int", b'u', 0), ("analytic_form", b'p', 0)]),
280 (136, "NURBS_CURVE", &[("degree", b'n', 0), ("n_vertices", b'd', 0), ("vertex_dim", b'n', 0), ("n_knots", b'd', 0), ("knot_type", b'u', 0), ("periodic", b'l', 0), ("closed", b'l', 0), ("rational", b'l', 0), ("curve_form", b'u', 0), ("bspline_vertices", b'p', 0), ("knot_mult", b'p', 0), ("knots", b'p', 0)]),
281 (137, "SP_CURVE", &[("node_id", b'd', 0), ("attributes_features", b'p', 0), ("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("geometric_owner", b'p', 0), ("sense", b'c', 0), ("surface", b'p', 0), ("b_curve", b'p', 0), ("original", b'p', 0), ("tolerance_to_original", b'f', 0)]),
282 (141, "GEOMETRIC_OWNER", &[("owner", b'p', 0), ("next", b'p', 0), ("previous", b'p', 0), ("shared_geometry", b'p', 0)]),
283 (163, "HELIX_SU_FORM", &[("axis_pt", b'v', 0), ("axis_dir", b'v', 0), ("hand", b'c', 0), ("turns", b'i', 0), ("pitch", b'f', 0), ("gap", b'f', 0), ("tol", b'f', 0)]),
284 (176, "PART_XMT_BLOCK", &[("n_entries", b'd', 0), ("index_map_offset", b'd', 0), ("index_map", b'p', 0), ("schema_embedding_map", b'p', 0), ("mesh_offset_data", b'p', 0), ("entries", b'p', 1)]),
285 (184, "HELIX_CU_FORM", &[("axis_pt", b'v', 0), ("axis_dir", b'v', 0), ("point", b'v', 0), ("hand", b'c', 0), ("turns", b'i', 0), ("pitch", b'f', 0), ("tol", b'f', 0)]),
286 (185, "POLYLINE_DATA", &[("n_pvecs", b'd', 0), ("base_parm", b'f', 0), ("pvec", b'p', 0)]),
287];