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

673 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "146905",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 3.0
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
-4.389309104,
-5.360407223
],
"end": [
2.447594278,
-6.4814568
]
},
{
"type": "line",
"start": [
2.447594278,
-6.4814568
],
"end": [
6.836903381,
-1.121049577
]
},
{
"type": "line",
"start": [
6.836903381,
-1.121049577
],
"end": [
4.389309104,
5.360407223
]
},
{
"type": "line",
"start": [
4.389309104,
5.360407223
],
"end": [
-2.447594278,
6.4814568
]
},
{
"type": "line",
"start": [
-2.447594278,
6.4814568
],
"end": [
-6.836903381,
1.121049577
]
},
{
"type": "line",
"start": [
-6.836903381,
1.121049577
],
"end": [
-4.389309104,
-5.360407223
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 6.0
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
-17.5,
-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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 5.25
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
-23.5,
-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": [
-2.607985389,
1.23763708
],
"end": [
-2.375817847,
-1.63976306
]
},
{
"type": "line",
"start": [
-2.375817847,
-1.63976306
],
"end": [
0.232167543,
-2.87740014
]
},
{
"type": "line",
"start": [
0.232167543,
-2.87740014
],
"end": [
2.607985389,
-1.23763708
]
},
{
"type": "line",
"start": [
2.607985389,
-1.23763708
],
"end": [
2.375817847,
1.63976306
]
},
{
"type": "line",
"start": [
2.375817847,
1.63976306
],
"end": [
-0.232167543,
2.87740014
]
},
{
"type": "line",
"start": [
-0.232167543,
2.87740014
],
"end": [
-2.607985389,
1.23763708
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 2.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": 35.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "supported",
"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": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 6.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 4.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "146905.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.005142707960138124,
"volume": 1.904706651903009e-06,
"surface_area": 0.0014065820875877803,
"center_of_mass": [
3.754011850489148e-19,
1.5430240843481537e-19,
-0.005247028496200923
],
"principal_moments": [
6.249695520424209e-08,
6.585908144701018e-07,
6.585908144701018e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.00683690338127659,
-0.0064814568001275615,
-0.0235,
0.006836903381276592,
0.0064814568001275615,
0.0175
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABwAAAAbwAAAG4AAABtAAAA",
"persist_reference_sha256": "248d30b90422382efee3ba1788a9aa71a2c6580511bf7ad4b499b2a23ea51f2f",
"component": null,
"geometry": {
"box": [
-0.00683690338127659,
-0.006481456800127561,
-0.0235,
0.006836903381276592,
0.0064814568001275615,
0.0175
],
"face_count": 21,
"edge_count": 42,
"vertex_count": 24
},
"stable_id": "248d30b90422382efee3ba1788a9aa71a2c6580511bf7ad4b499b2a23ea51f2f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 24,
"surface_counts": {
"cylinder": 6,
"plane": 18
},
"axis_count": 6,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-6.836903381,
-6.4814568,
-23.5,
6.836903381,
6.4814568,
17.5
],
"volume_mm3": 1904.706651903,
"surface_area_mm2": 1406.582087588,
"solid_count": 1,
"face_count": 24,
"edge_count": 54,
"vertex_count": 36
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-6.836903381,
-6.4814568,
-23.5,
6.836903381,
6.4814568,
17.5
],
"volume_mm3": 1904.706651903,
"surface_area_mm2": 1406.582087588,
"solid_count": 1,
"face_count": 21,
"edge_count": 42,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 1904.706651903,
"actual": 1904.706651903,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1406.582087588,
"actual": 1406.582087588,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-6.836903381,
-6.4814568,
-23.5,
6.836903381,
6.4814568,
17.5
],
"actual": [
-6.836903381,
-6.4814568,
-23.5,
6.836903381,
6.4814568,
17.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 21,
"actual": 24,
"matches": false
},
"edge_count": {
"expected": 42,
"actual": 54,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 36,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}