Files
cdsl-cad/json_to_cdsl/output/CG1DN80-200_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": "CG1DN80-200_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": 44.65
}
},
{
"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": [
-40.0,
62.5
],
"end": [
-40.0,
-62.5
]
},
{
"type": "line",
"start": [
-40.0,
-62.5
],
"end": [
-52.0,
-62.5
]
},
{
"type": "line",
"start": [
-52.0,
-62.5
],
"end": [
-52.0,
62.5
]
},
{
"type": "line",
"start": [
-52.0,
62.5
],
"end": [
-40.0,
62.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
40.0,
62.5
],
"end": [
40.0,
-62.5
]
},
{
"type": "line",
"start": [
40.0,
-62.5
],
"end": [
52.0,
-62.5
]
},
{
"type": "line",
"start": [
52.0,
-62.5
],
"end": [
52.0,
62.5
]
},
{
"type": "line",
"start": [
52.0,
62.5
],
"end": [
40.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": 20.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": [
-25.0,
25.0
],
"radius_mm": 5.0
},
{
"center": [
25.0,
25.0
],
"radius_mm": 5.0
},
{
"center": [
-25.0,
-25.0
],
"radius_mm": 5.0
},
{
"center": [
25.0,
-25.0
],
"radius_mm": 5.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": 12.55
}
},
{
"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": [
40.0,
0.0
],
"end": [
34.380009655,
0.0
]
},
{
"type": "line",
"start": [
34.380009655,
0.0
],
"end": [
34.380009655,
3.182685837
]
},
{
"type": "line",
"start": [
34.380009655,
3.182685837
],
"end": [
35.604119592,
3.182685837
]
},
{
"type": "line",
"start": [
35.604119592,
3.182685837
],
"end": [
35.604119592,
4.5
]
},
{
"type": "line",
"start": [
35.604119592,
4.5
],
"end": [
38.909216423,
4.5
]
},
{
"type": "line",
"start": [
38.909216423,
4.5
],
"end": [
38.909216423,
6.0
]
},
{
"type": "line",
"start": [
38.909216423,
6.0
],
"end": [
40.0,
6.0
]
},
{
"type": "line",
"start": [
40.0,
6.0
],
"end": [
40.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": 27.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": "2ed9a67c8d273a671f332a777b9be5bc0a8bb62d219c059f8c22ea67780bb707",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.034,
0.0,
0.0,
-1.0,
0.044649999999999995
]
},
"box": [
-0.044649999999999995,
-0.044649999999999995,
0.0,
0.044649999999999995,
0.044649999999999995,
0.034
],
"area": 0.007318165389811416
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "2ed9a67c8d273a671f332a777b9be5bc0a8bb62d219c059f8c22ea67780bb707",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.034,
0.0,
0.0,
-1.0,
0.044649999999999995
]
},
"box": [
-0.044649999999999995,
-0.044649999999999995,
0.0,
0.044649999999999995,
0.044649999999999995,
0.034
],
"area": 0.007318165389811416
}
}
]
},
{
"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": "89060d61fad7adfd66e94b5ac805ed8435a927867bfc2c0210666ff066a03369",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.034
]
},
"box": [
-0.03999999999999999,
-0.044649999999999995,
0.034,
0.03999999999999999,
0.044649999999999995,
0.034
],
"area": 0.004443656450130603
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "6a377589857f82112e03e193f41bc3cff3041eebb57648f54694f819de4cd3ad",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "89060d61fad7adfd66e94b5ac805ed8435a927867bfc2c0210666ff066a03369",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.0,
0.0,
0.034
]
},
"box": [
-0.03999999999999999,
-0.044649999999999995,
0.034,
0.03999999999999999,
0.044649999999999995,
0.034
],
"area": 0.004443656450130603
}
}
]
},
{
"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气缸型号类/CG1DN80-200_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.4989134496712577,
"volume": 0.00018478275913750287,
"surface_area": 0.02705674890949202,
"center_of_mass": [
1.1933733521665515e-18,
3.2230823038798597e-19,
0.016877210311252687
],
"principal_moments": [
0.00029241800317841084,
0.0003227811045305399,
0.000514453385117083
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.044649999999999995,
-0.044649999999999995,
0.0,
0.044649999999999995,
0.044649999999999995,
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.044649999999999995,
-0.044649999999999995,
0.0,
0.044649999999999995,
0.044649999999999995,
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": 43.3013,
"pair_count": 4
},
{
"spacing_mm": 50.0,
"pair_count": 4
},
{
"spacing_mm": 41.6413,
"pair_count": 4
},
{
"spacing_mm": 70.7107,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-44.65,
-44.65,
0.0,
44.65,
44.65,
37.0
],
"volume_mm3": 184782.759137503,
"surface_area_mm2": 27056.748909492,
"solid_count": 1,
"face_count": 25,
"edge_count": 54,
"vertex_count": 36
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-44.65,
-44.65,
0.0,
44.65,
44.65,
37.0
],
"volume_mm3": 184782.759137503,
"surface_area_mm2": 27056.748909492,
"solid_count": 1,
"face_count": 18,
"edge_count": 25,
"vertex_count": 8
},
"comparisons": {
"volume_mm3": {
"expected": 184782.759137503,
"actual": 184782.759137503,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 27056.748909492,
"actual": 27056.748909492,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-44.65,
-44.65,
0.0,
44.65,
44.65,
37.0
],
"actual": [
-44.65,
-44.65,
0.0,
44.65,
44.65,
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
}
}