778 lines
17 KiB
JSON
778 lines
17 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "156844",
|
|
"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": [
|
|
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,
|
|
10.5
|
|
],
|
|
"end": [
|
|
8.0,
|
|
10.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
8.0,
|
|
10.5
|
|
],
|
|
"end": [
|
|
8.0,
|
|
-10.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
8.0,
|
|
-10.5
|
|
],
|
|
"end": [
|
|
-8.0,
|
|
-10.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-8.0,
|
|
-10.5
|
|
],
|
|
"end": [
|
|
-8.0,
|
|
10.5
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-8.0,
|
|
10.5
|
|
],
|
|
"end": [
|
|
8.0,
|
|
-10.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-8.0,
|
|
-10.5
|
|
],
|
|
"end": [
|
|
8.0,
|
|
10.5
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草圖2",
|
|
"role": "profile",
|
|
"workplane": {
|
|
"origin_mm": [
|
|
8.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": "arc",
|
|
"start": [
|
|
7.0,
|
|
6.5
|
|
],
|
|
"end": [
|
|
7.0,
|
|
8.5
|
|
],
|
|
"center": [
|
|
7.0,
|
|
7.5
|
|
],
|
|
"radius_mm": 1.0,
|
|
"clockwise": false
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
7.0,
|
|
8.5
|
|
],
|
|
"end": [
|
|
4.0,
|
|
8.5
|
|
]
|
|
},
|
|
{
|
|
"type": "arc",
|
|
"start": [
|
|
4.0,
|
|
8.5
|
|
],
|
|
"end": [
|
|
4.0,
|
|
6.5
|
|
],
|
|
"center": [
|
|
4.0,
|
|
7.5
|
|
],
|
|
"radius_mm": 1.0,
|
|
"clockwise": false
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
4.0,
|
|
6.5
|
|
],
|
|
"end": [
|
|
7.0,
|
|
6.5
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
7.0,
|
|
7.5
|
|
],
|
|
"end": [
|
|
4.0,
|
|
7.5
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_004",
|
|
"name": "草圖3",
|
|
"role": "profile",
|
|
"workplane": {
|
|
"origin_mm": [
|
|
8.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": "arc",
|
|
"start": [
|
|
7.0,
|
|
-3.7
|
|
],
|
|
"end": [
|
|
7.0,
|
|
0.5
|
|
],
|
|
"center": [
|
|
7.0,
|
|
-1.6
|
|
],
|
|
"radius_mm": 2.1,
|
|
"clockwise": false
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
7.0,
|
|
0.5
|
|
],
|
|
"end": [
|
|
5.0,
|
|
0.5
|
|
]
|
|
},
|
|
{
|
|
"type": "arc",
|
|
"start": [
|
|
5.0,
|
|
0.5
|
|
],
|
|
"end": [
|
|
5.0,
|
|
-3.7
|
|
],
|
|
"center": [
|
|
5.0,
|
|
-1.6
|
|
],
|
|
"radius_mm": 2.1,
|
|
"clockwise": false
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
5.0,
|
|
-3.7
|
|
],
|
|
"end": [
|
|
7.0,
|
|
-3.7
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
7.0,
|
|
-1.6
|
|
],
|
|
"end": [
|
|
5.0,
|
|
-1.6
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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_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_004",
|
|
"name": "填料-伸長1",
|
|
"atomic_id": "extrude_add_blind",
|
|
"depends_on": [
|
|
"f_003"
|
|
],
|
|
"params": {
|
|
"distance_mm": 7.0,
|
|
"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": "除料-伸長1",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 0.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "through_all",
|
|
"solidworks_code": 1
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_003",
|
|
"unresolved": [
|
|
"missing source sketch parent"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_008",
|
|
"name": "M3 承窩頭蓋螺釘的柱孔2",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "六角承窩頭 JIS B 1176",
|
|
"diameter_mm": 3.4,
|
|
"depth_mm": 7.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
4.0,
|
|
-6.5,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"counterbore": {
|
|
"diameter_mm": 6.5,
|
|
"depth_mm": 3.0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_010",
|
|
"name": "導角1",
|
|
"atomic_id": "chamfer",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 0.5,
|
|
"angle_rad": 0.78539816339745
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "直線複製排列1",
|
|
"atomic_id": "pattern_linear",
|
|
"depends_on": [
|
|
"f_005",
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"source_feature_ids": [
|
|
"f_005",
|
|
"f_004"
|
|
],
|
|
"direction_1": [
|
|
0.0,
|
|
-1.0,
|
|
0.0
|
|
],
|
|
"spacing_1_mm": 4.0,
|
|
"pattern_count_1": 2
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_009",
|
|
"name": "直線複製排列7",
|
|
"atomic_id": "pattern_linear",
|
|
"depends_on": [
|
|
"f_008",
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"source_feature_ids": [
|
|
"f_008",
|
|
"f_004"
|
|
],
|
|
"direction_1": [
|
|
0.0,
|
|
0.0,
|
|
-1.0
|
|
],
|
|
"spacing_1_mm": 8.0,
|
|
"pattern_count_1": 2
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "除料-伸長2",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004",
|
|
"f_006"
|
|
],
|
|
"params": {
|
|
"distance_mm": 0.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "through_all",
|
|
"solidworks_code": 1
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_004",
|
|
"unresolved": [
|
|
"missing source sketch parent"
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "156844.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.004291021094809499,
|
|
"volume": 1.589267072151666e-06,
|
|
"surface_area": 0.0016224064816313495,
|
|
"center_of_mass": [
|
|
0.003184117248570644,
|
|
0.0005198464441819834,
|
|
-7.6977186931786475e-19
|
|
],
|
|
"principal_moments": [
|
|
1.1020958905505661e-07,
|
|
1.9062387451946037e-07,
|
|
2.674445485904082e-07
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
0.0,
|
|
-0.0105,
|
|
-0.008000000000000004,
|
|
0.007,
|
|
0.0105,
|
|
0.008000000000000004
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "導角1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABzAAAAcgAAAGgAAABnAAAAZgAAAGUAAAA=",
|
|
"persist_reference_sha256": "d064bfa5ecafcff51f3ccd7f39006901c3802e3ea3cd089bffa1e844fcf91eeb",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
0.0,
|
|
-0.0105,
|
|
-0.008000000000000004,
|
|
0.007,
|
|
0.0105,
|
|
0.008000000000000002
|
|
],
|
|
"face_count": 28,
|
|
"edge_count": 68,
|
|
"vertex_count": 40
|
|
},
|
|
"stable_id": "d064bfa5ecafcff51f3ccd7f39006901c3802e3ea3cd089bffa1e844fcf91eeb"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 32,
|
|
"surface_counts": {
|
|
"cylinder": 11,
|
|
"plane": 21
|
|
},
|
|
"axis_count": 11,
|
|
"repeat_spacings_mm": [],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
0.0,
|
|
-10.5,
|
|
-8.0,
|
|
7.0,
|
|
10.5,
|
|
8.0
|
|
],
|
|
"volume_mm3": 1589.267072152,
|
|
"surface_area_mm2": 1622.406481631,
|
|
"solid_count": 1,
|
|
"face_count": 32,
|
|
"edge_count": 84,
|
|
"vertex_count": 56
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
0.0,
|
|
-10.5,
|
|
-8.0,
|
|
7.0,
|
|
10.5,
|
|
8.0
|
|
],
|
|
"volume_mm3": 1589.267072152,
|
|
"surface_area_mm2": 1622.406481631,
|
|
"solid_count": 1,
|
|
"face_count": 28,
|
|
"edge_count": 68,
|
|
"vertex_count": 40
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 1589.267072152,
|
|
"actual": 1589.267072152,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 1622.406481631,
|
|
"actual": 1622.406481631,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
0.0,
|
|
-10.5,
|
|
-8.0,
|
|
7.0,
|
|
10.5,
|
|
8.0
|
|
],
|
|
"actual": [
|
|
0.0,
|
|
-10.5,
|
|
-8.0,
|
|
7.0,
|
|
10.5,
|
|
8.0
|
|
],
|
|
"max_absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 28,
|
|
"actual": 32,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 68,
|
|
"actual": 84,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 40,
|
|
"actual": 56,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|