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

1114 lines
24 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "028735",
"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": [
-26.0,
-47.5
],
"end": [
26.0,
-47.5
]
},
{
"type": "line",
"start": [
26.0,
-47.5
],
"end": [
26.0,
47.5
]
},
{
"type": "line",
"start": [
26.0,
47.5
],
"end": [
-26.0,
47.5
]
},
{
"type": "line",
"start": [
-26.0,
47.5
],
"end": [
-26.0,
-47.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-26.0,
-47.5
],
"end": [
26.0,
47.5
]
},
{
"type": "line",
"start": [
-26.0,
47.5
],
"end": [
26.0,
-47.5
]
}
]
}
},
{
"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": [
-23.5,
-12.0
],
"end": [
23.5,
-12.0
]
},
{
"type": "line",
"start": [
23.5,
-12.0
],
"end": [
23.5,
-10.0
]
},
{
"type": "line",
"start": [
23.5,
-10.0
],
"end": [
-23.5,
-10.0
]
},
{
"type": "line",
"start": [
-23.5,
-10.0
],
"end": [
-23.5,
-12.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-13.592783173
]
}
]
}
},
{
"id": "sk_004",
"name": "草图14",
"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": [
26.0,
47.5
],
"end": [
106.0,
47.5
]
},
{
"type": "line",
"start": [
106.0,
47.5
],
"end": [
106.0,
-5.5
]
},
{
"type": "line",
"start": [
106.0,
-5.5
],
"end": [
26.0,
-5.5
]
},
{
"type": "line",
"start": [
26.0,
-5.5
],
"end": [
26.0,
47.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": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 12.0,
"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": "切除-拉伸1",
"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": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "M8 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 8.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
-35.5,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 10.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-57a8f2ddc6168fe2b9ae9a4a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-106.0,
-47.5,
-0.0,
26.0,
47.5,
0.0
],
"center_mm": [
-32.281050471,
10.682780722,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-57a8f2ddc6168fe2b9ae9a4a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-106.0,
-47.5,
-0.0,
26.0,
47.5,
0.0
],
"center_mm": [
-32.281050471,
10.682780722,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-10.0,
31.0,
0.0
]
},
{
"mm": [
10.0,
31.0,
0.0
]
},
{
"mm": [
-19.0,
31.0,
0.0
]
},
{
"mm": [
19.0,
31.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-57a8f2ddc6168fe2b9ae9a4a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-106.0,
-47.5,
-0.0,
26.0,
47.5,
0.0
],
"center_mm": [
-32.281050471,
10.682780722,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-57a8f2ddc6168fe2b9ae9a4a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-106.0,
-47.5,
-0.0,
26.0,
47.5,
0.0
],
"center_mm": [
-32.281050471,
10.682780722,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "Ø5.0 (5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 5.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-10.0,
41.5,
0.0
]
},
{
"mm": [
10.0,
41.5,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-57a8f2ddc6168fe2b9ae9a4a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-106.0,
-47.5,
-0.0,
26.0,
47.5,
0.0
],
"center_mm": [
-32.281050471,
10.682780722,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-57a8f2ddc6168fe2b9ae9a4a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-106.0,
-47.5,
-0.0,
26.0,
47.5,
0.0
],
"center_mm": [
-32.281050471,
10.682780722,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"name": "M6 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 6.6,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-19.0,
0.2,
0.0
]
},
{
"mm": [
19.0,
0.2,
0.0
]
},
{
"mm": [
19.0,
-29.8,
0.0
]
},
{
"mm": [
-19.0,
-29.8,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.4
},
"host_face": {
"kind": "face",
"stable_id": "step-face-57a8f2ddc6168fe2b9ae9a4a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-106.0,
-47.5,
-0.0,
26.0,
47.5,
0.0
],
"center_mm": [
-32.281050471,
10.682780722,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-57a8f2ddc6168fe2b9ae9a4a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-106.0,
-47.5,
-0.0,
26.0,
47.5,
0.0
],
"center_mm": [
-32.281050471,
10.682780722,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_010",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "2b012ffcf019eba3e326d19794fff32dd9f1ce35a69340fb9ded39b246fca323",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.1072703038149833e-16,
0.0,
-1.0,
-0.0235,
-0.047499999999999994,
0.01
]
},
"box": [
-0.0235,
-0.047499999999999994,
0.009999999999999995,
0.0235,
0.04750000000000001,
0.01
],
"area": 0.004197147810354935
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "028735.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.09028474360932673,
"volume": 8.851445451894777e-05,
"surface_area": 0.025383120209364108,
"center_of_mass": [
-0.03161517534292692,
0.01031598054391932,
0.005096059366783565
],
"principal_moments": [
4.5301460790321744e-05,
0.00014331655070264646,
0.00018705667409084248
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.10600002500000003,
-0.047500024999999994,
-5e-08,
0.026000000000000002,
0.04750005000000001,
0.012000025000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABzAAAAcQAAAG8AAABuAAAAbAAAAGsAAABqAAAA",
"persist_reference_sha256": "bf2d2fc266087a37d7f67fa5adcb091b7e5317e56572c63a84a8af068e972c7d",
"component": null,
"geometry": {
"box": [
-0.10600002500000001,
-0.047500024999999994,
-5e-08,
0.025999999999999995,
0.04750005000000001,
0.012000025000000001
],
"face_count": 32,
"edge_count": 63,
"vertex_count": 22
},
"stable_id": "bf2d2fc266087a37d7f67fa5adcb091b7e5317e56572c63a84a8af068e972c7d"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 47,
"surface_counts": {
"cylinder": 30,
"plane": 17
},
"axis_count": 30,
"repeat_spacings_mm": [
{
"spacing_mm": 38.0,
"pair_count": 3
},
{
"spacing_mm": 48.4149,
"pair_count": 2
},
{
"spacing_mm": 30.0,
"pair_count": 2
},
{
"spacing_mm": 42.2693,
"pair_count": 2
},
{
"spacing_mm": 50.4647,
"pair_count": 2
},
{
"spacing_mm": 32.088,
"pair_count": 2
},
{
"spacing_mm": 42.3041,
"pair_count": 2
},
{
"spacing_mm": 30.8,
"pair_count": 2
},
{
"spacing_mm": 48.9146,
"pair_count": 2
},
{
"spacing_mm": 40.4412,
"pair_count": 2
},
{
"spacing_mm": 76.972,
"pair_count": 2
},
{
"spacing_mm": 71.8658,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-106.0,
-47.5,
-0.0,
26.0,
47.5,
12.0
],
"volume_mm3": 88514.454518948,
"surface_area_mm2": 25383.120209364,
"solid_count": 1,
"face_count": 47,
"edge_count": 123,
"vertex_count": 82
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-106.000025,
-47.500025,
-5e-05,
26.0,
47.50005,
12.000025
],
"volume_mm3": 88514.454518948,
"surface_area_mm2": 25383.120209364,
"solid_count": 1,
"face_count": 32,
"edge_count": 63,
"vertex_count": 22
},
"comparisons": {
"volume_mm3": {
"expected": 88514.454518948,
"actual": 88514.454518948,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 25383.120209364,
"actual": 25383.120209364,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-106.000025,
-47.500025,
-5e-05,
26.0,
47.50005,
12.000025
],
"actual": [
-106.0,
-47.5,
-0.0,
26.0,
47.5,
12.0
],
"max_absolute_delta": 5.000000000165983e-05,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 32,
"actual": 47,
"matches": false
},
"edge_count": {
"expected": 63,
"actual": 123,
"matches": false
},
"vertex_count": {
"expected": 22,
"actual": 82,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}