Files
cdsl-cad/json_to_cdsl/output/9-rev-celvis.cdsl.json
T
2026-08-24 14:52:08 +08:00

779 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "9-rev-celvis",
"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": false,
"segments": [
{
"type": "line",
"start": [
-50.0,
-75.0
],
"end": [
50.0,
-75.0
]
},
{
"type": "line",
"start": [
50.0,
-75.0
],
"end": [
68.424954961,
-25.436696693
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-50.0,
-75.0
],
"end": [
-68.424954961,
-25.436696693
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 73.0
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 40.45
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-75.0
]
}
]
}
},
{
"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": "circle",
"center": [
-25.8,
-32.0
],
"radius_mm": 18.0
}
},
{
"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": [
25.8,
-32.0
],
"radius_mm": 10.5
}
},
{
"id": "sk_005",
"name": "Sketch4",
"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": [
25.8,
-32.0
],
"radius_mm": 4.5
}
}
]
},
"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": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 50.8,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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": 5.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "Plane1",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
-68.0,
-0.0,
-0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 68.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_007",
"name": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "f14f9a37edac8bb7811749cfc0452be0755424e4c885c78d70a7f13633fdf3b5",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-0.9373281501440844,
-0.34844789990394354,
0.0,
-0.06842495496051815,
-0.02543669669298787,
0.0508
]
},
"box": [
-0.06842495496051815,
-0.07500000000000001,
0.0049999999999999975,
-0.04999999999999999,
-0.025436696692987898,
0.0458
],
"area": 0.0021573904236368534
}
}
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "Fillet2",
"atomic_id": "fillet",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"radius_mm": 1.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "Mirror3",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_003",
"f_008",
"f_007"
],
"params": {
"source_feature_ids": [
"f_008",
"f_007"
],
"mirror_plane": {
"unresolved": "mirror plane was not captured"
}
},
"execution_status": "deferred",
"unresolved": [
"mirror pattern source features or plane were not captured"
]
},
{
"id": "f_010",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004",
"f_008"
],
"params": {
"distance_mm": 14.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_011",
"name": "Cut-Extrude2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_010",
"f_004"
],
"params": {
"distance_mm": 54.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0102_螺钉/010299_通用螺钉/9 rev celvis.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.641525879294507,
"volume": 0.000641525879294507,
"surface_area": 0.06371104020807959,
"center_of_mass": [
0.0005755728268564241,
-0.005904058434078756,
0.025399117465952893
],
"principal_moments": [
0.001256525987953359,
0.0013811037156885452,
0.002363689642040046
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.073,
-0.07500000000000001,
-2.6020852139652106e-18,
0.073,
0.07300000000000001,
0.0508
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Extrude2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABrAAAAagAAAGkAAABmAAAAZQAAAA==",
"persist_reference_sha256": "6b266a07b37d33ac622210ad32ca9dbe523ad8c334b08f7647389a83476c87e0",
"component": null,
"geometry": {
"box": [
-0.073,
-0.07500000000000001,
-2.6020852139652106e-18,
0.073,
0.073,
0.0508
],
"face_count": 31,
"edge_count": 63,
"vertex_count": 34
},
"stable_id": "6b266a07b37d33ac622210ad32ca9dbe523ad8c334b08f7647389a83476c87e0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 44,
"surface_counts": {
"bspline": 6,
"cylinder": 17,
"plane": 9,
"torus": 12
},
"axis_count": 17,
"repeat_spacings_mm": [
{
"spacing_mm": 67.5588,
"pair_count": 2
},
{
"spacing_mm": 67.3168,
"pair_count": 2
},
{
"spacing_mm": 13.3714,
"pair_count": 2
},
{
"spacing_mm": 69.1987,
"pair_count": 2
},
{
"spacing_mm": 81.9856,
"pair_count": 2
},
{
"spacing_mm": 68.1836,
"pair_count": 2
},
{
"spacing_mm": 42.7527,
"pair_count": 2
},
{
"spacing_mm": 78.1158,
"pair_count": 2
},
{
"spacing_mm": 127.4766,
"pair_count": 2
},
{
"spacing_mm": 40.8,
"pair_count": 2
},
{
"spacing_mm": 133.8467,
"pair_count": 2
},
{
"spacing_mm": 55.1222,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-73.0,
-75.0000001,
-1e-07,
73.0,
73.0,
50.8000001
],
"volume_mm3": 641531.023799075,
"surface_area_mm2": 63711.188586799,
"solid_count": 1,
"face_count": 44,
"edge_count": 102,
"vertex_count": 62
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-73.0,
-75.0,
-0.0,
73.0,
73.0,
50.8
],
"volume_mm3": 641525.879294507,
"surface_area_mm2": 63711.04020808,
"solid_count": 1,
"face_count": 31,
"edge_count": 63,
"vertex_count": 34
},
"comparisons": {
"volume_mm3": {
"expected": 641525.879294507,
"actual": 641531.023799075,
"absolute_delta": 5.1445045680738986,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 63711.04020808,
"actual": 63711.188586799,
"absolute_delta": 0.1483787190009025,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-73.0,
-75.0,
-0.0,
73.0,
73.0,
50.8
],
"actual": [
-73.0,
-75.0000001,
-1e-07,
73.0,
73.0,
50.8000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 31,
"actual": 44,
"matches": false
},
"edge_count": {
"expected": 63,
"actual": 102,
"matches": false
},
"vertex_count": {
"expected": 34,
"actual": 62,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}