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

1068 lines
24 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "010137",
"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": [
-3.0,
0.0
],
"end": [
-3.0,
6.0
]
},
{
"type": "line",
"start": [
-3.0,
6.0
],
"end": [
-2.307179677,
7.2
]
},
{
"type": "line",
"start": [
-2.307179677,
7.2
],
"end": [
2.307179677,
7.2
]
},
{
"type": "line",
"start": [
2.307179677,
7.2
],
"end": [
3.0,
6.0
]
},
{
"type": "line",
"start": [
3.0,
6.0
],
"end": [
3.0,
0.0
]
},
{
"type": "line",
"start": [
3.0,
0.0
],
"end": [
-3.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
3.0,
0.0
],
"end": [
-3.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": [
-3.0,
0.0
],
"end": [
-3.0,
4.0
]
},
{
"type": "line",
"start": [
-3.0,
4.0
],
"end": [
-2.3235,
3.3235
]
},
{
"type": "line",
"start": [
-2.3235,
3.3235
],
"end": [
2.3235,
3.3235
]
},
{
"type": "line",
"start": [
2.3235,
3.3235
],
"end": [
3.0,
4.0
]
},
{
"type": "line",
"start": [
3.0,
4.0
],
"end": [
3.0,
0.0
]
},
{
"type": "line",
"start": [
3.0,
0.0
],
"end": [
-3.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
3.0,
0.0
],
"end": [
-3.0,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
-12.0,
12.0
],
"end": [
-12.0,
-12.0
]
},
{
"type": "line",
"start": [
-12.0,
-12.0
],
"end": [
12.0,
-12.0
]
},
{
"type": "line",
"start": [
12.0,
-12.0
],
"end": [
12.0,
12.0
]
},
{
"type": "line",
"start": [
12.0,
12.0
],
"end": [
-12.0,
12.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-6.0,
-3.464101615
],
"end": [
0.0,
-6.92820323
]
},
{
"type": "line",
"start": [
0.0,
-6.92820323
],
"end": [
6.0,
-3.464101615
]
},
{
"type": "line",
"start": [
6.0,
-3.464101615
],
"end": [
6.0,
3.464101615
]
},
{
"type": "line",
"start": [
6.0,
3.464101615
],
"end": [
0.0,
6.92820323
]
},
{
"type": "line",
"start": [
0.0,
6.92820323
],
"end": [
-6.0,
3.464101615
]
},
{
"type": "line",
"start": [
-6.0,
3.464101615
],
"end": [
-6.0,
-3.464101615
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "nut1",
"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": [
3.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": "b5261c099c1d787a4d253986069012217af9683778edd5f5115b22518539530e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.003,
0.0,
0.0
],
"end": [
-0.003,
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_005",
"name": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
3.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_003",
"selectors": [
{
"kind": "axis",
"stable_id": "b877f6f51573d46966c4dc158dbf6600954076709b50b76ad765673bf5e7b3c8",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.003,
0.0,
0.0
],
"end": [
-0.003,
0.0,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 3.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 3.0,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "nut1 XY",
"atomic_id": "reference_plane",
"depends_on": [
"f_006"
],
"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_008",
"name": "nut1 XZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_007"
],
"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_009",
"name": "nut1 YZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_008"
],
"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_010",
"name": "nut1 X",
"atomic_id": "reference_axis",
"depends_on": [
"f_007",
"f_008"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "704db3a420f30337437f83ffcfc3665eb08122d52877c4f55276d6820cf08983",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "704db3a420f30337437f83ffcfc3665eb08122d52877c4f55276d6820cf08983",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "704db3a420f30337437f83ffcfc3665eb08122d52877c4f55276d6820cf08983",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_007"
},
{
"kind": "plane",
"stable_id": "999e7c61ae3a1f4861c454dbdcaffc4d19b64863a41c61f7bad523deea59b4a1",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
}
]
},
{
"id": "f_011",
"name": "nut1 Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_007",
"f_009"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "704db3a420f30337437f83ffcfc3665eb08122d52877c4f55276d6820cf08983",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "704db3a420f30337437f83ffcfc3665eb08122d52877c4f55276d6820cf08983",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "704db3a420f30337437f83ffcfc3665eb08122d52877c4f55276d6820cf08983",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_007"
},
{
"kind": "plane",
"stable_id": "9767e2423dad864884a814d24736519c6dc6dcdce8fac08653964d0d51e64111",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
}
]
},
{
"id": "f_012",
"name": "nut1 Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_009",
"f_008"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "9767e2423dad864884a814d24736519c6dc6dcdce8fac08653964d0d51e64111",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "9767e2423dad864884a814d24736519c6dc6dcdce8fac08653964d0d51e64111",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "9767e2423dad864884a814d24736519c6dc6dcdce8fac08653964d0d51e64111",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
},
{
"kind": "plane",
"stable_id": "999e7c61ae3a1f4861c454dbdcaffc4d19b64863a41c61f7bad523deea59b4a1",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
}
]
}
],
"meta": {
"unit": "mm",
"source": "010137.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0005260832893814265,
"volume": 5.260832893814264e-07,
"surface_area": 0.0005276721592804184,
"center_of_mass": [
-8.368399127510575e-20,
2.6373883456432348e-09,
4.913555451015384e-19
],
"principal_moments": [
8.27498513146118e-09,
8.275029344405885e-09,
1.352978105219893e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.003,
-0.006928203230275509,
-0.006000000000000001,
0.003,
0.006928203230275509,
0.006000000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
-0.003,
-0.006928203230275509,
-0.006000000000000001,
0.003,
0.006928203230275509,
0.006000000000000001
],
"face_count": 23,
"edge_count": 46,
"vertex_count": 24
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 26,
"surface_counts": {
"cone": 16,
"cylinder": 2,
"plane": 8
},
"axis_count": 18,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-3.0000001,
-6.92820333,
-6.0000001,
3.0000001,
6.92820333,
6.0000001
],
"volume_mm3": 526.066372498,
"surface_area_mm2": 527.664241567,
"solid_count": 1,
"face_count": 26,
"edge_count": 56,
"vertex_count": 32
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-3.0,
-6.92820323,
-6.0,
3.0,
6.92820323,
6.0
],
"volume_mm3": 526.083289381,
"surface_area_mm2": 527.67215928,
"solid_count": 1,
"face_count": 23,
"edge_count": 46,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 526.083289381,
"actual": 526.066372498,
"absolute_delta": 0.0169168830000217,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 527.67215928,
"actual": 527.664241567,
"absolute_delta": 0.00791771299998345,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-3.0,
-6.92820323,
-6.0,
3.0,
6.92820323,
6.0
],
"actual": [
-3.0000001,
-6.92820333,
-6.0000001,
3.0000001,
6.92820333,
6.0000001
],
"max_absolute_delta": 1.0000000028043132e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 23,
"actual": 26,
"matches": false
},
"edge_count": {
"expected": 46,
"actual": 56,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 32,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}