Files
cdsl-cad/json_to_cdsl/output/CG1BA100-150_CG1RodCover.cdsl.json
T
2026-08-24 14:52:08 +08:00

1138 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "CG1BA100-150_CG1RodCover",
"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": 55.15
}
},
{
"id": "sk_003",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
34.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": [
-50.0,
62.5
],
"end": [
-50.0,
-62.5
]
},
{
"type": "line",
"start": [
-50.0,
-62.5
],
"end": [
-62.0,
-62.5
]
},
{
"type": "line",
"start": [
-62.0,
-62.5
],
"end": [
-62.0,
62.5
]
},
{
"type": "line",
"start": [
-62.0,
62.5
],
"end": [
-50.0,
62.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
50.0,
62.5
],
"end": [
50.0,
-62.5
]
},
{
"type": "line",
"start": [
50.0,
-62.5
],
"end": [
62.0,
-62.5
]
},
{
"type": "line",
"start": [
62.0,
-62.5
],
"end": [
62.0,
62.5
]
},
{
"type": "line",
"start": [
62.0,
62.5
],
"end": [
50.0,
62.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
29.856133079
]
},
{
"type": "line",
"start": [
-31.372567916,
0.0
],
"end": [
31.372567916,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch2",
"role": "profile",
"workplane": {
"origin_mm": [
34.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": 25.0
}
},
{
"id": "sk_005",
"name": "Sketch7",
"role": "profile",
"workplane": {
"origin_mm": [
34.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": [
-30.0,
30.0
],
"radius_mm": 6.0
},
{
"center": [
30.0,
30.0
],
"radius_mm": 6.0
},
{
"center": [
-30.0,
-30.0
],
"radius_mm": 6.0
},
{
"center": [
30.0,
-30.0
],
"radius_mm": 6.0
}
]
}
},
{
"id": "sk_006",
"name": "Sketch3",
"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": 15.05
}
},
{
"id": "sk_007",
"name": "Sketch8",
"role": "profile",
"workplane": {
"origin_mm": [
24.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": [
50.0,
0.0
],
"end": [
44.380009655,
0.0
]
},
{
"type": "line",
"start": [
44.380009655,
0.0
],
"end": [
44.380009655,
3.182685837
]
},
{
"type": "line",
"start": [
44.380009655,
3.182685837
],
"end": [
45.604119592,
3.182685837
]
},
{
"type": "line",
"start": [
45.604119592,
3.182685837
],
"end": [
45.604119592,
4.5
]
},
{
"type": "line",
"start": [
45.604119592,
4.5
],
"end": [
48.909216423,
4.5
]
},
{
"type": "line",
"start": [
48.909216423,
4.5
],
"end": [
48.909216423,
6.0
]
},
{
"type": "line",
"start": [
48.909216423,
6.0
],
"end": [
50.0,
6.0
]
},
{
"type": "line",
"start": [
50.0,
6.0
],
"end": [
50.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-7.451612903,
0.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": 34.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"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": "Cut-Extrude2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 32.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 3.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "Axis1",
"atomic_id": "reference_axis",
"depends_on": [
"f_004"
],
"params": {
"axis": {
"origin_mm": [
0.0,
0.0,
34.0
],
"direction": [
0.0,
0.0,
-1.0
],
"selector": {
"kind": "face",
"stable_id": "7e1c9d2c5b2b6bb7113bc816252863ac7eabb4c7ea4501d4088f876ece6314c9",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.034,
0.0,
0.0,
-1.0,
0.05515
]
},
"box": [
-0.05515,
-0.05515,
0.0,
0.05515,
0.05515,
0.034
],
"area": 0.008706634677933332
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "7e1c9d2c5b2b6bb7113bc816252863ac7eabb4c7ea4501d4088f876ece6314c9",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.034,
0.0,
0.0,
-1.0,
0.05515
]
},
"box": [
-0.05515,
-0.05515,
0.0,
0.05515,
0.05515,
0.034
],
"area": 0.008706634677933332
}
}
]
},
{
"id": "f_008",
"name": "Cut-Extrude6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 22.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_009",
"name": "Cut-Extrude1",
"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": "TrunnionHoleLocators",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-0.0,
-10.0
],
"x_dir": [
0.0,
-1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"offset_mm": 10.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "6a377589857f82112e03e193f41bc3cff3041eebb57648f54694f819de4cd3ad",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "0f7c453072cf54bf3dc9de34a2a3be06755bdb447e052abaf3171809c0c01fee",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.034
]
},
"box": [
-0.04999999999999999,
-0.05515,
0.034,
0.04999999999999999,
0.05515,
0.034
],
"area": 0.006816647654740932
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "6a377589857f82112e03e193f41bc3cff3041eebb57648f54694f819de4cd3ad",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "0f7c453072cf54bf3dc9de34a2a3be06755bdb447e052abaf3171809c0c01fee",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.034
]
},
"box": [
-0.04999999999999999,
-0.05515,
0.034,
0.04999999999999999,
0.05515,
0.034
],
"area": 0.006816647654740932
}
}
]
},
{
"id": "f_011",
"name": "TrunnionHole",
"atomic_id": "revolve_cut",
"depends_on": [
"f_010",
"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_007",
"selectors": [
{
"kind": "axis",
"stable_id": "f996d5fe7e4780f9a8091dd1e112ce595c6d55153ecdb1e2a69e15737ada97ff",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.007451612903225805,
0.0,
0.0
]
}
}
]
},
{
"id": "f_012",
"name": "TrunnionHole2",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_011",
"f_003"
],
"params": {
"source_feature_ids": [
"f_011"
],
"mirror_plane": {
"unresolved": "mirror plane was not captured"
}
},
"execution_status": "deferred",
"unresolved": [
"mirror pattern source features or plane were not captured"
]
}
],
"meta": {
"unit": "mm",
"source": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/CG1BA100-150_CG1RodCover.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.28416099932288214,
"volume": 0.00028416099932288214,
"surface_area": 0.036660120868309935,
"center_of_mass": [
-7.671353216163279e-18,
-1.6330471977083906e-18,
0.016998028707319028
],
"principal_moments": [
0.0002380018894170199,
0.0002648852451186101,
0.0004456813216002331
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.05515,
-0.05515,
0.0,
0.05515,
0.05515,
0.037000000000000005
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Extrude1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABqAAAAaQAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "5039d8944edf35178bb219037bc0ddd280e4cca4b46fe4a2e27d7c7fd767f11c",
"component": null,
"geometry": {
"box": [
-0.05515,
-0.05515,
0.0,
0.05515,
0.05515,
0.037000000000000005
],
"face_count": 18,
"edge_count": 25,
"vertex_count": 8
},
"stable_id": "5039d8944edf35178bb219037bc0ddd280e4cca4b46fe4a2e27d7c7fd767f11c"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 25,
"surface_counts": {
"cylinder": 14,
"plane": 11
},
"axis_count": 14,
"repeat_spacings_mm": [
{
"spacing_mm": 49.2443,
"pair_count": 4
},
{
"spacing_mm": 60.0,
"pair_count": 4
},
{
"spacing_mm": 47.7912,
"pair_count": 4
},
{
"spacing_mm": 84.8528,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-55.15,
-55.15,
0.0,
55.15,
55.15,
37.0
],
"volume_mm3": 284160.999322882,
"surface_area_mm2": 36660.12086831,
"solid_count": 1,
"face_count": 25,
"edge_count": 54,
"vertex_count": 36
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-55.15,
-55.15,
0.0,
55.15,
55.15,
37.0
],
"volume_mm3": 284160.999322882,
"surface_area_mm2": 36660.12086831,
"solid_count": 1,
"face_count": 18,
"edge_count": 25,
"vertex_count": 8
},
"comparisons": {
"volume_mm3": {
"expected": 284160.999322882,
"actual": 284160.999322882,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 36660.12086831,
"actual": 36660.12086831,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-55.15,
-55.15,
0.0,
55.15,
55.15,
37.0
],
"actual": [
-55.15,
-55.15,
0.0,
55.15,
55.15,
37.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 18,
"actual": 25,
"matches": false
},
"edge_count": {
"expected": 25,
"actual": 54,
"matches": false
},
"vertex_count": {
"expected": 8,
"actual": 36,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}