Files
cdsl-cad/json_to_cdsl/output/M10x1-5_hex-bolt-gradeab.cdsl.json
2026-08-24 14:52:08 +08:00

1136 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "M10x1-5_hex-bolt-gradeab",
"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": "Sketch1",
"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": [
8.0,
4.618802154
],
"end": [
8.0,
-4.618802154
]
},
{
"type": "line",
"start": [
8.0,
-4.618802154
],
"end": [
0.0,
-9.237604307
]
},
{
"type": "line",
"start": [
0.0,
-9.237604307
],
"end": [
-8.0,
-4.618802154
]
},
{
"type": "line",
"start": [
-8.0,
-4.618802154
],
"end": [
-8.0,
4.618802154
]
},
{
"type": "line",
"start": [
-8.0,
4.618802154
],
"end": [
0.0,
9.237604307
]
},
{
"type": "line",
"start": [
0.0,
9.237604307
],
"end": [
8.0,
4.618802154
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "BodySke",
"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": [
0.0,
0.0
],
"end": [
23.4,
0.0
]
},
{
"type": "line",
"start": [
23.4,
0.0
],
"end": [
23.4,
4.172
]
},
{
"type": "line",
"start": [
23.4,
4.172
],
"end": [
22.572,
5.0
]
},
{
"type": "line",
"start": [
22.572,
5.0
],
"end": [
0.0,
5.0
]
},
{
"type": "line",
"start": [
0.0,
5.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
96.52,
0.0
]
},
{
"type": "line",
"start": [
23.4,
-4.172
],
"end": [
22.572,
-5.0
]
},
{
"type": "line",
"start": [
0.0,
-5.0
],
"end": [
22.572,
-5.0
]
},
{
"type": "line",
"start": [
7.9,
15.24
],
"end": [
7.9,
-1.27
]
},
{
"type": "line",
"start": [
13.4,
15.24
],
"end": [
13.4,
-1.27
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"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": [
0.0,
8.0
],
"end": [
3.601282526,
14.237604307
]
},
{
"type": "line",
"start": [
3.601282526,
14.237604307
],
"end": [
3.601282526,
19.237604307
]
},
{
"type": "line",
"start": [
3.601282526,
19.237604307
],
"end": [
-10.0,
19.237604307
]
},
{
"type": "line",
"start": [
-10.0,
19.237604307
],
"end": [
-10.0,
8.0
]
},
{
"type": "line",
"start": [
-10.0,
8.0
],
"end": [
0.0,
8.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
99.06,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "Sketch4",
"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": [
6.4,
8.0
],
"end": [
5.8,
8.0
]
},
{
"type": "line",
"start": [
5.8,
8.0
],
"end": [
5.8,
19.237604307
]
},
{
"type": "line",
"start": [
5.8,
19.237604307
],
"end": [
6.4,
19.237604307
]
},
{
"type": "line",
"start": [
6.4,
19.237604307
],
"end": [
6.4,
8.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
95.25,
0.0
]
}
]
}
},
{
"id": "sk_006",
"name": "ThdSchSke",
"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": [
13.4,
-4.172
],
"end": [
12.820228158,
-5.0
]
},
{
"type": "line",
"start": [
12.820228158,
-5.0
],
"end": [
12.820228158,
-6.25
]
},
{
"type": "line",
"start": [
12.820228158,
-6.25
],
"end": [
13.979771842,
-6.25
]
},
{
"type": "line",
"start": [
13.979771842,
-6.25
],
"end": [
13.979771842,
-5.0
]
},
{
"type": "line",
"start": [
13.979771842,
-5.0
],
"end": [
13.4,
-4.172
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-3.175,
0.0
],
"end": [
5.151268239,
0.0
]
}
]
}
}
]
},
"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,
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_009",
"name": "ThreadSchematic",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-3.175,
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_006",
"selectors": [
{
"kind": "axis",
"stable_id": "0a77b7b8190da190716bc26cfd581423540193973ac73b6f06c517e142837895",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.0031749999999999955,
0.0,
0.0
],
"end": [
0.00515126823882092,
1.0196400988889548e-18,
0.0
]
}
}
]
},
{
"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_002"
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "BaseHead",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_003"
],
"params": {
"distance_mm": 6.4,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "BaseBody",
"atomic_id": "revolve_add",
"depends_on": [
"f_001",
"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": "5e2d009219dddd6a051dcf47f542ba5bb5ddeb22bdc2835c26f59a22bd77cefa",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.09652,
0.0,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "HeadChamfer",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"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_004",
"selectors": [
{
"kind": "axis",
"stable_id": "d23b214ee774e30ac207ac1d856cab162e9d4b828cbfc84af313b67278602950",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.09906,
0.0,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "BearingFace",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004",
"f_005"
],
"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_005",
"selectors": [
{
"kind": "axis",
"stable_id": "566cb6912ec10d89b1c25cce0f7cb45ef60fda2d6696936a2960a99aa3e5c923",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.09524999999999999,
0.0,
0.0
]
}
}
]
},
{
"id": "f_008",
"name": "HeadFillet",
"atomic_id": "fillet",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"radius_mm": 0.4,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "ThdSchPat",
"atomic_id": "pattern_linear",
"depends_on": [
"f_009",
"f_005"
],
"params": {
"source_feature_ids": [
"f_009",
"f_005"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 5.0,
"pattern_count_1": 2
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0101_螺栓/010114_六角头螺栓通用/M10x1,5_hex bolt gradeab.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.021552522914498315,
"volume": 2.7281674575314323e-06,
"surface_area": 0.0012972607092077973,
"center_of_mass": [
0.008844834729506944,
6.00234270538791e-09,
-3.510089529075815e-18
],
"principal_moments": [
5.193603492943217e-07,
1.2761650393730084e-06,
1.2761655524303854e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.009237604307034018,
-0.008,
0.0234,
0.009237604307034018,
0.008000000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "HeadFillet",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
0.0,
-0.009237604307034018,
-0.008,
0.0234,
0.009237604307034018,
0.008000000000000002
],
"face_count": 25,
"edge_count": 47,
"vertex_count": 24
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 29,
"surface_counts": {
"cone": 8,
"cylinder": 4,
"plane": 15,
"torus": 2
},
"axis_count": 12,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1e-07,
-9.237604407,
-8.0000001,
23.4,
9.237604407,
8.0000001
],
"volume_mm3": 2728.163629037,
"surface_area_mm2": 1297.259528886,
"solid_count": 1,
"face_count": 29,
"edge_count": 60,
"vertex_count": 34
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-9.237604307,
-8.0,
23.4,
9.237604307,
8.0
],
"volume_mm3": 2728.167457531,
"surface_area_mm2": 1297.260709208,
"solid_count": 1,
"face_count": 25,
"edge_count": 47,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 2728.167457531,
"actual": 2728.163629037,
"absolute_delta": 0.0038284939996628964,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1297.260709208,
"actual": 1297.259528886,
"absolute_delta": 0.0011803219999819703,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-9.237604307,
-8.0,
23.4,
9.237604307,
8.0
],
"actual": [
-1e-07,
-9.237604407,
-8.0000001,
23.4,
9.237604407,
8.0000001
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 25,
"actual": 29,
"matches": false
},
"edge_count": {
"expected": 47,
"actual": 60,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 34,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}