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

770 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "197018",
"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": [
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": true,
"segments": [
{
"type": "arc",
"start": [
81.51,
88.0
],
"end": [
81.51,
73.0
],
"center": [
81.51,
80.5
],
"radius_mm": 7.5,
"clockwise": false
},
{
"type": "line",
"start": [
81.51,
73.0
],
"end": [
114.01,
73.0
]
},
{
"type": "line",
"start": [
114.01,
73.0
],
"end": [
114.01,
88.0
]
},
{
"type": "line",
"start": [
114.01,
88.0
],
"end": [
81.51,
88.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": [
-64.45,
-103.01
],
"end": [
-64.45,
-81.51
]
},
{
"type": "line",
"start": [
-64.45,
-81.51
],
"end": [
-66.45,
-81.51
]
},
{
"type": "line",
"start": [
-66.45,
-81.51
],
"end": [
-66.45,
-103.01
]
},
{
"type": "line",
"start": [
-66.45,
-103.01
],
"end": [
-64.45,
-103.01
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图9",
"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": true,
"segments": [
{
"type": "line",
"start": [
59.578176113,
106.743185005
],
"end": [
92.394070954,
106.743185005
]
},
{
"type": "line",
"start": [
92.394070954,
106.743185005
],
"end": [
92.394070954,
53.988454524
]
},
{
"type": "line",
"start": [
92.394070954,
53.988454524
],
"end": [
59.578176113,
53.988454524
]
},
{
"type": "line",
"start": [
59.578176113,
53.988454524
],
"end": [
59.578176113,
106.743185005
]
}
]
}
]
}
}
]
},
"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": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
66.45,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 66.45,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "ca9b26738aafbe5077b4fa72173b363ed58490758883745da2a3d01a70c27cd8",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "ca9b26738aafbe5077b4fa72173b363ed58490758883745da2a3d01a70c27cd8",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_005",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 11.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 15.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 4.5,
"depth_mm": 11.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-108.51,
80.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.6
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 4.5,
"depth_mm": 11.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-108.51,
80.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 4.6
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_005"
],
"params": {
"radius_mm": 3.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "Ø6.0 (6) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_006",
"f_005"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 6.01,
"depth_mm": 89.33,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
81.51,
80.5,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "197018.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.00459481749955985,
"volume": 4.59481749955985e-06,
"surface_area": 0.0025963809922265905,
"center_of_mass": [
0.060481873471183334,
0.08049999961000771,
-0.09521269001844566
],
"principal_moments": [
1.315393812656977e-07,
6.224275533106203e-07,
6.837873096851439e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0554499999999991,
0.07299999999999998,
-0.11401000000000001,
0.06644999999999911,
0.088,
-0.07400999999999913
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABtAAAAbAAAAGsAAABqAAAAaQAAAGgAAAA=",
"persist_reference_sha256": "6549c5ea94149b04ff6c874d0111978e518bcd2d7c09e0143dff689539c6004f",
"component": null,
"geometry": {
"box": [
0.055449999999999104,
0.07299999999999998,
-0.11401000000000001,
0.06644999999999911,
0.088,
-0.07400999999999913
],
"face_count": 16,
"edge_count": 33,
"vertex_count": 16
},
"stable_id": "6549c5ea94149b04ff6c874d0111978e518bcd2d7c09e0143dff689539c6004f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 21,
"surface_counts": {
"cylinder": 12,
"plane": 9
},
"axis_count": 12,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
55.4499999,
72.9999999,
-114.0100001,
66.45,
88.0000001,
-74.01
],
"volume_mm3": 4594.810710138,
"surface_area_mm2": 2596.380370229,
"solid_count": 1,
"face_count": 21,
"edge_count": 54,
"vertex_count": 36
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
55.45,
73.0,
-114.01,
66.45,
88.0,
-74.01
],
"volume_mm3": 4594.81749956,
"surface_area_mm2": 2596.380992227,
"solid_count": 1,
"face_count": 16,
"edge_count": 33,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 4594.81749956,
"actual": 4594.810710138,
"absolute_delta": 0.00678942200011079,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2596.380992227,
"actual": 2596.380370229,
"absolute_delta": 0.0006219980000423675,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
55.45,
73.0,
-114.01,
66.45,
88.0,
-74.01
],
"actual": [
55.4499999,
72.9999999,
-114.0100001,
66.45,
88.0000001,
-74.01
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 16,
"actual": 21,
"matches": false
},
"edge_count": {
"expected": 33,
"actual": 54,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 36,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}