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

461 lines
10 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_45deg-lr-metric-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": [
-84.49,
0.0
],
"radius_mm": 30.0
}
},
{
"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": [
-59.743451942,
59.743451942
],
"end": [
-84.49,
0.0
],
"center": [
0.0,
0.0
],
"radius_mm": 84.49,
"clockwise": false
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-59.743451942,
59.743451942
],
"end": [
-84.49,
34.996903885
]
},
{
"type": "line",
"start": [
-84.49,
0.0
],
"end": [
-84.49,
34.996903885
]
}
]
}
},
{
"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": 1.845733333,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0302_管接头/030201_GBT12459弯头/标准_45deg lr metric 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.06225091065536742,
"volume": 6.225091065536742e-05,
"surface_area": 0.024189019380201716,
"center_of_mass": [
-0.08013109919499128,
0.03319098631793309,
5.305787089370307e-07
],
"principal_moments": [
4.447432489084876e-05,
4.6407053011150934e-05,
4.84974861529391e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.11457463391347743,
-0.01,
-0.0301,
-0.03905640719802243,
0.07974112560084423,
0.0301
],
"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.11457463391347743,
-0.0001,
-0.0301,
-0.03905640719802243,
0.07974112560084423,
0.0301
],
"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": [
-114.474636001,
-1e-07,
-30.000000398,
-39.771933535,
79.640831676,
30.000000159
],
"volume_mm3": 62245.731703088,
"surface_area_mm2": 24188.716828191,
"solid_count": 1,
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-114.574633913,
-10.0,
-30.1,
-39.056407198,
79.741125601,
30.1
],
"volume_mm3": 62250.910655367,
"surface_area_mm2": 24189.019380202,
"solid_count": 1,
"face_count": 6,
"edge_count": 6,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 62250.910655367,
"actual": 62245.731703088,
"absolute_delta": 5.178952278998622,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 24189.019380202,
"actual": 24188.716828191,
"absolute_delta": 0.3025520109986246,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-114.574633913,
-10.0,
-30.1,
-39.056407198,
79.741125601,
30.1
],
"actual": [
-114.474636001,
-1e-07,
-30.000000398,
-39.771933535,
79.640831676,
30.000000159
],
"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
}
}