Files
cdsl-cad/json_to_cdsl/output/JBT84-94AB-4_0_17.cdsl.json
T
2026-08-24 14:52:08 +08:00

777 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "JBT84-94AB-4_0_17",
"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": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
179.708131846,
0.0
],
"end": [
175.994225082,
2.514437295
],
"center": [
179.708131846,
4.0
],
"radius_mm": 4.0,
"clockwise": true
},
{
"type": "line",
"start": [
175.994225082,
2.514437295
],
"end": [
162.5,
36.25
]
},
{
"type": "line",
"start": [
162.5,
36.25
],
"end": [
162.5,
78.07179677
]
},
{
"type": "line",
"start": [
162.5,
78.07179677
],
"end": [
150.5,
85.0
]
},
{
"type": "line",
"start": [
150.5,
85.0
],
"end": [
150.5,
-34.0
]
},
{
"type": "line",
"start": [
150.5,
-34.0
],
"end": [
181.5,
-34.0
]
},
{
"type": "line",
"start": [
181.5,
-34.0
],
"end": [
181.5,
-4.5
]
},
{
"type": "line",
"start": [
181.5,
-4.5
],
"end": [
204.0,
-4.5
]
},
{
"type": "line",
"start": [
204.0,
-4.5
],
"end": [
204.0,
0.0
]
},
{
"type": "line",
"start": [
204.0,
0.0
],
"end": [
179.708131846,
0.0
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
180.0,
46.0
],
"end": [
180.0,
2.0
]
},
{
"type": "line",
"start": [
180.0,
2.0
],
"end": [
182.0,
-0.0
]
},
{
"type": "line",
"start": [
182.0,
-0.0
],
"end": [
255.0,
0.0
]
},
{
"type": "line",
"start": [
255.0,
0.0
],
"end": [
255.0,
46.0
]
},
{
"type": "line",
"start": [
255.0,
46.0
],
"end": [
180.0,
46.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
101.343063584
],
"end": [
0.0,
-88.42283237
]
},
{
"type": "line",
"start": [
-94.748362235,
0.0
],
"end": [
96.363391137,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": "circle",
"center": [
0.0,
225.0
],
"radius_mm": 17.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,
101.343063584,
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.10134306358381501,
0.0
],
"end": [
0.0,
-0.08842283236994217,
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": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "基准轴1",
"atomic_id": "reference_axis",
"depends_on": [
"f_004"
],
"params": {
"axis": {
"origin_mm": [
0.0,
101.343063584,
0.0
],
"direction": [
0.0,
1.0,
0.0
],
"selector": {
"kind": "face",
"stable_id": "45bc1e25d7089be854676d1e98020659f00e9ab4b13966f9b46c34343b1ddd1b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.10134306358381501,
0.0,
0.0,
1.0,
0.0,
0.255
]
},
"box": [
-0.255,
0.0,
-0.255,
0.255,
0.046,
0.255
],
"area": 0.07370176365321654
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "45bc1e25d7089be854676d1e98020659f00e9ab4b13966f9b46c34343b1ddd1b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.10134306358381501,
0.0,
0.0,
1.0,
0.0,
0.255
]
},
"box": [
-0.255,
0.0,
-0.255,
0.255,
0.046,
0.255
],
"area": 0.07370176365321654
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030113_JBT84对焊环板式松套钢制管法兰/JBT84-94AB-4_0_17.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 6.505563295546601,
"volume": 0.006505563295546601,
"surface_area": 0.6666816025615756,
"center_of_mass": [
-9.257533768633593e-18,
0.017926741087412074,
3.072751220311034e-17
],
"principal_moments": [
0.1344546109719786,
0.1344546109719786,
0.26214890892100107
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.255,
-0.034,
-0.255,
0.255,
0.085,
0.255
],
"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.255,
-0.034,
-0.255,
0.255,
0.085,
0.255
],
"face_count": 31,
"edge_count": 47,
"vertex_count": 0
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 57,
"surface_counts": {
"cone": 6,
"cylinder": 44,
"plane": 5,
"torus": 2
},
"axis_count": 50,
"repeat_spacings_mm": [
{
"spacing_mm": 87.7906,
"pair_count": 16
},
{
"spacing_mm": 172.2075,
"pair_count": 16
},
{
"spacing_mm": 250.0066,
"pair_count": 16
},
{
"spacing_mm": 318.1981,
"pair_count": 16
},
{
"spacing_mm": 374.1613,
"pair_count": 16
},
{
"spacing_mm": 415.7458,
"pair_count": 16
},
{
"spacing_mm": 441.3534,
"pair_count": 16
},
{
"spacing_mm": 235.7118,
"pair_count": 16
},
{
"spacing_mm": 262.5695,
"pair_count": 16
},
{
"spacing_mm": 254.5309,
"pair_count": 16
},
{
"spacing_mm": 227.5544,
"pair_count": 16
},
{
"spacing_mm": 450.0,
"pair_count": 8
}
],
"metrics": {
"bounding_box_mm": [
-255.0,
-34.0,
-255.0,
255.0,
85.0,
255.0
],
"volume_mm3": 6505563.295546596,
"surface_area_mm2": 666681.602561575,
"solid_count": 1,
"face_count": 57,
"edge_count": 146,
"vertex_count": 94
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-255.0,
-34.0,
-255.0,
255.0,
85.0,
255.0
],
"volume_mm3": 6505563.295546601,
"surface_area_mm2": 666681.602561576,
"solid_count": 1,
"face_count": 31,
"edge_count": 47,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 6505563.295546601,
"actual": 6505563.295546596,
"absolute_delta": 4.6566128730773926e-09,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 666681.602561576,
"actual": 666681.602561575,
"absolute_delta": 9.313225746154785e-10,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-255.0,
-34.0,
-255.0,
255.0,
85.0,
255.0
],
"actual": [
-255.0,
-34.0,
-255.0,
255.0,
85.0,
255.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 31,
"actual": 57,
"matches": false
},
"edge_count": {
"expected": 47,
"actual": 146,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 94,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}