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

1258 lines
28 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "063487",
"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": "line",
"start": [
-6.75,
-11.1
],
"end": [
6.75,
-11.1
]
},
{
"type": "line",
"start": [
6.75,
-11.1
],
"end": [
6.75,
11.1
]
},
{
"type": "line",
"start": [
6.75,
11.1
],
"end": [
-6.75,
11.1
]
},
{
"type": "line",
"start": [
-6.75,
11.1
],
"end": [
-6.75,
-11.1
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-6.75,
-11.1
],
"end": [
6.75,
11.1
]
},
{
"type": "line",
"start": [
-6.75,
11.1
],
"end": [
6.75,
-11.1
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
-6.25,
11.1
],
"end": [
6.25,
11.1
]
},
{
"type": "line",
"start": [
6.25,
11.1
],
"end": [
6.25,
14.9
]
},
{
"type": "line",
"start": [
6.25,
14.9
],
"end": [
-6.25,
14.9
]
},
{
"type": "line",
"start": [
-6.25,
14.9
],
"end": [
-6.25,
11.1
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
-2.6,
-11.1
],
"end": [
2.6,
-11.1
]
},
{
"type": "line",
"start": [
2.6,
-11.1
],
"end": [
2.6,
-1.9
]
},
{
"type": "line",
"start": [
2.6,
-1.9
],
"end": [
-2.6,
-1.9
]
},
{
"type": "line",
"start": [
-2.6,
-1.9
],
"end": [
-2.6,
-11.1
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
50000.0
]
}
]
}
},
{
"id": "sk_005",
"name": "草图5",
"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": [
-7.15,
6.4
],
"end": [
-7.15,
3.3
],
"center": [
-7.15,
4.85
],
"radius_mm": 1.55,
"clockwise": false
},
{
"type": "line",
"start": [
-7.15,
3.3
],
"end": [
-6.05,
3.3
]
},
{
"type": "arc",
"start": [
-6.05,
3.3
],
"end": [
-6.05,
6.4
],
"center": [
-6.05,
4.85
],
"radius_mm": 1.55,
"clockwise": false
},
{
"type": "line",
"start": [
-6.05,
6.4
],
"end": [
-7.15,
6.4
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
13.45,
6.4
],
"end": [
13.45,
3.3
],
"center": [
13.45,
4.85
],
"radius_mm": 1.55,
"clockwise": true
},
{
"type": "line",
"start": [
13.45,
3.3
],
"end": [
12.35,
3.3
]
},
{
"type": "arc",
"start": [
12.35,
3.3
],
"end": [
12.35,
6.4
],
"center": [
12.35,
4.85
],
"radius_mm": 1.55,
"clockwise": true
},
{
"type": "line",
"start": [
12.35,
6.4
],
"end": [
13.45,
6.4
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-9.9,
7.9
],
"end": [
16.2,
7.9
]
},
{
"type": "line",
"start": [
16.2,
7.9
],
"end": [
16.2,
1.8
]
},
{
"type": "line",
"start": [
16.2,
1.8
],
"end": [
-9.9,
1.8
]
},
{
"type": "line",
"start": [
-9.9,
1.8
],
"end": [
-9.9,
7.9
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
3.15,
-11.1
],
"end": [
3.15,
49988.9
]
},
{
"type": "line",
"start": [
-9.9,
4.85
],
"end": [
49990.1,
4.85
]
},
{
"type": "line",
"start": [
-7.15,
4.85
],
"end": [
-6.05,
4.85
]
},
{
"type": "line",
"start": [
13.45,
4.85
],
"end": [
12.35,
4.85
]
}
]
}
},
{
"id": "sk_006",
"name": "草图7",
"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_007",
"name": "草图8",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
0.0,
1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-5.962410652,
-2.122556704
],
"end": [
-4.015114656,
-2.122556704
]
},
{
"type": "line",
"start": [
-4.015114656,
-2.122556704
],
"end": [
-4.015114656,
-2.568812037
]
},
{
"type": "line",
"start": [
-4.015114656,
-2.568812037
],
"end": [
-5.962410652,
-2.568812037
]
},
{
"type": "line",
"start": [
-5.962410652,
-2.568812037
],
"end": [
-5.962410652,
-2.122556704
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-2.818338992,
-2.122556704
],
"end": [
-0.972464662,
-2.122556704
]
},
{
"type": "line",
"start": [
-0.972464662,
-2.122556704
],
"end": [
-0.972464662,
-2.568812037
]
},
{
"type": "line",
"start": [
-0.972464662,
-2.568812037
],
"end": [
-2.818338992,
-2.568812037
]
},
{
"type": "line",
"start": [
-2.818338992,
-2.568812037
],
"end": [
-2.818338992,
-2.122556704
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.467723001,
-2.122556704
],
"end": [
2.455587664,
-2.122556704
]
},
{
"type": "line",
"start": [
2.455587664,
-2.122556704
],
"end": [
2.455587664,
-2.568812037
]
},
{
"type": "line",
"start": [
2.455587664,
-2.568812037
],
"end": [
0.467723001,
-2.568812037
]
},
{
"type": "line",
"start": [
0.467723001,
-2.568812037
],
"end": [
0.467723001,
-2.122556704
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
4.118902994,
-2.122556704
],
"end": [
5.903924323,
-2.122556704
]
},
{
"type": "line",
"start": [
5.903924323,
-2.122556704
],
"end": [
5.903924323,
-2.568812037
]
},
{
"type": "line",
"start": [
5.903924323,
-2.568812037
],
"end": [
4.118902994,
-2.568812037
]
},
{
"type": "line",
"start": [
4.118902994,
-2.568812037
],
"end": [
4.118902994,
-2.122556704
]
}
]
}
]
}
}
]
},
"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": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 6.3,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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_005",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.7,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 6.3,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "凸台-拉伸4",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 3.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "凸台-拉伸6",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
},
{
"id": "f_010",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.1,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_009",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_007"
],
"params": {
"radius_mm": 1.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "063487.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0019301743635933876,
"volume": 1.9301743635933877e-06,
"surface_area": 0.0016522336108682313,
"center_of_mass": [
-0.0008014981024596361,
0.002096572739937598,
0.0030958473001549197
],
"principal_moments": [
6.0696127699054e-08,
9.699302560281637e-08,
1.067731614682342e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.006750024999999999,
-0.011100000000000006,
-0.009899999999999999,
0.006750025000000001,
0.016099999999999996,
0.0162
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABzAAAAcgAAAG4AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "e51ff3ae1ded15ed5f27dee0cdce23de6b637afc763cc46a3b8104b7ea9c4613",
"component": null,
"geometry": {
"box": [
-0.006750024999999999,
-0.011100000000000004,
-0.009899999999999999,
0.006750025000000001,
0.016099999999999996,
0.0162
],
"face_count": 167,
"edge_count": 459,
"vertex_count": 306
},
"stable_id": "e51ff3ae1ded15ed5f27dee0cdce23de6b637afc763cc46a3b8104b7ea9c4613"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 169,
"surface_counts": {
"bspline": 36,
"cylinder": 10,
"plane": 123
},
"axis_count": 10,
"repeat_spacings_mm": [
{
"spacing_mm": 22.4438,
"pair_count": 4
},
{
"spacing_mm": 2.6954,
"pair_count": 4
},
{
"spacing_mm": 3.5107,
"pair_count": 4
},
{
"spacing_mm": 21.3487,
"pair_count": 4
},
{
"spacing_mm": 19.5,
"pair_count": 2
},
{
"spacing_mm": 1.1,
"pair_count": 2
},
{
"spacing_mm": 4.1,
"pair_count": 2
},
{
"spacing_mm": 24.4463,
"pair_count": 2
},
{
"spacing_mm": 24.1,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-6.7500001,
-11.1000001,
-9.9,
6.7500001,
16.1,
16.2
],
"volume_mm3": 1930.170989272,
"surface_area_mm2": 1652.231931326,
"solid_count": 1,
"face_count": 169,
"edge_count": 465,
"vertex_count": 310
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-6.750025,
-11.1,
-9.9,
6.750025,
16.1,
16.2
],
"volume_mm3": 1930.174363593,
"surface_area_mm2": 1652.233610868,
"solid_count": 1,
"face_count": 167,
"edge_count": 459,
"vertex_count": 306
},
"comparisons": {
"volume_mm3": {
"expected": 1930.174363593,
"actual": 1930.170989272,
"absolute_delta": 0.0033743209999101964,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1652.233610868,
"actual": 1652.231931326,
"absolute_delta": 0.0016795419999198202,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-6.750025,
-11.1,
-9.9,
6.750025,
16.1,
16.2
],
"actual": [
-6.7500001,
-11.1000001,
-9.9,
6.7500001,
16.1,
16.2
],
"max_absolute_delta": 2.4899999999661304e-05,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 167,
"actual": 169,
"matches": false
},
"edge_count": {
"expected": 459,
"actual": 465,
"matches": false
},
"vertex_count": {
"expected": 306,
"actual": 310,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}