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

1126 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "191243",
"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": [
-21.5,
5.5
],
"end": [
-21.0,
6.0
],
"center": [
-21.0,
5.5
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
-21.0,
6.0
],
"end": [
-0.5,
6.0
]
},
{
"type": "arc",
"start": [
-0.5,
6.0
],
"end": [
0.0,
5.5
],
"center": [
-0.5,
5.5
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
0.0,
5.5
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-21.5,
0.0
]
},
{
"type": "line",
"start": [
-21.5,
0.0
],
"end": [
-21.5,
5.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-21.5,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
-4.0,
2.309401077
],
"end": [
-4.0,
-2.309401077
]
},
{
"type": "line",
"start": [
-4.0,
-2.309401077
],
"end": [
0.0,
-4.618802154
]
},
{
"type": "line",
"start": [
0.0,
-4.618802154
],
"end": [
4.0,
-2.309401077
]
},
{
"type": "line",
"start": [
4.0,
-2.309401077
],
"end": [
4.0,
2.309401077
]
},
{
"type": "line",
"start": [
4.0,
2.309401077
],
"end": [
0.0,
4.618802154
]
},
{
"type": "line",
"start": [
0.0,
4.618802154
],
"end": [
-4.0,
2.309401077
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
-17.5,
0.0
],
"end": [
-17.5,
4.0
]
},
{
"type": "line",
"start": [
-17.5,
4.0
],
"end": [
-16.8235,
3.3235
]
},
{
"type": "line",
"start": [
-16.8235,
3.3235
],
"end": [
-0.6765,
3.3235
]
},
{
"type": "line",
"start": [
-0.6765,
3.3235
],
"end": [
0.0,
4.0
]
},
{
"type": "line",
"start": [
0.0,
4.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-17.5,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-17.5,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "IP_SCREW",
"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_004",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"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": "31d420b1290044d9d69228007c08d76aea55ab78e82a483a2d52424550deef73",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.021500000000000002,
0.0,
0.0
]
}
}
]
},
{
"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_007",
"name": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004"
],
"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_004",
"selectors": [
{
"kind": "axis",
"stable_id": "8a341bab453e9abe39bb75d36c8a5bec0b80c3006b6d3a44c9494d6ea1919ac2",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.0175,
0.0,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
-21.5,
-0.0,
-0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 21.5,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"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"
}
]
},
{
"id": "f_008",
"name": "基准面2",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"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": true,
"solidworks_type": 5,
"references": [
{
"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"
}
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 4.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_009",
"name": "IP_SCREW XY",
"atomic_id": "reference_plane",
"depends_on": [
"f_008"
],
"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_010",
"name": "IP_SCREW XZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_009"
],
"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_011",
"name": "IP_SCREW YZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_010"
],
"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_012",
"name": "IP_SCREW X",
"atomic_id": "reference_axis",
"depends_on": [
"f_009",
"f_010"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "d6f4c333e6abedf0656ac6960fa59c5c2de64e5b9ffe2130e41b2e4769da7fac",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "d6f4c333e6abedf0656ac6960fa59c5c2de64e5b9ffe2130e41b2e4769da7fac",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "d6f4c333e6abedf0656ac6960fa59c5c2de64e5b9ffe2130e41b2e4769da7fac",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
},
{
"kind": "plane",
"stable_id": "47671327f7dc2113949b0f3b322f99e0190595dab372805def5b1d344d65a1db",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_010"
}
]
},
{
"id": "f_013",
"name": "IP_SCREW Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_009",
"f_011"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "d6f4c333e6abedf0656ac6960fa59c5c2de64e5b9ffe2130e41b2e4769da7fac",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "d6f4c333e6abedf0656ac6960fa59c5c2de64e5b9ffe2130e41b2e4769da7fac",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "d6f4c333e6abedf0656ac6960fa59c5c2de64e5b9ffe2130e41b2e4769da7fac",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
},
{
"kind": "plane",
"stable_id": "ecd91907d843540554783068c778fba7e3d2c5b69d6963ad2279de0f764fcd06",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_011"
}
]
},
{
"id": "f_014",
"name": "IP_SCREW Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_011",
"f_010"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "ecd91907d843540554783068c778fba7e3d2c5b69d6963ad2279de0f764fcd06",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "ecd91907d843540554783068c778fba7e3d2c5b69d6963ad2279de0f764fcd06",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "ecd91907d843540554783068c778fba7e3d2c5b69d6963ad2279de0f764fcd06",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_011"
},
{
"kind": "plane",
"stable_id": "47671327f7dc2113949b0f3b322f99e0190595dab372805def5b1d344d65a1db",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_010"
}
]
}
],
"meta": {
"unit": "mm",
"source": "191243.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0015884487094250076,
"volume": 1.5884487094250076e-06,
"surface_area": 0.0014118503664814828,
"center_of_mass": [
-0.010306199955348221,
-9.026628136131228e-20,
-3.6911219507438814e-19
],
"principal_moments": [
3.817708143699012e-08,
7.601342051483066e-08,
7.601342051483066e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.021500000000000002,
-0.006,
-0.006,
0.0,
0.006,
0.006
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-旋转1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABoAAAAZwAAAGYAAAA=",
"persist_reference_sha256": "a4428cff400dba19bef69e2c48fe95084f0d3dd46c4bf2b0811ba09ad5d7ff2c",
"component": null,
"geometry": {
"box": [
-0.021500000000000002,
-0.006,
-0.006,
0.0,
0.006,
0.006
],
"face_count": 20,
"edge_count": 37,
"vertex_count": 18
},
"stable_id": "a4428cff400dba19bef69e2c48fe95084f0d3dd46c4bf2b0811ba09ad5d7ff2c"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 26,
"surface_counts": {
"cone": 4,
"cylinder": 4,
"plane": 14,
"torus": 4
},
"axis_count": 8,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-21.5,
-6.0000001,
-6.0,
0.0,
6.0,
6.0
],
"volume_mm3": 1588.448709425,
"surface_area_mm2": 1411.850366481,
"solid_count": 1,
"face_count": 26,
"edge_count": 56,
"vertex_count": 32
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-21.5,
-6.0,
-6.0,
0.0,
6.0,
6.0
],
"volume_mm3": 1588.448709425,
"surface_area_mm2": 1411.850366481,
"solid_count": 1,
"face_count": 20,
"edge_count": 37,
"vertex_count": 18
},
"comparisons": {
"volume_mm3": {
"expected": 1588.448709425,
"actual": 1588.448709425,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1411.850366481,
"actual": 1411.850366481,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-21.5,
-6.0,
-6.0,
0.0,
6.0,
6.0
],
"actual": [
-21.5,
-6.0000001,
-6.0,
0.0,
6.0,
6.0
],
"max_absolute_delta": 1.0000000028043132e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 20,
"actual": 26,
"matches": false
},
"edge_count": {
"expected": 37,
"actual": 56,
"matches": false
},
"vertex_count": {
"expected": 18,
"actual": 32,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}