Files
cdsl-cad/json_to_cdsl/output/_slip-on-weld-flange.cdsl.json
T
2026-08-24 14:52:08 +08:00

930 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_slip-on-weld-flange",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"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": "Hub Diameter",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 38.862
}
},
{
"id": "sk_003",
"name": "Flange Diameter",
"role": "profile",
"workplane": {
"origin_mm": [
-1.5875,
-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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 76.2
}
},
{
"id": "sk_004",
"name": "Bolt Diameter",
"role": "profile",
"workplane": {
"origin_mm": [
-1.5875,
-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": "circle",
"center": [
42.656216575,
42.656216575
],
"radius_mm": 9.525
}
},
{
"id": "sk_005",
"name": "Revolution profile for Bore",
"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": [
0.0,
0.0
],
"end": [
30.988,
0.0
]
},
{
"type": "line",
"start": [
30.988,
0.0
],
"end": [
30.988,
228.6
]
},
{
"type": "line",
"start": [
30.988,
228.6
],
"end": [
-0.0,
228.6
]
},
{
"type": "line",
"start": [
-0.0,
228.6
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-19.52131148
],
"end": [
-0.0,
228.6
]
}
]
}
},
{
"id": "sk_006",
"name": "Sketch1",
"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": []
}
}
]
},
"features": [
{
"id": "f_001",
"name": "front",
"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": "top",
"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": "Hub",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 25.4,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_005",
"name": "Flange starting plane",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-1.5875,
-0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 1.5875,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_006",
"name": "Flange end plane",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-19.05,
-0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 19.05,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_008",
"name": "Axis of Revolution for Bore",
"atomic_id": "reference_axis",
"depends_on": [
"f_001"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "feature",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "75d0fc5445daf46ab7c00939122d768baf26a0763df74506c70d0d85d4e8b025",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_003",
"name": "side",
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "Flange",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_005",
"f_006",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "feature",
"stable_id": "1fdf92ea39c6b7f6f3dee622ef98da3e160818b38e1d1ff057764fe1ec125884",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_009",
"name": "Bore",
"atomic_id": "revolve_cut",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
-19.52131148,
0.0
],
"direction": [
-0.0,
1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"selectors": [
{
"kind": "axis",
"stable_id": "d78856eb707a5a4e2a899ad4014a58408bde36a31f9736b1fc7bab4d241c60fd",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
-0.019521311480375808,
0.0
],
"end": [
-9.33150041612651e-18,
0.2286,
0.0
]
}
}
]
},
{
"id": "f_012",
"name": "Vertical",
"atomic_id": "reference_axis",
"depends_on": [
"f_002"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"selectors": [
{
"kind": "feature",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_010",
"name": "Bolt Hole",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_011",
"name": "Axis of Rotation",
"atomic_id": "reference_axis",
"depends_on": [
"f_009"
],
"params": {
"axis": {
"origin_mm": [
0.0,
0.0,
19.52131148
],
"direction": [
0.0,
0.0,
1.0
],
"selector": {
"kind": "face",
"stable_id": "dccce44129b8e0593c25fa9d04eb14afb4ca9daac7770fabf300268e787be3eb",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.019521311480375808,
3.760862120408609e-17,
0.0,
1.0,
0.030988
]
},
"box": [
-0.030988,
-0.030988,
-0.0254,
0.030988,
0.030988,
-1.1654159538722195e-18
],
"area": 0.0049454649959915775
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "dccce44129b8e0593c25fa9d04eb14afb4ca9daac7770fabf300268e787be3eb",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.019521311480375808,
3.760862120408609e-17,
0.0,
1.0,
0.030988
]
},
"box": [
-0.030988,
-0.030988,
-0.0254,
0.030988,
0.030988,
-1.1654159538722195e-18
],
"area": 0.0049454649959915775
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030199_通用法兰/标准_slip on weld flange.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.2596680798665976,
"volume": 0.0002596680798665976,
"surface_area": 0.047593918755173964,
"center_of_mass": [
-1.2742122373731651e-17,
1.019369789898532e-19,
-0.010721218445874325
],
"principal_moments": [
0.0004295954115778032,
0.0004295954115778032,
0.0008430914735651605
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0762,
-0.0762,
-0.0254,
0.0762,
0.0762,
9.999999999996531e-06
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Bolt Hole Pattern",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-0.0762,
-0.0762,
-0.0254,
0.0762,
0.0762,
0.0
],
"face_count": 12,
"edge_count": 16,
"vertex_count": 0
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 20,
"surface_counts": {
"cylinder": 16,
"plane": 4
},
"axis_count": 16,
"repeat_spacings_mm": [
{
"spacing_mm": 85.3124,
"pair_count": 4
},
{
"spacing_mm": 75.2132,
"pair_count": 4
},
{
"spacing_mm": 60.325,
"pair_count": 4
},
{
"spacing_mm": 217.7011,
"pair_count": 4
},
{
"spacing_mm": 120.65,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-76.2,
-76.2,
-25.4,
76.2,
76.2,
0.0
],
"volume_mm3": 259668.079866597,
"surface_area_mm2": 47593.918755174,
"solid_count": 1,
"face_count": 20,
"edge_count": 48,
"vertex_count": 32
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-76.2,
-76.2,
-25.4,
76.2,
76.2,
0.01
],
"volume_mm3": 259668.079866598,
"surface_area_mm2": 47593.918755174,
"solid_count": 1,
"face_count": 12,
"edge_count": 16,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 259668.079866598,
"actual": 259668.079866597,
"absolute_delta": 1.0186340659856796e-09,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 47593.918755174,
"actual": 47593.918755174,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-76.2,
-76.2,
-25.4,
76.2,
76.2,
0.01
],
"actual": [
-76.2,
-76.2,
-25.4,
76.2,
76.2,
0.0
],
"max_absolute_delta": 0.01,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 12,
"actual": 20,
"matches": false
},
"edge_count": {
"expected": 16,
"actual": 48,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 32,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}