Files
cdsl-cad/json_to_cdsl/output/138372.cdsl.json
T
2026-08-24 14:52:08 +08:00

967 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "138372",
"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": [
0.0,
8.5
],
"end": [
0.0,
6.8
]
},
{
"type": "line",
"start": [
0.0,
6.8
],
"end": [
0.618181818,
6.181818182
]
},
{
"type": "line",
"start": [
0.618181818,
6.181818182
],
"end": [
10.548484848,
6.181818182
]
},
{
"type": "line",
"start": [
10.548484848,
6.181818182
],
"end": [
11.166666667,
6.8
]
},
{
"type": "line",
"start": [
11.166666667,
6.8
],
"end": [
11.166666667,
8.5
]
},
{
"type": "line",
"start": [
11.166666667,
8.5
],
"end": [
10.185171209,
10.2
]
},
{
"type": "line",
"start": [
10.185171209,
10.2
],
"end": [
0.981495458,
10.2
]
},
{
"type": "line",
"start": [
0.981495458,
10.2
],
"end": [
0.0,
8.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
11.166666667,
0.0
],
"end": [
0.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": [
-17.0,
-17.0
],
"end": [
17.0,
-17.0
]
},
{
"type": "line",
"start": [
17.0,
-17.0
],
"end": [
17.0,
17.0
]
},
{
"type": "line",
"start": [
17.0,
17.0
],
"end": [
-17.0,
17.0
]
},
{
"type": "line",
"start": [
-17.0,
17.0
],
"end": [
-17.0,
-17.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"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
]
},
{
"type": "line",
"start": [
8.5,
4.907477288
],
"end": [
0.0,
9.814954576
]
},
{
"type": "line",
"start": [
0.0,
9.814954576
],
"end": [
-8.5,
4.907477288
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "nut",
"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_006",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"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": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"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": "nut 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_004",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
11.166666667,
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": "bcc21507aa68fcad7391944000e2f504535740585069d48a3cab753d3f8b2340",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.011166666666666667,
0.0,
0.0
],
"end": [
0.0,
0.0,
0.0
]
}
}
]
},
{
"id": "f_008",
"name": "nut 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_005",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 11.166666667,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_009",
"name": "nut 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": "nut X",
"atomic_id": "reference_axis",
"depends_on": [
"f_007",
"f_008"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "533e47d766d905f64094d2ce36268b684f7aa91ef89d6fbe642f3a39690dcdab",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "533e47d766d905f64094d2ce36268b684f7aa91ef89d6fbe642f3a39690dcdab",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "533e47d766d905f64094d2ce36268b684f7aa91ef89d6fbe642f3a39690dcdab",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_007"
},
{
"kind": "plane",
"stable_id": "704abb55d841103ee0ab1dd6fb5a0c8c67f95637de3af482d6b274fe2edb9ce1",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
}
]
},
{
"id": "f_011",
"name": "nut Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_007",
"f_009"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "533e47d766d905f64094d2ce36268b684f7aa91ef89d6fbe642f3a39690dcdab",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "533e47d766d905f64094d2ce36268b684f7aa91ef89d6fbe642f3a39690dcdab",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "533e47d766d905f64094d2ce36268b684f7aa91ef89d6fbe642f3a39690dcdab",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_007"
},
{
"kind": "plane",
"stable_id": "4257fbcd2725bb9238c94beebab4cffa3cb1ef5815f5d29ccbc7375ca39f0a16",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
}
]
},
{
"id": "f_012",
"name": "nut Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_009",
"f_008"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "4257fbcd2725bb9238c94beebab4cffa3cb1ef5815f5d29ccbc7375ca39f0a16",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "4257fbcd2725bb9238c94beebab4cffa3cb1ef5815f5d29ccbc7375ca39f0a16",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "4257fbcd2725bb9238c94beebab4cffa3cb1ef5815f5d29ccbc7375ca39f0a16",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
},
{
"kind": "plane",
"stable_id": "704abb55d841103ee0ab1dd6fb5a0c8c67f95637de3af482d6b274fe2edb9ce1",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
}
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0302_管接头/030201_GBT12459弯头/138372.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0014281826654126825,
"volume": 1.4281826654126826e-06,
"surface_area": 0.001301186079599002,
"center_of_mass": [
1.4479601114504646e-19,
4.377743230293759e-09,
-0.005583333333333333
],
"principal_moments": [
5.687904619596724e-08,
5.687932769583134e-08,
8.504807714484508e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0085,
-0.009814954576223637,
-0.011166666666666667,
0.0085,
0.009814954576223637,
0.0
],
"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.011166666666666667,
0.0085,
0.009814954576223637,
0.0
],
"face_count": 23,
"edge_count": 46,
"vertex_count": 24
},
"stable_id": "3a27ca3aaad56ef866f3b65e70e3f1214ca09973643e9534c8ef1bc183826b68"
}
]
}
},
"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": [
-8.5000001,
-9.814954676,
-11.166666767,
8.5000001,
9.814954676,
1e-07
],
"volume_mm3": 1428.17895925,
"surface_area_mm2": 1301.184549369,
"solid_count": 1,
"face_count": 26,
"edge_count": 56,
"vertex_count": 32
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-8.5,
-9.814954576,
-11.166666667,
8.5,
9.814954576,
0.0
],
"volume_mm3": 1428.182665413,
"surface_area_mm2": 1301.186079599,
"solid_count": 1,
"face_count": 23,
"edge_count": 46,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 1428.182665413,
"actual": 1428.17895925,
"absolute_delta": 0.0037061630000607693,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1301.186079599,
"actual": 1301.184549369,
"absolute_delta": 0.001530230000071242,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-8.5,
-9.814954576,
-11.166666667,
8.5,
9.814954576,
0.0
],
"actual": [
-8.5000001,
-9.814954676,
-11.166666767,
8.5000001,
9.814954676,
1e-07
],
"max_absolute_delta": 1.0000000116860974e-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
}
}