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

760 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "Brush_Hood_Screw",
"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": "arc",
"start": [
0.0,
1.016
],
"end": [
-0.762,
1.778
],
"center": [
-0.762,
1.016
],
"radius_mm": 0.762,
"clockwise": false
},
{
"type": "line",
"start": [
-0.762,
1.778
],
"end": [
-1.016,
1.778
]
},
{
"type": "line",
"start": [
-1.016,
1.778
],
"end": [
-1.016,
1.016
]
},
{
"type": "line",
"start": [
-1.016,
1.016
],
"end": [
-6.35,
1.016
]
},
{
"type": "line",
"start": [
-6.35,
1.016
],
"end": [
-6.35,
-0.0
]
},
{
"type": "line",
"start": [
-6.35,
-0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
1.016
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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.195962003,
-1.459943378
],
"end": [
-0.195962003,
-1.459943378
]
},
{
"type": "line",
"start": [
-0.195962003,
-1.459943378
],
"end": [
-0.195962003,
-0.348829462
]
},
{
"type": "line",
"start": [
-0.195962003,
-0.348829462
],
"end": [
-0.348829462,
-0.195962003
]
},
{
"type": "line",
"start": [
-0.348829462,
-0.195962003
],
"end": [
-1.459943378,
-0.195962003
]
},
{
"type": "line",
"start": [
-1.459943378,
-0.195962003
],
"end": [
-1.459943378,
0.195962003
]
},
{
"type": "line",
"start": [
-1.459943378,
0.195962003
],
"end": [
-0.348829462,
0.195962003
]
},
{
"type": "line",
"start": [
-0.348829462,
0.195962003
],
"end": [
-0.195962003,
0.348829462
]
},
{
"type": "line",
"start": [
-0.195962003,
0.348829462
],
"end": [
-0.195962003,
1.459943378
]
},
{
"type": "line",
"start": [
-0.195962003,
1.459943378
],
"end": [
0.195962003,
1.459943378
]
},
{
"type": "line",
"start": [
0.195962003,
1.459943378
],
"end": [
0.195962003,
0.348829462
]
},
{
"type": "line",
"start": [
0.195962003,
0.348829462
],
"end": [
0.348829462,
0.195962003
]
},
{
"type": "line",
"start": [
0.348829462,
0.195962003
],
"end": [
1.459943378,
0.195962003
]
},
{
"type": "line",
"start": [
1.459943378,
0.195962003
],
"end": [
1.459943378,
-0.195962003
]
},
{
"type": "line",
"start": [
1.459943378,
-0.195962003
],
"end": [
0.348829462,
-0.195962003
]
},
{
"type": "line",
"start": [
0.348829462,
-0.195962003
],
"end": [
0.195962003,
-0.348829462
]
},
{
"type": "line",
"start": [
0.195962003,
-0.348829462
],
"end": [
0.195962003,
-1.459943378
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-0.195962003,
-0.348829462
],
"end": [
-0.203227402,
-0.352974125
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-4.881978515,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
3.286169483
]
}
]
}
}
]
},
"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_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_004",
"name": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"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_002",
"selectors": [
{
"kind": "axis",
"stable_id": "a62891d4a11416f98fe4e69ca1073de4cc955145769b2e06d0f9b20bf54841aa",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.00635,
-7.776507174585693e-19,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.762,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.508,
"angle_rad": 1.3089969389957496
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0102_螺钉/010299_通用螺钉/Brush_Hood_Screw.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 2.19378785288471e-05,
"volume": 2.19378785288471e-08,
"surface_area": 6.438435068364017e-05,
"center_of_mass": [
1.2237005677879985e-12,
-1.1731830062852909e-12,
0.0024346322954041082
],
"principal_moments": [
1.8402457372085655e-11,
7.453253432575138e-11,
7.453253432575138e-11
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0017780000000000003,
-0.0017780000000000005,
-1.787914985354773e-19,
0.0017780000000000003,
0.001778,
0.00635
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Chamfer1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
-0.0017780000000000003,
-0.0017780000000000005,
-1.787914985354773e-19,
0.0017780000000000003,
0.001778,
0.00635
],
"face_count": 27,
"edge_count": 65,
"vertex_count": 40
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 31,
"surface_counts": {
"cone": 2,
"cylinder": 4,
"plane": 23,
"torus": 2
},
"axis_count": 6,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1.7780001,
-1.7780001,
-1e-07,
1.7780001,
1.7780001,
6.35
],
"volume_mm3": 21.937882803,
"surface_area_mm2": 64.384275591,
"solid_count": 1,
"face_count": 31,
"edge_count": 80,
"vertex_count": 52
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-1.778,
-1.778,
-0.0,
1.778,
1.778,
6.35
],
"volume_mm3": 21.937878529,
"surface_area_mm2": 64.384350684,
"solid_count": 1,
"face_count": 27,
"edge_count": 65,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 21.937878529,
"actual": 21.937882803,
"absolute_delta": 4.2740000019136914e-06,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 64.384350684,
"actual": 64.384275591,
"absolute_delta": 7.509299999242103e-05,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-1.778,
-1.778,
-0.0,
1.778,
1.778,
6.35
],
"actual": [
-1.7780001,
-1.7780001,
-1e-07,
1.7780001,
1.7780001,
6.35
],
"max_absolute_delta": 1.0000000005838672e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 27,
"actual": 31,
"matches": false
},
"edge_count": {
"expected": 65,
"actual": 80,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 52,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}