697 lines
15 KiB
JSON
697 lines
15 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "095520",
|
|
"geometry": {
|
|
"sketches": [
|
|
{
|
|
"id": "sk_001",
|
|
"name": "原點",
|
|
"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": "草圖1",
|
|
"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": [
|
|
-155.0,
|
|
-33.35
|
|
],
|
|
"end": [
|
|
155.0,
|
|
-33.35
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
155.0,
|
|
-33.35
|
|
],
|
|
"end": [
|
|
155.0,
|
|
33.35
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
155.0,
|
|
33.35
|
|
],
|
|
"end": [
|
|
-155.0,
|
|
33.35
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-155.0,
|
|
33.35
|
|
],
|
|
"end": [
|
|
-155.0,
|
|
-33.35
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-155.0,
|
|
-33.35
|
|
],
|
|
"end": [
|
|
155.0,
|
|
33.35
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-155.0,
|
|
33.35
|
|
],
|
|
"end": [
|
|
155.0,
|
|
-33.35
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"features": [
|
|
{
|
|
"id": "f_001",
|
|
"name": "前基準面",
|
|
"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": "上基準面",
|
|
"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_004",
|
|
"name": "伸長1",
|
|
"atomic_id": "extrude_add_blind",
|
|
"depends_on": [
|
|
"f_001"
|
|
],
|
|
"params": {
|
|
"distance_mm": 12.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002",
|
|
"unresolved": [
|
|
"missing source sketch parent"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_003",
|
|
"name": "右基準面",
|
|
"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_005",
|
|
"name": "M5x0.8 螺紋孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "底部螺紋孔",
|
|
"diameter_mm": 5.0,
|
|
"depth_mm": 10.0,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
145.0,
|
|
-6.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
0.0,
|
|
-6.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-145.0,
|
|
-6.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 5.0,
|
|
"depth_mm": 10.0,
|
|
"class": "1B"
|
|
},
|
|
"host_face": {
|
|
"kind": "face",
|
|
"stable_id": "step-face-f8c71d9e481eb7072e660589",
|
|
"source": "inferred_from_step",
|
|
"confidence": 0.8,
|
|
"geometry": {
|
|
"bbox_mm": [
|
|
-155.0,
|
|
-33.35,
|
|
0.0,
|
|
155.0,
|
|
33.35,
|
|
0.0
|
|
],
|
|
"center_mm": [
|
|
-0.0,
|
|
-0.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
0.0,
|
|
-1.0
|
|
],
|
|
"surface_type": "plane"
|
|
}
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_001",
|
|
"selectors": [
|
|
{
|
|
"kind": "face",
|
|
"stable_id": "step-face-f8c71d9e481eb7072e660589",
|
|
"source": "inferred_from_step",
|
|
"confidence": 0.8,
|
|
"geometry": {
|
|
"bbox_mm": [
|
|
-155.0,
|
|
-33.35,
|
|
0.0,
|
|
155.0,
|
|
33.35,
|
|
0.0
|
|
],
|
|
"center_mm": [
|
|
-0.0,
|
|
-0.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
0.0,
|
|
-1.0
|
|
],
|
|
"surface_type": "plane"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "M5x0.8 螺紋孔2",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "底部螺紋孔",
|
|
"diameter_mm": 5.0,
|
|
"depth_mm": 10.0,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
-145.0,
|
|
-6.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
145.0,
|
|
-6.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-0.0,
|
|
-6.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-70.0,
|
|
-6.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
80.0,
|
|
-6.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 5.0,
|
|
"depth_mm": 10.0,
|
|
"class": "1B"
|
|
},
|
|
"host_face": {
|
|
"kind": "face",
|
|
"stable_id": "step-face-f8c71d9e481eb7072e660589",
|
|
"source": "inferred_from_step",
|
|
"confidence": 0.8,
|
|
"geometry": {
|
|
"bbox_mm": [
|
|
-155.0,
|
|
-33.35,
|
|
0.0,
|
|
155.0,
|
|
33.35,
|
|
0.0
|
|
],
|
|
"center_mm": [
|
|
-0.0,
|
|
-0.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
0.0,
|
|
-1.0
|
|
],
|
|
"surface_type": "plane"
|
|
}
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"selectors": [
|
|
{
|
|
"kind": "face",
|
|
"stable_id": "step-face-f8c71d9e481eb7072e660589",
|
|
"source": "inferred_from_step",
|
|
"confidence": 0.8,
|
|
"geometry": {
|
|
"bbox_mm": [
|
|
-155.0,
|
|
-33.35,
|
|
0.0,
|
|
155.0,
|
|
33.35,
|
|
0.0
|
|
],
|
|
"center_mm": [
|
|
-0.0,
|
|
-0.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
0.0,
|
|
-1.0
|
|
],
|
|
"surface_type": "plane"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "095520.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.24670302354441373,
|
|
"volume": 0.00024670302354441373,
|
|
"surface_area": 0.05172218204056219,
|
|
"center_of_mass": [
|
|
-7.199832997465226e-06,
|
|
-3.8787299066305866e-05,
|
|
0.006
|
|
],
|
|
"principal_moments": [
|
|
9.391473530560628e-05,
|
|
0.0019730889400639555,
|
|
0.002061051791505928
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.15500000000000003,
|
|
-0.033350000000000005,
|
|
0.0,
|
|
0.15499999999999997,
|
|
0.033350000000000005,
|
|
0.012
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "M5x0.8 螺紋孔2",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABzAAAAcgAAAGUAAAA=",
|
|
"persist_reference_sha256": "307628542a51f2d8602016d5d6086dc34483e9901760d5309b1379270fec23d3",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.15500000000000003,
|
|
-0.033350000000000005,
|
|
0.0,
|
|
0.15499999999999997,
|
|
0.033350000000000005,
|
|
0.012
|
|
],
|
|
"face_count": 22,
|
|
"edge_count": 28,
|
|
"vertex_count": 16
|
|
},
|
|
"stable_id": "307628542a51f2d8602016d5d6086dc34483e9901760d5309b1379270fec23d3"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 38,
|
|
"surface_counts": {
|
|
"cone": 16,
|
|
"cylinder": 16,
|
|
"plane": 6
|
|
},
|
|
"axis_count": 32,
|
|
"repeat_spacings_mm": [
|
|
{
|
|
"spacing_mm": 12.4,
|
|
"pair_count": 8
|
|
},
|
|
{
|
|
"spacing_mm": 145.0,
|
|
"pair_count": 8
|
|
},
|
|
{
|
|
"spacing_mm": 145.5292,
|
|
"pair_count": 8
|
|
},
|
|
{
|
|
"spacing_mm": 154.8337,
|
|
"pair_count": 8
|
|
},
|
|
{
|
|
"spacing_mm": 54.3,
|
|
"pair_count": 6
|
|
},
|
|
{
|
|
"spacing_mm": 290.0,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 290.265,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 159.6054,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 295.0398,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 150.9325,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 66.7,
|
|
"pair_count": 3
|
|
},
|
|
{
|
|
"spacing_mm": 41.9,
|
|
"pair_count": 3
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-155.0,
|
|
-33.35,
|
|
0.0,
|
|
155.0,
|
|
33.35,
|
|
12.0
|
|
],
|
|
"volume_mm3": 246703.023544414,
|
|
"surface_area_mm2": 51722.182040562,
|
|
"solid_count": 1,
|
|
"face_count": 38,
|
|
"edge_count": 76,
|
|
"vertex_count": 48
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-155.0,
|
|
-33.35,
|
|
0.0,
|
|
155.0,
|
|
33.35,
|
|
12.0
|
|
],
|
|
"volume_mm3": 246703.023544414,
|
|
"surface_area_mm2": 51722.182040562,
|
|
"solid_count": 1,
|
|
"face_count": 22,
|
|
"edge_count": 28,
|
|
"vertex_count": 16
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 246703.023544414,
|
|
"actual": 246703.023544414,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 51722.182040562,
|
|
"actual": 51722.182040562,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-155.0,
|
|
-33.35,
|
|
0.0,
|
|
155.0,
|
|
33.35,
|
|
12.0
|
|
],
|
|
"actual": [
|
|
-155.0,
|
|
-33.35,
|
|
0.0,
|
|
155.0,
|
|
33.35,
|
|
12.0
|
|
],
|
|
"max_absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 22,
|
|
"actual": 38,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 28,
|
|
"actual": 76,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 16,
|
|
"actual": 48,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|