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

897 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "163276",
"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": [
9.7989005,
10.5
],
"end": [
9.7989005,
12.5
]
},
{
"type": "line",
"start": [
9.7989005,
12.5
],
"end": [
24.7989005,
12.5
]
},
{
"type": "line",
"start": [
24.7989005,
12.5
],
"end": [
24.7989005,
13.5
]
},
{
"type": "line",
"start": [
24.7989005,
13.5
],
"end": [
109.7989005,
13.5
]
},
{
"type": "line",
"start": [
109.7989005,
13.5
],
"end": [
109.7989005,
12.5
]
},
{
"type": "line",
"start": [
109.7989005,
12.5
],
"end": [
124.7989005,
12.5
]
},
{
"type": "line",
"start": [
124.7989005,
12.5
],
"end": [
124.7989005,
10.5
]
},
{
"type": "line",
"start": [
124.7989005,
10.5
],
"end": [
94.7989005,
10.5
]
},
{
"type": "line",
"start": [
94.7989005,
10.5
],
"end": [
94.7989005,
9.0
]
},
{
"type": "line",
"start": [
94.7989005,
9.0
],
"end": [
69.7989005,
9.0
]
},
{
"type": "line",
"start": [
69.7989005,
9.0
],
"end": [
69.7989005,
10.5
]
},
{
"type": "line",
"start": [
69.7989005,
10.5
],
"end": [
9.7989005,
10.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
118.82892015,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 9.0,
"outer_radius_mm": 10.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": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "05967160eebf5028112cd3269854ffcb8b2ee0bbf6c92ae3fb0e10b34158a098",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.11882892015005356,
0.0,
0.0
]
}
}
]
},
{
"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_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 30.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 13.5,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
35.7989005,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 13.5,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
9.7989005,
10.5,
0.0
],
"x_dir": [
0.0,
0.0,
-1.0
],
"normal": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 1,
"references": [
{
"kind": "feature",
"stable_id": "9b631bc14c03712f6b735a8ccc13391c3f82097ba4c433b1da574ad0ba1fa854",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "f78bbd2416893779fcc1308ddc64b3a817f4678daa1351774c747ac436ac6957",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
0.0,
0.0,
0.009798900500178648,
0.010499999999999992,
0.0
]
},
"box": [
0.009798900500178648,
-0.012499999999999994,
-0.012499999999999994,
0.00979890050017865,
0.012499999999999994,
0.012499999999999994
],
"area": 0.00014451326206513053
}
},
{
"kind": "face",
"stable_id": "33dd7c7f7e8ed7b7ce5bc2c78282f29368e4c84bbcb8f09451751301e3f1a239",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
0.0,
0.12479890050017865,
0.012499999999999994,
0.0
]
},
"box": [
0.12479890050017865,
-0.012499999999999994,
-0.012499999999999994,
0.12479890050017865,
0.012499999999999994,
0.012499999999999994
],
"area": 0.0001445132620651296
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "9b631bc14c03712f6b735a8ccc13391c3f82097ba4c433b1da574ad0ba1fa854",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "f78bbd2416893779fcc1308ddc64b3a817f4678daa1351774c747ac436ac6957",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
0.0,
0.0,
0.009798900500178648,
0.010499999999999992,
0.0
]
},
"box": [
0.009798900500178648,
-0.012499999999999994,
-0.012499999999999994,
0.00979890050017865,
0.012499999999999994,
0.012499999999999994
],
"area": 0.00014451326206513053
}
},
{
"kind": "face",
"stable_id": "33dd7c7f7e8ed7b7ce5bc2c78282f29368e4c84bbcb8f09451751301e3f1a239",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
0.0,
0.12479890050017865,
0.012499999999999994,
0.0
]
},
"box": [
0.12479890050017865,
-0.012499999999999994,
-0.012499999999999994,
0.12479890050017865,
0.012499999999999994,
0.012499999999999994
],
"area": 0.0001445132620651296
}
}
]
},
{
"id": "f_010",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.3,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "镜向1",
"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_009",
"name": "镜向2",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_008",
"f_007",
"f_006"
],
"params": {
"source_feature_ids": [
"f_007",
"f_006"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "5b65a189a4624b19c03471a200e1c4c0c4b44be929eb210c4231735080444efb",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "5b65a189a4624b19c03471a200e1c4c0c4b44be929eb210c4231735080444efb",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
}
]
}
],
"meta": {
"unit": "mm",
"source": "163276.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.028492503881439826,
"volume": 2.8492503881439826e-05,
"surface_area": 0.017246499601613823,
"center_of_mass": [
0.06729889898097335,
1.6148781365345213e-19,
-3.5895880970272716e-19
],
"principal_moments": [
3.854862960609018e-06,
2.5531229412791684e-05,
2.554598534185195e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.009798900500178634,
-0.013499999999999998,
-0.013499999999999998,
0.12479890050017865,
0.013499999999999998,
0.013499999999999998
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83",
"component": null,
"geometry": {
"box": [
0.009798900500178648,
-0.013499999999999998,
-0.013499999999999998,
0.12479890050017865,
0.013499999999999998,
0.013499999999999998
],
"face_count": 22,
"edge_count": 26,
"vertex_count": 0
},
"stable_id": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 38,
"surface_counts": {
"cone": 12,
"cylinder": 20,
"plane": 6
},
"axis_count": 32,
"repeat_spacings_mm": [
{
"spacing_mm": 0.3,
"pair_count": 2
},
{
"spacing_mm": 15.0,
"pair_count": 2
},
{
"spacing_mm": 99.7,
"pair_count": 2
},
{
"spacing_mm": 114.7,
"pair_count": 2
},
{
"spacing_mm": 89.0,
"pair_count": 2
},
{
"spacing_mm": 26.0,
"pair_count": 2
},
{
"spacing_mm": 88.7,
"pair_count": 2
},
{
"spacing_mm": 25.7,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
9.7989005,
-13.5000001,
-13.5000001,
124.7989005,
13.5000001,
13.5000001
],
"volume_mm3": 28492.503329133,
"surface_area_mm2": 17246.484715001,
"solid_count": 1,
"face_count": 38,
"edge_count": 84,
"vertex_count": 52
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
9.7989005,
-13.5,
-13.5,
124.7989005,
13.5,
13.5
],
"volume_mm3": 28492.50388144,
"surface_area_mm2": 17246.499601614,
"solid_count": 1,
"face_count": 22,
"edge_count": 26,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 28492.50388144,
"actual": 28492.503329133,
"absolute_delta": 0.0005523069994524121,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 17246.499601614,
"actual": 17246.484715001,
"absolute_delta": 0.014886613000271609,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
9.7989005,
-13.5,
-13.5,
124.7989005,
13.5,
13.5
],
"actual": [
9.7989005,
-13.5000001,
-13.5000001,
124.7989005,
13.5000001,
13.5000001
],
"max_absolute_delta": 9.99999993922529e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 22,
"actual": 38,
"matches": false
},
"edge_count": {
"expected": 26,
"actual": 84,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 52,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}