新增cdsl
This commit is contained in:
@@ -0,0 +1,500 @@
|
||||
{
|
||||
"schema": "cad.cdsl.llm.v1",
|
||||
"schema_version": "1.1.0",
|
||||
"kind": "part",
|
||||
"part_id": "_pin_-1",
|
||||
"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": "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": [
|
||||
-53.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
-53.0,
|
||||
7.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-53.0,
|
||||
7.0
|
||||
],
|
||||
"end": [
|
||||
-50.0,
|
||||
7.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-50.0,
|
||||
7.0
|
||||
],
|
||||
"end": [
|
||||
-50.0,
|
||||
3.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-50.0,
|
||||
3.0
|
||||
],
|
||||
"end": [
|
||||
50.0,
|
||||
3.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
50.0,
|
||||
3.0
|
||||
],
|
||||
"end": [
|
||||
50.0,
|
||||
7.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
50.0,
|
||||
7.0
|
||||
],
|
||||
"end": [
|
||||
53.0,
|
||||
7.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
53.0,
|
||||
7.0
|
||||
],
|
||||
"end": [
|
||||
53.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
53.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
-53.0,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-111.210776927,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
130.030246757,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
78.821754918
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
-66.401857715
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"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": "Revolve1",
|
||||
"atomic_id": "revolve_add",
|
||||
"depends_on": [
|
||||
"f_002"
|
||||
],
|
||||
"params": {
|
||||
"angle_deg": 360.0,
|
||||
"axis": {
|
||||
"origin_mm": [
|
||||
-111.210776927,
|
||||
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": "796b173e387c18fe80535e4a96d858c8c727fd506b93fea51de79fcb081803a4",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"start": [
|
||||
-0.11121077692722278,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.13003024675717736,
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"unit": "mm",
|
||||
"source": "01_紧固件/0106_销/010699_通用销/标准_pin_重名1.solidworks_evidence_v2.json",
|
||||
"source_schema": "solidworks.cad_evidence.v2",
|
||||
"source_status": "hybrid_semantic_surfaceir_pending",
|
||||
"document_truth": {
|
||||
"mass_properties": {
|
||||
"available": true,
|
||||
"mass": 0.030008493525980992,
|
||||
"volume": 3.7510616283862247e-06,
|
||||
"surface_area": 0.002708052867394407,
|
||||
"center_of_mass": [
|
||||
1.0214427294986398e-16,
|
||||
1.7036551410715725e-35,
|
||||
3.175005644176113e-19
|
||||
],
|
||||
"principal_moments": [
|
||||
2.8281874174864306e-07,
|
||||
3.8594051700746484e-05,
|
||||
3.8594051700746484e-05
|
||||
],
|
||||
"principal_axes": null,
|
||||
"moment_of_inertia": null
|
||||
},
|
||||
"geometry": {
|
||||
"bounding_box": [
|
||||
-0.053000000000000026,
|
||||
-0.007000000000000012,
|
||||
-0.007000000000000012,
|
||||
0.05300000000000005,
|
||||
0.007000000000000012,
|
||||
0.007000000000000012
|
||||
],
|
||||
"solid_body_count": 1,
|
||||
"bodies": [
|
||||
{
|
||||
"kind": "body",
|
||||
"dotnet_type": "System.__ComObject",
|
||||
"name": "Revolve1",
|
||||
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABlAAAA",
|
||||
"persist_reference_sha256": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448",
|
||||
"component": null,
|
||||
"geometry": {
|
||||
"box": [
|
||||
-0.053000000000000026,
|
||||
-0.007000000000000012,
|
||||
-0.007000000000000012,
|
||||
0.05300000000000005,
|
||||
0.007000000000000012,
|
||||
0.007000000000000012
|
||||
],
|
||||
"face_count": 7,
|
||||
"edge_count": 6,
|
||||
"vertex_count": 0
|
||||
},
|
||||
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"step_inference": {
|
||||
"available": true,
|
||||
"face_count": 10,
|
||||
"surface_counts": {
|
||||
"cylinder": 6,
|
||||
"plane": 4
|
||||
},
|
||||
"axis_count": 6,
|
||||
"repeat_spacings_mm": [],
|
||||
"metrics": {
|
||||
"bounding_box_mm": [
|
||||
-53.0,
|
||||
-7.0,
|
||||
-7.0,
|
||||
53.0,
|
||||
7.0,
|
||||
7.0
|
||||
],
|
||||
"volume_mm3": 3751.061628386,
|
||||
"surface_area_mm2": 2708.052867394,
|
||||
"solid_count": 1,
|
||||
"face_count": 10,
|
||||
"edge_count": 18,
|
||||
"vertex_count": 12
|
||||
},
|
||||
"error": null,
|
||||
"truth_comparison": {
|
||||
"expected_from_evidence": {
|
||||
"bounding_box_mm": [
|
||||
-53.0,
|
||||
-7.0,
|
||||
-7.0,
|
||||
53.0,
|
||||
7.0,
|
||||
7.0
|
||||
],
|
||||
"volume_mm3": 3751.061628386,
|
||||
"surface_area_mm2": 2708.052867394,
|
||||
"solid_count": 1,
|
||||
"face_count": 7,
|
||||
"edge_count": 6,
|
||||
"vertex_count": 0
|
||||
},
|
||||
"comparisons": {
|
||||
"volume_mm3": {
|
||||
"expected": 3751.061628386,
|
||||
"actual": 3751.061628386,
|
||||
"absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"surface_area_mm2": {
|
||||
"expected": 2708.052867394,
|
||||
"actual": 2708.052867394,
|
||||
"absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"bounding_box_mm": {
|
||||
"expected": [
|
||||
-53.0,
|
||||
-7.0,
|
||||
-7.0,
|
||||
53.0,
|
||||
7.0,
|
||||
7.0
|
||||
],
|
||||
"actual": [
|
||||
-53.0,
|
||||
-7.0,
|
||||
-7.0,
|
||||
53.0,
|
||||
7.0,
|
||||
7.0
|
||||
],
|
||||
"max_absolute_delta": 0.0,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"solid_count": {
|
||||
"expected": 1,
|
||||
"actual": 1,
|
||||
"matches": true
|
||||
},
|
||||
"face_count": {
|
||||
"expected": 7,
|
||||
"actual": 10,
|
||||
"matches": false
|
||||
},
|
||||
"edge_count": {
|
||||
"expected": 6,
|
||||
"actual": 18,
|
||||
"matches": false
|
||||
},
|
||||
"vertex_count": {
|
||||
"expected": 0,
|
||||
"actual": 12,
|
||||
"matches": false
|
||||
}
|
||||
},
|
||||
"numeric_geometry_match": true,
|
||||
"topology_counts_match": false
|
||||
}
|
||||
},
|
||||
"source_has_modeling_features": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user