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

1113 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "118767",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"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": "Sketch1",
"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": [
0.0,
0.0
],
"end": [
0.0,
8.5
]
},
{
"type": "line",
"start": [
0.0,
8.5
],
"end": [
0.981495458,
10.2
]
},
{
"type": "line",
"start": [
0.981495458,
10.2
],
"end": [
6.018504542,
10.2
]
},
{
"type": "line",
"start": [
6.018504542,
10.2
],
"end": [
7.0,
8.5
]
},
{
"type": "line",
"start": [
7.0,
8.5
],
"end": [
7.0,
0.0
]
},
{
"type": "line",
"start": [
7.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
7.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": [
-17.0,
-17.0
],
"end": [
17.0,
-17.0
]
},
{
"type": "line",
"start": [
17.0,
-17.0
],
"end": [
17.0,
17.0
]
},
{
"type": "line",
"start": [
17.0,
17.0
],
"end": [
-17.0,
17.0
]
},
{
"type": "line",
"start": [
-17.0,
17.0
],
"end": [
-17.0,
-17.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-8.5,
4.907477288
],
"end": [
-8.5,
-4.907477288
]
},
{
"type": "line",
"start": [
-8.5,
-4.907477288
],
"end": [
0.0,
-9.814954576
]
},
{
"type": "line",
"start": [
0.0,
-9.814954576
],
"end": [
8.5,
-4.907477288
]
},
{
"type": "line",
"start": [
8.5,
-4.907477288
],
"end": [
8.5,
4.907477288
]
},
{
"type": "line",
"start": [
8.5,
4.907477288
],
"end": [
0.0,
9.814954576
]
},
{
"type": "line",
"start": [
0.0,
9.814954576
],
"end": [
-8.5,
4.907477288
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"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": [
0.0,
0.0
],
"end": [
0.0,
6.0
]
},
{
"type": "line",
"start": [
0.0,
6.0
],
"end": [
0.947,
5.053
]
},
{
"type": "line",
"start": [
0.947,
5.053
],
"end": [
6.053,
5.053
]
},
{
"type": "line",
"start": [
6.053,
5.053
],
"end": [
7.0,
6.0
]
},
{
"type": "line",
"start": [
7.0,
6.0
],
"end": [
7.0,
0.0
]
},
{
"type": "line",
"start": [
7.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
7.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "IP_RN",
"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": []
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front Plane",
"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": "Top Plane",
"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": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
7.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": "62f1b4ac2ea2050befbdfd854ad33028eb7d785940a00bf940e3019beb6c3695",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.007,
0.0,
0.0
],
"end": [
0.0,
0.0,
0.0
]
}
}
]
},
{
"id": "f_003",
"name": "Right Plane",
"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_006",
"name": "Cut-Revolve1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
7.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_004",
"selectors": [
{
"kind": "axis",
"stable_id": "2be54835ad1e031c904920b51275ae74091b4a0a36f56d5ce4c5a8604972ddc8",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.007,
0.0,
0.0
],
"end": [
0.0,
0.0,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 14.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "Plane1",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
3.5,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 3.5,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_008",
"name": "IP_RN XY",
"atomic_id": "reference_plane",
"depends_on": [
"f_007"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "IP_RN XZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_008"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "IP_RN YZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_009"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "IP_RN X",
"atomic_id": "reference_axis",
"depends_on": [
"f_008",
"f_009"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "e6f89605bcb568ca52736b13ab71157ad88b2b53ad9553acbbb37d30eb144123",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "e6f89605bcb568ca52736b13ab71157ad88b2b53ad9553acbbb37d30eb144123",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "e6f89605bcb568ca52736b13ab71157ad88b2b53ad9553acbbb37d30eb144123",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
},
{
"kind": "plane",
"stable_id": "1fdf92ea39c6b7f6f3dee622ef98da3e160818b38e1d1ff057764fe1ec125884",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
}
]
},
{
"id": "f_012",
"name": "IP_RN Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_008",
"f_010"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "e6f89605bcb568ca52736b13ab71157ad88b2b53ad9553acbbb37d30eb144123",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "e6f89605bcb568ca52736b13ab71157ad88b2b53ad9553acbbb37d30eb144123",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "e6f89605bcb568ca52736b13ab71157ad88b2b53ad9553acbbb37d30eb144123",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
},
{
"kind": "plane",
"stable_id": "7ea6506805a250ac5980d98d050b1e11046e9c373505aab072c10688cbe054a8",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_010"
}
]
},
{
"id": "f_013",
"name": "IP_RN Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_010",
"f_009"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "7ea6506805a250ac5980d98d050b1e11046e9c373505aab072c10688cbe054a8",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "7ea6506805a250ac5980d98d050b1e11046e9c373505aab072c10688cbe054a8",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "7ea6506805a250ac5980d98d050b1e11046e9c373505aab072c10688cbe054a8",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_010"
},
{
"kind": "plane",
"stable_id": "1fdf92ea39c6b7f6f3dee622ef98da3e160818b38e1d1ff057764fe1ec125884",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
}
]
}
],
"meta": {
"unit": "mm",
"source": "118767.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0011495553680047825,
"volume": 1.1495553680047824e-06,
"surface_area": 0.0009182538982208494,
"center_of_mass": [
0.0035,
4.536745667889124e-09,
-1.2592399742173847e-18
],
"principal_moments": [
3.5127925744912645e-08,
3.512817819861249e-08,
6.138759069335603e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.009814954576223637,
-0.0085,
0.007,
0.009814954576223637,
0.0085
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Revolve1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
0.0,
-0.009814954576223637,
-0.0085,
0.007,
0.009814954576223637,
0.0085
],
"face_count": 23,
"edge_count": 46,
"vertex_count": 24
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 26,
"surface_counts": {
"cone": 16,
"cylinder": 2,
"plane": 8
},
"axis_count": 18,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1e-07,
-9.814954676,
-8.5000001,
7.0000001,
9.814954676,
8.5000001
],
"volume_mm3": 1149.547519738,
"surface_area_mm2": 918.251574468,
"solid_count": 1,
"face_count": 26,
"edge_count": 56,
"vertex_count": 32
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-9.814954576,
-8.5,
7.0,
9.814954576,
8.5
],
"volume_mm3": 1149.555368005,
"surface_area_mm2": 918.253898221,
"solid_count": 1,
"face_count": 23,
"edge_count": 46,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 1149.555368005,
"actual": 1149.547519738,
"absolute_delta": 0.00784826700009944,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 918.253898221,
"actual": 918.251574468,
"absolute_delta": 0.0023237530000415063,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-9.814954576,
-8.5,
7.0,
9.814954576,
8.5
],
"actual": [
-1e-07,
-9.814954676,
-8.5000001,
7.0000001,
9.814954676,
8.5000001
],
"max_absolute_delta": 1.0000000028043132e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 23,
"actual": 26,
"matches": false
},
"edge_count": {
"expected": 46,
"actual": 56,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 32,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}