Files
cdsl-cad/json_to_cdsl/output/_compound_elbow.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",
"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": [
-254.0,
0.0
],
"radius_mm": 136.525
}
},
{
"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,
254.0
],
"end": [
-254.0,
-0.0
],
"center": [
0.0,
0.0
],
"radius_mm": 254.0,
"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": 2.116666667,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0302_管接头/030201_GBT12459弯头/标准_compound_elbow.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 2.118777266965493,
"volume": 0.0021187772669654928,
"surface_area": 0.6770919739321124,
"center_of_mass": [
-0.18410493525110863,
0.18410302954666144,
4.095512783346208e-06
],
"principal_moments": [
0.03349900448571399,
0.04967727418258304,
0.053879904928892296
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.3906192015226852,
-0.01,
-0.136625,
0.01,
0.3906192021460336,
0.136625
],
"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.3906192015226852,
-0.0001,
-0.136625,
0.00010000000000126988,
0.3906192021460336,
0.136625
],
"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": [
-390.519201142,
-1e-07,
-136.5250001,
1e-07,
390.519201737,
136.5250001
],
"volume_mm3": 2113516.721893857,
"surface_area_mm2": 676763.975444481,
"solid_count": 1,
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-390.619201523,
-10.0,
-136.625,
10.0,
390.619202146,
136.625
],
"volume_mm3": 2118777.266965493,
"surface_area_mm2": 677091.973932112,
"solid_count": 1,
"face_count": 6,
"edge_count": 6,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 2118777.266965493,
"actual": 2113516.721893857,
"absolute_delta": 5260.545071636327,
"within_tolerance": false
},
"surface_area_mm2": {
"expected": 677091.973932112,
"actual": 676763.975444481,
"absolute_delta": 327.99848763097543,
"within_tolerance": false
},
"bounding_box_mm": {
"expected": [
-390.619201523,
-10.0,
-136.625,
10.0,
390.619202146,
136.625
],
"actual": [
-390.519201142,
-1e-07,
-136.5250001,
1e-07,
390.519201737,
136.5250001
],
"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
}
}