change
This commit is contained in:
@@ -0,0 +1,649 @@
|
||||
{
|
||||
"schema": "cad.cdsl.llm.v1",
|
||||
"schema_version": "1.1.0",
|
||||
"kind": "part",
|
||||
"part_id": "231236",
|
||||
"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": [
|
||||
-57.5,
|
||||
14.0
|
||||
],
|
||||
"end": [
|
||||
-57.5,
|
||||
16.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-57.5,
|
||||
16.0
|
||||
],
|
||||
"end": [
|
||||
-42.5,
|
||||
16.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-42.5,
|
||||
16.0
|
||||
],
|
||||
"end": [
|
||||
-42.5,
|
||||
17.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-42.5,
|
||||
17.0
|
||||
],
|
||||
"end": [
|
||||
42.5,
|
||||
17.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
42.5,
|
||||
17.0
|
||||
],
|
||||
"end": [
|
||||
42.5,
|
||||
16.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
42.5,
|
||||
16.0
|
||||
],
|
||||
"end": [
|
||||
57.5,
|
||||
16.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
57.5,
|
||||
16.0
|
||||
],
|
||||
"end": [
|
||||
57.5,
|
||||
14.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
57.5,
|
||||
14.0
|
||||
],
|
||||
"end": [
|
||||
20.5,
|
||||
14.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
20.5,
|
||||
14.0
|
||||
],
|
||||
"end": [
|
||||
20.5,
|
||||
12.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
20.5,
|
||||
12.5
|
||||
],
|
||||
"end": [
|
||||
-20.5,
|
||||
12.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-20.5,
|
||||
12.5
|
||||
],
|
||||
"end": [
|
||||
-20.5,
|
||||
14.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-20.5,
|
||||
14.0
|
||||
],
|
||||
"end": [
|
||||
-57.5,
|
||||
14.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
118.82892015,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
28.916916122
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"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": "revolve_add",
|
||||
"depends_on": [
|
||||
"f_001"
|
||||
],
|
||||
"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": "05967160eebf5028112cd3269854ffcb8b2ee0bbf6c92ae3fb0e10b34158a098",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"start": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.11882892015005356,
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "M4 螺纹孔1",
|
||||
"atomic_id": "hole_wizard",
|
||||
"depends_on": [
|
||||
"f_002",
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"hole_type": "螺纹孔",
|
||||
"diameter_mm": 4.0,
|
||||
"depth_mm": 17.0,
|
||||
"end_condition": {
|
||||
"solidworks_code": 1,
|
||||
"type": "through_all"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"mm": [
|
||||
-26.5,
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"thread": {
|
||||
"diameter_mm": 4.0,
|
||||
"depth_mm": 17.0,
|
||||
"class": "1B"
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"unresolved": [
|
||||
"hole has no captured semantic selections"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "f_006",
|
||||
"name": "镜向1",
|
||||
"atomic_id": "pattern_mirror",
|
||||
"depends_on": [
|
||||
"f_005",
|
||||
"f_002"
|
||||
],
|
||||
"params": {
|
||||
"source_feature_ids": [
|
||||
"f_005"
|
||||
],
|
||||
"mirror_plane": {
|
||||
"kind": "plane",
|
||||
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"owner_feature_id": "f_002"
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"selectors": [
|
||||
{
|
||||
"kind": "plane",
|
||||
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"owner_feature_id": "f_002"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "f_007",
|
||||
"name": "镜向2",
|
||||
"atomic_id": "pattern_mirror",
|
||||
"depends_on": [
|
||||
"f_003",
|
||||
"f_006",
|
||||
"f_005"
|
||||
],
|
||||
"params": {
|
||||
"source_feature_ids": [
|
||||
"f_006",
|
||||
"f_005"
|
||||
],
|
||||
"mirror_plane": {
|
||||
"kind": "plane",
|
||||
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"owner_feature_id": "f_003"
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"selectors": [
|
||||
{
|
||||
"kind": "plane",
|
||||
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"owner_feature_id": "f_003"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"unit": "mm",
|
||||
"source": "231236.solidworks_evidence_v2.json",
|
||||
"source_schema": "solidworks.cad_evidence.v2",
|
||||
"source_status": "complete_with_blockers",
|
||||
"document_truth": {
|
||||
"mass_properties": {
|
||||
"available": true,
|
||||
"mass": 0.035506378620435146,
|
||||
"volume": 3.550637862043514e-05,
|
||||
"surface_area": 0.0227149965750377,
|
||||
"center_of_mass": [
|
||||
-2.1640579277087194e-09,
|
||||
-2.6834859118416106e-18,
|
||||
-1.5402481567846822e-18
|
||||
],
|
||||
"principal_moments": [
|
||||
8.177308920321798e-06,
|
||||
3.3916824324396345e-05,
|
||||
3.3941459005106126e-05
|
||||
],
|
||||
"principal_axes": null,
|
||||
"moment_of_inertia": null
|
||||
},
|
||||
"geometry": {
|
||||
"bounding_box": [
|
||||
-0.0575,
|
||||
-0.017000000000000008,
|
||||
-0.017000000000000008,
|
||||
0.0575,
|
||||
0.017000000000000008,
|
||||
0.017000000000000008
|
||||
],
|
||||
"solid_body_count": 1,
|
||||
"bodies": [
|
||||
{
|
||||
"kind": "body",
|
||||
"dotnet_type": "System.__ComObject",
|
||||
"name": "镜向2",
|
||||
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
|
||||
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
|
||||
"component": null,
|
||||
"geometry": {
|
||||
"box": [
|
||||
-0.0575,
|
||||
-0.017000000000000008,
|
||||
-0.017000000000000008,
|
||||
0.0575,
|
||||
0.017000000000000008,
|
||||
0.017000000000000008
|
||||
],
|
||||
"face_count": 16,
|
||||
"edge_count": 20,
|
||||
"vertex_count": 0
|
||||
},
|
||||
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"step_inference": {
|
||||
"available": true,
|
||||
"face_count": 26,
|
||||
"surface_counts": {
|
||||
"cylinder": 20,
|
||||
"plane": 6
|
||||
},
|
||||
"axis_count": 20,
|
||||
"repeat_spacings_mm": [
|
||||
{
|
||||
"spacing_mm": 26.5,
|
||||
"pair_count": 2
|
||||
}
|
||||
],
|
||||
"metrics": {
|
||||
"bounding_box_mm": [
|
||||
-57.5000001,
|
||||
-17.0000001,
|
||||
-17.0000001,
|
||||
57.5000001,
|
||||
17.0000001,
|
||||
17.0000001
|
||||
],
|
||||
"volume_mm3": 35506.357685051,
|
||||
"surface_area_mm2": 22714.98098086,
|
||||
"solid_count": 1,
|
||||
"face_count": 26,
|
||||
"edge_count": 60,
|
||||
"vertex_count": 40
|
||||
},
|
||||
"error": null,
|
||||
"truth_comparison": {
|
||||
"expected_from_evidence": {
|
||||
"bounding_box_mm": [
|
||||
-57.5,
|
||||
-17.0,
|
||||
-17.0,
|
||||
57.5,
|
||||
17.0,
|
||||
17.0
|
||||
],
|
||||
"volume_mm3": 35506.378620435,
|
||||
"surface_area_mm2": 22714.996575038,
|
||||
"solid_count": 1,
|
||||
"face_count": 16,
|
||||
"edge_count": 20,
|
||||
"vertex_count": 0
|
||||
},
|
||||
"comparisons": {
|
||||
"volume_mm3": {
|
||||
"expected": 35506.378620435,
|
||||
"actual": 35506.357685051,
|
||||
"absolute_delta": 0.020935384003678337,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"surface_area_mm2": {
|
||||
"expected": 22714.996575038,
|
||||
"actual": 22714.98098086,
|
||||
"absolute_delta": 0.015594177999446401,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"bounding_box_mm": {
|
||||
"expected": [
|
||||
-57.5,
|
||||
-17.0,
|
||||
-17.0,
|
||||
57.5,
|
||||
17.0,
|
||||
17.0
|
||||
],
|
||||
"actual": [
|
||||
-57.5000001,
|
||||
-17.0000001,
|
||||
-17.0000001,
|
||||
57.5000001,
|
||||
17.0000001,
|
||||
17.0000001
|
||||
],
|
||||
"max_absolute_delta": 1.0000000116860974e-07,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"solid_count": {
|
||||
"expected": 1,
|
||||
"actual": 1,
|
||||
"matches": true
|
||||
},
|
||||
"face_count": {
|
||||
"expected": 16,
|
||||
"actual": 26,
|
||||
"matches": false
|
||||
},
|
||||
"edge_count": {
|
||||
"expected": 20,
|
||||
"actual": 60,
|
||||
"matches": false
|
||||
},
|
||||
"vertex_count": {
|
||||
"expected": 0,
|
||||
"actual": 40,
|
||||
"matches": false
|
||||
}
|
||||
},
|
||||
"numeric_geometry_match": true,
|
||||
"topology_counts_match": false
|
||||
}
|
||||
},
|
||||
"source_has_modeling_features": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user