Files
cdsl-cad/json_to_cdsl/output/BK-Lock-Nut.cdsl.json
T
2026-08-24 14:52:08 +08:00

768 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "BK-Lock-Nut",
"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": "BK Lock Nut Body Sketch",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 9.5
}
},
{
"id": "sk_003",
"name": "BK Lock Nut Flange Sketch",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 6.5
}
},
{
"id": "sk_004",
"name": "BK Lock Nut M Hole Sketch",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 4.46
}
},
{
"id": "sk_005",
"name": "BK Lock Nut Square Sketch",
"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": [
-8.0,
8.0
],
"end": [
8.0,
8.0
]
},
{
"type": "line",
"start": [
8.0,
8.0
],
"end": [
8.0,
-8.0
]
},
{
"type": "line",
"start": [
8.0,
-8.0
],
"end": [
-8.0,
-8.0
]
},
{
"type": "line",
"start": [
-8.0,
-8.0
],
"end": [
-8.0,
8.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-8.0,
8.0
],
"end": [
8.0,
-8.0
]
},
{
"type": "line",
"start": [
-8.0,
-8.0
],
"end": [
8.0,
8.0
]
}
]
}
}
]
},
"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": "BK Lock Nut Body",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 8.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"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": "BK Lock Nut Flange",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 0.5,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "BK Lock Nut M Hole",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 0.5,
"reverse": true,
"end_condition": {
"type": "through_next",
"solidworks_code": 9
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "BK Lock Nut Square",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_009",
"name": "BK Lock M",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"hole_type": "Tapped hole",
"diameter_mm": 3.9,
"depth_mm": 5.216340502,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
6.786938765,
6.647365057,
5.5
]
}
],
"thread": {
"diameter_mm": 3.9,
"depth_mm": 5.216340502,
"class": "2B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-e2c4453d02b35d5dc81c1b76",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
5.123475283,
5.123475283,
0.7499999,
8.0000001,
8.0000001,
7.7500001
],
"center_mm": [
6.717514421,
6.717514421,
4.25
],
"normal": [
0.707106781,
0.707106781,
-0.0
],
"surface_type": "cylinder",
"axis": {
"origin_mm": [
0.0,
0.0,
8.0
],
"direction": [
-0.0,
-0.0,
-1.0
],
"surface_type": "cylinder",
"radius_mm": 9.5
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-e2c4453d02b35d5dc81c1b76",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
5.123475283,
5.123475283,
0.7499999,
8.0000001,
8.0000001,
7.7500001
],
"center_mm": [
6.717514421,
6.717514421,
4.25
],
"normal": [
0.707106781,
0.707106781,
-0.0
],
"surface_type": "cylinder",
"axis": {
"origin_mm": [
0.0,
0.0,
8.0
],
"direction": [
-0.0,
-0.0,
-1.0
],
"surface_type": "cylinder",
"radius_mm": 9.5
}
}
}
]
},
{
"id": "f_007",
"name": "Thread Chamfer",
"atomic_id": "chamfer",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "Production Fillet",
"atomic_id": "fillet",
"depends_on": [
"f_005"
],
"params": {
"radius_mm": 0.1,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "Aesthetic Chamfer",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_008",
"f_005"
],
"params": {
"distance_mm": 0.25,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010307_GBT889六角锁紧螺母/BK Lock Nut.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.009955956065154177,
"volume": 1.276404623737715e-06,
"surface_area": 0.0011271142168089374,
"center_of_mass": [
-9.51142577836507e-05,
-9.722345219709033e-05,
0.004134330113017403
],
"principal_moments": [
2.933144312347526e-07,
3.0359048887485433e-07,
5.007259450709355e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.00799999999999999,
-0.008000000000000002,
0.0,
0.008000000000000007,
0.007999999999999998,
0.008
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Aesthetic Chamfer",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABpAAAAaAAAAGoAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "edbca8a875aa0673e77aebd198434aa0add68119f009982dbea96f2e0b87a9d8",
"component": null,
"geometry": {
"box": [
-0.00799999999999999,
-0.008000000000000002,
0.0,
0.008000000000000007,
0.007999999999999998,
0.008
],
"face_count": 48,
"edge_count": 109,
"vertex_count": 62
},
"stable_id": "edbca8a875aa0673e77aebd198434aa0add68119f009982dbea96f2e0b87a9d8"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 70,
"surface_counts": {
"bspline": 11,
"cone": 18,
"cylinder": 24,
"plane": 15,
"torus": 2
},
"axis_count": 42,
"repeat_spacings_mm": [
{
"spacing_mm": 0.25,
"pair_count": 3
},
{
"spacing_mm": 0.5,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-8.0000001,
-8.0000001,
-1e-07,
8.0000001,
8.0000001,
8.0000001
],
"volume_mm3": 1276.283915824,
"surface_area_mm2": 1127.194278064,
"solid_count": 1,
"face_count": 70,
"edge_count": 180,
"vertex_count": 112
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-8.0,
-8.0,
0.0,
8.0,
8.0,
8.0
],
"volume_mm3": 1276.404623738,
"surface_area_mm2": 1127.114216809,
"solid_count": 1,
"face_count": 48,
"edge_count": 109,
"vertex_count": 62
},
"comparisons": {
"volume_mm3": {
"expected": 1276.404623738,
"actual": 1276.283915824,
"absolute_delta": 0.12070791400014969,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1127.114216809,
"actual": 1127.194278064,
"absolute_delta": 0.08006125499991867,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-8.0,
-8.0,
0.0,
8.0,
8.0,
8.0
],
"actual": [
-8.0000001,
-8.0000001,
-1e-07,
8.0000001,
8.0000001,
8.0000001
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 48,
"actual": 70,
"matches": false
},
"edge_count": {
"expected": 109,
"actual": 180,
"matches": false
},
"vertex_count": {
"expected": 62,
"actual": 112,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}