新增cdsl
This commit is contained in:
@@ -0,0 +1,720 @@
|
||||
{
|
||||
"schema": "cad.cdsl.llm.v1",
|
||||
"schema_version": "1.1.0",
|
||||
"kind": "part",
|
||||
"part_id": "encoder_plate_cover",
|
||||
"geometry": {
|
||||
"sketches": [
|
||||
{
|
||||
"id": "sk_001",
|
||||
"name": "Origin",
|
||||
"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": "Sketch1",
|
||||
"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": [
|
||||
-12.0,
|
||||
-12.0
|
||||
],
|
||||
"end": [
|
||||
12.0,
|
||||
-12.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
12.0,
|
||||
-12.0
|
||||
],
|
||||
"end": [
|
||||
12.0,
|
||||
12.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
12.0,
|
||||
12.0
|
||||
],
|
||||
"end": [
|
||||
-12.0,
|
||||
12.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-12.0,
|
||||
12.0
|
||||
],
|
||||
"end": [
|
||||
-12.0,
|
||||
-12.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-12.0,
|
||||
-12.0
|
||||
],
|
||||
"end": [
|
||||
12.0,
|
||||
12.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-12.0,
|
||||
12.0
|
||||
],
|
||||
"end": [
|
||||
12.0,
|
||||
-12.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_003",
|
||||
"name": "Sketch3",
|
||||
"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": "circles",
|
||||
"items": [
|
||||
{
|
||||
"center": [
|
||||
-8.0,
|
||||
8.0
|
||||
],
|
||||
"radius_mm": 4.0
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
8.0,
|
||||
8.0
|
||||
],
|
||||
"radius_mm": 4.0
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
-8.0,
|
||||
-8.0
|
||||
],
|
||||
"radius_mm": 4.0
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
8.0,
|
||||
-8.0
|
||||
],
|
||||
"radius_mm": 4.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_004",
|
||||
"name": "Sketch4",
|
||||
"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": "circles",
|
||||
"items": [
|
||||
{
|
||||
"center": [
|
||||
-8.0,
|
||||
8.0
|
||||
],
|
||||
"radius_mm": 2.0
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
8.0,
|
||||
8.0
|
||||
],
|
||||
"radius_mm": 2.0
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
-8.0,
|
||||
-8.0
|
||||
],
|
||||
"radius_mm": 2.0
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
8.0,
|
||||
-8.0
|
||||
],
|
||||
"radius_mm": 2.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_005",
|
||||
"name": "Sketch5",
|
||||
"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": "circles",
|
||||
"items": [
|
||||
{
|
||||
"center": [
|
||||
-8.0,
|
||||
8.0
|
||||
],
|
||||
"radius_mm": 3.1
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
8.0,
|
||||
8.0
|
||||
],
|
||||
"radius_mm": 3.1
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
-8.0,
|
||||
-8.0
|
||||
],
|
||||
"radius_mm": 3.1
|
||||
},
|
||||
{
|
||||
"center": [
|
||||
8.0,
|
||||
-8.0
|
||||
],
|
||||
"radius_mm": 3.1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"features": [
|
||||
{
|
||||
"id": "f_001",
|
||||
"name": "Front Plane",
|
||||
"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": "Top Plane",
|
||||
"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": "Right Plane",
|
||||
"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": "Boss-Extrude1",
|
||||
"atomic_id": "extrude_add_blind",
|
||||
"depends_on": [
|
||||
"f_002"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 3.0,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "blind",
|
||||
"solidworks_code": 0
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"sketch_id": "sk_002"
|
||||
},
|
||||
{
|
||||
"id": "f_005",
|
||||
"name": "Fillet1",
|
||||
"atomic_id": "fillet",
|
||||
"depends_on": [
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"radius_mm": 4.0,
|
||||
"tangent_propagation": false
|
||||
},
|
||||
"execution_status": "deferred"
|
||||
},
|
||||
{
|
||||
"id": "f_006",
|
||||
"name": "Boss-Extrude2",
|
||||
"atomic_id": "extrude_add_blind",
|
||||
"depends_on": [
|
||||
"f_004",
|
||||
"f_005"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 5.5,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "blind",
|
||||
"solidworks_code": 0
|
||||
}
|
||||
},
|
||||
"execution_status": "supported",
|
||||
"sketch_id": "sk_003"
|
||||
},
|
||||
{
|
||||
"id": "f_007",
|
||||
"name": "Cut-Extrude1",
|
||||
"atomic_id": "extrude_cut_blind",
|
||||
"depends_on": [
|
||||
"f_006",
|
||||
"f_004",
|
||||
"f_005"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 0.0,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "through_all",
|
||||
"solidworks_code": 1
|
||||
}
|
||||
},
|
||||
"execution_status": "supported",
|
||||
"sketch_id": "sk_004"
|
||||
},
|
||||
{
|
||||
"id": "f_008",
|
||||
"name": "Cut-Extrude2",
|
||||
"atomic_id": "extrude_cut_blind",
|
||||
"depends_on": [
|
||||
"f_004",
|
||||
"f_007"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 2.5,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "blind",
|
||||
"solidworks_code": 0
|
||||
}
|
||||
},
|
||||
"execution_status": "supported",
|
||||
"sketch_id": "sk_005"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"unit": "mm",
|
||||
"source": "04_支承与导向件/0405_平板底板/040599_通用平板/encoder_plate_cover.solidworks_evidence_v2.json",
|
||||
"source_schema": "solidworks.cad_evidence.v2",
|
||||
"source_status": "hybrid_semantic_surfaceir_pending",
|
||||
"document_truth": {
|
||||
"mass_properties": {
|
||||
"available": true,
|
||||
"mass": 0.0017367477705643873,
|
||||
"volume": 1.7367477705643873e-06,
|
||||
"surface_area": 0.001888300827868215,
|
||||
"center_of_mass": [
|
||||
-1.3477448604919982e-18,
|
||||
0.0021223047646694295,
|
||||
7.441896451630939e-19
|
||||
],
|
||||
"principal_moments": [
|
||||
8.559349197948674e-08,
|
||||
8.559349197948674e-08,
|
||||
1.6433906851855228e-07
|
||||
],
|
||||
"principal_axes": null,
|
||||
"moment_of_inertia": null
|
||||
},
|
||||
"geometry": {
|
||||
"bounding_box": [
|
||||
-0.012000000000000004,
|
||||
0.0,
|
||||
-0.012,
|
||||
0.012,
|
||||
0.0055,
|
||||
0.012
|
||||
],
|
||||
"solid_body_count": 1,
|
||||
"bodies": [
|
||||
{
|
||||
"kind": "body",
|
||||
"dotnet_type": "System.__ComObject",
|
||||
"name": "Cut-Extrude2",
|
||||
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
|
||||
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
|
||||
"component": null,
|
||||
"geometry": {
|
||||
"box": [
|
||||
-0.012000000000000004,
|
||||
0.0,
|
||||
-0.012,
|
||||
0.012,
|
||||
0.0055,
|
||||
0.012
|
||||
],
|
||||
"face_count": 26,
|
||||
"edge_count": 44,
|
||||
"vertex_count": 16
|
||||
},
|
||||
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"step_inference": {
|
||||
"available": true,
|
||||
"face_count": 38,
|
||||
"surface_counts": {
|
||||
"cylinder": 24,
|
||||
"plane": 14
|
||||
},
|
||||
"axis_count": 24,
|
||||
"repeat_spacings_mm": [
|
||||
{
|
||||
"spacing_mm": 16.0,
|
||||
"pair_count": 12
|
||||
},
|
||||
{
|
||||
"spacing_mm": 16.0078,
|
||||
"pair_count": 8
|
||||
},
|
||||
{
|
||||
"spacing_mm": 16.1941,
|
||||
"pair_count": 8
|
||||
},
|
||||
{
|
||||
"spacing_mm": 16.2788,
|
||||
"pair_count": 8
|
||||
},
|
||||
{
|
||||
"spacing_mm": 22.6274,
|
||||
"pair_count": 6
|
||||
},
|
||||
{
|
||||
"spacing_mm": 0.5,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 22.6329,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 22.7651,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 2.5,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 22.8254,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 3.0,
|
||||
"pair_count": 4
|
||||
}
|
||||
],
|
||||
"metrics": {
|
||||
"bounding_box_mm": [
|
||||
-12.0,
|
||||
0.0,
|
||||
-12.0,
|
||||
12.0,
|
||||
5.5,
|
||||
12.0
|
||||
],
|
||||
"volume_mm3": 1736.747770564,
|
||||
"surface_area_mm2": 1888.300827868,
|
||||
"solid_count": 1,
|
||||
"face_count": 38,
|
||||
"edge_count": 92,
|
||||
"vertex_count": 60
|
||||
},
|
||||
"error": null,
|
||||
"truth_comparison": {
|
||||
"expected_from_evidence": {
|
||||
"bounding_box_mm": [
|
||||
-12.0,
|
||||
0.0,
|
||||
-12.0,
|
||||
12.0,
|
||||
5.5,
|
||||
12.0
|
||||
],
|
||||
"volume_mm3": 1736.747770564,
|
||||
"surface_area_mm2": 1888.300827868,
|
||||
"solid_count": 1,
|
||||
"face_count": 26,
|
||||
"edge_count": 44,
|
||||
"vertex_count": 16
|
||||
},
|
||||
"comparisons": {
|
||||
"volume_mm3": {
|
||||
"expected": 1736.747770564,
|
||||
"actual": 1736.747770564,
|
||||
"absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"surface_area_mm2": {
|
||||
"expected": 1888.300827868,
|
||||
"actual": 1888.300827868,
|
||||
"absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"bounding_box_mm": {
|
||||
"expected": [
|
||||
-12.0,
|
||||
0.0,
|
||||
-12.0,
|
||||
12.0,
|
||||
5.5,
|
||||
12.0
|
||||
],
|
||||
"actual": [
|
||||
-12.0,
|
||||
0.0,
|
||||
-12.0,
|
||||
12.0,
|
||||
5.5,
|
||||
12.0
|
||||
],
|
||||
"max_absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"solid_count": {
|
||||
"expected": 1,
|
||||
"actual": 1,
|
||||
"matches": true
|
||||
},
|
||||
"face_count": {
|
||||
"expected": 26,
|
||||
"actual": 38,
|
||||
"matches": false
|
||||
},
|
||||
"edge_count": {
|
||||
"expected": 44,
|
||||
"actual": 92,
|
||||
"matches": false
|
||||
},
|
||||
"vertex_count": {
|
||||
"expected": 16,
|
||||
"actual": 60,
|
||||
"matches": false
|
||||
}
|
||||
},
|
||||
"numeric_geometry_match": true,
|
||||
"topology_counts_match": false
|
||||
}
|
||||
},
|
||||
"source_has_modeling_features": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user