Files
cdsl-cad/json_to_cdsl/output/_45deg-lr-inch-elbow.cdsl.json
T
2026-08-24 14:52:08 +08:00

437 lines
9.7 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_45deg-lr-inch-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": [
-153.289,
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": [
-108.391691381,
108.391691381
],
"end": [
-153.289,
-0.0
],
"center": [
0.0,
0.0
],
"radius_mm": 153.289,
"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弯头/标准_45deg lr inch elbow.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.5072485492122766,
"volume": 0.0005072485492122765,
"surface_area": 0.08287228120733398,
"center_of_mass": [
-0.145782772764082,
0.0603854781740431,
3.4728959772760914e-07
],
"principal_moments": [
0.0012474868725929327,
0.0012700316383021772,
0.0013307828755814626
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.21048887060099558,
-0.01,
-0.057250000000000016,
-0.06934826610435313,
0.14569044987303903,
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.21048887060099555,
-0.0001,
-0.057250000000000016,
-0.06934826610435313,
0.14569044987303903,
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": [
-210.38886956,
-1e-07,
-57.1500001,
-70.949656426,
145.58913027,
57.150001069
],
"volume_mm3": 507125.950204679,
"surface_area_mm2": 82864.468060191,
"solid_count": 1,
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-210.488870601,
-10.0,
-57.25,
-69.348266104,
145.690449873,
57.25
],
"volume_mm3": 507248.549212277,
"surface_area_mm2": 82872.281207334,
"solid_count": 1,
"face_count": 6,
"edge_count": 6,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 507248.549212277,
"actual": 507125.950204679,
"absolute_delta": 122.59900759800803,
"within_tolerance": false
},
"surface_area_mm2": {
"expected": 82872.281207334,
"actual": 82864.468060191,
"absolute_delta": 7.813147143009701,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-210.488870601,
-10.0,
-57.25,
-69.348266104,
145.690449873,
57.25
],
"actual": [
-210.38886956,
-1e-07,
-57.1500001,
-70.949656426,
145.58913027,
57.150001069
],
"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
}
}