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

848 lines
19 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "054265",
"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": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-6.0,
8.5
],
"end": [
-6.0,
4.3235
]
},
{
"type": "line",
"start": [
-6.0,
4.3235
],
"end": [
0.0,
4.3235
]
},
{
"type": "line",
"start": [
0.0,
4.3235
],
"end": [
0.0,
8.5
]
},
{
"type": "line",
"start": [
0.0,
8.5
],
"end": [
-3.0,
13.696152423
]
},
{
"type": "line",
"start": [
-3.0,
13.696152423
],
"end": [
-6.0,
8.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-6.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
-8.5,
-4.907477288
],
"end": [
0.0,
-9.814954576
]
},
{
"type": "line",
"start": [
0.0,
-9.814954576
],
"end": [
8.5,
-4.907477288
]
},
{
"type": "line",
"start": [
8.5,
-4.907477288
],
"end": [
8.5,
4.907477288
]
},
{
"type": "line",
"start": [
8.5,
4.907477288
],
"end": [
0.0,
9.814954576
]
},
{
"type": "line",
"start": [
0.0,
9.814954576
],
"end": [
-8.5,
4.907477288
]
},
{
"type": "line",
"start": [
-8.5,
4.907477288
],
"end": [
-8.5,
-4.907477288
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 17.0
}
]
}
]
}
},
{
"id": "sk_004",
"name": "IP_NUT_PISTON_ROD",
"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": []
}
}
]
},
"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_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_004",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
-1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "96a32938ad9fe9aeea54fa069aee5682e19caef50f022817590ea4c0886f84d7",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.006,
0.0,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 6.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "IP_NUT_PISTON_ROD XY",
"atomic_id": "reference_plane",
"depends_on": [
"f_005"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "IP_NUT_PISTON_ROD XZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_006"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "IP_NUT_PISTON_ROD YZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_007"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "IP_NUT_PISTON_ROD X",
"atomic_id": "reference_axis",
"depends_on": [
"f_006",
"f_007"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "704abb55d841103ee0ab1dd6fb5a0c8c67f95637de3af482d6b274fe2edb9ce1",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "704abb55d841103ee0ab1dd6fb5a0c8c67f95637de3af482d6b274fe2edb9ce1",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "704abb55d841103ee0ab1dd6fb5a0c8c67f95637de3af482d6b274fe2edb9ce1",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_006"
},
{
"kind": "plane",
"stable_id": "4257fbcd2725bb9238c94beebab4cffa3cb1ef5815f5d29ccbc7375ca39f0a16",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_007"
}
]
},
{
"id": "f_010",
"name": "IP_NUT_PISTON_ROD Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_006",
"f_008"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "704abb55d841103ee0ab1dd6fb5a0c8c67f95637de3af482d6b274fe2edb9ce1",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "704abb55d841103ee0ab1dd6fb5a0c8c67f95637de3af482d6b274fe2edb9ce1",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "704abb55d841103ee0ab1dd6fb5a0c8c67f95637de3af482d6b274fe2edb9ce1",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_006"
},
{
"kind": "plane",
"stable_id": "4215eff2da48e89cf1f85227233f6a3167c91e16f0473840808babab3fe00101",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
}
]
},
{
"id": "f_011",
"name": "IP_NUT_PISTON_ROD Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_008",
"f_007"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "4215eff2da48e89cf1f85227233f6a3167c91e16f0473840808babab3fe00101",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "4215eff2da48e89cf1f85227233f6a3167c91e16f0473840808babab3fe00101",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "4215eff2da48e89cf1f85227233f6a3167c91e16f0473840808babab3fe00101",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
},
{
"kind": "plane",
"stable_id": "4257fbcd2725bb9238c94beebab4cffa3cb1ef5815f5d29ccbc7375ca39f0a16",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_007"
}
]
}
],
"meta": {
"unit": "mm",
"source": "054265.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0011386729050542224,
"volume": 1.1386729050542225e-06,
"surface_area": 0.0008759824166928889,
"center_of_mass": [
5.448320203818573e-19,
6.9855941941760605e-09,
0.0029999999999999996
],
"principal_moments": [
3.1409486168519875e-08,
3.1409780313564745e-08,
5.609318882589017e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0085,
-0.009814954576223637,
0.0,
0.0085,
0.009814954576223637,
0.006
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABrAAAAagAAAA==",
"persist_reference_sha256": "3a27ca3aaad56ef866f3b65e70e3f1214ca09973643e9534c8ef1bc183826b68",
"component": null,
"geometry": {
"box": [
-0.0085,
-0.009814954576223637,
0.0,
0.0085,
0.009814954576223637,
0.006
],
"face_count": 21,
"edge_count": 44,
"vertex_count": 24
},
"stable_id": "3a27ca3aaad56ef866f3b65e70e3f1214ca09973643e9534c8ef1bc183826b68"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 22,
"surface_counts": {
"cone": 12,
"cylinder": 2,
"plane": 8
},
"axis_count": 14,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-8.5000001,
-9.814954676,
-1e-07,
8.5000001,
9.814954676,
6.0000001
],
"volume_mm3": 1138.666311413,
"surface_area_mm2": 875.980423832,
"solid_count": 1,
"face_count": 22,
"edge_count": 48,
"vertex_count": 28
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-8.5,
-9.814954576,
0.0,
8.5,
9.814954576,
6.0
],
"volume_mm3": 1138.672905054,
"surface_area_mm2": 875.982416693,
"solid_count": 1,
"face_count": 21,
"edge_count": 44,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 1138.672905054,
"actual": 1138.666311413,
"absolute_delta": 0.006593641000108619,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 875.982416693,
"actual": 875.980423832,
"absolute_delta": 0.0019928609999624314,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-8.5,
-9.814954576,
0.0,
8.5,
9.814954576,
6.0
],
"actual": [
-8.5000001,
-9.814954676,
-1e-07,
8.5000001,
9.814954676,
6.0000001
],
"max_absolute_delta": 1.0000000028043132e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 21,
"actual": 22,
"matches": false
},
"edge_count": {
"expected": 44,
"actual": 48,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 28,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}