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

647 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "C95KB100-500_C95K-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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
15.588457268,
0.0
],
"end": [
7.794228634,
13.5
]
},
{
"type": "line",
"start": [
7.794228634,
13.5
],
"end": [
-7.794228634,
13.5
]
},
{
"type": "line",
"start": [
-7.794228634,
13.5
],
"end": [
-15.588457268,
-0.0
]
},
{
"type": "line",
"start": [
-15.588457268,
-0.0
],
"end": [
-7.794228634,
-13.5
]
},
{
"type": "line",
"start": [
-7.794228634,
-13.5
],
"end": [
7.794228634,
-13.5
]
},
{
"type": "line",
"start": [
7.794228634,
-13.5
],
"end": [
15.588457268,
0.0
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 13.5
}
]
}
},
{
"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": [
-662.5,
15.588457268
],
"end": [
-612.820508076,
15.588457268
]
},
{
"type": "line",
"start": [
-612.820508076,
15.588457268
],
"end": [
-622.5,
10.0
]
},
{
"type": "line",
"start": [
-622.5,
10.0
],
"end": [
-662.5,
10.0
]
},
{
"type": "line",
"start": [
-662.5,
10.0
],
"end": [
-662.5,
15.588457268
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-122.5,
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": 49.75
}
}
]
},
"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": "deferred",
"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": [
-0.1225,
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_006",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/C95KB100-500_C95K-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.4400216040891065,
"volume": 0.0004400216040891065,
"surface_area": 0.07697876573442054,
"center_of_mass": [
-1.0817821336850791e-08,
-2.037382831077149e-08,
0.2947506171828286
],
"principal_moments": [
8.799931927239607e-05,
0.017279018759296643,
0.017279018759296643
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.04975000000000001,
-0.04975000000000001,
0.0,
0.04975000000000001,
0.04975000000000001,
0.6625
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Piston",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
-0.04975000000000001,
-0.04975000000000001,
0.0,
0.04975000000000001,
0.04975000000000001,
0.6625
],
"face_count": 13,
"edge_count": 23,
"vertex_count": 12
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 17,
"surface_counts": {
"cone": 4,
"cylinder": 4,
"plane": 9
},
"axis_count": 8,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-49.75,
-49.75,
0.0,
49.75,
49.75,
662.5
],
"volume_mm3": 440019.46541286,
"surface_area_mm2": 76978.751949393,
"solid_count": 1,
"face_count": 17,
"edge_count": 36,
"vertex_count": 22
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-49.75,
-49.75,
0.0,
49.75,
49.75,
662.5
],
"volume_mm3": 440021.604089106,
"surface_area_mm2": 76978.765734421,
"solid_count": 1,
"face_count": 13,
"edge_count": 23,
"vertex_count": 12
},
"comparisons": {
"volume_mm3": {
"expected": 440021.604089106,
"actual": 440019.46541286,
"absolute_delta": 2.1386762460460886,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 76978.765734421,
"actual": 76978.751949393,
"absolute_delta": 0.013785028000711463,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-49.75,
-49.75,
0.0,
49.75,
49.75,
662.5
],
"actual": [
-49.75,
-49.75,
0.0,
49.75,
49.75,
662.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 13,
"actual": 17,
"matches": false
},
"edge_count": {
"expected": 23,
"actual": 36,
"matches": false
},
"vertex_count": {
"expected": 12,
"actual": 22,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}