新增cdsl
This commit is contained in:
@@ -0,0 +1,652 @@
|
||||
{
|
||||
"schema": "cad.cdsl.llm.v1",
|
||||
"schema_version": "1.1.0",
|
||||
"kind": "part",
|
||||
"part_id": "Barrel-Cap_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": "Sketch1",
|
||||
"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,
|
||||
48.25
|
||||
],
|
||||
"end": [
|
||||
40.0,
|
||||
48.25
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
40.0,
|
||||
48.25
|
||||
],
|
||||
"end": [
|
||||
40.0,
|
||||
57.15
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
40.0,
|
||||
57.15
|
||||
],
|
||||
"end": [
|
||||
23.0,
|
||||
72.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
23.0,
|
||||
72.5
|
||||
],
|
||||
"end": [
|
||||
-0.0,
|
||||
72.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-0.0,
|
||||
72.5
|
||||
],
|
||||
"end": [
|
||||
-0.0,
|
||||
48.25
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
49.929243325,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
-0.0,
|
||||
48.25
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_003",
|
||||
"name": "Sketch2",
|
||||
"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": "annulus",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"inner_radius_mm": 44.45,
|
||||
"outer_radius_mm": 50.8
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_004",
|
||||
"name": "Sketch3",
|
||||
"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": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
62.5
|
||||
],
|
||||
"radius_mm": 5.35
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"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": "Revolve1",
|
||||
"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": "3467c06939688bd5d084aba1069fb4a33324d5cb94f3a2ac402798bc00130316",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"start": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.04992924332487371,
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "Fillet1",
|
||||
"atomic_id": "fillet",
|
||||
"depends_on": [
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"radius_mm": 10.0,
|
||||
"tangent_propagation": false
|
||||
},
|
||||
"execution_status": "deferred"
|
||||
},
|
||||
{
|
||||
"id": "f_006",
|
||||
"name": "Boss-Extrude1",
|
||||
"atomic_id": "extrude_add_blind",
|
||||
"depends_on": [
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 10.0,
|
||||
"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_004"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 10.7,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "blind",
|
||||
"solidworks_code": 0
|
||||
}
|
||||
},
|
||||
"execution_status": "supported",
|
||||
"sketch_id": "sk_004"
|
||||
},
|
||||
{
|
||||
"id": "f_008",
|
||||
"name": "Chamfer2",
|
||||
"atomic_id": "chamfer",
|
||||
"depends_on": [
|
||||
"f_007",
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 1.0,
|
||||
"angle_rad": 0.78539816339745
|
||||
},
|
||||
"execution_status": "deferred"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"unit": "mm",
|
||||
"source": "05_壳体与盖件/0502_端盖/050299_通用端盖/Barrel Cap_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.3191786124775958,
|
||||
"volume": 0.0003191786124775958,
|
||||
"surface_area": 0.05620451452247265,
|
||||
"center_of_mass": [
|
||||
0.019562484037948517,
|
||||
-7.316063100566011e-18,
|
||||
2.4257297421642888e-18
|
||||
],
|
||||
"principal_moments": [
|
||||
0.0006140340902759434,
|
||||
0.0006140340902759434,
|
||||
0.0011355113938117019
|
||||
],
|
||||
"principal_axes": null,
|
||||
"moment_of_inertia": null
|
||||
},
|
||||
"geometry": {
|
||||
"bounding_box": [
|
||||
-1.5354547754917252e-18,
|
||||
-0.0725,
|
||||
-0.0725,
|
||||
0.05,
|
||||
0.0725,
|
||||
0.0725
|
||||
],
|
||||
"solid_body_count": 1,
|
||||
"bodies": [
|
||||
{
|
||||
"kind": "body",
|
||||
"dotnet_type": "System.__ComObject",
|
||||
"name": "CirPattern3",
|
||||
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABpAAAAZwAAAGYAAABlAAAA",
|
||||
"persist_reference_sha256": "8b077bfba4021db81b94bb001f6368a758ea5518e726c5789c36d2ce3d6f681a",
|
||||
"component": null,
|
||||
"geometry": {
|
||||
"box": [
|
||||
-1.5354547754917252e-18,
|
||||
-0.0725,
|
||||
-0.0725,
|
||||
0.05,
|
||||
0.0725,
|
||||
0.0725
|
||||
],
|
||||
"face_count": 46,
|
||||
"edge_count": 46,
|
||||
"vertex_count": 0
|
||||
},
|
||||
"stable_id": "8b077bfba4021db81b94bb001f6368a758ea5518e726c5789c36d2ce3d6f681a"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"step_inference": {
|
||||
"available": true,
|
||||
"face_count": 76,
|
||||
"surface_counts": {
|
||||
"cone": 26,
|
||||
"cylinder": 32,
|
||||
"plane": 16,
|
||||
"torus": 2
|
||||
},
|
||||
"axis_count": 58,
|
||||
"repeat_spacings_mm": [
|
||||
{
|
||||
"spacing_mm": 32.3524,
|
||||
"pair_count": 24
|
||||
},
|
||||
{
|
||||
"spacing_mm": 62.5,
|
||||
"pair_count": 24
|
||||
},
|
||||
{
|
||||
"spacing_mm": 88.3883,
|
||||
"pair_count": 24
|
||||
},
|
||||
{
|
||||
"spacing_mm": 108.2532,
|
||||
"pair_count": 24
|
||||
},
|
||||
{
|
||||
"spacing_mm": 120.7407,
|
||||
"pair_count": 24
|
||||
},
|
||||
{
|
||||
"spacing_mm": 88.919,
|
||||
"pair_count": 24
|
||||
},
|
||||
{
|
||||
"spacing_mm": 108.6869,
|
||||
"pair_count": 24
|
||||
},
|
||||
{
|
||||
"spacing_mm": 121.1297,
|
||||
"pair_count": 24
|
||||
},
|
||||
{
|
||||
"spacing_mm": 63.2482,
|
||||
"pair_count": 24
|
||||
},
|
||||
{
|
||||
"spacing_mm": 33.7752,
|
||||
"pair_count": 24
|
||||
},
|
||||
{
|
||||
"spacing_mm": 125.0,
|
||||
"pair_count": 12
|
||||
},
|
||||
{
|
||||
"spacing_mm": 125.3758,
|
||||
"pair_count": 12
|
||||
}
|
||||
],
|
||||
"metrics": {
|
||||
"bounding_box_mm": [
|
||||
-0.0,
|
||||
-72.5,
|
||||
-72.5000001,
|
||||
50.0,
|
||||
72.5,
|
||||
72.5
|
||||
],
|
||||
"volume_mm3": 319178.612477596,
|
||||
"surface_area_mm2": 56204.514522473,
|
||||
"solid_count": 1,
|
||||
"face_count": 76,
|
||||
"edge_count": 152,
|
||||
"vertex_count": 92
|
||||
},
|
||||
"error": null,
|
||||
"truth_comparison": {
|
||||
"expected_from_evidence": {
|
||||
"bounding_box_mm": [
|
||||
-0.0,
|
||||
-72.5,
|
||||
-72.5,
|
||||
50.0,
|
||||
72.5,
|
||||
72.5
|
||||
],
|
||||
"volume_mm3": 319178.612477596,
|
||||
"surface_area_mm2": 56204.514522473,
|
||||
"solid_count": 1,
|
||||
"face_count": 46,
|
||||
"edge_count": 46,
|
||||
"vertex_count": 0
|
||||
},
|
||||
"comparisons": {
|
||||
"volume_mm3": {
|
||||
"expected": 319178.612477596,
|
||||
"actual": 319178.612477596,
|
||||
"absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"surface_area_mm2": {
|
||||
"expected": 56204.514522473,
|
||||
"actual": 56204.514522473,
|
||||
"absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"bounding_box_mm": {
|
||||
"expected": [
|
||||
-0.0,
|
||||
-72.5,
|
||||
-72.5,
|
||||
50.0,
|
||||
72.5,
|
||||
72.5
|
||||
],
|
||||
"actual": [
|
||||
-0.0,
|
||||
-72.5,
|
||||
-72.5000001,
|
||||
50.0,
|
||||
72.5,
|
||||
72.5
|
||||
],
|
||||
"max_absolute_delta": 9.999999406318238e-08,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"solid_count": {
|
||||
"expected": 1,
|
||||
"actual": 1,
|
||||
"matches": true
|
||||
},
|
||||
"face_count": {
|
||||
"expected": 46,
|
||||
"actual": 76,
|
||||
"matches": false
|
||||
},
|
||||
"edge_count": {
|
||||
"expected": 46,
|
||||
"actual": 152,
|
||||
"matches": false
|
||||
},
|
||||
"vertex_count": {
|
||||
"expected": 0,
|
||||
"actual": 92,
|
||||
"matches": false
|
||||
}
|
||||
},
|
||||
"numeric_geometry_match": true,
|
||||
"topology_counts_match": false
|
||||
}
|
||||
},
|
||||
"source_has_modeling_features": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user