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

689 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "098176",
"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": [
0.0,
0.0
],
"end": [
203.0,
0.0
]
},
{
"type": "line",
"start": [
203.0,
0.0
],
"end": [
203.0,
145.0
]
},
{
"type": "line",
"start": [
203.0,
145.0
],
"end": [
0.0,
145.0
]
},
{
"type": "line",
"start": [
0.0,
145.0
],
"end": [
0.0,
0.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": [
-197.5,
141.5
],
"end": [
-5.5,
141.5
]
},
{
"type": "line",
"start": [
-5.5,
141.5
],
"end": [
-5.5,
3.5
]
},
{
"type": "line",
"start": [
-5.5,
3.5
],
"end": [
-197.5,
3.5
]
},
{
"type": "line",
"start": [
-197.5,
3.5
],
"end": [
-197.5,
141.5
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": [
24.0,
118.0
],
"end": [
179.0,
118.0
]
},
{
"type": "line",
"start": [
179.0,
118.0
],
"end": [
179.0,
27.0
]
},
{
"type": "line",
"start": [
179.0,
27.0
],
"end": [
24.0,
27.0
]
},
{
"type": "line",
"start": [
24.0,
27.0
],
"end": [
24.0,
118.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
72.5
],
"end": [
203.0,
72.5
]
},
{
"type": "line",
"start": [
101.5,
145.0
],
"end": [
101.5,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": "前视基准面",
"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": 10.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": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 45.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 5.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"distance_mm": 0.2,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "098176.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.4688747564080669,
"volume": 0.0014688747564080668,
"surface_area": 0.09454054564838907,
"center_of_mass": [
0.10149999805189888,
0.07250028380876374,
-0.017375401409840126
],
"principal_moments": [
0.0027541947070945454,
0.004992318828069929,
0.007007315639312284
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
0.0,
-0.045,
0.203,
0.145,
0.010000000000000009
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
0.0,
0.0,
-0.045,
0.203,
0.145,
0.010000000000000007
],
"face_count": 208,
"edge_count": 585,
"vertex_count": 384
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 208,
"surface_counts": {
"bspline": 95,
"cylinder": 4,
"plane": 109
},
"axis_count": 4,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1e-07,
-1e-07,
-45.0,
203.0000001,
145.0000001,
10.0000001
],
"volume_mm3": 1468872.57108542,
"surface_area_mm2": 94540.504123657,
"solid_count": 1,
"face_count": 208,
"edge_count": 585,
"vertex_count": 384
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
0.0,
-45.0,
203.0,
145.0,
10.0
],
"volume_mm3": 1468874.756408067,
"surface_area_mm2": 94540.545648389,
"solid_count": 1,
"face_count": 208,
"edge_count": 585,
"vertex_count": 384
},
"comparisons": {
"volume_mm3": {
"expected": 1468874.756408067,
"actual": 1468872.57108542,
"absolute_delta": 2.185322646982968,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 94540.545648389,
"actual": 94540.504123657,
"absolute_delta": 0.04152473200520035,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
0.0,
-45.0,
203.0,
145.0,
10.0
],
"actual": [
-1e-07,
-1e-07,
-45.0,
203.0000001,
145.0000001,
10.0000001
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 208,
"actual": 208,
"matches": true
},
"edge_count": {
"expected": 585,
"actual": 585,
"matches": true
},
"vertex_count": {
"expected": 384,
"actual": 384,
"matches": true
}
},
"numeric_geometry_match": true,
"topology_counts_match": true
}
},
"source_has_modeling_features": true
}
}