Files
cdsl-cad/json_to_cdsl/output/_-8-1-2.cdsl.json
T
2026-08-24 14:52:08 +08:00

1290 lines
29 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_-8-1-2",
"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": "arc",
"start": [
-22.5,
7.75
],
"end": [
-22.0,
8.25
],
"center": [
-22.0,
7.75
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
-22.0,
8.25
],
"end": [
-21.0,
8.25
]
},
{
"type": "line",
"start": [
-21.0,
8.25
],
"end": [
-21.0,
6.0
]
},
{
"type": "line",
"start": [
-21.0,
6.0
],
"end": [
-20.1,
6.0
]
},
{
"type": "line",
"start": [
-20.1,
6.0
],
"end": [
-20.1,
6.925
]
},
{
"type": "arc",
"start": [
-20.1,
6.925
],
"end": [
-19.9,
7.125
],
"center": [
-19.9,
6.925
],
"radius_mm": 0.2,
"clockwise": true
},
{
"type": "line",
"start": [
-19.9,
7.125
],
"end": [
-18.6,
7.125
]
},
{
"type": "line",
"start": [
-18.6,
7.125
],
"end": [
-16.725,
7.5
]
},
{
"type": "line",
"start": [
-16.725,
7.5
],
"end": [
-8.381856066,
7.5
]
},
{
"type": "line",
"start": [
-8.381856066,
7.5
],
"end": [
-7.03125,
6.0
]
},
{
"type": "line",
"start": [
-7.03125,
6.0
],
"end": [
0.0,
6.0
]
},
{
"type": "arc",
"start": [
0.0,
6.0
],
"end": [
6.0,
0.0
],
"center": [
-0.0,
-0.0
],
"radius_mm": 6.0,
"clockwise": true
},
{
"type": "line",
"start": [
6.0,
0.0
],
"end": [
-22.5,
0.0
]
},
{
"type": "line",
"start": [
-22.5,
0.0
],
"end": [
-22.5,
7.75
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
6.0,
0.0
],
"end": [
-22.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": [
-0.0,
-48.8
],
"end": [
-9.3155,
-48.8
]
},
{
"type": "line",
"start": [
-9.3155,
-48.8
],
"end": [
-10.4775,
-47.638
]
},
{
"type": "line",
"start": [
-10.4775,
-47.638
],
"end": [
-10.4775,
-35.306028857
]
},
{
"type": "line",
"start": [
-10.4775,
-35.306028857
],
"end": [
-12.124355653,
-34.864755215
]
},
{
"type": "line",
"start": [
-12.124355653,
-34.864755215
],
"end": [
-12.124355653,
-16.215244785
]
},
{
"type": "line",
"start": [
-12.124355653,
-16.215244785
],
"end": [
-10.5,
-15.78
]
},
{
"type": "line",
"start": [
-10.5,
-15.78
],
"end": [
-10.5,
-11.083068199
]
},
{
"type": "line",
"start": [
-10.5,
-11.083068199
],
"end": [
-6.0,
-7.03125
]
},
{
"type": "line",
"start": [
-6.0,
-7.03125
],
"end": [
-6.0,
0.0
]
},
{
"type": "line",
"start": [
-6.0,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-0.0,
-48.8
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-0.0,
-48.8
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": "line",
"start": [
10.5,
-6.062177826
],
"end": [
10.5,
6.062177826
]
},
{
"type": "line",
"start": [
10.5,
6.062177826
],
"end": [
0.0,
12.124355653
]
},
{
"type": "line",
"start": [
0.0,
12.124355653
],
"end": [
-10.5,
6.062177826
]
},
{
"type": "line",
"start": [
-10.5,
6.062177826
],
"end": [
-10.5,
-6.062177826
]
},
{
"type": "line",
"start": [
-10.5,
-6.062177826
],
"end": [
0.0,
-12.124355653
]
},
{
"type": "line",
"start": [
0.0,
-12.124355653
],
"end": [
10.5,
-6.062177826
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 21.0
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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": "arc",
"start": [
0.0,
4.0
],
"end": [
4.0,
0.0
],
"center": [
-0.0,
-0.0
],
"radius_mm": 4.0,
"clockwise": true
},
{
"type": "line",
"start": [
4.0,
0.0
],
"end": [
-22.5,
0.0
]
},
{
"type": "line",
"start": [
-22.5,
0.0
],
"end": [
-22.5,
4.0
]
},
{
"type": "line",
"start": [
-22.5,
4.0
],
"end": [
0.0,
4.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
4.0,
0.0
],
"end": [
-22.5,
0.0
]
}
]
}
},
{
"id": "sk_006",
"name": "草图5",
"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": [
0.0,
-48.8
],
"end": [
-2.666666667,
-48.8
]
},
{
"type": "line",
"start": [
-2.666666667,
-48.8
],
"end": [
-2.666666667,
0.0
]
},
{
"type": "line",
"start": [
-2.666666667,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-48.8
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-48.8
]
}
]
}
}
]
},
"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_006",
"name": "基准面4",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-0.0,
-35.3
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 35.3,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_004",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
6.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": "e96d0b25a80801c020cb35dd99aecc0a66d78a63b4b44c4b5ea44bf17c342cc7",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.006,
0.0,
0.0
],
"end": [
-0.0225,
0.0,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "旋转2",
"atomic_id": "revolve_add",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
-0.0,
-1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "e574e0ab27d0be5541aabb5d88b8db5fcbc3a065b005b7a4ff06339bae39c8c6",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-2.9880395033266004e-18,
-0.048799999999999996,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 24.4,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
4.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_005",
"selectors": [
{
"kind": "axis",
"stable_id": "cec96bc334848c872196e1cbee23721f23ebe934cac26a52ff5cab5f6011a913",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.004,
0.0,
0.0
],
"end": [
-0.0225,
0.0,
0.0
]
}
}
]
},
{
"id": "f_009",
"name": "切除-旋转2",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"selectors": [
{
"kind": "axis",
"stable_id": "84059bd29aa1d2984ea64edd7a518d84a1fcafb1f33f9f4e2f8719caa5d7f349",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
-0.048799999999999996,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0302_管接头/030201_GBT12459弯头/标准_气动直角快速接头φ8~1-2.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.01647033381891644,
"volume": 1.6470333818916438e-05,
"surface_area": 0.006206350723980005,
"center_of_mass": [
5.073624738014073e-10,
-0.02362753054655747,
0.00171260389319679
],
"principal_moments": [
1.1360092574676742e-06,
4.2707330883304235e-06,
4.48927860991597e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0105,
-0.048799999999999996,
-0.01212435565298214,
0.0105,
0.00825,
0.0225
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-旋转2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83",
"component": null,
"geometry": {
"box": [
-0.0105,
-0.048799999999999996,
-0.01212435565298214,
0.0105,
0.00825,
0.0225
],
"face_count": 35,
"edge_count": 54,
"vertex_count": 22
},
"stable_id": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 55,
"surface_counts": {
"cone": 17,
"cylinder": 20,
"plane": 10,
"sphere": 4,
"torus": 4
},
"axis_count": 37,
"repeat_spacings_mm": [
{
"spacing_mm": 7.0312,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-10.5000001,
-48.8000001,
-12.124355753,
10.5000001,
8.25,
22.5000001
],
"volume_mm3": 16470.286090612,
"surface_area_mm2": 6206.342831388,
"solid_count": 1,
"face_count": 55,
"edge_count": 120,
"vertex_count": 69
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-10.5,
-48.8,
-12.124355653,
10.5,
8.25,
22.5
],
"volume_mm3": 16470.333818916,
"surface_area_mm2": 6206.35072398,
"solid_count": 1,
"face_count": 35,
"edge_count": 54,
"vertex_count": 22
},
"comparisons": {
"volume_mm3": {
"expected": 16470.333818916,
"actual": 16470.286090612,
"absolute_delta": 0.04772830399815575,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 6206.35072398,
"actual": 6206.342831388,
"absolute_delta": 0.007892591999734577,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-10.5,
-48.8,
-12.124355653,
10.5,
8.25,
22.5
],
"actual": [
-10.5000001,
-48.8000001,
-12.124355753,
10.5000001,
8.25,
22.5000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 35,
"actual": 55,
"matches": false
},
"edge_count": {
"expected": 54,
"actual": 120,
"matches": false
},
"vertex_count": {
"expected": 22,
"actual": 69,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}