新增cdsl
This commit is contained in:
@@ -0,0 +1,560 @@
|
||||
{
|
||||
"schema": "cad.cdsl.llm.v1",
|
||||
"schema_version": "1.1.0",
|
||||
"kind": "part",
|
||||
"part_id": "10-bolt-nut",
|
||||
"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,
|
||||
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": [
|
||||
-12.7,
|
||||
7.332348419
|
||||
],
|
||||
"end": [
|
||||
-12.7,
|
||||
-7.332348419
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-12.7,
|
||||
-7.332348419
|
||||
],
|
||||
"end": [
|
||||
-0.0,
|
||||
-14.664696837
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
-0.0,
|
||||
-14.664696837
|
||||
],
|
||||
"end": [
|
||||
12.7,
|
||||
-7.332348419
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
12.7,
|
||||
-7.332348419
|
||||
],
|
||||
"end": [
|
||||
12.7,
|
||||
7.332348419
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
12.7,
|
||||
7.332348419
|
||||
],
|
||||
"end": [
|
||||
0.0,
|
||||
14.664696837
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"start": [
|
||||
0.0,
|
||||
14.664696837
|
||||
],
|
||||
"end": [
|
||||
-12.7,
|
||||
7.332348419
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"construction": [
|
||||
{
|
||||
"type": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 12.7
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_003",
|
||||
"name": "Sketch2",
|
||||
"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": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 6.35
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sk_004",
|
||||
"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": "circle",
|
||||
"center": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"radius_mm": 12.7
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"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": "Boss-Extrude1",
|
||||
"atomic_id": "extrude_add_blind",
|
||||
"depends_on": [
|
||||
"f_002"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 10.0,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "through_all_and_blind",
|
||||
"solidworks_code": 6
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"sketch_id": "sk_002"
|
||||
},
|
||||
{
|
||||
"id": "f_005",
|
||||
"name": "Cut-Extrude1",
|
||||
"atomic_id": "extrude_cut_blind",
|
||||
"depends_on": [
|
||||
"f_004"
|
||||
],
|
||||
"params": {
|
||||
"distance_mm": 0.0,
|
||||
"reverse": false,
|
||||
"end_condition": {
|
||||
"type": "through_all",
|
||||
"solidworks_code": 1
|
||||
}
|
||||
},
|
||||
"execution_status": "supported",
|
||||
"sketch_id": "sk_003"
|
||||
},
|
||||
{
|
||||
"id": "f_006",
|
||||
"name": "Cut-Extrude2",
|
||||
"atomic_id": "extrude_cut_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_004"
|
||||
},
|
||||
{
|
||||
"id": "f_007",
|
||||
"name": "Mirror1",
|
||||
"atomic_id": "pattern_mirror",
|
||||
"depends_on": [
|
||||
"f_006",
|
||||
"f_002"
|
||||
],
|
||||
"params": {
|
||||
"source_feature_ids": [
|
||||
"f_006"
|
||||
],
|
||||
"mirror_plane": {
|
||||
"unresolved": "mirror plane was not captured"
|
||||
}
|
||||
},
|
||||
"execution_status": "deferred",
|
||||
"unresolved": [
|
||||
"mirror pattern source features or plane were not captured"
|
||||
]
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"unit": "mm",
|
||||
"source": "01_紧固件/0101_螺栓/010199_通用螺栓/10 bolt nut.solidworks_evidence_v2.json",
|
||||
"source_schema": "solidworks.cad_evidence.v2",
|
||||
"source_status": "hybrid_semantic_surfaceir_pending",
|
||||
"document_truth": {
|
||||
"mass_properties": {
|
||||
"available": true,
|
||||
"mass": 0.004284904316677636,
|
||||
"volume": 4.284904316677636e-06,
|
||||
"surface_area": 0.002090586114066397,
|
||||
"center_of_mass": [
|
||||
-1.4464976192729553e-18,
|
||||
4.729538242527567e-10,
|
||||
-4.511078233151319e-19
|
||||
],
|
||||
"principal_moments": [
|
||||
2.694484164751924e-07,
|
||||
2.694484164751924e-07,
|
||||
4.6848347949874834e-07
|
||||
],
|
||||
"principal_axes": null,
|
||||
"moment_of_inertia": null
|
||||
},
|
||||
"geometry": {
|
||||
"bounding_box": [
|
||||
-0.012700000000000001,
|
||||
-0.005,
|
||||
-0.014664696837416499,
|
||||
0.0127,
|
||||
0.005,
|
||||
0.014664696837416499
|
||||
],
|
||||
"solid_body_count": 1,
|
||||
"bodies": [
|
||||
{
|
||||
"kind": "body",
|
||||
"dotnet_type": "System.__ComObject",
|
||||
"name": "Mirror1",
|
||||
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
|
||||
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
|
||||
"component": null,
|
||||
"geometry": {
|
||||
"box": [
|
||||
-0.012700000000000001,
|
||||
-0.005,
|
||||
-0.014664696837416499,
|
||||
0.0127,
|
||||
0.005,
|
||||
0.014664696837416497
|
||||
],
|
||||
"face_count": 21,
|
||||
"edge_count": 44,
|
||||
"vertex_count": 24
|
||||
},
|
||||
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"step_inference": {
|
||||
"available": true,
|
||||
"face_count": 24,
|
||||
"surface_counts": {
|
||||
"cone": 14,
|
||||
"cylinder": 2,
|
||||
"plane": 8
|
||||
},
|
||||
"axis_count": 16,
|
||||
"repeat_spacings_mm": [],
|
||||
"metrics": {
|
||||
"bounding_box_mm": [
|
||||
-12.7000001,
|
||||
-5.0000001,
|
||||
-14.664696937,
|
||||
12.7000001,
|
||||
5.0000001,
|
||||
14.664696937
|
||||
],
|
||||
"volume_mm3": 4284.882938948,
|
||||
"surface_area_mm2": 2090.581484777,
|
||||
"solid_count": 1,
|
||||
"face_count": 24,
|
||||
"edge_count": 52,
|
||||
"vertex_count": 30
|
||||
},
|
||||
"error": null,
|
||||
"truth_comparison": {
|
||||
"expected_from_evidence": {
|
||||
"bounding_box_mm": [
|
||||
-12.7,
|
||||
-5.0,
|
||||
-14.664696837,
|
||||
12.7,
|
||||
5.0,
|
||||
14.664696837
|
||||
],
|
||||
"volume_mm3": 4284.904316678,
|
||||
"surface_area_mm2": 2090.586114066,
|
||||
"solid_count": 1,
|
||||
"face_count": 21,
|
||||
"edge_count": 44,
|
||||
"vertex_count": 24
|
||||
},
|
||||
"comparisons": {
|
||||
"volume_mm3": {
|
||||
"expected": 4284.904316678,
|
||||
"actual": 4284.882938948,
|
||||
"absolute_delta": 0.02137773000049492,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"surface_area_mm2": {
|
||||
"expected": 2090.586114066,
|
||||
"actual": 2090.581484777,
|
||||
"absolute_delta": 0.0046292890001495834,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"bounding_box_mm": {
|
||||
"expected": [
|
||||
-12.7,
|
||||
-5.0,
|
||||
-14.664696837,
|
||||
12.7,
|
||||
5.0,
|
||||
14.664696837
|
||||
],
|
||||
"actual": [
|
||||
-12.7000001,
|
||||
-5.0000001,
|
||||
-14.664696937,
|
||||
12.7000001,
|
||||
5.0000001,
|
||||
14.664696937
|
||||
],
|
||||
"max_absolute_delta": 1.0000000116860974e-07,
|
||||
"within_tolerance": true
|
||||
},
|
||||
"solid_count": {
|
||||
"expected": 1,
|
||||
"actual": 1,
|
||||
"matches": true
|
||||
},
|
||||
"face_count": {
|
||||
"expected": 21,
|
||||
"actual": 24,
|
||||
"matches": false
|
||||
},
|
||||
"edge_count": {
|
||||
"expected": 44,
|
||||
"actual": 52,
|
||||
"matches": false
|
||||
},
|
||||
"vertex_count": {
|
||||
"expected": 24,
|
||||
"actual": 30,
|
||||
"matches": false
|
||||
}
|
||||
},
|
||||
"numeric_geometry_match": true,
|
||||
"topology_counts_match": false
|
||||
}
|
||||
},
|
||||
"source_has_modeling_features": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user