Files
cdsl-cad/json_to_cdsl/output/hex-jam-nut_ai.cdsl.json
T
2026-08-24 14:52:08 +08:00

1279 lines
29 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "hex-jam-nut_ai",
"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": [
11.1125,
6.415804866
],
"end": [
11.1125,
-6.415804866
]
},
{
"type": "line",
"start": [
11.1125,
-6.415804866
],
"end": [
0.0,
-12.831609733
]
},
{
"type": "line",
"start": [
0.0,
-12.831609733
],
"end": [
-11.1125,
-6.415804866
]
},
{
"type": "line",
"start": [
-11.1125,
-6.415804866
],
"end": [
-11.1125,
6.415804866
]
},
{
"type": "line",
"start": [
-11.1125,
6.415804866
],
"end": [
-0.0,
12.831609733
]
},
{
"type": "line",
"start": [
-0.0,
12.831609733
],
"end": [
11.1125,
6.415804866
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 6.15188
}
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch4",
"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": [
8.2296,
11.1125
],
"end": [
7.8232,
11.1125
]
},
{
"type": "line",
"start": [
7.8232,
11.1125
],
"end": [
7.8232,
25.531609733
]
},
{
"type": "line",
"start": [
7.8232,
25.531609733
],
"end": [
8.2296,
25.531609733
]
},
{
"type": "line",
"start": [
8.2296,
25.531609733
],
"end": [
8.2296,
11.1125
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0,
11.1125
],
"end": [
-12.7,
11.1125
]
},
{
"type": "line",
"start": [
-12.7,
11.1125
],
"end": [
-12.7,
25.531609733
]
},
{
"type": "line",
"start": [
-12.7,
25.531609733
],
"end": [
1.42875,
25.531609733
]
},
{
"type": "line",
"start": [
1.42875,
25.531609733
],
"end": [
1.42875,
12.831609733
]
},
{
"type": "line",
"start": [
1.42875,
12.831609733
],
"end": [
0.0,
11.1125
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
34.925,
0.0
]
}
]
}
},
{
"id": "sk_004",
"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": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
8.2296,
11.1125
],
"end": [
6.80085,
12.831609733
]
},
{
"type": "line",
"start": [
6.80085,
12.831609733
],
"end": [
6.80085,
25.531609733
]
},
{
"type": "line",
"start": [
6.80085,
25.531609733
],
"end": [
20.9296,
25.531609733
]
},
{
"type": "line",
"start": [
20.9296,
25.531609733
],
"end": [
20.9296,
11.1125
]
},
{
"type": "line",
"start": [
20.9296,
11.1125
],
"end": [
8.2296,
11.1125
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
1.42875,
25.531609733
],
"end": [
-12.7,
25.531609733
]
},
{
"type": "line",
"start": [
-12.7,
25.531609733
],
"end": [
-12.7,
11.1125
]
},
{
"type": "line",
"start": [
-12.7,
11.1125
],
"end": [
0.0,
11.1125
]
},
{
"type": "line",
"start": [
0.0,
11.1125
],
"end": [
1.42875,
12.831609733
]
},
{
"type": "line",
"start": [
1.42875,
12.831609733
],
"end": [
1.42875,
25.531609733
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
38.67758982,
0.0
]
},
{
"type": "line",
"start": [
4.1148,
12.831609733
],
"end": [
4.1148,
44.222045256
]
}
]
}
},
{
"id": "sk_005",
"name": "EndChamferSke",
"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": [
8.2042,
7.14375
],
"end": [
7.440233664,
6.052693
]
},
{
"type": "line",
"start": [
7.440233664,
6.052693
],
"end": [
8.255,
6.052693
]
},
{
"type": "line",
"start": [
8.255,
6.052693
],
"end": [
8.255,
7.14375
]
},
{
"type": "line",
"start": [
8.255,
7.14375
],
"end": [
8.2042,
7.14375
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-0.0508,
7.14375
],
"end": [
-0.0,
7.14375
]
},
{
"type": "line",
"start": [
-0.0,
7.14375
],
"end": [
0.763966336,
6.052693
]
},
{
"type": "line",
"start": [
0.763966336,
6.052693
],
"end": [
-0.0508,
6.052693
]
},
{
"type": "line",
"start": [
-0.0508,
6.052693
],
"end": [
-0.0508,
7.14375
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
25.037505729,
0.0
],
"end": [
38.38795306,
0.0
]
}
]
}
},
{
"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": [
-7.14375,
0.0254
],
"end": [
-6.15188,
0.719914851
]
},
{
"type": "line",
"start": [
-6.15188,
0.719914851
],
"end": [
-3.07594,
0.719914851
]
},
{
"type": "line",
"start": [
-3.07594,
0.719914851
],
"end": [
-3.07594,
-0.669114851
]
},
{
"type": "line",
"start": [
-3.07594,
-0.669114851
],
"end": [
-6.15188,
-0.669114851
]
},
{
"type": "line",
"start": [
-6.15188,
-0.669114851
],
"end": [
-7.14375,
0.0254
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
1.08331
],
"end": [
0.0,
-2.987409574
]
},
{
"type": "line",
"start": [
-0.79375,
1.08331
],
"end": [
11.90625,
1.08331
]
}
]
}
}
]
},
"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": 8.2296,
"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"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
1.08331,
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.00108331,
0.0
],
"end": [
0.0,
-0.00298740957434266,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "Bearing-Face",
"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": "5f2c271ce8045fe974da8a2f99cd9611695a8afebd001dd2a7cceca151cd24e0",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.03492499999999995,
0.0,
0.0
]
}
}
]
},
{
"id": "f_006",
"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_004",
"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_007",
"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_005",
"selectors": [
{
"kind": "axis",
"stable_id": "1082f44107354b7a981eeeb9f7f906c00a81721631f8ca3f8ded3fc124a9b387",
"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": 2.0447,
"pattern_count_1": 5
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010399_通用螺母/hex jam nut_ai.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.002478513600040559,
"volume": 2.4785136000405588e-06,
"surface_area": 0.0014826671971641366,
"center_of_mass": [
1.3031890547264901e-19,
-5.16240976658563e-09,
-0.004113202115725188
],
"principal_moments": [
1.2185370275731353e-07,
1.2185419935732626e-07,
2.1687702786801145e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.011112499999999999,
-0.012831609732739457,
-0.0082296,
0.011112500000000004,
0.01283160973273944,
0.0
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "EndChamfer",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
-0.011112499999999999,
-0.012831609732739457,
-0.0082296,
0.011112500000000004,
0.01283160973273944,
0.0
],
"face_count": 24,
"edge_count": 47,
"vertex_count": 24
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 28,
"surface_counts": {
"cone": 16,
"cylinder": 4,
"plane": 8
},
"axis_count": 20,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-11.1125001,
-12.831609833,
-8.2296001,
11.1125001,
12.831609833,
1e-07
],
"volume_mm3": 2478.507949844,
"surface_area_mm2": 1482.666254455,
"solid_count": 1,
"face_count": 28,
"edge_count": 60,
"vertex_count": 34
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-11.1125,
-12.831609733,
-8.2296,
11.1125,
12.831609733,
0.0
],
"volume_mm3": 2478.513600041,
"surface_area_mm2": 1482.667197164,
"solid_count": 1,
"face_count": 24,
"edge_count": 47,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 2478.513600041,
"actual": 2478.507949844,
"absolute_delta": 0.005650196999795298,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1482.667197164,
"actual": 1482.666254455,
"absolute_delta": 0.0009427090001281613,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-11.1125,
-12.831609733,
-8.2296,
11.1125,
12.831609733,
0.0
],
"actual": [
-11.1125001,
-12.831609833,
-8.2296001,
11.1125001,
12.831609833,
1e-07
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 24,
"actual": 28,
"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
}
}