Files
cdsl-cad/json_to_cdsl/output/C95SB160-500_C95S-Rod.cdsl.json
T
2026-08-24 14:52:08 +08:00

1141 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "C95SB160-500_C95S-Rod",
"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": "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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 20.0
}
},
{
"id": "sk_003",
"name": "Sketch2",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
-1.0,
0.0
],
"y_dir": [
0.0,
0.707106781,
-0.707106781
],
"normal": [
1.0,
0.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-751.0,
20.0
],
"end": [
-679.0,
20.0
]
},
{
"type": "line",
"start": [
-679.0,
20.0
],
"end": [
-682.464101615,
18.0
]
},
{
"type": "line",
"start": [
-682.464101615,
18.0
],
"end": [
-751.0,
18.0
]
},
{
"type": "line",
"start": [
-751.0,
18.0
],
"end": [
-751.0,
20.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-1146.724380311,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch4",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 79.75
}
},
{
"id": "sk_005",
"name": "草图1",
"role": "profile",
"workplane": {
"origin_mm": [
751.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": true,
"segments": [
{
"type": "line",
"start": [
-26.964110994,
20.488376837
],
"end": [
-26.964110994,
-23.325844781
]
},
{
"type": "line",
"start": [
-26.964110994,
-23.325844781
],
"end": [
-18.5,
-23.325844781
]
},
{
"type": "line",
"start": [
-18.5,
-23.325844781
],
"end": [
-18.5,
20.488376837
]
},
{
"type": "line",
"start": [
-18.5,
20.488376837
],
"end": [
-26.964110994,
20.488376837
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
18.5,
20.488376837
],
"end": [
26.964110994,
20.488376837
]
},
{
"type": "line",
"start": [
26.964110994,
20.488376837
],
"end": [
26.964110994,
-23.325844781
]
},
{
"type": "line",
"start": [
26.964110994,
-23.325844781
],
"end": [
18.5,
-23.325844781
]
},
{
"type": "line",
"start": [
18.5,
-23.325844781
],
"end": [
18.5,
20.488376837
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
59.745702202
]
}
]
}
},
{
"id": "sk_006",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
751.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": true,
"segments": [
{
"type": "line",
"start": [
27.712812921,
0.0
],
"end": [
13.856406461,
24.0
]
},
{
"type": "line",
"start": [
13.856406461,
24.0
],
"end": [
-13.856406461,
24.0
]
},
{
"type": "line",
"start": [
-13.856406461,
24.0
],
"end": [
-27.712812921,
0.0
]
},
{
"type": "line",
"start": [
-27.712812921,
0.0
],
"end": [
-13.856406461,
-24.0
]
},
{
"type": "line",
"start": [
-13.856406461,
-24.0
],
"end": [
13.856406461,
-24.0
]
},
{
"type": "line",
"start": [
13.856406461,
-24.0
],
"end": [
27.712812921,
0.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 18.0
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 24.0
}
]
}
},
{
"id": "sk_007",
"name": "草图3",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-24.0,
-682.46
],
"end": [
-31.373215321,
-686.716927851
]
},
{
"type": "line",
"start": [
-31.373215321,
-686.716927851
],
"end": [
-31.373215321,
-682.46
]
},
{
"type": "line",
"start": [
-31.373215321,
-682.46
],
"end": [
-24.0,
-682.46
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
31.373215321,
-682.46
],
"end": [
24.0,
-682.46
]
},
{
"type": "line",
"start": [
24.0,
-682.46
],
"end": [
31.373215321,
-686.716927851
]
},
{
"type": "line",
"start": [
31.373215321,
-686.716927851
],
"end": [
31.373215321,
-682.46
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
24.0,
-697.46
],
"end": [
31.373215321,
-693.203072149
]
},
{
"type": "line",
"start": [
31.373215321,
-693.203072149
],
"end": [
31.373215321,
-697.46
]
},
{
"type": "line",
"start": [
31.373215321,
-697.46
],
"end": [
24.0,
-697.46
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-31.373215321,
-697.46
],
"end": [
-24.0,
-697.46
]
},
{
"type": "line",
"start": [
-24.0,
-697.46
],
"end": [
-31.373215321,
-693.203072149
]
},
{
"type": "line",
"start": [
-31.373215321,
-693.203072149
],
"end": [
-31.373215321,
-697.46
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-726.926384276
]
},
{
"type": "line",
"start": [
-27.712812921,
-689.96
],
"end": [
95.129961176,
-689.96
]
}
]
}
}
]
},
"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_004",
"name": "Base-Extrude",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 751.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_003",
"name": "Right",
"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
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "Threads",
"atomic_id": "revolve_cut",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
-1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "6ebc8d0ea4d6ffeda7ea2011cb4e56cff2fba1f3cedafd114dc57edb45b26673",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-1.146724380310964,
0.0,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "Piston",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 30.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_009",
"name": "拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 15.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_006",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "切除-旋转2",
"atomic_id": "revolve_cut",
"depends_on": [
"f_002",
"f_004",
"f_009"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007",
"selectors": [
{
"kind": "axis",
"stable_id": "a9b12260b37224f0939307fa0807d45c57df912eff7cbb9e99c271d9e8514277",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
9.583723607240275e-17,
-0.7269263842760275,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/C95SB160-500_C95S-Rod.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.0345377534682925,
"volume": 0.0010345377534682924,
"surface_area": 0.1376640518124764,
"center_of_mass": [
6.471977593669826e-09,
1.7715879486833343e-09,
0.34047218745459795
],
"principal_moments": [
0.0005058827980631411,
0.0557966197103746,
0.055796760506566796
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.07975,
-0.07975,
0.0,
0.07975,
0.07975,
0.751
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-旋转2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABqAAAAaQAAAGgAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "0a26bbf75646bd83d8870646ce4005d1ea62ef8846c2724b2f0430bdfd10750a",
"component": null,
"geometry": {
"box": [
-0.07975,
-0.07975,
0.0,
0.07975,
0.07975,
0.751
],
"face_count": 32,
"edge_count": 61,
"vertex_count": 32
},
"stable_id": "0a26bbf75646bd83d8870646ce4005d1ea62ef8846c2724b2f0430bdfd10750a"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 39,
"surface_counts": {
"cone": 18,
"cylinder": 6,
"plane": 15
},
"axis_count": 24,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-79.75,
-79.75,
0.0,
79.75,
79.75,
751.0
],
"volume_mm3": 1034537.14404538,
"surface_area_mm2": 137664.038771826,
"solid_count": 1,
"face_count": 39,
"edge_count": 86,
"vertex_count": 52
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-79.75,
-79.75,
0.0,
79.75,
79.75,
751.0
],
"volume_mm3": 1034537.753468292,
"surface_area_mm2": 137664.051812476,
"solid_count": 1,
"face_count": 32,
"edge_count": 61,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 1034537.753468292,
"actual": 1034537.14404538,
"absolute_delta": 0.6094229120062664,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 137664.051812476,
"actual": 137664.038771826,
"absolute_delta": 0.013040650024777278,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-79.75,
-79.75,
0.0,
79.75,
79.75,
751.0
],
"actual": [
-79.75,
-79.75,
0.0,
79.75,
79.75,
751.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 32,
"actual": 39,
"matches": false
},
"edge_count": {
"expected": 61,
"actual": 86,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 52,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}