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

1003 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "Front-Clavis",
"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": "Sketch2",
"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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 40.45,
"outer_radius_mm": 73.0
}
},
{
"id": "sk_003",
"name": "Sketch3",
"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,
-25.4
],
"radius_mm": 18.5
}
},
{
"id": "sk_004",
"name": "Sketch4",
"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,
-24.188945113
],
"radius_mm": 11.0
}
},
{
"id": "sk_005",
"name": "Sketch5",
"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,
-24.188945113
],
"radius_mm": 4.5
}
},
{
"id": "sk_006",
"name": "Sketch7",
"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": [
-37.296203472,
-60.187358341
],
"end": [
37.296203472,
-60.187358341
]
},
{
"type": "line",
"start": [
37.296203472,
-60.187358341
],
"end": [
37.296203472,
11.809468115
]
},
{
"type": "line",
"start": [
37.296203472,
11.809468115
],
"end": [
-37.296203472,
11.809468115
]
},
{
"type": "line",
"start": [
-37.296203472,
11.809468115
],
"end": [
-37.296203472,
-60.187358341
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-37.296203472,
-60.187358341
],
"end": [
37.296203472,
11.809468115
]
},
{
"type": "line",
"start": [
-37.296203472,
11.809468115
],
"end": [
37.296203472,
-60.187358341
]
}
]
}
},
{
"id": "sk_007",
"name": "Sketch9",
"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,
25.4
],
"radius_mm": 5.0
}
},
{
"id": "sk_008",
"name": "Sketch10",
"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": "circle",
"center": [
-25.4,
-32.0
],
"radius_mm": 18.0
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front Plane",
"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 Plane",
"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": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 50.8,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_003",
"name": "Right Plane",
"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": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 3.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "Plane1",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
75.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 75.0,
"angle_rad": 0.0,
"reverse": false,
"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_011",
"name": "Plane2",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-0.0,
-68.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 68.0,
"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_014",
"name": "Chamfer2",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "4abb4aa41812bb886529b60d4758b1180d2f1754958488e6d1b7f466f9c69dd9",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.0508,
0.0,
0.0,
-1.0,
0.073
]
},
"box": [
-0.073,
-0.073,
0.0030000000000000027,
0.073,
0.073,
0.047799999999999995
],
"area": 0.020548529228600114
}
}
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_015",
"name": "Plane3",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
-68.0,
-0.0,
-0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 68.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_008",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 3.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_016",
"name": "Boss-Extrude3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_015",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "supported",
"sketch_id": "sk_008"
},
{
"id": "f_010",
"name": "Cut-Extrude2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_009",
"f_004"
],
"params": {
"distance_mm": 37.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_017",
"name": "Fillet2",
"atomic_id": "fillet",
"depends_on": [
"f_016"
],
"params": {
"radius_mm": 1.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "Cut-Extrude3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_011",
"f_004",
"f_010"
],
"params": {
"distance_mm": 37.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_013",
"name": "Cut-Extrude4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_012",
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0102_螺钉/010299_通用螺钉/Front Clavis.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.5806901315482661,
"volume": 0.0005806901315482661,
"surface_area": 0.05912130503808134,
"center_of_mass": [
-0.00041447446492090306,
0.0008581524847919104,
0.025406525190772966
],
"principal_moments": [
0.0011057780685139113,
0.0011606398297821262,
0.002019139235862793
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.073,
-0.068,
-0.0010553299657279636,
0.073,
0.07500000000000001,
0.05185532996572796
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Fillet2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABtAAAAagAAAGkAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "17eab0bd14000b4cc016b3567e3e18abd73d8dba92e131c5d68a3077fd1abf68",
"component": null,
"geometry": {
"box": [
-0.073,
-0.068,
-0.001055329965727961,
0.073,
0.075,
0.05185532996572796
],
"face_count": 26,
"edge_count": 42,
"vertex_count": 18
},
"stable_id": "17eab0bd14000b4cc016b3567e3e18abd73d8dba92e131c5d68a3077fd1abf68"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 44,
"surface_counts": {
"bspline": 5,
"cone": 6,
"cylinder": 17,
"plane": 7,
"torus": 9
},
"axis_count": 23,
"repeat_spacings_mm": [
{
"spacing_mm": 83.6568,
"pair_count": 2
},
{
"spacing_mm": 67.9276,
"pair_count": 2
},
{
"spacing_mm": 79.1843,
"pair_count": 2
},
{
"spacing_mm": 77.2936,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-73.0000001,
-68.0000001,
-1e-07,
73.0000001,
75.0,
50.8000001
],
"volume_mm3": 580778.601773089,
"surface_area_mm2": 59126.406991838,
"solid_count": 1,
"face_count": 44,
"edge_count": 95,
"vertex_count": 57
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-73.0,
-68.0,
-1.055329966,
73.0,
75.0,
51.855329966
],
"volume_mm3": 580690.131548266,
"surface_area_mm2": 59121.305038081,
"solid_count": 1,
"face_count": 26,
"edge_count": 42,
"vertex_count": 18
},
"comparisons": {
"volume_mm3": {
"expected": 580690.131548266,
"actual": 580778.601773089,
"absolute_delta": 88.4702248229878,
"within_tolerance": false
},
"surface_area_mm2": {
"expected": 59121.305038081,
"actual": 59126.406991838,
"absolute_delta": 5.101953756995499,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-73.0,
-68.0,
-1.055329966,
73.0,
75.0,
51.855329966
],
"actual": [
-73.0000001,
-68.0000001,
-1e-07,
73.0000001,
75.0,
50.8000001
],
"max_absolute_delta": 1.055329866000001,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 26,
"actual": 44,
"matches": false
},
"edge_count": {
"expected": 42,
"actual": 95,
"matches": false
},
"vertex_count": {
"expected": 18,
"actual": 57,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}