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

618 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "097101",
"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": [
-50.0,
12.5
],
"end": [
50.0,
12.5
]
},
{
"type": "line",
"start": [
50.0,
12.5
],
"end": [
50.0,
-12.5
]
},
{
"type": "line",
"start": [
50.0,
-12.5
],
"end": [
-50.0,
-12.5
]
},
{
"type": "line",
"start": [
-50.0,
-12.5
],
"end": [
-50.0,
12.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-50.0,
12.5
],
"end": [
50.0,
-12.5
]
},
{
"type": "line",
"start": [
-50.0,
-12.5
],
"end": [
50.0,
12.5
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
2.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": [],
"construction": [
{
"type": "line",
"start": [
-30.0,
-2.5
],
"end": [
23.95101022,
-2.5
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
2.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": [
-50.0,
12.5
],
"end": [
-20.0,
12.5
]
},
{
"type": "line",
"start": [
-20.0,
12.5
],
"end": [
-20.0,
-12.5
]
},
{
"type": "line",
"start": [
-20.0,
-12.5
],
"end": [
-50.0,
-12.5
]
},
{
"type": "line",
"start": [
-50.0,
-12.5
],
"end": [
-50.0,
12.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": 2.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.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_006",
"f_003"
],
"params": {
"source_feature_ids": [
"f_006"
],
"mirror_plane": {
"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"
}
]
}
],
"meta": {
"unit": "mm",
"source": "097101.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0019906804702296264,
"volume": 1.9906804702296263e-06,
"surface_area": 0.00235248712399206,
"center_of_mass": [
-1.0429854790992477e-06,
3.3195077429335773e-06,
0.000996489527738411
],
"principal_moments": [
1.048075743516844e-07,
2.670493835387128e-07,
3.705345433785988e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.019999999999999997,
-0.012500000000000002,
0.0,
0.019999999999999997,
0.012499999999999999,
0.0020000000000000013
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "镜向1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABuAAAAbQAAAGwAAABrAAAA",
"persist_reference_sha256": "8ed7ea5f2df09bc3a8016e02cf2d2a5a4f3dffde7123341fda8a21e7814026c4",
"component": null,
"geometry": {
"box": [
-0.019999999999999997,
-0.012500000000000002,
0.0,
0.019999999999999997,
0.012499999999999999,
0.0020000000000000013
],
"face_count": 246,
"edge_count": 687,
"vertex_count": 458
},
"stable_id": "8ed7ea5f2df09bc3a8016e02cf2d2a5a4f3dffde7123341fda8a21e7814026c4"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 246,
"surface_counts": {
"bspline": 76,
"plane": 170
},
"axis_count": 0,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-20.0000001,
-12.5000001,
0.0,
20.0000001,
12.5000001,
2.0000001
],
"volume_mm3": 1990.717400275,
"surface_area_mm2": 2352.495196386,
"solid_count": 1,
"face_count": 246,
"edge_count": 687,
"vertex_count": 458
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-20.0,
-12.5,
0.0,
20.0,
12.5,
2.0
],
"volume_mm3": 1990.68047023,
"surface_area_mm2": 2352.487123992,
"solid_count": 1,
"face_count": 246,
"edge_count": 687,
"vertex_count": 458
},
"comparisons": {
"volume_mm3": {
"expected": 1990.68047023,
"actual": 1990.717400275,
"absolute_delta": 0.036930044999962774,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2352.487123992,
"actual": 2352.495196386,
"absolute_delta": 0.008072394000009808,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-20.0,
-12.5,
0.0,
20.0,
12.5,
2.0
],
"actual": [
-20.0000001,
-12.5000001,
0.0,
20.0000001,
12.5000001,
2.0000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 246,
"actual": 246,
"matches": true
},
"edge_count": {
"expected": 687,
"actual": 687,
"matches": true
},
"vertex_count": {
"expected": 458,
"actual": 458,
"matches": true
}
},
"numeric_geometry_match": true,
"topology_counts_match": true
}
},
"source_has_modeling_features": true
}
}