631 lines
14 KiB
JSON
631 lines
14 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "237160",
|
|
"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": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-30.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
-30.0
|
|
],
|
|
"end": [
|
|
29.738193966,
|
|
-30.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
29.738193966,
|
|
-30.0
|
|
],
|
|
"end": [
|
|
30.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
30.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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": 180.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "through_all_and_blind",
|
|
"solidworks_code": 6
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002"
|
|
},
|
|
{
|
|
"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": "基准面1",
|
|
"atomic_id": "reference_plane",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"plane": {
|
|
"origin_mm": [
|
|
0.0,
|
|
0.0,
|
|
90.0
|
|
],
|
|
"x_dir": [
|
|
0.0,
|
|
0.0,
|
|
-1.0
|
|
],
|
|
"normal": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
"offset_mm": 0.0,
|
|
"angle_rad": 0.0,
|
|
"reverse": false,
|
|
"solidworks_type": 1,
|
|
"references": [
|
|
{
|
|
"kind": "feature",
|
|
"stable_id": "3b754a0819a7a630b342bba208d83337a1ba38ed47b656e9e5ee7aee93693970",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"owner_feature_id": "f_004"
|
|
},
|
|
{
|
|
"kind": "face",
|
|
"stable_id": "46a424aeee6ea91b48dbd80c31e6359facded2204b688057f07ecfcb3b8b66ed",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"surface": {
|
|
"type": "plane",
|
|
"parameters": [
|
|
1.0,
|
|
1.2246467991473535e-16,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.09
|
|
]
|
|
},
|
|
"box": [
|
|
0.0,
|
|
-0.03,
|
|
-0.09,
|
|
3.673940397442059e-18,
|
|
0.0,
|
|
0.09
|
|
],
|
|
"area": 0.0053999999999999986
|
|
}
|
|
},
|
|
{
|
|
"kind": "edge",
|
|
"stable_id": "ecebad65474e6a4623bacba3b9b76a0031ae36589e1519b82f05bed4457a2912",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"curve": {
|
|
"type": "line",
|
|
"parameters": [
|
|
0.03,
|
|
0.0,
|
|
0.09,
|
|
0.0,
|
|
0.0,
|
|
-1.0
|
|
]
|
|
},
|
|
"start": [
|
|
0.03,
|
|
0.0,
|
|
0.09
|
|
],
|
|
"end": [
|
|
0.03,
|
|
0.0,
|
|
-0.09
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"execution_status": "deferred",
|
|
"selectors": [
|
|
{
|
|
"kind": "feature",
|
|
"stable_id": "3b754a0819a7a630b342bba208d83337a1ba38ed47b656e9e5ee7aee93693970",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"owner_feature_id": "f_004"
|
|
},
|
|
{
|
|
"kind": "face",
|
|
"stable_id": "46a424aeee6ea91b48dbd80c31e6359facded2204b688057f07ecfcb3b8b66ed",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"surface": {
|
|
"type": "plane",
|
|
"parameters": [
|
|
1.0,
|
|
1.2246467991473535e-16,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.09
|
|
]
|
|
},
|
|
"box": [
|
|
0.0,
|
|
-0.03,
|
|
-0.09,
|
|
3.673940397442059e-18,
|
|
0.0,
|
|
0.09
|
|
],
|
|
"area": 0.0053999999999999986
|
|
}
|
|
},
|
|
{
|
|
"kind": "edge",
|
|
"stable_id": "ecebad65474e6a4623bacba3b9b76a0031ae36589e1519b82f05bed4457a2912",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"curve": {
|
|
"type": "line",
|
|
"parameters": [
|
|
0.03,
|
|
0.0,
|
|
0.09,
|
|
0.0,
|
|
0.0,
|
|
-1.0
|
|
]
|
|
},
|
|
"start": [
|
|
0.03,
|
|
0.0,
|
|
0.09
|
|
],
|
|
"end": [
|
|
0.03,
|
|
0.0,
|
|
-0.09
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "M6 六角头螺栓的柱形沉头孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_005",
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "Hex head bolts GB/T5782-2000 ",
|
|
"diameter_mm": 6.6,
|
|
"depth_mm": 30.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
75.0,
|
|
-15.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
25.0,
|
|
-15.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-25.0,
|
|
-15.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-75.0,
|
|
-15.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"counterbore": {
|
|
"diameter_mm": 11.0,
|
|
"depth_mm": 10.0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_001",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "237160.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.1548057870597511,
|
|
"volume": 0.0001548057870597511,
|
|
"surface_area": 0.026094644316561336,
|
|
"center_of_mass": [
|
|
0.01477963282082539,
|
|
-0.014977361053253813,
|
|
-1.046277594126957e-09
|
|
],
|
|
"principal_moments": [
|
|
2.3486123714364736e-05,
|
|
0.0004266026326346571,
|
|
0.00042724738315497797
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-3.469446951953614e-18,
|
|
-0.03,
|
|
-0.09,
|
|
0.03,
|
|
0.0,
|
|
0.09
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "M6 六角头螺栓的柱形沉头孔1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABrAAAAagAAAA==",
|
|
"persist_reference_sha256": "3a27ca3aaad56ef866f3b65e70e3f1214ca09973643e9534c8ef1bc183826b68",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-3.469446951953614e-18,
|
|
-0.03,
|
|
-0.09,
|
|
0.03,
|
|
0.0,
|
|
0.09
|
|
],
|
|
"face_count": 18,
|
|
"edge_count": 28,
|
|
"vertex_count": 8
|
|
},
|
|
"stable_id": "3a27ca3aaad56ef866f3b65e70e3f1214ca09973643e9534c8ef1bc183826b68"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 26,
|
|
"surface_counts": {
|
|
"cylinder": 16,
|
|
"plane": 10
|
|
},
|
|
"axis_count": 16,
|
|
"repeat_spacings_mm": [
|
|
{
|
|
"spacing_mm": 50.0,
|
|
"pair_count": 3
|
|
},
|
|
{
|
|
"spacing_mm": 100.0,
|
|
"pair_count": 2
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-0.0,
|
|
-30.0000001,
|
|
-90.0000001,
|
|
30.0000001,
|
|
1e-07,
|
|
90.0000001
|
|
],
|
|
"volume_mm3": 154804.880145796,
|
|
"surface_area_mm2": 26094.548023252,
|
|
"solid_count": 1,
|
|
"face_count": 26,
|
|
"edge_count": 60,
|
|
"vertex_count": 40
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-0.0,
|
|
-30.0,
|
|
-90.0,
|
|
30.0,
|
|
0.0,
|
|
90.0
|
|
],
|
|
"volume_mm3": 154805.787059751,
|
|
"surface_area_mm2": 26094.644316561,
|
|
"solid_count": 1,
|
|
"face_count": 18,
|
|
"edge_count": 28,
|
|
"vertex_count": 8
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 154805.787059751,
|
|
"actual": 154804.880145796,
|
|
"absolute_delta": 0.9069139549974352,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 26094.644316561,
|
|
"actual": 26094.548023252,
|
|
"absolute_delta": 0.09629330900133937,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-0.0,
|
|
-30.0,
|
|
-90.0,
|
|
30.0,
|
|
0.0,
|
|
90.0
|
|
],
|
|
"actual": [
|
|
-0.0,
|
|
-30.0000001,
|
|
-90.0000001,
|
|
30.0000001,
|
|
1e-07,
|
|
90.0000001
|
|
],
|
|
"max_absolute_delta": 1.0000000116860974e-07,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 18,
|
|
"actual": 26,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 28,
|
|
"actual": 60,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 8,
|
|
"actual": 40,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|