新增cdsl
This commit is contained in:
@@ -0,0 +1,670 @@
|
||||
{
|
||||
"schema": "cad.cdsl.llm.v1",
|
||||
"schema_version": "1.1.0",
|
||||
"kind": "part",
|
||||
"part_id": "BF-Body_Solidworks",
|
||||
"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": "BF Body Sketch",
|
||||
"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": [
|
||||
30.0,
|
||||
-22.0
|
||||
],
|
||||
"end": [
|
||||
-30.0,
|
||||
-22.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-30.0,
|
||||
-22.0
|
||||
],
|
||||
"end": [
|
||||
-30.0,
|
||||
10.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-30.0,
|
||||
10.5
|
||||
],
|
||||
"end": [
|
||||
-17.0,
|
||||
10.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-17.0,
|
||||
10.5
|
||||
],
|
||||
"end": [
|
||||
-17.0,
|
||||
17.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-17.0,
|
||||
17.0
|
||||
],
|
||||
"end": [
|
||||
17.0,
|
||||
17.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
17.0,
|
||||
17.0
|
||||
],
|
||||
"end": [
|
||||
17.0,
|
||||
10.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
17.0,
|
||||
10.5
|
||||
],
|
||||
"end": [
|
||||
30.0,
|
||||
10.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
30.0,
|
||||
10.5
|
||||
],
|
||||
"end": [
|
||||
30.0,
|
||||
-22.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_003",
|
||||
"name": "Ball Bearing Hole Sketch",
|
||||
"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": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 11.0
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"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_004",
|
||||
"name": "BF Body",
|
||||
"atomic_id": "extrude_add_blind",
|
||||
"depends_on": [
|
||||
"f_001"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 20.0,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "through_all_and_blind",
|
||||
"solidworks_code": 6
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"sketch_id": "sk_002"
|
||||
},
|
||||
{
|
||||
"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_005",
|
||||
"name": "Ball Bearing Hole",
|
||||
"atomic_id": "extrude_cut_blind",
|
||||
"depends_on": [
|
||||
"f_001",
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 20.0,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "through_next",
|
||||
"solidworks_code": 9
|
||||
},
|
||||
"reverse_distance_mm": 0.0,
|
||||
"reverse_end_condition": {
|
||||
"type": "through_all",
|
||||
"solidworks_code": 1
|
||||
}
|
||||
},
|
||||
"execution_status": "supported",
|
||||
"sketch_id": "sk_003"
|
||||
},
|
||||
{
|
||||
"id": "f_006",
|
||||
"name": "Vertical Holes",
|
||||
"atomic_id": "hole_wizard",
|
||||
"depends_on": [
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"hole_type": "Hex Socket Head ISO 4762",
|
||||
"diameter_mm": 6.6,
|
||||
"depth_mm": 32.5,
|
||||
"end_condition": {
|
||||
"solidworks_code": 1,
|
||||
"type": "through_all"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"mm": [
|
||||
-23.0,
|
||||
-0.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"mm": [
|
||||
23.0,
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"counterbore": {
|
||||
"diameter_mm": 10.8,
|
||||
"depth_mm": 5.0
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"sketch_id": "sk_001"
|
||||
},
|
||||
{
|
||||
"id": "f_007",
|
||||
"name": "Horizontal Holes",
|
||||
"atomic_id": "hole_wizard",
|
||||
"depends_on": [
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"hole_type": "Screw Clearances",
|
||||
"diameter_mm": 5.5,
|
||||
"depth_mm": 20.0,
|
||||
"end_condition": {
|
||||
"solidworks_code": 1,
|
||||
"type": "through_all"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"mm": [
|
||||
-23.0,
|
||||
-0.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"mm": [
|
||||
23.0,
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"mm": [
|
||||
23.0,
|
||||
-15.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"mm": [
|
||||
-23.0,
|
||||
-15.0,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"sketch_id": "sk_001"
|
||||
},
|
||||
{
|
||||
"id": "f_008",
|
||||
"name": "Production Filet",
|
||||
"atomic_id": "fillet",
|
||||
"depends_on": [
|
||||
"f_004",
|
||||
"f_006"
|
||||
],
|
||||
"params": {
|
||||
"radius_mm": 0.1,
|
||||
"tangent_propagation": false
|
||||
},
|
||||
"execution_status": "deferred"
|
||||
},
|
||||
{
|
||||
"id": "f_009",
|
||||
"name": "Aesthetic Chamfer",
|
||||
"atomic_id": "chamfer",
|
||||
"depends_on": [
|
||||
"f_004",
|
||||
"f_005"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 0.5,
|
||||
"angle_rad": 0.78539816339745
|
||||
},
|
||||
"execution_status": "deferred"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"unit": "mm",
|
||||
"source": "05_壳体与盖件/0501_箱体壳体/050199_通用壳体/BF Body_Solidworks格式三维图.solidworks_evidence_v2.json",
|
||||
"source_schema": "solidworks.cad_evidence.v2",
|
||||
"source_status": "hybrid_semantic_surfaceir_pending",
|
||||
"document_truth": {
|
||||
"mass_properties": {
|
||||
"available": true,
|
||||
"mass": 0.24808232314899223,
|
||||
"volume": 3.1570669653694425e-05,
|
||||
"surface_area": 0.010612984516184816,
|
||||
"center_of_mass": [
|
||||
-7.451942680471227e-08,
|
||||
-0.00459202283850303,
|
||||
1.384299501810679e-10
|
||||
],
|
||||
"principal_moments": [
|
||||
4.16942295926628e-05,
|
||||
8.450526549723642e-05,
|
||||
0.00010872875053394958
|
||||
],
|
||||
"principal_axes": null,
|
||||
"moment_of_inertia": null
|
||||
},
|
||||
"geometry": {
|
||||
"bounding_box": [
|
||||
-0.03,
|
||||
-0.022000000000000006,
|
||||
-0.01,
|
||||
0.03,
|
||||
0.017,
|
||||
0.01
|
||||
],
|
||||
"solid_body_count": 1,
|
||||
"bodies": [
|
||||
{
|
||||
"kind": "body",
|
||||
"dotnet_type": "System.__ComObject",
|
||||
"name": "Aesthetic Chamfer",
|
||||
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABvAAAAbgAAAGcAAABlAAAA",
|
||||
"persist_reference_sha256": "c2c9535b6fa38d82852683f79f0733bc5b64d0a6890b25ffb07d43b85e633fa7",
|
||||
"component": null,
|
||||
"geometry": {
|
||||
"box": [
|
||||
-0.03,
|
||||
-0.022000000000000006,
|
||||
-0.01,
|
||||
0.03,
|
||||
0.017,
|
||||
0.01
|
||||
],
|
||||
"face_count": 83,
|
||||
"edge_count": 146,
|
||||
"vertex_count": 54
|
||||
},
|
||||
"stable_id": "c2c9535b6fa38d82852683f79f0733bc5b64d0a6890b25ffb07d43b85e633fa7"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"step_inference": {
|
||||
"available": true,
|
||||
"face_count": 114,
|
||||
"surface_counts": {
|
||||
"cone": 36,
|
||||
"cylinder": 28,
|
||||
"plane": 46,
|
||||
"torus": 4
|
||||
},
|
||||
"axis_count": 64,
|
||||
"repeat_spacings_mm": [
|
||||
{
|
||||
"spacing_mm": 46.0,
|
||||
"pair_count": 7
|
||||
},
|
||||
{
|
||||
"spacing_mm": 19.5,
|
||||
"pair_count": 5
|
||||
},
|
||||
{
|
||||
"spacing_mm": 23.0054,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 27.4636,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 49.9625,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 48.3839,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 52.1656,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 15.0,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 24.6018,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 11.6112,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 41.3282,
|
||||
"pair_count": 4
|
||||
},
|
||||
{
|
||||
"spacing_mm": 12.6815,
|
||||
"pair_count": 4
|
||||
}
|
||||
],
|
||||
"metrics": {
|
||||
"bounding_box_mm": [
|
||||
-30.0,
|
||||
-22.0,
|
||||
-10.0,
|
||||
30.0,
|
||||
17.0,
|
||||
10.0
|
||||
],
|
||||
"volume_mm3": 31570.682004786,
|
||||
"surface_area_mm2": 10612.980837447,
|
||||
"solid_count": 1,
|
||||
"face_count": 114,
|
||||
"edge_count": 278,
|
||||
"vertex_count": 158
|
||||
},
|
||||
"error": null,
|
||||
"truth_comparison": {
|
||||
"expected_from_evidence": {
|
||||
"bounding_box_mm": [
|
||||
-30.0,
|
||||
-22.0,
|
||||
-10.0,
|
||||
30.0,
|
||||
17.0,
|
||||
10.0
|
||||
],
|
||||
"volume_mm3": 31570.669653694,
|
||||
"surface_area_mm2": 10612.984516185,
|
||||
"solid_count": 1,
|
||||
"face_count": 83,
|
||||
"edge_count": 146,
|
||||
"vertex_count": 54
|
||||
},
|
||||
"comparisons": {
|
||||
"volume_mm3": {
|
||||
"expected": 31570.669653694,
|
||||
"actual": 31570.682004786,
|
||||
"absolute_delta": 0.012351091998425545,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"surface_area_mm2": {
|
||||
"expected": 10612.984516185,
|
||||
"actual": 10612.980837447,
|
||||
"absolute_delta": 0.0036787380013265647,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"bounding_box_mm": {
|
||||
"expected": [
|
||||
-30.0,
|
||||
-22.0,
|
||||
-10.0,
|
||||
30.0,
|
||||
17.0,
|
||||
10.0
|
||||
],
|
||||
"actual": [
|
||||
-30.0,
|
||||
-22.0,
|
||||
-10.0,
|
||||
30.0,
|
||||
17.0,
|
||||
10.0
|
||||
],
|
||||
"max_absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"solid_count": {
|
||||
"expected": 1,
|
||||
"actual": 1,
|
||||
"matches": true
|
||||
},
|
||||
"face_count": {
|
||||
"expected": 83,
|
||||
"actual": 114,
|
||||
"matches": false
|
||||
},
|
||||
"edge_count": {
|
||||
"expected": 146,
|
||||
"actual": 278,
|
||||
"matches": false
|
||||
},
|
||||
"vertex_count": {
|
||||
"expected": 54,
|
||||
"actual": 158,
|
||||
"matches": false
|
||||
}
|
||||
},
|
||||
"numeric_geometry_match": true,
|
||||
"topology_counts_match": false
|
||||
}
|
||||
},
|
||||
"source_has_modeling_features": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user