Files
cdsl-cad/json_to_cdsl/output/M10x1-5_hexagon-slotted-nut.cdsl.json
2026-08-24 14:52:08 +08:00

1238 lines
28 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "M10x1-5_hexagon-slotted-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": "BaseNutSke",
"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.5,
4.907477288
],
"end": [
8.5,
-4.907477288
]
},
{
"type": "line",
"start": [
8.5,
-4.907477288
],
"end": [
-0.0,
-9.814954576
]
},
{
"type": "line",
"start": [
-0.0,
-9.814954576
],
"end": [
-8.5,
-4.907477288
]
},
{
"type": "line",
"start": [
-8.5,
-4.907477288
],
"end": [
-8.5,
4.907477288
]
},
{
"type": "line",
"start": [
-8.5,
4.907477288
],
"end": [
0.0,
9.814954576
]
},
{
"type": "line",
"start": [
0.0,
9.814954576
],
"end": [
8.5,
4.907477288
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 4.4
}
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch3",
"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": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
12.0,
8.5
],
"end": [
11.240810621,
9.814954576
]
},
{
"type": "line",
"start": [
11.240810621,
9.814954576
],
"end": [
11.240810621,
19.814954576
]
},
{
"type": "line",
"start": [
11.240810621,
19.814954576
],
"end": [
22.0,
19.814954576
]
},
{
"type": "line",
"start": [
22.0,
19.814954576
],
"end": [
22.0,
8.5
]
},
{
"type": "line",
"start": [
22.0,
8.5
],
"end": [
12.0,
8.5
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.759189379,
19.814954576
],
"end": [
-10.0,
19.814954576
]
},
{
"type": "line",
"start": [
-10.0,
19.814954576
],
"end": [
-10.0,
8.5
]
},
{
"type": "line",
"start": [
-10.0,
8.5
],
"end": [
0.0,
8.5
]
},
{
"type": "line",
"start": [
0.0,
8.5
],
"end": [
0.759189379,
9.814954576
]
},
{
"type": "line",
"start": [
0.759189379,
9.814954576
],
"end": [
0.759189379,
19.814954576
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
38.67758982,
0.0
]
},
{
"type": "line",
"start": [
6.0,
9.814954576
],
"end": [
6.0,
44.222045256
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch5",
"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": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
11.9746,
5.0
],
"end": [
11.512463025,
4.34
]
},
{
"type": "line",
"start": [
11.512463025,
4.34
],
"end": [
12.0254,
4.34
]
},
{
"type": "line",
"start": [
12.0254,
4.34
],
"end": [
12.0254,
5.0
]
},
{
"type": "line",
"start": [
12.0254,
5.0
],
"end": [
11.9746,
5.0
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-0.0508,
5.0
],
"end": [
-0.0,
5.0
]
},
{
"type": "line",
"start": [
-0.0,
5.0
],
"end": [
0.462136975,
4.34
]
},
{
"type": "line",
"start": [
0.462136975,
4.34
],
"end": [
-0.0508,
4.34
]
},
{
"type": "line",
"start": [
-0.0508,
4.34
],
"end": [
-0.0508,
5.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
25.037505729,
0.0
],
"end": [
38.38795306,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "SltSke",
"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": "arc",
"start": [
2.75,
-1.25
],
"end": [
2.75,
1.25
],
"center": [
2.75,
0.0
],
"radius_mm": 1.25,
"clockwise": false
},
{
"type": "line",
"start": [
2.75,
1.25
],
"end": [
-1.0,
1.25
]
},
{
"type": "line",
"start": [
-1.0,
1.25
],
"end": [
-1.0,
-1.25
]
},
{
"type": "line",
"start": [
-1.0,
-1.25
],
"end": [
2.75,
-1.25
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-4.530274407,
0.0
],
"end": [
31.75,
0.0
]
},
{
"type": "line",
"start": [
4.0,
6.35
],
"end": [
4.0,
-6.35
]
}
]
}
},
{
"id": "sk_006",
"name": "ThdSchSke",
"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": [
-5.0,
0.0254
],
"end": [
-4.4,
0.445524523
]
},
{
"type": "line",
"start": [
-4.4,
0.445524523
],
"end": [
-2.2,
0.445524523
]
},
{
"type": "line",
"start": [
-2.2,
0.445524523
],
"end": [
-2.2,
-0.394724523
]
},
{
"type": "line",
"start": [
-2.2,
-0.394724523
],
"end": [
-4.4,
-0.394724523
]
},
{
"type": "line",
"start": [
-4.4,
-0.394724523
],
"end": [
-5.0,
0.0254
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-3.175,
1.25
],
"end": [
3.175,
1.25
]
},
{
"type": "line",
"start": [
0.0,
1.25
],
"end": [
0.0,
-2.987409574
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Plane1",
"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": "Plane2",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_006"
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "BaseNut",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 12.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_003",
"name": "Plane3",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_003"
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "ThreadSchematic",
"atomic_id": "revolve_cut",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
1.25,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"selectors": [
{
"kind": "axis",
"stable_id": "b75807f3192495b32a699259799a8c88cbc2440f5424503b84a801e95cf1399b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0012499999999999994,
0.0
],
"end": [
0.0,
-0.00298740957434266,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "Double-Chamfer",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004"
],
"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_003",
"selectors": [
{
"kind": "axis",
"stable_id": "8440f723243df9fac78516d5733f76015157848213348f9226f42afb4d2f471b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.03867758982037291,
0.0,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "EndChamfer",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
25.037505729,
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_004",
"selectors": [
{
"kind": "axis",
"stable_id": "943d5ce4fe78b55b22eabc0e1da8c7eaac5ee84cd0457994c6e039ebd6ef14c5",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.025037505729093173,
0.0,
0.0
],
"end": [
0.038387953059621636,
0.0,
0.0
]
}
}
]
},
{
"id": "f_009",
"name": "ThdSchPat",
"atomic_id": "pattern_linear",
"depends_on": [
"f_008"
],
"params": {
"source_feature_ids": [
"f_008"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 1.19492,
"pattern_count_1": 11
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "Slot",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004",
"f_005"
],
"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",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010399_通用螺母/M10x1.5_hexagon slotted 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.0020244067983774447,
"volume": 2.0244067983774446e-06,
"surface_area": 0.0014464757736236318,
"center_of_mass": [
8.310875577821325e-11,
1.2537945488138491e-09,
-0.0064672250840720575
],
"principal_moments": [
7.325775525326978e-08,
7.325791284261026e-08,
1.0243077112124664e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.008500000000000004,
-0.00981495457622366,
-0.012,
0.008500000000000004,
0.009814954576223646,
8.673617379884035e-18
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Slots",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-0.008500000000000004,
-0.00981495457622366,
-0.012,
0.008500000000000004,
0.009814954576223644,
8.523482444344436e-18
],
"face_count": 52,
"edge_count": 141,
"vertex_count": 90
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 57,
"surface_counts": {
"cone": 20,
"cylinder": 12,
"plane": 25
},
"axis_count": 32,
"repeat_spacings_mm": [
{
"spacing_mm": 18.5253,
"pair_count": 2
},
{
"spacing_mm": 25.6767,
"pair_count": 2
},
{
"spacing_mm": 15.7371,
"pair_count": 2
},
{
"spacing_mm": 15.752,
"pair_count": 2
},
{
"spacing_mm": 12.9536,
"pair_count": 2
},
{
"spacing_mm": 13.0432,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-8.5000001,
-9.814954676,
-12.0000001,
8.5000001,
9.814954676,
1e-07
],
"volume_mm3": 2024.397305172,
"surface_area_mm2": 1446.476869054,
"solid_count": 1,
"face_count": 57,
"edge_count": 156,
"vertex_count": 100
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-8.5,
-9.814954576,
-12.0,
8.5,
9.814954576,
0.0
],
"volume_mm3": 2024.406798377,
"surface_area_mm2": 1446.475773624,
"solid_count": 1,
"face_count": 52,
"edge_count": 141,
"vertex_count": 90
},
"comparisons": {
"volume_mm3": {
"expected": 2024.406798377,
"actual": 2024.397305172,
"absolute_delta": 0.009493205000126181,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1446.475773624,
"actual": 1446.476869054,
"absolute_delta": 0.0010954299998502393,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-8.5,
-9.814954576,
-12.0,
8.5,
9.814954576,
0.0
],
"actual": [
-8.5000001,
-9.814954676,
-12.0000001,
8.5000001,
9.814954676,
1e-07
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 52,
"actual": 57,
"matches": false
},
"edge_count": {
"expected": 141,
"actual": 156,
"matches": false
},
"vertex_count": {
"expected": 90,
"actual": 100,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}