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

613 lines
13 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "213507",
"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": "line",
"start": [
48.0,
40.0
],
"end": [
50.0,
40.0
]
},
{
"type": "line",
"start": [
50.0,
40.0
],
"end": [
50.0,
0.0
]
},
{
"type": "line",
"start": [
50.0,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
40.0
]
},
{
"type": "line",
"start": [
0.0,
40.0
],
"end": [
2.0,
40.0
]
},
{
"type": "line",
"start": [
2.0,
40.0
],
"end": [
2.0,
2.0
]
},
{
"type": "line",
"start": [
2.0,
2.0
],
"end": [
48.0,
2.0
]
},
{
"type": "line",
"start": [
48.0,
2.0
],
"end": [
48.0,
40.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": "arc",
"start": [
22.75,
-79.5
],
"end": [
27.25,
-79.5
],
"center": [
25.0,
-79.5
],
"radius_mm": 2.25,
"clockwise": false
},
{
"type": "line",
"start": [
27.25,
-79.5
],
"end": [
27.25,
-69.5
]
},
{
"type": "arc",
"start": [
27.25,
-69.5
],
"end": [
22.75,
-69.5
],
"center": [
25.0,
-69.5
],
"radius_mm": 2.25,
"clockwise": false
},
{
"type": "line",
"start": [
22.75,
-69.5
],
"end": [
22.75,
-79.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
25.0,
-79.5
],
"end": [
25.0,
-69.5
]
},
{
"type": "line",
"start": [
25.0,
-99.5
],
"end": [
25.0,
-232.385363689
]
}
]
}
}
]
},
"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": 199.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"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": "切除-拉伸1",
"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": "deferred",
"sketch_id": "sk_003"
},
{
"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": [
0.0,
0.0,
-1.0
],
"spacing_1_mm": 150.0,
"pattern_count_1": 2
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "213507.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.3892541854403653,
"volume": 4.990438274876478e-05,
"surface_area": 0.05134093141652942,
"center_of_mass": [
0.024999999999999974,
0.013122382177244225,
2.440840241084475e-06
],
"principal_moments": [
0.0002339252619031936,
0.0013457373601277727,
0.0014484348220814866
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
0.0,
-0.0995,
0.05,
0.04,
0.0995
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(线性)1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABxAAAAcAAAAG8AAAA=",
"persist_reference_sha256": "8d8136271645ff05ef63166f2f1252efc4179533ada975008c1a420f92f72267",
"component": null,
"geometry": {
"box": [
0.0,
0.0,
-0.0995,
0.05,
0.04,
0.0995
],
"face_count": 18,
"edge_count": 48,
"vertex_count": 32
},
"stable_id": "8d8136271645ff05ef63166f2f1252efc4179533ada975008c1a420f92f72267"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 20,
"surface_counts": {
"cylinder": 6,
"plane": 14
},
"axis_count": 6,
"repeat_spacings_mm": [
{
"spacing_mm": 150.0,
"pair_count": 2
},
{
"spacing_mm": 10.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
0.0,
-99.5,
50.0,
40.0,
99.5
],
"volume_mm3": 49904.382748765,
"surface_area_mm2": 51340.931416529,
"solid_count": 1,
"face_count": 20,
"edge_count": 54,
"vertex_count": 36
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
0.0,
-99.5,
50.0,
40.0,
99.5
],
"volume_mm3": 49904.382748765,
"surface_area_mm2": 51340.931416529,
"solid_count": 1,
"face_count": 18,
"edge_count": 48,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 49904.382748765,
"actual": 49904.382748765,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 51340.931416529,
"actual": 51340.931416529,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
0.0,
-99.5,
50.0,
40.0,
99.5
],
"actual": [
0.0,
0.0,
-99.5,
50.0,
40.0,
99.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 18,
"actual": 20,
"matches": false
},
"edge_count": {
"expected": 48,
"actual": 54,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 36,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}