Files
cdsl-cad/json_to_cdsl/output/JBT90-94D-4_0_7.cdsl.json
T
2026-08-24 14:52:08 +08:00

577 lines
13 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "JBT90-94D-4_0_7",
"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": [
36.5,
2.25
],
"end": [
37.25,
1.5
]
},
{
"type": "line",
"start": [
37.25,
1.5
],
"end": [
28.5,
1.5
]
},
{
"type": "line",
"start": [
28.5,
1.5
],
"end": [
28.5,
-1.5
]
},
{
"type": "line",
"start": [
28.5,
-1.5
],
"end": [
37.25,
-1.5
]
},
{
"type": "line",
"start": [
37.25,
-1.5
],
"end": [
36.5,
-2.25
]
},
{
"type": "line",
"start": [
36.5,
-2.25
],
"end": [
43.25,
-2.25
]
},
{
"type": "line",
"start": [
43.25,
-2.25
],
"end": [
44.0,
-1.5
]
},
{
"type": "line",
"start": [
44.0,
-1.5
],
"end": [
53.5,
-1.5
]
},
{
"type": "line",
"start": [
53.5,
-1.5
],
"end": [
53.5,
1.5
]
},
{
"type": "line",
"start": [
53.5,
1.5
],
"end": [
44.0,
1.5
]
},
{
"type": "line",
"start": [
44.0,
1.5
],
"end": [
43.25,
2.25
]
},
{
"type": "line",
"start": [
43.25,
2.25
],
"end": [
36.5,
2.25
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
42.125337187
],
"end": [
0.0,
-49.931310212
]
},
{
"type": "line",
"start": [
-93.940847784,
0.0
],
"end": [
88.826589595,
0.0
]
},
{
"type": "line",
"start": [
45.5,
0.0
],
"end": [
44.0,
-1.5
]
},
{
"type": "line",
"start": [
44.0,
1.5
],
"end": [
45.5,
0.0
]
}
]
}
}
]
},
"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,
42.125337187,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "4bc5be715818f345d9d516f574bed20b73423951ac33f11a8c732949d505302f",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.04212533718689787,
0.0
],
"end": [
0.0,
-0.04993131021194605,
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"
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030119_JBT90钢制管法兰用齿形组合垫片/JBT90-94D-4_0_7.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.02188138918179377,
"volume": 2.188138918179377e-05,
"surface_area": 0.01543553244361439,
"center_of_mass": [
-1.6258283918409025e-18,
4.4664161201637425e-17,
-2.1625607979727558e-18
],
"principal_moments": [
1.986109155078319e-05,
1.986109155078319e-05,
3.9674980039946e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.053500000000000006,
-0.002250000000000002,
-0.053500000000000006,
0.053500000000000006,
0.002250000000000002,
0.053500000000000006
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABlAAAA",
"persist_reference_sha256": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448",
"component": null,
"geometry": {
"box": [
-0.053500000000000006,
-0.002250000000000002,
-0.053500000000000006,
0.053500000000000006,
0.002250000000000002,
0.053500000000000006
],
"face_count": 12,
"edge_count": 12,
"vertex_count": 0
},
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 18,
"surface_counts": {
"cone": 8,
"cylinder": 4,
"plane": 6
},
"axis_count": 12,
"repeat_spacings_mm": [
{
"spacing_mm": 3.75,
"pair_count": 2
},
{
"spacing_mm": 0.75,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-53.5,
-2.25,
-53.5,
53.5,
2.25,
53.5
],
"volume_mm3": 21881.389181794,
"surface_area_mm2": 15435.532443614,
"solid_count": 1,
"face_count": 18,
"edge_count": 36,
"vertex_count": 24
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-53.5,
-2.25,
-53.5,
53.5,
2.25,
53.5
],
"volume_mm3": 21881.389181794,
"surface_area_mm2": 15435.532443614,
"solid_count": 1,
"face_count": 12,
"edge_count": 12,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 21881.389181794,
"actual": 21881.389181794,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 15435.532443614,
"actual": 15435.532443614,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-53.5,
-2.25,
-53.5,
53.5,
2.25,
53.5
],
"actual": [
-53.5,
-2.25,
-53.5,
53.5,
2.25,
53.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 12,
"actual": 18,
"matches": false
},
"edge_count": {
"expected": 12,
"actual": 36,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 24,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}