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

1312 lines
30 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "044545",
"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": "arc",
"start": [
-17.234099133,
10.719196462
],
"end": [
-15.234099133,
8.719196462
],
"center": [
-15.234099133,
10.719196462
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
-15.234099133,
8.719196462
],
"end": [
-12.830064801,
8.719196462
]
},
{
"type": "line",
"start": [
-12.830064801,
8.719196462
],
"end": [
-12.830064801,
-8.719196462
]
},
{
"type": "line",
"start": [
-12.830064801,
-8.719196462
],
"end": [
-15.234099133,
-8.719196462
]
},
{
"type": "arc",
"start": [
-15.234099133,
-8.719196462
],
"end": [
-17.234099133,
-10.719196462
],
"center": [
-15.234099133,
-10.719196462
],
"radius_mm": 2.0,
"clockwise": true
},
{
"type": "line",
"start": [
-17.234099133,
-10.719196462
],
"end": [
-17.234099133,
-11.834528046
]
},
{
"type": "arc",
"start": [
-17.234099133,
-11.834528046
],
"end": [
-19.234099133,
-13.834528046
],
"center": [
-19.234099133,
-11.834528046
],
"radius_mm": 2.0,
"clockwise": true
},
{
"type": "line",
"start": [
-19.234099133,
-13.834528046
],
"end": [
-30.890201833,
-13.834528046
]
},
{
"type": "line",
"start": [
-30.890201833,
-13.834528046
],
"end": [
-30.890201833,
-8.719196462
]
},
{
"type": "line",
"start": [
-30.890201833,
-8.719196462
],
"end": [
-28.236733837,
-8.719196462
]
},
{
"type": "arc",
"start": [
-28.236733837,
-8.719196462
],
"end": [
-26.236733837,
-6.719196462
],
"center": [
-28.236733837,
-6.719196462
],
"radius_mm": 2.0,
"clockwise": true
},
{
"type": "line",
"start": [
-26.236733837,
-6.719196462
],
"end": [
-26.236733837,
6.719196462
]
},
{
"type": "arc",
"start": [
-26.236733837,
6.719196462
],
"end": [
-28.236733837,
8.719196462
],
"center": [
-28.236733837,
6.719196462
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
-28.236733837,
8.719196462
],
"end": [
-30.890201833,
8.719196462
]
},
{
"type": "line",
"start": [
-30.890201833,
8.719196462
],
"end": [
-30.890201833,
13.834528046
]
},
{
"type": "line",
"start": [
-30.890201833,
13.834528046
],
"end": [
-19.234099133,
13.834528046
]
},
{
"type": "arc",
"start": [
-19.234099133,
13.834528046
],
"end": [
-17.234099133,
11.834528046
],
"center": [
-19.234099133,
11.834528046
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
-17.234099133,
11.834528046
],
"end": [
-17.234099133,
10.719196462
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-12.830064801,
13.834528046
],
"end": [
-30.890201833,
13.834528046
]
},
{
"type": "line",
"start": [
-12.830064801,
13.834528046
],
"end": [
-12.830064801,
-13.834528046
]
},
{
"type": "line",
"start": [
-12.830064801,
-13.834528046
],
"end": [
-30.890201833,
-13.834528046
]
},
{
"type": "line",
"start": [
-30.890201833,
13.834528046
],
"end": [
-30.890201833,
-13.834528046
]
},
{
"type": "line",
"start": [
-12.830064801,
13.834528046
],
"end": [
-30.890201833,
-13.834528046
]
},
{
"type": "line",
"start": [
-12.830064801,
-13.834528046
],
"end": [
-30.890201833,
13.834528046
]
},
{
"type": "line",
"start": [
-26.236733837,
0.0
],
"end": [
-17.631274193,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"role": "profile",
"workplane": {
"origin_mm": [
1.2,
-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": [
-12.830064801,
8.719196462
],
"end": [
-14.032081967,
8.719196462
]
},
{
"type": "line",
"start": [
-14.032081967,
8.719196462
],
"end": [
-14.032081967,
-8.719196462
]
},
{
"type": "line",
"start": [
-14.032081967,
-8.719196462
],
"end": [
-12.830064801,
-8.719196462
]
},
{
"type": "line",
"start": [
-12.830064801,
-8.719196462
],
"end": [
-12.830064801,
8.719196462
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-30.890201833,
1.2
],
"end": [
-34.067239308,
11.986374426
]
},
{
"type": "line",
"start": [
-34.067239308,
11.986374426
],
"end": [
-44.935171884,
11.986374426
]
},
{
"type": "line",
"start": [
-44.935171884,
11.986374426
],
"end": [
-44.935171884,
10.786374426
]
},
{
"type": "line",
"start": [
-44.935171884,
10.786374426
],
"end": [
-34.96475963,
10.786374426
]
},
{
"type": "line",
"start": [
-34.96475963,
10.786374426
],
"end": [
-32.041308198,
0.86095113
]
},
{
"type": "line",
"start": [
-32.041308198,
0.86095113
],
"end": [
-31.787722155,
0.0
]
},
{
"type": "line",
"start": [
-31.787722155,
0.0
],
"end": [
-30.890201833,
0.0
]
},
{
"type": "line",
"start": [
-30.890201833,
0.0
],
"end": [
-30.890201833,
1.2
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
1.2,
-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": "circles",
"items": [
{
"center": [
-20.254870289,
10.719196462
],
"radius_mm": 0.6
},
{
"center": [
-16.367152012,
5.566665341
],
"radius_mm": 0.6
},
{
"center": [
-20.254870289,
7.719196462
],
"radius_mm": 0.6
},
{
"center": [
-20.254870289,
4.719196462
],
"radius_mm": 0.6
},
{
"center": [
-20.254870289,
1.719196462
],
"radius_mm": 0.6
},
{
"center": [
-20.254870289,
-1.280803538
],
"radius_mm": 0.6
},
{
"center": [
-20.254870289,
-4.280803538
],
"radius_mm": 0.6
},
{
"center": [
-20.254870289,
-7.280803538
],
"radius_mm": 0.6
},
{
"center": [
-20.254870289,
-10.280803538
],
"radius_mm": 0.6
},
{
"center": [
-16.367152012,
2.566665341
],
"radius_mm": 0.6
},
{
"center": [
-16.367152012,
-0.433334659
],
"radius_mm": 0.6
},
{
"center": [
-16.367152012,
-3.433334659
],
"radius_mm": 0.6
},
{
"center": [
-16.367152012,
-6.433334659
],
"radius_mm": 0.6
}
]
}
},
{
"id": "sk_006",
"name": "Sketch5",
"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": "circles",
"items": [
{
"center": [
-7.5,
0.0
],
"radius_mm": 2.5
},
{
"center": [
-7.5,
-4.0
],
"radius_mm": 0.6
},
{
"center": [
-7.5,
4.0
],
"radius_mm": 0.6
}
]
}
},
{
"id": "sk_007",
"name": "Sketch6",
"role": "profile",
"workplane": {
"origin_mm": [
11.986374426,
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": "circles",
"items": [
{
"center": [
-37.181694279,
11.263938055
],
"radius_mm": 0.6
},
{
"center": [
-37.181694279,
-11.274528046
],
"radius_mm": 0.6
},
{
"center": [
-42.181694279,
11.263938055
],
"radius_mm": 0.6
},
{
"center": [
-42.181694279,
-11.274528046
],
"radius_mm": 0.6
}
]
}
}
]
},
"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": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 1.2,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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_005",
"name": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.2,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Boss-Extrude3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.12,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.2,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_010",
"name": "Cut-Extrude2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.2,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_007",
"name": "Mirror2",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_006",
"f_002"
],
"params": {
"source_feature_ids": [
"f_006"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_012",
"name": "Fillet2",
"atomic_id": "fillet",
"depends_on": [
"f_005"
],
"params": {
"radius_mm": 3.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_006",
"f_007"
],
"params": {
"radius_mm": 1.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "Cut-Extrude3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
}
],
"meta": {
"unit": "mm",
"source": "044545.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0008807193474532318,
"volume": 8.807193474532318e-07,
"surface_area": 0.0018124702041106267,
"center_of_mass": [
-0.024114328718467914,
6.692178093235328e-07,
0.004059165365880703
],
"principal_moments": [
7.908077083392084e-08,
9.08570763498783e-08,
1.466631177260859e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0449351718841626,
-0.01383452804648193,
0.0,
-0.012830064801246696,
0.01383452804648193,
0.011986374426101452
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Fillet2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABsAAAAawAAAGoAAABpAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "513ac355fc31514ec0db9fb4914c9b91c4c96bcf44494d2ac971877693f98692",
"component": null,
"geometry": {
"box": [
-0.0449351718841626,
-0.01383452804648193,
0.0,
-0.012830064801246696,
0.01383452804648193,
0.011986374426101452
],
"face_count": 60,
"edge_count": 152,
"vertex_count": 74
},
"stable_id": "513ac355fc31514ec0db9fb4914c9b91c4c96bcf44494d2ac971877693f98692"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 80,
"surface_counts": {
"cylinder": 52,
"plane": 28
},
"axis_count": 52,
"repeat_spacings_mm": [
{
"spacing_mm": 3.0,
"pair_count": 11
},
{
"spacing_mm": 6.0,
"pair_count": 9
},
{
"spacing_mm": 9.0,
"pair_count": 7
},
{
"spacing_mm": 12.0,
"pair_count": 5
},
{
"spacing_mm": 6.4547,
"pair_count": 5
},
{
"spacing_mm": 5.4697,
"pair_count": 5
},
{
"spacing_mm": 3.979,
"pair_count": 5
},
{
"spacing_mm": 4.4438,
"pair_count": 5
},
{
"spacing_mm": 9.0321,
"pair_count": 4
},
{
"spacing_mm": 7.8741,
"pair_count": 4
},
{
"spacing_mm": 11.8107,
"pair_count": 3
},
{
"spacing_mm": 15.0,
"pair_count": 3
}
],
"metrics": {
"bounding_box_mm": [
-44.935171884,
-13.834528046,
0.0,
-12.830064801,
13.834528046,
11.986374426
],
"volume_mm3": 880.719347453,
"surface_area_mm2": 1812.470204111,
"solid_count": 1,
"face_count": 80,
"edge_count": 232,
"vertex_count": 154
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-44.935171884,
-13.834528046,
0.0,
-12.830064801,
13.834528046,
11.986374426
],
"volume_mm3": 880.719347453,
"surface_area_mm2": 1812.470204111,
"solid_count": 1,
"face_count": 60,
"edge_count": 152,
"vertex_count": 74
},
"comparisons": {
"volume_mm3": {
"expected": 880.719347453,
"actual": 880.719347453,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1812.470204111,
"actual": 1812.470204111,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-44.935171884,
-13.834528046,
0.0,
-12.830064801,
13.834528046,
11.986374426
],
"actual": [
-44.935171884,
-13.834528046,
0.0,
-12.830064801,
13.834528046,
11.986374426
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 60,
"actual": 80,
"matches": false
},
"edge_count": {
"expected": 152,
"actual": 232,
"matches": false
},
"vertex_count": {
"expected": 74,
"actual": 154,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}