Files
cdsl-cad/json_to_cdsl/output/M16-c544edeb9a.cdsl.json
T
2026-08-24 14:52:08 +08:00

469 lines
10 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "M16-c544edeb9a",
"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,
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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 8.5,
"outer_radius_mm": 11.6
}
},
{
"id": "sk_003",
"name": "草图3",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-1.787833793,
0.932561561
],
"end": [
1.832303573,
-3.404772831
]
},
{
"type": "line",
"start": [
1.832303573,
-3.404772831
],
"end": [
3.851254223,
-3.404772831
]
},
{
"type": "line",
"start": [
3.851254223,
-3.404772831
],
"end": [
0.231116857,
0.932561561
]
},
{
"type": "line",
"start": [
0.231116857,
0.932561561
],
"end": [
-1.787833793,
0.932561561
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.778358468,
0.932561561
],
"end": [
2.841778898,
-3.404772831
]
}
]
}
}
]
},
"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_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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 2.5,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0104_垫圈/010499_通用垫圈/垫圈(M16).solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.00047358807236384755,
"volume": 4.7358807236384754e-07,
"surface_area": 0.0007048104218815356,
"center_of_mass": [
-0.00033204176015103824,
-0.0012498410569803313,
3.5049798574613625e-05
],
"principal_moments": [
2.3900178989911497e-08,
2.553747345765097e-08,
4.894436139179764e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.011600000000000001,
-0.0025,
-0.011600000000000001,
0.011600000000000001,
0.0,
0.011600000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
-0.011600000000000001,
-0.0025,
-0.011600000000000001,
0.011600000000000001,
0.0,
0.011600000000000001
],
"face_count": 6,
"edge_count": 12,
"vertex_count": 8
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 10,
"surface_counts": {
"cylinder": 6,
"plane": 4
},
"axis_count": 6,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-11.6,
-2.5000001,
-11.6000001,
11.6000001,
1e-07,
11.6000001
],
"volume_mm3": 473.58807254,
"surface_area_mm2": 704.810421945,
"solid_count": 1,
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-11.6,
-2.5,
-11.6,
11.6,
0.0,
11.6
],
"volume_mm3": 473.588072364,
"surface_area_mm2": 704.810421882,
"solid_count": 1,
"face_count": 6,
"edge_count": 12,
"vertex_count": 8
},
"comparisons": {
"volume_mm3": {
"expected": 473.588072364,
"actual": 473.58807254,
"absolute_delta": 1.7599995771888644e-07,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 704.810421882,
"actual": 704.810421945,
"absolute_delta": 6.300001587078441e-08,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-11.6,
-2.5,
-11.6,
11.6,
0.0,
11.6
],
"actual": [
-11.6,
-2.5000001,
-11.6000001,
11.6000001,
1e-07,
11.6000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 6,
"actual": 10,
"matches": false
},
"edge_count": {
"expected": 12,
"actual": 24,
"matches": false
},
"vertex_count": {
"expected": 8,
"actual": 16,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}