Files
cdsl-cad/json_to_cdsl/output/C85E25-300_C85-Rod.cdsl.json
T
2026-08-24 14:52:08 +08:00

905 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "C85E25-300_C85-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": 5.0
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": 12.5
}
},
{
"id": "sk_004",
"name": "Sketch3",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-385.0,
4.5
],
"end": [
-384.5,
5.0
]
},
{
"type": "line",
"start": [
-384.5,
5.0
],
"end": [
-365.5,
5.0
]
},
{
"type": "line",
"start": [
-365.5,
5.0
],
"end": [
-365.5,
4.0
]
},
{
"type": "line",
"start": [
-365.5,
4.0
],
"end": [
-363.0,
4.0
]
},
{
"type": "line",
"start": [
-363.0,
4.0
],
"end": [
-363.0,
12.5
]
},
{
"type": "line",
"start": [
-363.0,
12.5
],
"end": [
-385.0,
12.5
]
},
{
"type": "line",
"start": [
-385.0,
12.5
],
"end": [
-385.0,
4.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-39.637585386,
0.0
]
},
{
"type": "line",
"start": [
-79.5,
0.0
],
"end": [
-70.858933062,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "Sketch6",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-363.0,
4.55
],
"end": [
-362.220577137,
5.0
]
},
{
"type": "line",
"start": [
-362.220577137,
5.0
],
"end": [
-363.0,
5.0
]
},
{
"type": "line",
"start": [
-363.0,
5.0
],
"end": [
-363.0,
4.55
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-365.5,
0.0
],
"end": [
-87.182214483,
0.0
]
}
]
}
},
{
"id": "sk_006",
"name": "Sketch4",
"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": [
5.0,
-358.0
],
"end": [
4.0,
-359.0
]
},
{
"type": "line",
"start": [
4.0,
-359.0
],
"end": [
4.0,
-364.5
]
},
{
"type": "line",
"start": [
4.0,
-364.5
],
"end": [
5.0,
-365.5
]
},
{
"type": "line",
"start": [
5.0,
-365.5
],
"end": [
5.0,
-358.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-5.0,
-365.5
],
"end": [
-5.0,
-358.0
]
},
{
"type": "line",
"start": [
-5.0,
-358.0
],
"end": [
-4.0,
-359.0
]
},
{
"type": "line",
"start": [
-4.0,
-359.0
],
"end": [
-4.0,
-364.5
]
},
{
"type": "line",
"start": [
-4.0,
-364.5
],
"end": [
-5.0,
-365.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-44.169686922
]
}
]
}
}
]
},
"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": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"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": "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_003"
},
{
"id": "f_006",
"name": "EndThread",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004",
"f_005"
],
"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_004",
"selectors": [
{
"kind": "axis",
"stable_id": "234112c797fc6aaa19defe03755e6bf6df2fa827e47e9ba1b4c8fbae196cc37d",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.03963758538588354,
0.0,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "Cut-Revolve1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004",
"f_006"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-365.5,
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_005",
"selectors": [
{
"kind": "axis",
"stable_id": "c75050f7a7bec6d58743c6436027a711f60a83952b0f3278d02c94c57c35a64b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.3655,
2.311115933264683e-33,
0.0
],
"end": [
-0.08718221448287516,
0.0,
0.0
]
}
}
]
},
{
"id": "f_008",
"name": "Flats",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_002",
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
}
],
"meta": {
"unit": "mm",
"source": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/C85E25-300_C85-Rod.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.03218565693686016,
"volume": 3.218565693686016e-05,
"surface_area": 0.013328046911835758,
"center_of_mass": [
1.021184831379678e-18,
-3.538662694209874e-19,
0.17972364133191332
],
"principal_moments": [
5.624255318037613e-07,
0.00043961602023711416,
0.0004396166261502167
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0125,
-0.0125,
0.0,
0.0125,
0.0125,
0.385
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Flats",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABoAAAAagAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "c227bfd4a77abc43887de0b11e5ccb62cacb5ac84582318fab432db4379935b1",
"component": null,
"geometry": {
"box": [
-0.0125,
-0.0125,
0.0,
0.0125,
0.0125,
0.385
],
"face_count": 17,
"edge_count": 30,
"vertex_count": 16
},
"stable_id": "c227bfd4a77abc43887de0b11e5ccb62cacb5ac84582318fab432db4379935b1"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 23,
"surface_counts": {
"cone": 5,
"cylinder": 8,
"plane": 10
},
"axis_count": 13,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-12.5,
-12.5,
0.0,
12.5,
12.5,
385.0
],
"volume_mm3": 32185.713067324,
"surface_area_mm2": 13328.044028145,
"solid_count": 1,
"face_count": 23,
"edge_count": 51,
"vertex_count": 32
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-12.5,
-12.5,
0.0,
12.5,
12.5,
385.0
],
"volume_mm3": 32185.65693686,
"surface_area_mm2": 13328.046911836,
"solid_count": 1,
"face_count": 17,
"edge_count": 30,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 32185.65693686,
"actual": 32185.713067324,
"absolute_delta": 0.05613046399957966,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 13328.046911836,
"actual": 13328.044028145,
"absolute_delta": 0.0028836910005338723,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-12.5,
-12.5,
0.0,
12.5,
12.5,
385.0
],
"actual": [
-12.5,
-12.5,
0.0,
12.5,
12.5,
385.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 17,
"actual": 23,
"matches": false
},
"edge_count": {
"expected": 30,
"actual": 51,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 32,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}