Files
cdsl-cad/json_to_cdsl/output/CG1FN40-75_CG1Flange.cdsl.json
T
2026-08-24 14:52:08 +08:00

1391 lines
30 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "CG1FN40-75_CG1Flange",
"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": [
-30.5,
30.5
],
"end": [
30.5,
30.5
]
},
{
"type": "line",
"start": [
30.5,
30.5
],
"end": [
30.5,
-30.5
]
},
{
"type": "line",
"start": [
30.5,
-30.5
],
"end": [
-30.5,
-30.5
]
},
{
"type": "line",
"start": [
-30.5,
-30.5
],
"end": [
-30.5,
30.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
35.504853129
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
34.791187739,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"role": "profile",
"workplane": {
"origin_mm": [
8.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": [
10.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": 9.0
}
},
{
"id": "sk_005",
"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": 12.5
}
},
{
"id": "sk_006",
"name": "Sketch5",
"role": "profile",
"workplane": {
"origin_mm": [
8.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": "circles",
"items": [
{
"center": [
13.0,
13.0
],
"radius_mm": 3.3
},
{
"center": [
-13.0,
13.0
],
"radius_mm": 3.3
},
{
"center": [
-13.0,
-13.0
],
"radius_mm": 3.3
},
{
"center": [
13.0,
-13.0
],
"radius_mm": 3.3
},
{
"center": [
-23.0,
23.0
],
"radius_mm": 3.3
},
{
"center": [
23.0,
23.0
],
"radius_mm": 3.3
},
{
"center": [
-23.0,
-23.0
],
"radius_mm": 3.3
},
{
"center": [
23.0,
-23.0
],
"radius_mm": 3.3
}
]
}
},
{
"id": "sk_007",
"name": "Sketch6",
"role": "profile",
"workplane": {
"origin_mm": [
8.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": "circles",
"items": [
{
"center": [
13.0,
13.0
],
"radius_mm": 5.5
},
{
"center": [
13.0,
-13.0
],
"radius_mm": 5.5
},
{
"center": [
-13.0,
-13.0
],
"radius_mm": 5.5
},
{
"center": [
-13.0,
13.0
],
"radius_mm": 5.5
}
]
}
},
{
"id": "sk_008",
"name": "Sketch7",
"role": "profile",
"workplane": {
"origin_mm": [
3.5,
-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": "circles",
"items": [
{
"center": [
-13.0,
13.0
],
"radius_mm": 5.0
},
{
"center": [
13.0,
13.0
],
"radius_mm": 5.0
},
{
"center": [
-13.0,
-13.0
],
"radius_mm": 5.0
},
{
"center": [
13.0,
-13.0
],
"radius_mm": 5.0
}
]
}
},
{
"id": "sk_009",
"name": "Sketch9",
"role": "profile",
"workplane": {
"origin_mm": [
7.5,
-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": [
-13.0,
15.309401077
],
"end": [
-15.0,
14.154700538
]
},
{
"type": "line",
"start": [
-15.0,
14.154700538
],
"end": [
-15.0,
11.845299462
]
},
{
"type": "line",
"start": [
-15.0,
11.845299462
],
"end": [
-13.0,
10.690598923
]
},
{
"type": "line",
"start": [
-13.0,
10.690598923
],
"end": [
-11.0,
11.845299462
]
},
{
"type": "line",
"start": [
-11.0,
11.845299462
],
"end": [
-11.0,
14.154700538
]
},
{
"type": "line",
"start": [
-11.0,
14.154700538
],
"end": [
-13.0,
15.309401077
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
13.0,
15.309401077
],
"end": [
11.0,
14.154700538
]
},
{
"type": "line",
"start": [
11.0,
14.154700538
],
"end": [
11.0,
11.845299462
]
},
{
"type": "line",
"start": [
11.0,
11.845299462
],
"end": [
13.0,
10.690598923
]
},
{
"type": "line",
"start": [
13.0,
10.690598923
],
"end": [
15.0,
11.845299462
]
},
{
"type": "line",
"start": [
15.0,
11.845299462
],
"end": [
15.0,
14.154700538
]
},
{
"type": "line",
"start": [
15.0,
14.154700538
],
"end": [
13.0,
15.309401077
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-13.0,
-10.690598923
],
"end": [
-15.0,
-11.845299462
]
},
{
"type": "line",
"start": [
-15.0,
-11.845299462
],
"end": [
-15.0,
-14.154700538
]
},
{
"type": "line",
"start": [
-15.0,
-14.154700538
],
"end": [
-13.0,
-15.309401077
]
},
{
"type": "line",
"start": [
-13.0,
-15.309401077
],
"end": [
-11.0,
-14.154700538
]
},
{
"type": "line",
"start": [
-11.0,
-14.154700538
],
"end": [
-11.0,
-11.845299462
]
},
{
"type": "line",
"start": [
-11.0,
-11.845299462
],
"end": [
-13.0,
-10.690598923
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
13.0,
-10.690598923
],
"end": [
11.0,
-11.845299462
]
},
{
"type": "line",
"start": [
11.0,
-11.845299462
],
"end": [
11.0,
-14.154700538
]
},
{
"type": "line",
"start": [
11.0,
-14.154700538
],
"end": [
13.0,
-15.309401077
]
},
{
"type": "line",
"start": [
13.0,
-15.309401077
],
"end": [
15.0,
-14.154700538
]
},
{
"type": "line",
"start": [
15.0,
-14.154700538
],
"end": [
15.0,
-11.845299462
]
},
{
"type": "line",
"start": [
15.0,
-11.845299462
],
"end": [
13.0,
-10.690598923
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
-13.0,
13.0
],
"radius_mm": 2.0
},
{
"type": "circle",
"center": [
13.0,
13.0
],
"radius_mm": 2.0
},
{
"type": "circle",
"center": [
-13.0,
-13.0
],
"radius_mm": 2.0
},
{
"type": "circle",
"center": [
13.0,
-13.0
],
"radius_mm": 2.0
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Plane1",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_001"
},
"execution_status": "deferred"
},
{
"id": "f_002",
"name": "Plane2",
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "Base-Extrude",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 8.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_003",
"name": "Plane3",
"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_005",
"name": "Nose",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "ThruBoreC'bore",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "MountHoles",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_010",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 7.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "ThruBore",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "MountHoleC'bores",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_008"
],
"params": {
"distance_mm": 4.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
},
{
"id": "f_011",
"name": "Axis1",
"atomic_id": "reference_axis",
"depends_on": [
"f_006"
],
"params": {
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
0.0,
1.0
],
"selector": {
"kind": "face",
"stable_id": "f774fc8318fcd00d4c70b276537fb58a82975aa618de9e936f079445a6a33a4e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.009
]
},
"box": [
-0.009,
-0.009,
0.0025,
0.009,
0.009,
0.01
],
"area": 0.000424115008234622
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "f774fc8318fcd00d4c70b276537fb58a82975aa618de9e936f079445a6a33a4e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.009
]
},
"box": [
-0.009,
-0.009,
0.0025,
0.009,
0.009,
0.01
],
"area": 0.000424115008234622
}
}
]
},
{
"id": "f_012",
"name": "SHCS Head",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_009",
"f_004",
"f_008"
],
"params": {
"distance_mm": 4.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_008"
},
{
"id": "f_013",
"name": "SHCS Chamfer",
"atomic_id": "chamfer",
"depends_on": [
"f_012"
],
"params": {
"distance_mm": 0.3,
"angle_rad": 1.0471975511966
},
"execution_status": "deferred"
},
{
"id": "f_014",
"name": "SHCS Wrench Socket",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_012",
"f_004",
"f_008"
],
"params": {
"distance_mm": 3.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_009"
}
],
"meta": {
"unit": "mm",
"source": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/CG1FN40-75_CG1Flange.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.02507410819266979,
"volume": 2.507410819266979e-05,
"surface_area": 0.011425277102466448,
"center_of_mass": [
-3.553982374046385e-18,
-2.2904460248123495e-18,
0.004143324159751697
],
"principal_moments": [
8.263349434302713e-06,
8.263349434302713e-06,
1.6247654751846455e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.030500000000000006,
-0.0305,
0.0,
0.0305,
0.0305,
0.01
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "SHCS Wrench Socket",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAgAAABsAAAAawAAAGoAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "8f915f015d7c8dec5095b8a2651c7c09d509b15f28b7058721a2245671109928",
"component": null,
"geometry": {
"box": [
-0.030500000000000006,
-0.0305,
0.0,
0.0305,
0.0305,
0.01
],
"face_count": 75,
"edge_count": 138,
"vertex_count": 64
},
"stable_id": "8f915f015d7c8dec5095b8a2651c7c09d509b15f28b7058721a2245671109928"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 98,
"surface_counts": {
"cone": 8,
"cylinder": 42,
"plane": 48
},
"axis_count": 50,
"repeat_spacings_mm": [
{
"spacing_mm": 26.0,
"pair_count": 12
},
{
"spacing_mm": 37.5267,
"pair_count": 12
},
{
"spacing_mm": 26.3059,
"pair_count": 8
},
{
"spacing_mm": 38.1084,
"pair_count": 8
},
{
"spacing_mm": 18.554,
"pair_count": 8
},
{
"spacing_mm": 27.0601,
"pair_count": 8
},
{
"spacing_mm": 37.9835,
"pair_count": 8
},
{
"spacing_mm": 26.2345,
"pair_count": 8
},
{
"spacing_mm": 38.2459,
"pair_count": 8
},
{
"spacing_mm": 37.3631,
"pair_count": 8
},
{
"spacing_mm": 47.1858,
"pair_count": 8
},
{
"spacing_mm": 38.8137,
"pair_count": 8
}
],
"metrics": {
"bounding_box_mm": [
-30.5,
-30.5,
0.0,
30.5,
30.5,
10.0
],
"volume_mm3": 25074.10819267,
"surface_area_mm2": 11425.277102466,
"solid_count": 1,
"face_count": 98,
"edge_count": 226,
"vertex_count": 148
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-30.5,
-30.5,
0.0,
30.5,
30.5,
10.0
],
"volume_mm3": 25074.10819267,
"surface_area_mm2": 11425.277102466,
"solid_count": 1,
"face_count": 75,
"edge_count": 138,
"vertex_count": 64
},
"comparisons": {
"volume_mm3": {
"expected": 25074.10819267,
"actual": 25074.10819267,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 11425.277102466,
"actual": 11425.277102466,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-30.5,
-30.5,
0.0,
30.5,
30.5,
10.0
],
"actual": [
-30.5,
-30.5,
0.0,
30.5,
30.5,
10.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 75,
"actual": 98,
"matches": false
},
"edge_count": {
"expected": 138,
"actual": 226,
"matches": false
},
"vertex_count": {
"expected": 64,
"actual": 148,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}