change
This commit is contained in:
@@ -0,0 +1,603 @@
|
||||
{
|
||||
"schema": "cad.cdsl.llm.v1",
|
||||
"schema_version": "1.1.0",
|
||||
"kind": "part",
|
||||
"part_id": "037197",
|
||||
"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": "草图2",
|
||||
"role": "profile",
|
||||
"workplane": {
|
||||
"origin_mm": [
|
||||
-0.0,
|
||||
1000.0,
|
||||
-0.0
|
||||
],
|
||||
"x_dir": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"y_dir": [
|
||||
0.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"normal": [
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
"profile": {
|
||||
"type": "analytic_contours",
|
||||
"contours": [
|
||||
{
|
||||
"role": "outer",
|
||||
"closed": true,
|
||||
"segments": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-47.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
-57.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
-57.0
|
||||
],
|
||||
"end": [
|
||||
3.0,
|
||||
-57.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
3.0,
|
||||
-57.0
|
||||
],
|
||||
"end": [
|
||||
3.0,
|
||||
3.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
3.0,
|
||||
3.0
|
||||
],
|
||||
"end": [
|
||||
-47.0,
|
||||
3.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-47.0,
|
||||
3.0
|
||||
],
|
||||
"end": [
|
||||
-47.0,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_003",
|
||||
"name": "草图3",
|
||||
"role": "profile",
|
||||
"workplane": {
|
||||
"origin_mm": [
|
||||
-3.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": "circle",
|
||||
"center": [
|
||||
27.0,
|
||||
20.0
|
||||
],
|
||||
"radius_mm": 12.7
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_004",
|
||||
"name": "草图4",
|
||||
"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": [
|
||||
54.0,
|
||||
40.0
|
||||
],
|
||||
"end": [
|
||||
57.0,
|
||||
40.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
57.0,
|
||||
40.0
|
||||
],
|
||||
"end": [
|
||||
57.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
57.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
54.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
54.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
54.0,
|
||||
40.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_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_002"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 40.0,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "blind",
|
||||
"solidworks_code": 0
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"sketch_id": "sk_002"
|
||||
},
|
||||
{
|
||||
"id": "f_005",
|
||||
"name": "切除-拉伸1",
|
||||
"atomic_id": "extrude_cut_blind",
|
||||
"depends_on": [
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 40.0,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "blind",
|
||||
"solidworks_code": 0
|
||||
}
|
||||
},
|
||||
"execution_status": "supported",
|
||||
"sketch_id": "sk_003"
|
||||
},
|
||||
{
|
||||
"id": "f_006",
|
||||
"name": "凸台-拉伸2",
|
||||
"atomic_id": "extrude_add_blind",
|
||||
"depends_on": [
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 0.0,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "up_to_surface",
|
||||
"solidworks_code": 4,
|
||||
"reference": {
|
||||
"kind": "face",
|
||||
"stable_id": "fcd4cb7dceb57a7dff24bb8dbfb7d98c64b6c7dd93d5397866cd93c8195ce614",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"surface": {
|
||||
"type": "plane",
|
||||
"parameters": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-0.047,
|
||||
0.04,
|
||||
-0.003
|
||||
]
|
||||
},
|
||||
"box": [
|
||||
-0.047,
|
||||
0.0,
|
||||
-0.003,
|
||||
-0.047,
|
||||
0.04,
|
||||
0.0
|
||||
],
|
||||
"area": 0.00012
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"sketch_id": "sk_004"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"unit": "mm",
|
||||
"source": "037197.solidworks_evidence_v2.json",
|
||||
"source_schema": "solidworks.cad_evidence.v2",
|
||||
"source_status": "complete",
|
||||
"document_truth": {
|
||||
"mass_properties": {
|
||||
"available": true,
|
||||
"mass": 0.016959877562707518,
|
||||
"volume": 1.6959877562707518e-05,
|
||||
"surface_area": 0.012709974402008547,
|
||||
"center_of_mass": [
|
||||
-0.01257300905650294,
|
||||
0.019999999999999993,
|
||||
0.029554469470823234
|
||||
],
|
||||
"principal_moments": [
|
||||
6.809607884400813e-06,
|
||||
1.2456862487890026e-05,
|
||||
1.4461060646246208e-05
|
||||
],
|
||||
"principal_axes": null,
|
||||
"moment_of_inertia": null
|
||||
},
|
||||
"geometry": {
|
||||
"bounding_box": [
|
||||
-0.047,
|
||||
0.0,
|
||||
-0.0030000000000000027,
|
||||
0.003000000000000007,
|
||||
0.04,
|
||||
0.05700000000000001
|
||||
],
|
||||
"solid_body_count": 1,
|
||||
"bodies": [
|
||||
{
|
||||
"kind": "body",
|
||||
"dotnet_type": "System.__ComObject",
|
||||
"name": "凸台-拉伸2",
|
||||
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABsAAAAawAAAGoAAAA=",
|
||||
"persist_reference_sha256": "2db9119400da0ea5cb25d03727526719c18c6bd5ffe1fb84e98a0f4cd5d771fa",
|
||||
"component": null,
|
||||
"geometry": {
|
||||
"box": [
|
||||
-0.047,
|
||||
0.0,
|
||||
-0.003,
|
||||
0.003000000000000007,
|
||||
0.04,
|
||||
0.05700000000000001
|
||||
],
|
||||
"face_count": 11,
|
||||
"edge_count": 26,
|
||||
"vertex_count": 16
|
||||
},
|
||||
"stable_id": "2db9119400da0ea5cb25d03727526719c18c6bd5ffe1fb84e98a0f4cd5d771fa"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"step_inference": {
|
||||
"available": true,
|
||||
"face_count": 12,
|
||||
"surface_counts": {
|
||||
"cylinder": 2,
|
||||
"plane": 10
|
||||
},
|
||||
"axis_count": 2,
|
||||
"repeat_spacings_mm": [],
|
||||
"metrics": {
|
||||
"bounding_box_mm": [
|
||||
-47.0,
|
||||
0.0,
|
||||
-3.0,
|
||||
3.0,
|
||||
40.0,
|
||||
57.0
|
||||
],
|
||||
"volume_mm3": 16959.877562707,
|
||||
"surface_area_mm2": 12709.974402009,
|
||||
"solid_count": 1,
|
||||
"face_count": 12,
|
||||
"edge_count": 30,
|
||||
"vertex_count": 20
|
||||
},
|
||||
"error": null,
|
||||
"truth_comparison": {
|
||||
"expected_from_evidence": {
|
||||
"bounding_box_mm": [
|
||||
-47.0,
|
||||
0.0,
|
||||
-3.0,
|
||||
3.0,
|
||||
40.0,
|
||||
57.0
|
||||
],
|
||||
"volume_mm3": 16959.877562708,
|
||||
"surface_area_mm2": 12709.974402009,
|
||||
"solid_count": 1,
|
||||
"face_count": 11,
|
||||
"edge_count": 26,
|
||||
"vertex_count": 16
|
||||
},
|
||||
"comparisons": {
|
||||
"volume_mm3": {
|
||||
"expected": 16959.877562708,
|
||||
"actual": 16959.877562707,
|
||||
"absolute_delta": 1.000444171950221e-09,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"surface_area_mm2": {
|
||||
"expected": 12709.974402009,
|
||||
"actual": 12709.974402009,
|
||||
"absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"bounding_box_mm": {
|
||||
"expected": [
|
||||
-47.0,
|
||||
0.0,
|
||||
-3.0,
|
||||
3.0,
|
||||
40.0,
|
||||
57.0
|
||||
],
|
||||
"actual": [
|
||||
-47.0,
|
||||
0.0,
|
||||
-3.0,
|
||||
3.0,
|
||||
40.0,
|
||||
57.0
|
||||
],
|
||||
"max_absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"solid_count": {
|
||||
"expected": 1,
|
||||
"actual": 1,
|
||||
"matches": true
|
||||
},
|
||||
"face_count": {
|
||||
"expected": 11,
|
||||
"actual": 12,
|
||||
"matches": false
|
||||
},
|
||||
"edge_count": {
|
||||
"expected": 26,
|
||||
"actual": 30,
|
||||
"matches": false
|
||||
},
|
||||
"vertex_count": {
|
||||
"expected": 16,
|
||||
"actual": 20,
|
||||
"matches": false
|
||||
}
|
||||
},
|
||||
"numeric_geometry_match": true,
|
||||
"topology_counts_match": false
|
||||
}
|
||||
},
|
||||
"source_has_modeling_features": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user