Files
cdsl-cad/json_to_cdsl/output/_compound_elbow_metric.cdsl.json
T
2026-08-24 14:52:08 +08:00

437 lines
9.6 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_compound_elbow_metric",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": []
}
},
{
"id": "sk_002",
"name": "Route",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
0.0,
1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "circle",
"center": [
-152.4,
0.0
],
"radius_mm": 57.15
}
},
{
"id": "sk_003",
"name": "ElbowArc",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": false,
"segments": [
{
"type": "arc",
"start": [
0.0,
152.4
],
"end": [
-152.4,
-0.0
],
"center": [
0.0,
0.0
],
"radius_mm": 152.4,
"clockwise": false
}
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch1",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": []
}
}
]
},
"features": [
{
"id": "f_001",
"name": "front",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_002",
"name": "top",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_003",
"name": "side",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "ElbowChamfer",
"atomic_id": "chamfer",
"depends_on": [
"f_003"
],
"params": {
"distance_mm": 4.4958,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0302_管接头/030201_GBT12459弯头/标准_compound_elbow_metric.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.0155423720526449,
"volume": 0.001015542372052645,
"surface_area": 0.15824765799255774,
"center_of_mass": [
-0.10259382336169577,
0.10259355143564652,
5.181330732942143e-07
],
"principal_moments": [
0.0025240271178791776,
0.006161478071114732,
0.006260321197073153
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.2095996487610717,
-0.01,
-0.057250000000000016,
0.010000000000000444,
0.20959963590257558,
0.057250000000000016
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "ElbowChamfer",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABlAAAA",
"persist_reference_sha256": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448",
"component": null,
"geometry": {
"box": [
-0.2095996487610717,
-0.0001,
-0.057250000000000016,
0.00010000000000067026,
0.20959963590257558,
0.057250000000000016
],
"face_count": 6,
"edge_count": 6,
"vertex_count": 0
},
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 10,
"surface_counts": {
"bspline": 4,
"plane": 2,
"torus": 4
},
"axis_count": 0,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-209.49964753,
-1e-07,
-57.1500001,
1e-07,
209.499628413,
57.150000986
],
"volume_mm3": 1015520.808398749,
"surface_area_mm2": 158234.057371253,
"solid_count": 1,
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-209.599648761,
-10.0,
-57.25,
10.0,
209.599635903,
57.25
],
"volume_mm3": 1015542.372052645,
"surface_area_mm2": 158247.657992558,
"solid_count": 1,
"face_count": 6,
"edge_count": 6,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 1015542.372052645,
"actual": 1015520.808398749,
"absolute_delta": 21.56365389598068,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 158247.657992558,
"actual": 158234.057371253,
"absolute_delta": 13.60062130499864,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-209.599648761,
-10.0,
-57.25,
10.0,
209.599635903,
57.25
],
"actual": [
-209.49964753,
-1e-07,
-57.1500001,
1e-07,
209.499628413,
57.150000986
],
"max_absolute_delta": 9.9999999,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 6,
"actual": 10,
"matches": false
},
"edge_count": {
"expected": 6,
"actual": 24,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 16,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}