Files
cdsl-cad/json_to_cdsl/output/002935.cdsl.json
T
2026-08-21 11:13:18 +08:00

1022 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "002935",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "原点",
"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": "草图1",
"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": "arc",
"start": [
59.0,
18.666666667
],
"end": [
57.666666667,
20.0
],
"center": [
57.666666667,
18.666666667
],
"radius_mm": 1.333333333,
"clockwise": false
},
{
"type": "line",
"start": [
57.666666667,
20.0
],
"end": [
9.5,
20.0
]
},
{
"type": "line",
"start": [
9.5,
20.0
],
"end": [
9.5,
19.5
]
},
{
"type": "line",
"start": [
9.5,
19.5
],
"end": [
8.0,
19.5
]
},
{
"type": "line",
"start": [
8.0,
19.5
],
"end": [
8.0,
28.0
]
},
{
"type": "line",
"start": [
8.0,
28.0
],
"end": [
0.0,
28.0
]
},
{
"type": "line",
"start": [
0.0,
28.0
],
"end": [
0.0,
12.5
]
},
{
"type": "line",
"start": [
0.0,
12.5
],
"end": [
59.0,
12.5
]
},
{
"type": "line",
"start": [
59.0,
12.5
],
"end": [
59.0,
18.666666667
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
59.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-22.5,
-16.665833312
],
"end": [
22.5,
-16.665833312
],
"center": [
0.0,
0.0
],
"radius_mm": 28.0,
"clockwise": false
},
{
"type": "line",
"start": [
22.5,
-16.665833312
],
"end": [
22.5,
16.665833312
]
},
{
"type": "arc",
"start": [
22.5,
16.665833312
],
"end": [
-22.5,
16.665833312
],
"center": [
0.0,
0.0
],
"radius_mm": 28.0,
"clockwise": false
},
{
"type": "line",
"start": [
-22.5,
16.665833312
],
"end": [
-22.5,
-16.665833312
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-56.0,
56.0
],
"end": [
-56.0,
-56.0
]
},
{
"type": "line",
"start": [
-56.0,
-56.0
],
"end": [
56.0,
-56.0
]
},
{
"type": "line",
"start": [
56.0,
-56.0
],
"end": [
56.0,
56.0
]
},
{
"type": "line",
"start": [
56.0,
56.0
],
"end": [
-56.0,
56.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
13.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": [
0.0,
19.5
],
"end": [
0.0,
22.0
]
},
{
"type": "line",
"start": [
0.0,
22.0
],
"end": [
0.433,
21.567
]
},
{
"type": "line",
"start": [
0.433,
21.567
],
"end": [
7.567,
21.567
]
},
{
"type": "line",
"start": [
7.567,
21.567
],
"end": [
8.0,
22.0
]
},
{
"type": "line",
"start": [
8.0,
22.0
],
"end": [
8.0,
19.5
]
},
{
"type": "line",
"start": [
8.0,
19.5
],
"end": [
0.0,
19.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
8.0,
19.5
],
"end": [
0.0,
19.5
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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": false,
"segments": [
{
"type": "line",
"start": [
-13.5,
19.5
],
"end": [
13.5,
19.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-13.5,
19.5
],
"end": [
-13.5,
-19.5
]
}
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "前视基准面",
"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": "上视基准面",
"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": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
59.0,
0.0,
0.0
],
"direction": [
-1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "1f8704fc061b099c2601a36824b7acdf91381822ee2fbd3f4b3ccecee7f682da",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.059000000000000004,
0.0,
0.0
],
"end": [
0.0,
0.0,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "基准面4",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
0.0,
13.5,
0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 13.5,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_003",
"name": "右视基准面",
"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_007",
"name": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
8.0,
19.5,
0.0
],
"direction": [
-1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "e8b0e5248750da5803acd02ceda8f49b4f1d8592006b390245faf9a38cfc91fd",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.008,
0.0195,
0.0
],
"end": [
0.0,
0.0195,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 8.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_007"
],
"params": {
"source_feature_ids": [
"f_007"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 27.0,
"pattern_count_1": 2,
"direction_2": [
0.0,
-1.0,
0.0
],
"spacing_2_mm": 39.0,
"pattern_count_2": 2
},
"execution_status": "deferred",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "002935.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.05225335408735093,
"volume": 5.225335408735093e-05,
"surface_area": 0.016187622570264883,
"center_of_mass": [
0.025990267783430485,
-8.904482835365232e-19,
-5.42184065975572e-19
],
"principal_moments": [
1.6637529384897e-05,
2.491782028959239e-05,
2.5941657114539402e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.028,
-0.0225,
0.059000000000000004,
0.028,
0.0225
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(线性)1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
0.0,
-0.028,
-0.0225,
0.059000000000000004,
0.028,
0.0225
],
"face_count": 24,
"edge_count": 35,
"vertex_count": 8
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 40,
"surface_counts": {
"cone": 16,
"cylinder": 16,
"plane": 6,
"torus": 2
},
"axis_count": 32,
"repeat_spacings_mm": [
{
"spacing_mm": 7.567,
"pair_count": 4
},
{
"spacing_mm": 39.0,
"pair_count": 4
},
{
"spacing_mm": 39.7273,
"pair_count": 4
},
{
"spacing_mm": 27.0,
"pair_count": 4
},
{
"spacing_mm": 28.0403,
"pair_count": 4
},
{
"spacing_mm": 47.4342,
"pair_count": 4
},
{
"spacing_mm": 48.0339,
"pair_count": 4
},
{
"spacing_mm": 56.245,
"pair_count": 4
},
{
"spacing_mm": 63.187,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
-28.0,
-22.5,
59.0,
28.0,
22.5
],
"volume_mm3": 52253.354087351,
"surface_area_mm2": 16187.622570265,
"solid_count": 1,
"face_count": 40,
"edge_count": 90,
"vertex_count": 54
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-28.0,
-22.5,
59.0,
28.0,
22.5
],
"volume_mm3": 52253.354087351,
"surface_area_mm2": 16187.622570265,
"solid_count": 1,
"face_count": 24,
"edge_count": 35,
"vertex_count": 8
},
"comparisons": {
"volume_mm3": {
"expected": 52253.354087351,
"actual": 52253.354087351,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 16187.622570265,
"actual": 16187.622570265,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-28.0,
-22.5,
59.0,
28.0,
22.5
],
"actual": [
-0.0,
-28.0,
-22.5,
59.0,
28.0,
22.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 24,
"actual": 40,
"matches": false
},
"edge_count": {
"expected": 35,
"actual": 90,
"matches": false
},
"vertex_count": {
"expected": 8,
"actual": 54,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}