Files
cdsl-cad/json_to_cdsl/output/bolt_m2-4_4.cdsl.json
T
2026-08-24 14:52:08 +08:00

727 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "bolt_m2-4_4",
"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": [
-1.2,
0.0
],
"end": [
-1.2,
4.0
]
},
{
"type": "line",
"start": [
-1.2,
4.0
],
"end": [
-2.1,
4.0
]
},
{
"type": "line",
"start": [
-2.1,
4.0
],
"end": [
-2.1,
5.3
]
},
{
"type": "line",
"start": [
-2.1,
5.3
],
"end": [
0.0,
5.3
]
},
{
"type": "line",
"start": [
0.0,
5.3
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-1.2,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-188.693462436,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
152.322113879
]
},
{
"type": "line",
"start": [
-1.2,
4.0
],
"end": [
-2.1,
5.3
]
}
]
}
},
{
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-1.8,
-0.4
],
"end": [
-1.8,
0.4
]
},
{
"type": "line",
"start": [
-1.8,
0.4
],
"end": [
-0.4,
0.4
]
},
{
"type": "line",
"start": [
-0.4,
0.4
],
"end": [
-0.4,
1.8
]
},
{
"type": "line",
"start": [
-0.4,
1.8
],
"end": [
0.4,
1.8
]
},
{
"type": "line",
"start": [
0.4,
1.8
],
"end": [
0.4,
0.4
]
},
{
"type": "line",
"start": [
0.4,
0.4
],
"end": [
1.8,
0.4
]
},
{
"type": "line",
"start": [
1.8,
0.4
],
"end": [
1.8,
-0.4
]
},
{
"type": "line",
"start": [
1.8,
-0.4
],
"end": [
0.4,
-0.4
]
},
{
"type": "line",
"start": [
0.4,
-0.4
],
"end": [
0.4,
-1.8
]
},
{
"type": "line",
"start": [
0.4,
-1.8
],
"end": [
-0.4,
-1.8
]
},
{
"type": "line",
"start": [
-0.4,
-1.8
],
"end": [
-0.4,
-0.4
]
},
{
"type": "line",
"start": [
-0.4,
-0.4
],
"end": [
-1.8,
-0.4
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-3.676898574,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
3.420681985
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Спереди",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_001"
},
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"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": [
0.0,
1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "1f6f09173ae0e617467dfe165b1c807785b7791c8e5a6eabbc19a05c760671f6",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.15232211387940695,
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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "Вырез-Вытянуть1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_006",
"name": "Скругление1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 0.3,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0101_螺栓/010199_通用螺栓/bolt_m2.4_4.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0002512114587999116,
"volume": 3.220659728203995e-08,
"surface_area": 8.739596955231959e-05,
"center_of_mass": [
4.20802925345194e-20,
0.003137848388682479,
5.3832421472171806e-20
],
"principal_moments": [
3.738283908918771e-10,
8.068125313036215e-10,
8.068125313036215e-10
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0021000000000000003,
0.0,
-0.0021000000000000003,
0.0021000000000000003,
0.005309268398156966,
0.0021000000000000003
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Скругление1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABoAAAAZwAAAA==",
"persist_reference_sha256": "1050a32668759db74b8672ca6e74728773eb34b8a8beec7335c3a50d4fd5217d",
"component": null,
"geometry": {
"box": [
-0.0021000000000000003,
0.0,
-0.0021000000000000003,
0.0021000000000000003,
0.005309268398156966,
0.0021000000000000003
],
"face_count": 21,
"edge_count": 71,
"vertex_count": 45
},
"stable_id": "1050a32668759db74b8672ca6e74728773eb34b8a8beec7335c3a50d4fd5217d"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 24,
"surface_counts": {
"cylinder": 4,
"plane": 18,
"torus": 2
},
"axis_count": 4,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-2.1000001,
-1e-07,
-2.1000001,
2.1000001,
5.300092495,
2.1000001
],
"volume_mm3": 32.206432608,
"surface_area_mm2": 87.396194409,
"solid_count": 1,
"face_count": 24,
"edge_count": 78,
"vertex_count": 49
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-2.1,
0.0,
-2.1,
2.1,
5.309268398,
2.1
],
"volume_mm3": 32.206597282,
"surface_area_mm2": 87.395969552,
"solid_count": 1,
"face_count": 21,
"edge_count": 71,
"vertex_count": 45
},
"comparisons": {
"volume_mm3": {
"expected": 32.206597282,
"actual": 32.206432608,
"absolute_delta": 0.00016467399999697818,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 87.395969552,
"actual": 87.396194409,
"absolute_delta": 0.0002248570000062955,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-2.1,
0.0,
-2.1,
2.1,
5.309268398,
2.1
],
"actual": [
-2.1000001,
-1e-07,
-2.1000001,
2.1000001,
5.300092495,
2.1000001
],
"max_absolute_delta": 0.00917590300000004,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 21,
"actual": 24,
"matches": false
},
"edge_count": {
"expected": 71,
"actual": 78,
"matches": false
},
"vertex_count": {
"expected": 45,
"actual": 49,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}