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

1568 lines
34 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "105084",
"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,
-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": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
180.0,
-25.0
],
"end": [
180.0,
25.0
]
},
{
"type": "line",
"start": [
180.0,
25.0
],
"end": [
-180.0,
25.0
]
},
{
"type": "line",
"start": [
-180.0,
25.0
],
"end": [
-180.0,
-25.0
]
},
{
"type": "line",
"start": [
-180.0,
-25.0
],
"end": [
180.0,
-25.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖2",
"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": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-178.0,
25.0
],
"end": [
-178.0,
-23.0
]
},
{
"type": "line",
"start": [
-178.0,
-23.0
],
"end": [
178.0,
-23.0
]
},
{
"type": "line",
"start": [
178.0,
-23.0
],
"end": [
178.0,
25.0
]
},
{
"type": "line",
"start": [
178.0,
25.0
],
"end": [
-178.0,
25.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草圖3",
"role": "profile",
"workplane": {
"origin_mm": [
-23.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": [
-52.5,
9.0
],
"end": [
-52.5,
0.5
]
},
{
"type": "line",
"start": [
-52.5,
0.5
],
"end": [
52.5,
0.5
]
},
{
"type": "line",
"start": [
52.5,
0.5
],
"end": [
52.5,
9.0
]
},
{
"type": "line",
"start": [
52.5,
9.0
],
"end": [
-52.5,
9.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-0.574452216
],
"end": [
0.0,
21.467986423
]
}
]
}
},
{
"id": "sk_005",
"name": "草圖4",
"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": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
163.0,
-10.0
],
"end": [
163.0,
-15.0
],
"center": [
163.0,
-12.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
163.0,
-15.0
],
"end": [
173.0,
-15.0
]
},
{
"type": "arc",
"start": [
173.0,
-15.0
],
"end": [
173.0,
-10.0
],
"center": [
173.0,
-12.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
173.0,
-10.0
],
"end": [
163.0,
-10.0
]
}
]
}
]
}
},
{
"id": "sk_006",
"name": "草圖5",
"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": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
163.0,
21.0
],
"end": [
163.0,
16.0
],
"center": [
163.0,
18.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
163.0,
16.0
],
"end": [
173.0,
16.0
]
},
{
"type": "arc",
"start": [
173.0,
16.0
],
"end": [
173.0,
21.0
],
"center": [
173.0,
18.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
173.0,
21.0
],
"end": [
163.0,
21.0
]
}
]
}
]
}
},
{
"id": "sk_007",
"name": "草圖6",
"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": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-173.0,
-10.0
],
"end": [
-173.0,
-15.0
],
"center": [
-173.0,
-12.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-173.0,
-15.0
],
"end": [
-163.0,
-15.0
]
},
{
"type": "arc",
"start": [
-163.0,
-15.0
],
"end": [
-163.0,
-10.0
],
"center": [
-163.0,
-12.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-163.0,
-10.0
],
"end": [
-173.0,
-10.0
]
}
]
}
]
}
},
{
"id": "sk_008",
"name": "草圖7",
"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": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-173.0,
8.0
],
"end": [
-173.0,
3.0
],
"center": [
-173.0,
5.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-173.0,
3.0
],
"end": [
-163.0,
3.0
]
},
{
"type": "arc",
"start": [
-163.0,
3.0
],
"end": [
-163.0,
8.0
],
"center": [
-163.0,
5.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-163.0,
8.0
],
"end": [
-173.0,
8.0
]
}
]
}
]
}
},
{
"id": "sk_009",
"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": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-173.0,
21.0
],
"end": [
-173.0,
16.0
],
"center": [
-173.0,
18.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-173.0,
16.0
],
"end": [
-163.0,
16.0
]
},
{
"type": "arc",
"start": [
-163.0,
16.0
],
"end": [
-163.0,
21.0
],
"center": [
-163.0,
18.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-163.0,
21.0
],
"end": [
-173.0,
21.0
]
}
]
}
]
}
},
{
"id": "sk_010",
"name": "草圖9",
"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": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-173.0,
8.0
],
"end": [
-173.0,
3.0
],
"center": [
-173.0,
5.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-173.0,
3.0
],
"end": [
-163.0,
3.0
]
},
{
"type": "arc",
"start": [
-163.0,
3.0
],
"end": [
-163.0,
8.0
],
"center": [
-163.0,
5.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-163.0,
8.0
],
"end": [
-173.0,
8.0
]
}
]
}
]
}
}
]
},
"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_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_004",
"name": "平面4",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
9.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 9.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_005",
"name": "填料-伸長1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 18.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_006",
"name": "除料-伸長1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 16.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_008",
"name": "除料-伸長3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_009",
"name": "除料-伸長4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_010",
"name": "除料-伸長5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_007",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_011",
"name": "除料-伸長6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_008",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_012",
"name": "除料-伸長7",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_009",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_014",
"name": "鑽孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "hole_wizard",
"diameter_mm": 8.0,
"depth_mm": 2.0,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
0.0,
4.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_015",
"name": "鑽孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "hole_wizard",
"diameter_mm": 8.0,
"depth_mm": 360.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
4.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_016",
"name": "導角1",
"atomic_id": "chamfer",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 3.0,
"angle_rad": 0.7853981633974483
},
"execution_status": "deferred"
},
{
"id": "f_017",
"name": "導角2",
"atomic_id": "chamfer",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 3.0,
"angle_rad": 0.7853981633974483
},
"execution_status": "deferred"
},
{
"id": "f_022",
"name": "圓角5",
"atomic_id": "fillet",
"depends_on": [
"f_005"
],
"params": {
"radius_mm": 4.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "除料-伸長2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_005"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_013",
"name": "除料-伸長8",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_005"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_010",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_018",
"name": "圓角1",
"atomic_id": "fillet",
"depends_on": [
"f_007"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_019",
"name": "圓角2",
"atomic_id": "fillet",
"depends_on": [
"f_005",
"f_007"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_020",
"name": "圓角3",
"atomic_id": "fillet",
"depends_on": [
"f_007",
"f_005"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_021",
"name": "圓角4",
"atomic_id": "fillet",
"depends_on": [
"f_007"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "105084.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.04607066619440516,
"volume": 4.607066619440516e-05,
"surface_area": 0.04913564287916211,
"center_of_mass": [
8.445846181234456e-17,
-0.005720547196012637,
-0.004383380598094445
],
"principal_moments": [
1.2725876964602878e-05,
0.0005524782179938911,
0.0005637430806974521
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.18,
-0.009000000000000001,
-0.025,
0.18,
0.009000000000000001,
0.025
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圓角5",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAsAAABxAAAAcAAAAG8AAABuAAAAbQAAAGwAAABrAAAAagAAAGkAAABoAAAAZwAAAA==",
"persist_reference_sha256": "738091101bb6c92ac2265ff8fc49acb1bb47907144ee3e64997135cd92fd503e",
"component": null,
"geometry": {
"box": [
-0.18,
-0.009000000000000001,
-0.025,
0.18,
0.009000000000000001,
0.025
],
"face_count": 53,
"edge_count": 145,
"vertex_count": 92
},
"stable_id": "738091101bb6c92ac2265ff8fc49acb1bb47907144ee3e64997135cd92fd503e"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 55,
"surface_counts": {
"cylinder": 25,
"plane": 28,
"sphere": 2
},
"axis_count": 25,
"repeat_spacings_mm": [
{
"spacing_mm": 10.0,
"pair_count": 6
},
{
"spacing_mm": 31.0,
"pair_count": 4
},
{
"spacing_mm": 32.573,
"pair_count": 4
},
{
"spacing_mm": 336.0,
"pair_count": 4
},
{
"spacing_mm": 336.4818,
"pair_count": 4
},
{
"spacing_mm": 337.427,
"pair_count": 4
},
{
"spacing_mm": 20.1308,
"pair_count": 3
},
{
"spacing_mm": 23.775,
"pair_count": 3
},
{
"spacing_mm": 353.2566,
"pair_count": 2
},
{
"spacing_mm": 343.2641,
"pair_count": 2
},
{
"spacing_mm": 353.5198,
"pair_count": 2
},
{
"spacing_mm": 343.5349,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-180.0,
-9.0,
-25.0,
180.0,
9.0,
25.0
],
"volume_mm3": 46070.666194405,
"surface_area_mm2": 49135.642879162,
"solid_count": 1,
"face_count": 55,
"edge_count": 153,
"vertex_count": 100
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-180.0,
-9.0,
-25.0,
180.0,
9.0,
25.0
],
"volume_mm3": 46070.666194405,
"surface_area_mm2": 49135.642879162,
"solid_count": 1,
"face_count": 53,
"edge_count": 145,
"vertex_count": 92
},
"comparisons": {
"volume_mm3": {
"expected": 46070.666194405,
"actual": 46070.666194405,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 49135.642879162,
"actual": 49135.642879162,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-180.0,
-9.0,
-25.0,
180.0,
9.0,
25.0
],
"actual": [
-180.0,
-9.0,
-25.0,
180.0,
9.0,
25.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 53,
"actual": 55,
"matches": false
},
"edge_count": {
"expected": 145,
"actual": 153,
"matches": false
},
"vertex_count": {
"expected": 92,
"actual": 100,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}