新增cdsl
This commit is contained in:
@@ -0,0 +1,659 @@
|
||||
{
|
||||
"schema": "cad.cdsl.llm.v1",
|
||||
"schema_version": "1.1.0",
|
||||
"kind": "part",
|
||||
"part_id": "CRBUW30-90D_CRBU-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": [
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"y_dir": [
|
||||
0.707106781,
|
||||
0.0,
|
||||
-0.707106781
|
||||
],
|
||||
"normal": [
|
||||
-0.0,
|
||||
1.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
"profile": {
|
||||
"type": "analytic_contours",
|
||||
"contours": [
|
||||
{
|
||||
"role": "outer",
|
||||
"closed": true,
|
||||
"segments": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
34.0
|
||||
],
|
||||
"end": [
|
||||
4.0,
|
||||
34.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
4.0,
|
||||
34.0
|
||||
],
|
||||
"end": [
|
||||
4.0,
|
||||
2.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
4.0,
|
||||
2.5
|
||||
],
|
||||
"end": [
|
||||
15.0,
|
||||
2.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
15.0,
|
||||
2.5
|
||||
],
|
||||
"end": [
|
||||
15.0,
|
||||
-2.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
15.0,
|
||||
-2.5
|
||||
],
|
||||
"end": [
|
||||
4.0,
|
||||
-2.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
4.0,
|
||||
-2.5
|
||||
],
|
||||
"end": [
|
||||
4.0,
|
||||
-48.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
4.0,
|
||||
-48.5
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
-48.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
-48.5
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
34.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
78.377142857
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_003",
|
||||
"name": "Sketch2",
|
||||
"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": [
|
||||
-4.0,
|
||||
34.0
|
||||
],
|
||||
"end": [
|
||||
-3.0,
|
||||
34.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-3.0,
|
||||
34.0
|
||||
],
|
||||
"end": [
|
||||
-3.0,
|
||||
22.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-3.0,
|
||||
22.0
|
||||
],
|
||||
"end": [
|
||||
-4.0,
|
||||
22.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-4.0,
|
||||
22.0
|
||||
],
|
||||
"end": [
|
||||
-4.0,
|
||||
34.0
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"role": "inner",
|
||||
"closed": true,
|
||||
"segments": [
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-4.0,
|
||||
-48.5
|
||||
],
|
||||
"end": [
|
||||
-3.0,
|
||||
-48.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-3.0,
|
||||
-48.5
|
||||
],
|
||||
"end": [
|
||||
-3.0,
|
||||
-40.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-3.0,
|
||||
-40.5
|
||||
],
|
||||
"end": [
|
||||
-4.0,
|
||||
-40.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-4.0,
|
||||
-40.5
|
||||
],
|
||||
"end": [
|
||||
-4.0,
|
||||
-48.5
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"features": [
|
||||
{
|
||||
"id": "f_001",
|
||||
"name": "Front",
|
||||
"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",
|
||||
"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",
|
||||
"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": "Base-Revolve",
|
||||
"atomic_id": "revolve_add",
|
||||
"depends_on": [
|
||||
"f_003"
|
||||
],
|
||||
"params": {
|
||||
"angle_deg": 360.0,
|
||||
"axis": {
|
||||
"origin_mm": [
|
||||
0.0,
|
||||
0.0,
|
||||
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": "bfd37482b6755d37ed62083d82e4462333d7d777ca0b53ae8bfc89a5036401fc",
|
||||
"source": "solidworks",
|
||||
"confidence": 1.0,
|
||||
"geometry": {
|
||||
"start": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
0.07837714285714285,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "f_005",
|
||||
"name": "Chamfer1",
|
||||
"atomic_id": "chamfer",
|
||||
"depends_on": [
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 0.5,
|
||||
"angle_rad": 0.78539816339745
|
||||
},
|
||||
"execution_status": "deferred"
|
||||
},
|
||||
{
|
||||
"id": "f_006",
|
||||
"name": "Flats",
|
||||
"atomic_id": "extrude_cut_blind",
|
||||
"depends_on": [
|
||||
"f_001",
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 0.0,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "through_all",
|
||||
"solidworks_code": 1
|
||||
},
|
||||
"reverse_distance_mm": 0.0,
|
||||
"reverse_end_condition": {
|
||||
"type": "through_all",
|
||||
"solidworks_code": 1
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"sketch_id": "sk_003"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"unit": "mm",
|
||||
"source": "02_传动件/0202_轴/020299_通用轴/CRBUW30-90D_CRBU-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.007352601322767328,
|
||||
"volume": 7.352601322767328e-06,
|
||||
"surface_area": 0.003810542558448933,
|
||||
"center_of_mass": [
|
||||
3.296263049453802e-05,
|
||||
-0.004074500804108535,
|
||||
1.567458294331089e-15
|
||||
],
|
||||
"principal_moments": [
|
||||
4.2774379380689776e-07,
|
||||
2.567834898316128e-06,
|
||||
2.568570250046999e-06
|
||||
],
|
||||
"principal_axes": null,
|
||||
"moment_of_inertia": null
|
||||
},
|
||||
"geometry": {
|
||||
"bounding_box": [
|
||||
-0.015,
|
||||
-0.0485,
|
||||
-0.015,
|
||||
0.015,
|
||||
0.034,
|
||||
0.015
|
||||
],
|
||||
"solid_body_count": 1,
|
||||
"bodies": [
|
||||
{
|
||||
"kind": "body",
|
||||
"dotnet_type": "System.__ComObject",
|
||||
"name": "Flats",
|
||||
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
|
||||
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
|
||||
"component": null,
|
||||
"geometry": {
|
||||
"box": [
|
||||
-0.015,
|
||||
-0.0485,
|
||||
-0.015,
|
||||
0.015,
|
||||
0.034,
|
||||
0.015
|
||||
],
|
||||
"face_count": 13,
|
||||
"edge_count": 22,
|
||||
"vertex_count": 12
|
||||
},
|
||||
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"step_inference": {
|
||||
"available": true,
|
||||
"face_count": 20,
|
||||
"surface_counts": {
|
||||
"cone": 6,
|
||||
"cylinder": 6,
|
||||
"plane": 8
|
||||
},
|
||||
"axis_count": 12,
|
||||
"repeat_spacings_mm": [],
|
||||
"metrics": {
|
||||
"bounding_box_mm": [
|
||||
-15.0,
|
||||
-48.5000001,
|
||||
-15.0,
|
||||
15.0,
|
||||
34.0000001,
|
||||
15.0
|
||||
],
|
||||
"volume_mm3": 7352.600174142,
|
||||
"surface_area_mm2": 3810.542653696,
|
||||
"solid_count": 1,
|
||||
"face_count": 20,
|
||||
"edge_count": 44,
|
||||
"vertex_count": 28
|
||||
},
|
||||
"error": null,
|
||||
"truth_comparison": {
|
||||
"expected_from_evidence": {
|
||||
"bounding_box_mm": [
|
||||
-15.0,
|
||||
-48.5,
|
||||
-15.0,
|
||||
15.0,
|
||||
34.0,
|
||||
15.0
|
||||
],
|
||||
"volume_mm3": 7352.601322767,
|
||||
"surface_area_mm2": 3810.542558449,
|
||||
"solid_count": 1,
|
||||
"face_count": 13,
|
||||
"edge_count": 22,
|
||||
"vertex_count": 12
|
||||
},
|
||||
"comparisons": {
|
||||
"volume_mm3": {
|
||||
"expected": 7352.601322767,
|
||||
"actual": 7352.600174142,
|
||||
"absolute_delta": 0.001148625000496395,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"surface_area_mm2": {
|
||||
"expected": 3810.542558449,
|
||||
"actual": 3810.542653696,
|
||||
"absolute_delta": 9.524699999019504e-05,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"bounding_box_mm": {
|
||||
"expected": [
|
||||
-15.0,
|
||||
-48.5,
|
||||
-15.0,
|
||||
15.0,
|
||||
34.0,
|
||||
15.0
|
||||
],
|
||||
"actual": [
|
||||
-15.0,
|
||||
-48.5000001,
|
||||
-15.0,
|
||||
15.0,
|
||||
34.0000001,
|
||||
15.0
|
||||
],
|
||||
"max_absolute_delta": 1.0000000116860974e-07,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"solid_count": {
|
||||
"expected": 1,
|
||||
"actual": 1,
|
||||
"matches": true
|
||||
},
|
||||
"face_count": {
|
||||
"expected": 13,
|
||||
"actual": 20,
|
||||
"matches": false
|
||||
},
|
||||
"edge_count": {
|
||||
"expected": 22,
|
||||
"actual": 44,
|
||||
"matches": false
|
||||
},
|
||||
"vertex_count": {
|
||||
"expected": 12,
|
||||
"actual": 28,
|
||||
"matches": false
|
||||
}
|
||||
},
|
||||
"numeric_geometry_match": true,
|
||||
"topology_counts_match": false
|
||||
}
|
||||
},
|
||||
"source_has_modeling_features": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user