新增cdsl
This commit is contained in:
@@ -0,0 +1,678 @@
|
||||
{
|
||||
"schema": "cad.cdsl.llm.v1",
|
||||
"schema_version": "1.1.0",
|
||||
"kind": "part",
|
||||
"part_id": "3-Rod",
|
||||
"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,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
30.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
30.0
|
||||
],
|
||||
"end": [
|
||||
20.0,
|
||||
30.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
20.0,
|
||||
30.0
|
||||
],
|
||||
"end": [
|
||||
21.0,
|
||||
30.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
21.0,
|
||||
30.0
|
||||
],
|
||||
"end": [
|
||||
21.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
21.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
20.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
20.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
20.0,
|
||||
-70.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
20.0,
|
||||
-70.0
|
||||
],
|
||||
"end": [
|
||||
25.0,
|
||||
-70.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
25.0,
|
||||
-70.0
|
||||
],
|
||||
"end": [
|
||||
25.0,
|
||||
-400.76
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
25.0,
|
||||
-400.76
|
||||
],
|
||||
"end": [
|
||||
23.5,
|
||||
-402.76
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
23.5,
|
||||
-402.76
|
||||
],
|
||||
"end": [
|
||||
23.5,
|
||||
-465.76
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
23.5,
|
||||
-465.76
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
-465.76
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
-465.76
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
-415.76
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
-415.76
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
0.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": "analytic_contours",
|
||||
"contours": [
|
||||
{
|
||||
"role": "outer",
|
||||
"closed": true,
|
||||
"segments": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
20.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
10.0,
|
||||
17.320508076
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
10.0,
|
||||
17.320508076
|
||||
],
|
||||
"end": [
|
||||
-10.0,
|
||||
17.320508076
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-10.0,
|
||||
17.320508076
|
||||
],
|
||||
"end": [
|
||||
-20.0,
|
||||
-0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-20.0,
|
||||
-0.0
|
||||
],
|
||||
"end": [
|
||||
-10.0,
|
||||
-17.320508076
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-10.0,
|
||||
-17.320508076
|
||||
],
|
||||
"end": [
|
||||
10.0,
|
||||
-17.320508076
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
10.0,
|
||||
-17.320508076
|
||||
],
|
||||
"end": [
|
||||
20.0,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"role": "inner",
|
||||
"closed": true,
|
||||
"segments": [
|
||||
{
|
||||
"type": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 12.5
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 17.320508076
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"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,
|
||||
-415.76,
|
||||
0.0
|
||||
],
|
||||
"direction": [
|
||||
0.0,
|
||||
1.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "blind",
|
||||
"solidworks_code": 0
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"sketch_id": "sk_002",
|
||||
"selectors": [
|
||||
{
|
||||
"kind": "axis",
|
||||
"stable_id": "4f9f182617fa0bee08ad5729649b81eafd154e48cd44cf7b699af3690b3a19cd",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"start": [
|
||||
0.0,
|
||||
-0.41575999999999996,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
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": "Boss-Extrude2",
|
||||
"atomic_id": "extrude_add_blind",
|
||||
"depends_on": [
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 24.0,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "blind",
|
||||
"solidworks_code": 0
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"sketch_id": "sk_003"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"unit": "mm",
|
||||
"source": "02_传动件/0202_轴/020299_通用轴/3 Rod.solidworks_evidence_v2.json",
|
||||
"source_schema": "solidworks.cad_evidence.v2",
|
||||
"source_status": "hybrid_semantic_surfaceir_pending",
|
||||
"document_truth": {
|
||||
"mass_properties": {
|
||||
"available": true,
|
||||
"mass": 0.9051317555613673,
|
||||
"volume": 0.0009051317555613673,
|
||||
"surface_area": 0.08311470557635642,
|
||||
"center_of_mass": [
|
||||
2.193308828167248e-19,
|
||||
-0.23262864472414752,
|
||||
5.519827217554241e-19
|
||||
],
|
||||
"principal_moments": [
|
||||
0.00026421532241289927,
|
||||
0.017458227547081026,
|
||||
0.017458227547081026
|
||||
],
|
||||
"principal_axes": null,
|
||||
"moment_of_inertia": null
|
||||
},
|
||||
"geometry": {
|
||||
"bounding_box": [
|
||||
-0.025,
|
||||
-0.48976,
|
||||
-0.025,
|
||||
0.025,
|
||||
0.03,
|
||||
0.025
|
||||
],
|
||||
"solid_body_count": 1,
|
||||
"bodies": [
|
||||
{
|
||||
"kind": "body",
|
||||
"dotnet_type": "System.__ComObject",
|
||||
"name": "Boss-Extrude2",
|
||||
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABqAAAAZQAAAA==",
|
||||
"persist_reference_sha256": "3e567185fbfd35c9e3e37c234563d311088b00a5a8b80ac84a8162506ade90d3",
|
||||
"component": null,
|
||||
"geometry": {
|
||||
"box": [
|
||||
-0.025,
|
||||
-0.48976,
|
||||
-0.025,
|
||||
0.025,
|
||||
0.02999999999999997,
|
||||
0.025
|
||||
],
|
||||
"face_count": 18,
|
||||
"edge_count": 28,
|
||||
"vertex_count": 12
|
||||
},
|
||||
"stable_id": "3e567185fbfd35c9e3e37c234563d311088b00a5a8b80ac84a8162506ade90d3"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"step_inference": {
|
||||
"available": true,
|
||||
"face_count": 24,
|
||||
"surface_counts": {
|
||||
"cone": 2,
|
||||
"cylinder": 10,
|
||||
"plane": 12
|
||||
},
|
||||
"axis_count": 12,
|
||||
"repeat_spacings_mm": [],
|
||||
"metrics": {
|
||||
"bounding_box_mm": [
|
||||
-25.0,
|
||||
-489.76,
|
||||
-25.0,
|
||||
25.0,
|
||||
30.0,
|
||||
25.0
|
||||
],
|
||||
"volume_mm3": 905131.755561367,
|
||||
"surface_area_mm2": 83114.705576356,
|
||||
"solid_count": 1,
|
||||
"face_count": 24,
|
||||
"edge_count": 50,
|
||||
"vertex_count": 32
|
||||
},
|
||||
"error": null,
|
||||
"truth_comparison": {
|
||||
"expected_from_evidence": {
|
||||
"bounding_box_mm": [
|
||||
-25.0,
|
||||
-489.76,
|
||||
-25.0,
|
||||
25.0,
|
||||
30.0,
|
||||
25.0
|
||||
],
|
||||
"volume_mm3": 905131.755561367,
|
||||
"surface_area_mm2": 83114.705576356,
|
||||
"solid_count": 1,
|
||||
"face_count": 18,
|
||||
"edge_count": 28,
|
||||
"vertex_count": 12
|
||||
},
|
||||
"comparisons": {
|
||||
"volume_mm3": {
|
||||
"expected": 905131.755561367,
|
||||
"actual": 905131.755561367,
|
||||
"absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"surface_area_mm2": {
|
||||
"expected": 83114.705576356,
|
||||
"actual": 83114.705576356,
|
||||
"absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"bounding_box_mm": {
|
||||
"expected": [
|
||||
-25.0,
|
||||
-489.76,
|
||||
-25.0,
|
||||
25.0,
|
||||
30.0,
|
||||
25.0
|
||||
],
|
||||
"actual": [
|
||||
-25.0,
|
||||
-489.76,
|
||||
-25.0,
|
||||
25.0,
|
||||
30.0,
|
||||
25.0
|
||||
],
|
||||
"max_absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"solid_count": {
|
||||
"expected": 1,
|
||||
"actual": 1,
|
||||
"matches": true
|
||||
},
|
||||
"face_count": {
|
||||
"expected": 18,
|
||||
"actual": 24,
|
||||
"matches": false
|
||||
},
|
||||
"edge_count": {
|
||||
"expected": 28,
|
||||
"actual": 50,
|
||||
"matches": false
|
||||
},
|
||||
"vertex_count": {
|
||||
"expected": 12,
|
||||
"actual": 32,
|
||||
"matches": false
|
||||
}
|
||||
},
|
||||
"numeric_geometry_match": true,
|
||||
"topology_counts_match": false
|
||||
}
|
||||
},
|
||||
"source_has_modeling_features": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user