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

620 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "012167",
"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": "arc",
"start": [
17.916994756,
-5.0
],
"end": [
35.160370712,
-10.754396722
],
"center": [
28.5,
-2.0
],
"radius_mm": 11.0,
"clockwise": false
},
{
"type": "line",
"start": [
35.160370712,
-10.754396722
],
"end": [
31.016698388,
-6.610724397
]
},
{
"type": "arc",
"start": [
31.016698388,
-6.610724397
],
"end": [
33.145818874,
-4.567534497
],
"center": [
31.89411255,
-5.39411255
],
"radius_mm": 1.5,
"clockwise": false
},
{
"type": "line",
"start": [
33.145818874,
-4.567534497
],
"end": [
37.0,
-8.421715623
]
},
{
"type": "line",
"start": [
37.0,
-8.421715623
],
"end": [
37.0,
-2.5
]
},
{
"type": "line",
"start": [
37.0,
-2.5
],
"end": [
32.929000736,
-0.149607479
]
},
{
"type": "arc",
"start": [
32.929000736,
-0.149607479
],
"end": [
24.136515154,
-0.0
],
"center": [
28.5,
-2.0
],
"radius_mm": 4.8,
"clockwise": false
},
{
"type": "line",
"start": [
24.136515154,
-0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-5.0
]
},
{
"type": "line",
"start": [
0.0,
-5.0
],
"end": [
17.916994756,
-5.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
28.5,
-2.0
],
"radius_mm": 1.5
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
28.5,
0.0
]
},
{
"type": "line",
"start": [
28.5,
0.0
],
"end": [
28.5,
-2.0
]
},
{
"type": "line",
"start": [
0.0,
-2.5
],
"end": [
37.0,
-2.5
]
},
{
"type": "line",
"start": [
28.5,
-2.0
],
"end": [
31.89411255,
-5.39411255
]
},
{
"type": "line",
"start": [
30.833452378,
-6.454772721
],
"end": [
32.954772721,
-4.333452378
]
}
]
}
},
{
"id": "sk_003",
"name": "草图3",
"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": "circles",
"items": [
{
"center": [
4.0,
4.0
],
"radius_mm": 1.65
},
{
"center": [
11.0,
4.0
],
"radius_mm": 1.65
}
]
}
}
]
},
"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": 8.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_both",
"solidworks_code": 2
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "012167.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.01733388403099768,
"volume": 2.2222928244868823e-06,
"surface_area": 0.0015758479997814883,
"center_of_mass": [
0.021949491586749203,
-0.004503137700846352,
0.004
],
"principal_moments": [
2.9849529471135326e-07,
1.666817810401411e-06,
1.7742103924348975e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.013,
0.0,
0.037,
0.002800000000000002,
0.008
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABrAAAAagAAAA==",
"persist_reference_sha256": "3a27ca3aaad56ef866f3b65e70e3f1214ca09973643e9534c8ef1bc183826b68",
"component": null,
"geometry": {
"box": [
0.0,
-0.013,
0.0,
0.037,
0.002800000000000002,
0.008
],
"face_count": 15,
"edge_count": 36,
"vertex_count": 20
},
"stable_id": "3a27ca3aaad56ef866f3b65e70e3f1214ca09973643e9534c8ef1bc183826b68"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 19,
"surface_counts": {
"cylinder": 10,
"plane": 9
},
"axis_count": 10,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
0.0,
-13.0,
0.0,
37.0,
2.8,
8.0
],
"volume_mm3": 2222.292824487,
"surface_area_mm2": 1575.847999781,
"solid_count": 1,
"face_count": 19,
"edge_count": 51,
"vertex_count": 34
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-13.0,
0.0,
37.0,
2.8,
8.0
],
"volume_mm3": 2222.292824487,
"surface_area_mm2": 1575.847999781,
"solid_count": 1,
"face_count": 15,
"edge_count": 36,
"vertex_count": 20
},
"comparisons": {
"volume_mm3": {
"expected": 2222.292824487,
"actual": 2222.292824487,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1575.847999781,
"actual": 1575.847999781,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-13.0,
0.0,
37.0,
2.8,
8.0
],
"actual": [
0.0,
-13.0,
0.0,
37.0,
2.8,
8.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 15,
"actual": 19,
"matches": false
},
"edge_count": {
"expected": 36,
"actual": 51,
"matches": false
},
"vertex_count": {
"expected": 20,
"actual": 34,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}