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

808 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "064259",
"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": [
470.629261061,
145.086276564
],
"end": [
468.990038511,
146.529881264
],
"center": [
468.702309247,
144.550686511
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
468.990038511,
146.529881264
],
"end": [
454.071632406,
148.698673394
]
},
{
"type": "arc",
"start": [
454.071632406,
148.698673394
],
"end": [
453.352309247,
148.750686511
],
"center": [
453.352309247,
143.750686511
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
453.352309247,
148.750686511
],
"end": [
431.352309247,
148.750686511
]
},
{
"type": "line",
"start": [
431.352309247,
148.750686511
],
"end": [
409.352309247,
148.750686511
]
},
{
"type": "arc",
"start": [
409.352309247,
148.750686511
],
"end": [
408.632986088,
148.698673394
],
"center": [
409.352309247,
143.750686511
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
408.632986088,
148.698673394
],
"end": [
393.714579983,
146.529881264
]
},
{
"type": "arc",
"start": [
393.714579983,
146.529881264
],
"end": [
392.075357433,
145.086276564
],
"center": [
394.002309247,
144.550686511
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
392.075357433,
145.086276564
],
"end": [
390.38883334,
139.018481538
]
},
{
"type": "arc",
"start": [
390.38883334,
139.018481538
],
"end": [
391.352309247,
137.750686511
],
"center": [
391.352309247,
138.750686511
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
391.352309247,
137.750686511
],
"end": [
393.002309247,
137.750686511
]
},
{
"type": "arc",
"start": [
393.002309247,
137.750686511
],
"end": [
394.002309247,
138.750686511
],
"center": [
393.002309247,
138.750686511
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
394.002309247,
138.750686511
],
"end": [
394.002309247,
142.934823951
]
},
{
"type": "arc",
"start": [
394.002309247,
142.934823951
],
"end": [
394.843417952,
143.922120035
],
"center": [
395.002309247,
142.934823951
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
394.843417952,
143.922120035
],
"end": [
412.419161241,
146.750686511
]
},
{
"type": "line",
"start": [
412.419161241,
146.750686511
],
"end": [
431.352309247,
146.750686511
]
},
{
"type": "line",
"start": [
431.352309247,
146.750686511
],
"end": [
450.285457253,
146.750686511
]
},
{
"type": "line",
"start": [
450.285457253,
146.750686511
],
"end": [
467.861200541,
143.922120035
]
},
{
"type": "arc",
"start": [
467.861200541,
143.922120035
],
"end": [
468.702309247,
142.934823951
],
"center": [
467.702309247,
142.934823951
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
468.702309247,
142.934823951
],
"end": [
468.702309247,
138.750686511
]
},
{
"type": "arc",
"start": [
468.702309247,
138.750686511
],
"end": [
469.702309247,
137.750686511
],
"center": [
469.702309247,
138.750686511
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
469.702309247,
137.750686511
],
"end": [
471.352309247,
137.750686511
]
},
{
"type": "arc",
"start": [
471.352309247,
137.750686511
],
"end": [
472.315785154,
139.018481538
],
"center": [
471.352309247,
138.750686511
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
472.315785154,
139.018481538
],
"end": [
470.629261061,
145.086276564
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
416.352309247,
-577.0
],
"radius_mm": 2.1
},
{
"center": [
446.352309247,
-577.0
],
"radius_mm": 2.1
},
{
"center": [
416.352309247,
-6.0
],
"radius_mm": 2.1
},
{
"center": [
446.352309247,
-6.0
],
"radius_mm": 2.1
}
]
}
}
]
},
"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": 583.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": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "064259.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.12686196118737775,
"volume": 0.00012686196118737774,
"surface_area": 0.10979951438123706,
"center_of_mass": [
0.4313523092469238,
0.14587853647384033,
0.2915
],
"principal_moments": [
9.359956619620752e-05,
0.0035882776631939823,
0.0036800293606883763
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.3903523092469236,
0.13775068651119526,
0.0,
0.4723523092469249,
0.14875068651119527,
0.583
],
"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.39035230924692366,
0.13775068651119526,
0.0,
0.4723523092469249,
0.14875068651119527,
0.583
],
"face_count": 28,
"edge_count": 74,
"vertex_count": 44
},
"stable_id": "3a27ca3aaad56ef866f3b65e70e3f1214ca09973643e9534c8ef1bc183826b68"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 33,
"surface_counts": {
"cylinder": 19,
"plane": 14
},
"axis_count": 19,
"repeat_spacings_mm": [
{
"spacing_mm": 30.0,
"pair_count": 2
},
{
"spacing_mm": 571.0,
"pair_count": 2
},
{
"spacing_mm": 571.7875,
"pair_count": 2
},
{
"spacing_mm": 579.6154,
"pair_count": 2
},
{
"spacing_mm": 577.4618,
"pair_count": 2
},
{
"spacing_mm": 577.0641,
"pair_count": 2
},
{
"spacing_mm": 578.2067,
"pair_count": 2
},
{
"spacing_mm": 579.399,
"pair_count": 2
},
{
"spacing_mm": 579.4611,
"pair_count": 2
},
{
"spacing_mm": 579.2955,
"pair_count": 2
},
{
"spacing_mm": 577.41,
"pair_count": 2
},
{
"spacing_mm": 577.4723,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
390.352309247,
137.750686511,
0.0,
472.352309247,
148.750686511,
583.0
],
"volume_mm3": 126861.961187379,
"surface_area_mm2": 109799.514381237,
"solid_count": 1,
"face_count": 33,
"edge_count": 93,
"vertex_count": 62
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
390.352309247,
137.750686511,
0.0,
472.352309247,
148.750686511,
583.0
],
"volume_mm3": 126861.961187378,
"surface_area_mm2": 109799.514381237,
"solid_count": 1,
"face_count": 28,
"edge_count": 74,
"vertex_count": 44
},
"comparisons": {
"volume_mm3": {
"expected": 126861.961187378,
"actual": 126861.961187379,
"absolute_delta": 1.0040821507573128e-09,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 109799.514381237,
"actual": 109799.514381237,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
390.352309247,
137.750686511,
0.0,
472.352309247,
148.750686511,
583.0
],
"actual": [
390.352309247,
137.750686511,
0.0,
472.352309247,
148.750686511,
583.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 28,
"actual": 33,
"matches": false
},
"edge_count": {
"expected": 74,
"actual": 93,
"matches": false
},
"vertex_count": {
"expected": 44,
"actual": 62,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}