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

763 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "027430",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "原点",
"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": "arc",
"start": [
0.0,
-2.45
],
"end": [
0.0,
2.45
],
"center": [
0.0,
0.0
],
"radius_mm": 2.45,
"clockwise": false
},
{
"type": "line",
"start": [
0.0,
2.45
],
"end": [
-48.58508794,
2.45
]
},
{
"type": "arc",
"start": [
-48.58508794,
2.45
],
"end": [
-55.55,
-5.25
],
"center": [
-48.58508794,
-4.55
],
"radius_mm": 7.0,
"clockwise": false
},
{
"type": "line",
"start": [
-55.55,
-5.25
],
"end": [
-5.8,
-4.55
]
},
{
"type": "line",
"start": [
-5.8,
-4.55
],
"end": [
-3.7,
-2.45
]
},
{
"type": "line",
"start": [
-3.7,
-2.45
],
"end": [
0.0,
-2.45
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
2.45,
0.0
],
"end": [
2.45,
20.962667092
]
},
{
"type": "line",
"start": [
-55.55,
20.191035174
],
"end": [
-55.55,
-5.25
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
1.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": [
-55.585087927,
-4.550424412
],
"end": [
-54.35,
-5.233115578
]
},
{
"type": "line",
"start": [
-54.35,
-5.233115578
],
"end": [
-55.55,
-5.25
]
},
{
"type": "line",
"start": [
-55.55,
-5.25
],
"end": [
-55.971776246,
-5.25
]
},
{
"type": "line",
"start": [
-55.971776246,
-5.25
],
"end": [
-55.585087927,
-4.550424412
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-56.032592992,
-4.556720965
],
"end": [
-7.57522287,
-3.874908722
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
1.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": [
-54.35,
-5.233115578
],
"end": [
-54.614602219,
-4.536769336
]
},
{
"type": "line",
"start": [
-54.614602219,
-4.536769336
],
"end": [
-53.15,
-5.216231156
]
},
{
"type": "line",
"start": [
-53.15,
-5.216231156
],
"end": [
-54.35,
-5.233115578
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-55.585087927,
-4.550424412
],
"end": [
-47.04934382,
-4.43032349
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "前视",
"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": "上视",
"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": 1.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_003",
"name": "右视",
"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": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 1.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"source_feature_ids": [
"f_006",
"f_004"
],
"direction_1": [
0.999901027,
0.014068959,
0.0
],
"spacing_1_mm": 1.2,
"pattern_count_1": 41
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_006",
"f_007",
"f_004",
"f_005"
],
"params": {
"radius_mm": 0.05,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "027430.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.002963630750980919,
"volume": 3.7801412640062744e-07,
"surface_area": 0.000922117853806609,
"center_of_mass": [
-0.027393239954618082,
-0.0010160194038422378,
0.0004999999999999999
],
"principal_moments": [
1.1701252433089216e-08,
7.456025917303287e-07,
7.568099057049228e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.05558502729192691,
-0.005233115577889451,
0.0,
0.002450000000000001,
0.002450000000000001,
0.001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圆角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAACEAAAAgwAAAIEAAACAAAAA",
"persist_reference_sha256": "d0e4ab78b703d3c8c779c23c8ae44a9e6fa72dbc5d63f9a4dfead04a14ec8cd9",
"component": null,
"geometry": {
"box": [
-0.05558502729192691,
-0.005233115577889451,
0.0,
0.002450000000000001,
0.002450000000000001,
0.001
],
"face_count": 132,
"edge_count": 390,
"vertex_count": 260
},
"stable_id": "d0e4ab78b703d3c8c779c23c8ae44a9e6fa72dbc5d63f9a4dfead04a14ec8cd9"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 174,
"surface_counts": {
"cylinder": 86,
"plane": 88
},
"axis_count": 86,
"repeat_spacings_mm": [
{
"spacing_mm": 1.2,
"pair_count": 40
},
{
"spacing_mm": 2.4,
"pair_count": 39
},
{
"spacing_mm": 3.6,
"pair_count": 38
},
{
"spacing_mm": 4.8,
"pair_count": 37
},
{
"spacing_mm": 6.0,
"pair_count": 36
},
{
"spacing_mm": 7.2,
"pair_count": 35
},
{
"spacing_mm": 8.4,
"pair_count": 34
},
{
"spacing_mm": 9.6,
"pair_count": 33
},
{
"spacing_mm": 10.8,
"pair_count": 32
},
{
"spacing_mm": 12.0,
"pair_count": 31
},
{
"spacing_mm": 13.2,
"pair_count": 30
},
{
"spacing_mm": 14.4,
"pair_count": 29
}
],
"metrics": {
"bounding_box_mm": [
-55.585027292,
-5.233115578,
0.0,
2.45,
2.45,
1.0
],
"volume_mm3": 378.014126401,
"surface_area_mm2": 922.117853807,
"solid_count": 1,
"face_count": 174,
"edge_count": 516,
"vertex_count": 344
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-55.585027292,
-5.233115578,
0.0,
2.45,
2.45,
1.0
],
"volume_mm3": 378.014126401,
"surface_area_mm2": 922.117853807,
"solid_count": 1,
"face_count": 132,
"edge_count": 390,
"vertex_count": 260
},
"comparisons": {
"volume_mm3": {
"expected": 378.014126401,
"actual": 378.014126401,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 922.117853807,
"actual": 922.117853807,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-55.585027292,
-5.233115578,
0.0,
2.45,
2.45,
1.0
],
"actual": [
-55.585027292,
-5.233115578,
0.0,
2.45,
2.45,
1.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 132,
"actual": 174,
"matches": false
},
"edge_count": {
"expected": 390,
"actual": 516,
"matches": false
},
"vertex_count": {
"expected": 260,
"actual": 344,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}