Files
cdsl-cad/json_to_cdsl/output/ecrou-M10.cdsl.json
T
2026-08-24 14:52:08 +08:00

526 lines
12 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "ecrou-M10",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origine",
"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": "Esquisse1",
"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": [
6.5,
3.75277675
],
"end": [
0.0,
7.505553499
]
},
{
"type": "line",
"start": [
0.0,
7.505553499
],
"end": [
-6.5,
3.75277675
]
},
{
"type": "line",
"start": [
-6.5,
3.75277675
],
"end": [
-6.5,
-3.75277675
]
},
{
"type": "line",
"start": [
-6.5,
-3.75277675
],
"end": [
0.0,
-7.505553499
]
},
{
"type": "line",
"start": [
0.0,
-7.505553499
],
"end": [
6.5,
-3.75277675
]
},
{
"type": "line",
"start": [
6.5,
-3.75277675
],
"end": [
6.5,
3.75277675
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 3.8
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 6.5
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Plan de face",
"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": "Plan de dessus",
"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_002"
},
"execution_status": "deferred"
},
{
"id": "f_003",
"name": "Plan de droite",
"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_004",
"name": "Boss.-Extru.1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 6.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_005",
"name": "Congé4",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 0.5,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010399_通用螺母/ecrou M10.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0006512127818472454,
"volume": 6.512127818472454e-07,
"surface_area": 0.0006282286712472532,
"center_of_mass": [
3.2495974460652364e-18,
0.0032499999999999994,
4.878049526309102e-19
],
"principal_moments": [
1.2241830556144592e-08,
1.2241830556144592e-08,
1.9957843549729077e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.006499999999999997,
-4.336808689942018e-19,
-0.007428203230275508,
0.006500000000000002,
0.006500000000000001,
0.007428203230275508
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Congé4",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABlAAAA",
"persist_reference_sha256": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448",
"component": null,
"geometry": {
"box": [
-0.006499999999999997,
-4.336808689942018e-19,
-0.007428203230275508,
0.006500000000000002,
0.006500000000000001,
0.007428203230275508
],
"face_count": 39,
"edge_count": 74,
"vertex_count": 36
},
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 41,
"surface_counts": {
"cylinder": 21,
"plane": 8,
"sphere": 12
},
"axis_count": 21,
"repeat_spacings_mm": [
{
"spacing_mm": 6.9282,
"pair_count": 12
},
{
"spacing_mm": 9.1788,
"pair_count": 12
},
{
"spacing_mm": 3.5,
"pair_count": 12
},
{
"spacing_mm": 12.5,
"pair_count": 12
},
{
"spacing_mm": 12.0,
"pair_count": 9
},
{
"spacing_mm": 6.0069,
"pair_count": 6
},
{
"spacing_mm": 9.06,
"pair_count": 6
},
{
"spacing_mm": 9.3853,
"pair_count": 6
},
{
"spacing_mm": 13.4195,
"pair_count": 6
},
{
"spacing_mm": 13.6412,
"pair_count": 6
},
{
"spacing_mm": 15.2343,
"pair_count": 6
},
{
"spacing_mm": 6.0208,
"pair_count": 6
}
],
"metrics": {
"bounding_box_mm": [
-6.5,
-0.0,
-7.42820323,
6.5,
6.5,
7.42820323
],
"volume_mm3": 651.212727728,
"surface_area_mm2": 628.228633501,
"solid_count": 1,
"face_count": 41,
"edge_count": 81,
"vertex_count": 42
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-6.5,
-0.0,
-7.42820323,
6.5,
6.5,
7.42820323
],
"volume_mm3": 651.212781847,
"surface_area_mm2": 628.228671247,
"solid_count": 1,
"face_count": 39,
"edge_count": 74,
"vertex_count": 36
},
"comparisons": {
"volume_mm3": {
"expected": 651.212781847,
"actual": 651.212727728,
"absolute_delta": 5.411899996943248e-05,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 628.228671247,
"actual": 628.228633501,
"absolute_delta": 3.7745999975413724e-05,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-6.5,
-0.0,
-7.42820323,
6.5,
6.5,
7.42820323
],
"actual": [
-6.5,
-0.0,
-7.42820323,
6.5,
6.5,
7.42820323
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 39,
"actual": 41,
"matches": false
},
"edge_count": {
"expected": 74,
"actual": 81,
"matches": false
},
"vertex_count": {
"expected": 36,
"actual": 42,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}