Files
cdsl-cad/json_to_cdsl/output/109015.cdsl.json
T
2026-08-21 11:13:18 +08:00

672 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "109015",
"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": "草图1",
"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": [
-1500.0,
-60.0
],
"end": [
1500.0,
-60.0
]
},
{
"type": "line",
"start": [
1500.0,
-60.0
],
"end": [
1500.0,
60.0
]
},
{
"type": "line",
"start": [
1500.0,
60.0
],
"end": [
-1500.0,
60.0
]
},
{
"type": "line",
"start": [
-1500.0,
60.0
],
"end": [
-1500.0,
-60.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
885.181818182
],
"end": [
0.0,
-892.272727273
]
},
{
"type": "line",
"start": [
-1121.545454545,
0.0
],
"end": [
1253.909090909,
0.0
]
},
{
"type": "line",
"start": [
-1500.0,
-60.0
],
"end": [
1500.0,
60.0
]
},
{
"type": "line",
"start": [
-1500.0,
60.0
],
"end": [
1500.0,
-60.0
]
}
]
}
}
]
},
"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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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_005",
"name": "Ø5.0 (5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 5.0,
"depth_mm": 2.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
1350.0,
40.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "Ø5.0 (5) 直径孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 5.0,
"depth_mm": 2.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
1480.0,
40.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"source_feature_ids": [
"f_005",
"f_004"
],
"direction_1": [
-1.0,
0.0,
0.0
],
"spacing_1_mm": 450.0,
"pattern_count_1": 7
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "镜向2",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_008",
"f_002"
],
"params": {
"source_feature_ids": [
"f_008"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_007",
"name": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_006",
"f_002"
],
"params": {
"source_feature_ids": [
"f_006"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_010",
"name": "镜向3",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_009",
"f_003"
],
"params": {
"source_feature_ids": [
"f_009"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "ca9b26738aafbe5077b4fa72173b363ed58490758883745da2a3d01a70c27cd8",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "ca9b26738aafbe5077b4fa72173b363ed58490758883745da2a3d01a70c27cd8",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
}
],
"meta": {
"unit": "mm",
"source": "109015.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 5.754345228889529,
"volume": 0.0007192931416529427,
"surface_area": 0.7323386283305886,
"center_of_mass": [
-3.588794794654765e-16,
-7.07660532171054e-18,
1.7543398768388306e-21
],
"principal_moments": [
0.0069048616072656,
4.313686877107003,
4.3205879024817335
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-1.5000000000000004,
-0.060000000000000005,
-0.0010000000000000018,
1.4999999999999996,
0.05999999999999999,
0.0010000000000000013
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "镜向3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABrAAAAagAAAGkAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "3b8b7c30d93f27f936e9507810dc26ba49c28019b98dc9f56cb903757fd97fc1",
"component": null,
"geometry": {
"box": [
-1.5000000000000004,
-0.060000000000000005,
-0.0010000000000000018,
1.4999999999999996,
0.05999999999999999,
0.0010000000000000013
],
"face_count": 24,
"edge_count": 48,
"vertex_count": 8
},
"stable_id": "3b8b7c30d93f27f936e9507810dc26ba49c28019b98dc9f56cb903757fd97fc1"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 42,
"surface_counts": {
"cylinder": 36,
"plane": 6
},
"axis_count": 36,
"repeat_spacings_mm": [
{
"spacing_mm": 450.0,
"pair_count": 12
},
{
"spacing_mm": 457.0558,
"pair_count": 12
},
{
"spacing_mm": 900.0,
"pair_count": 10
},
{
"spacing_mm": 903.5486,
"pair_count": 10
},
{
"spacing_mm": 80.0,
"pair_count": 9
},
{
"spacing_mm": 1350.0,
"pair_count": 8
},
{
"spacing_mm": 1352.3683,
"pair_count": 8
},
{
"spacing_mm": 1800.0,
"pair_count": 6
},
{
"spacing_mm": 1801.7769,
"pair_count": 6
},
{
"spacing_mm": 152.6434,
"pair_count": 4
},
{
"spacing_mm": 585.4912,
"pair_count": 4
},
{
"spacing_mm": 1033.1021,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-1500.0,
-60.0,
-1.0,
1500.0,
60.0,
1.0
],
"volume_mm3": 719293.141652943,
"surface_area_mm2": 732338.628330587,
"solid_count": 1,
"face_count": 42,
"edge_count": 120,
"vertex_count": 80
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-1500.0,
-60.0,
-1.0,
1500.0,
60.0,
1.0
],
"volume_mm3": 719293.141652943,
"surface_area_mm2": 732338.628330589,
"solid_count": 1,
"face_count": 24,
"edge_count": 48,
"vertex_count": 8
},
"comparisons": {
"volume_mm3": {
"expected": 719293.141652943,
"actual": 719293.141652943,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 732338.628330589,
"actual": 732338.628330587,
"absolute_delta": 2.0954757928848267e-09,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-1500.0,
-60.0,
-1.0,
1500.0,
60.0,
1.0
],
"actual": [
-1500.0,
-60.0,
-1.0,
1500.0,
60.0,
1.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 24,
"actual": 42,
"matches": false
},
"edge_count": {
"expected": 48,
"actual": 120,
"matches": false
},
"vertex_count": {
"expected": 8,
"actual": 80,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}