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

1399 lines
30 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_-M16X100",
"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": [
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": [
0.0,
0.0
],
"radius_mm": 7.3505
}
},
{
"id": "sk_003",
"name": "Sketch3",
"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": [
100.0,
8.0
],
"end": [
100.0,
0.0
]
},
{
"type": "line",
"start": [
100.0,
0.0
],
"end": [
53.0,
0.0
]
},
{
"type": "line",
"start": [
53.0,
0.0
],
"end": [
53.0,
7.3505
]
},
{
"type": "line",
"start": [
53.0,
7.3505
],
"end": [
56.0,
8.0
]
},
{
"type": "line",
"start": [
56.0,
8.0
],
"end": [
100.0,
8.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.442011354,
0.0
],
"end": [
10.393349554,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch8",
"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": [
100.0,
7.0625275
],
"end": [
100.54125,
8.0
]
},
{
"type": "line",
"start": [
100.54125,
8.0
],
"end": [
100.54125,
9.0825
]
},
{
"type": "line",
"start": [
100.54125,
9.0825
],
"end": [
99.45875,
9.0825
]
},
{
"type": "line",
"start": [
99.45875,
9.0825
],
"end": [
99.45875,
8.0
]
},
{
"type": "line",
"start": [
99.45875,
8.0
],
"end": [
100.0,
7.0625275
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
66.730684908,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "Sketch6",
"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": [
0.0,
0.0
],
"end": [
0.0,
8.0
]
},
{
"type": "line",
"start": [
0.0,
8.0
],
"end": [
44.0,
8.0
]
},
{
"type": "line",
"start": [
44.0,
8.0
],
"end": [
47.0,
7.3505
]
},
{
"type": "line",
"start": [
47.0,
7.3505
],
"end": [
47.0,
-0.0
]
},
{
"type": "line",
"start": [
47.0,
-0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.377128954,
0.0
],
"end": [
10.198702352,
0.0
]
}
]
}
},
{
"id": "sk_006",
"name": "Sketch9",
"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": [
0.0,
7.0625275
],
"end": [
0.54125,
8.0
]
},
{
"type": "line",
"start": [
0.54125,
8.0
],
"end": [
0.54125,
9.0825
]
},
{
"type": "line",
"start": [
0.54125,
9.0825
],
"end": [
-0.54125,
9.0825
]
},
{
"type": "line",
"start": [
-0.54125,
9.0825
],
"end": [
-0.54125,
8.0
]
},
{
"type": "line",
"start": [
-0.54125,
8.0
],
"end": [
0.0,
7.0625275
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
6.176989651,
0.0
]
}
]
}
},
{
"id": "sk_007",
"name": "Sketch7",
"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": [
0.0,
0.0
],
"end": [
0.0,
8.0
]
},
{
"type": "line",
"start": [
0.0,
8.0
],
"end": [
100.0,
8.0
]
},
{
"type": "line",
"start": [
100.0,
8.0
],
"end": [
100.0,
-0.0
]
},
{
"type": "line",
"start": [
100.0,
-0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-1.226682887,
0.0
],
"end": [
25.821167883,
0.0
]
}
]
}
},
{
"id": "sk_008",
"name": "Sketch10",
"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": [
65.0,
2.125011
],
"end": [
65.2165,
2.5
]
},
{
"type": "line",
"start": [
65.2165,
2.5
],
"end": [
65.2165,
2.933
]
},
{
"type": "line",
"start": [
65.2165,
2.933
],
"end": [
64.7835,
2.933
]
},
{
"type": "line",
"start": [
64.7835,
2.933
],
"end": [
64.7835,
2.5
]
},
{
"type": "line",
"start": [
64.7835,
2.5
],
"end": [
65.0,
2.125011
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
67.192322683,
0.0
]
}
]
}
}
]
},
"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_003",
"name": "Right",
"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_014",
"name": "Axis1",
"atomic_id": "reference_axis",
"depends_on": [
"f_002",
"f_001"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
},
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_004",
"name": "BaseBody",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_003"
],
"params": {
"distance_mm": 100.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "BaseHead",
"atomic_id": "revolve_add",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-0.442011354,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "e25f845ea1ad396c3bf25b9af48a3448dbe08b8b2434cbda2864e2effe0c17bb",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.0004420113544201139,
0.0,
0.0
],
"end": [
0.010393349553933498,
0.0,
0.0
]
}
}
]
},
{
"id": "f_008",
"name": "BaseEnd",
"atomic_id": "revolve_add",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-0.377128954,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"selectors": [
{
"kind": "axis",
"stable_id": "2337ad91b783f73080d41a0528df9de0b3017cc7dd7dc632eda1d89266095444",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.00037712895377129026,
0.0,
0.0
],
"end": [
0.010198702351987023,
0.0,
0.0
]
}
}
]
},
{
"id": "f_011",
"name": "Revolve5",
"atomic_id": "revolve_add",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-1.226682887,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007",
"selectors": [
{
"kind": "axis",
"stable_id": "12b49eec453551b780641e8b869cfd8f3eba4d320112bc1b13d5eac67a6773bb",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.0012266828872668327,
0.0,
0.0
],
"end": [
0.025821167883211673,
0.0,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "Cut-Revolve1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004",
"f_005"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "82ac169d7a40d564044e5bb2a1d570a80ce233b0e9d11969fe53c6980aaf7ec8",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.06673068490792253,
0.0,
0.0
]
}
}
]
},
{
"id": "f_009",
"name": "Cut-Revolve2",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004",
"f_008"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"selectors": [
{
"kind": "axis",
"stable_id": "2813df9a55b2cc0fc6fd5961429687715a13a9039ff70b56b90248d3dcd893d7",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.006176989650622052,
0.0,
0.0
]
}
}
]
},
{
"id": "f_012",
"name": "Cut-Revolve3",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004",
"f_011"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_008",
"selectors": [
{
"kind": "axis",
"stable_id": "f5edfbf072249c516f36f4daa3a37fe98ed8a8bb3fbe10c37093adfa634b8546",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.06719232268266687,
0.0,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "LPattern1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"source_feature_ids": [
"f_004",
"f_006"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 1.299,
"pattern_count_1": 35
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_010",
"name": "LPattern2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_009"
],
"params": {
"source_feature_ids": [
"f_009"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 1.299,
"pattern_count_1": 35
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_013",
"name": "LPattern3",
"atomic_id": "pattern_linear",
"depends_on": [
"f_012"
],
"params": {
"source_feature_ids": [
"f_012"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 1.299,
"pattern_count_1": 78
},
"execution_status": "deferred",
"sketch_id": "sk_008"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0101_螺栓/010107_GBT899双头螺柱/标准_双头螺柱M16X100.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.1546191531958339,
"volume": 1.9822968358440246e-05,
"surface_area": 0.005398647337416573,
"center_of_mass": [
0.05000000000000001,
1.9600786289321662e-35,
-2.0326510081254095e-20
],
"principal_moments": [
4.886915343123182e-06,
0.00013311700696936343,
0.00013311700696936343
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.008,
-0.008,
0.1,
0.008,
0.008
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "BaseEnd",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
0.0,
-0.008,
-0.008,
0.1,
0.008,
0.008
],
"face_count": 7,
"edge_count": 6,
"vertex_count": 0
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 12,
"surface_counts": {
"cone": 4,
"cylinder": 6,
"plane": 2
},
"axis_count": 10,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
0.0,
-8.0,
-8.0,
100.0,
8.0,
8.0
],
"volume_mm3": 19822.96835844,
"surface_area_mm2": 5398.647337417,
"solid_count": 1,
"face_count": 12,
"edge_count": 22,
"vertex_count": 12
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-8.0,
-8.0,
100.0,
8.0,
8.0
],
"volume_mm3": 19822.96835844,
"surface_area_mm2": 5398.647337417,
"solid_count": 1,
"face_count": 7,
"edge_count": 6,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 19822.96835844,
"actual": 19822.96835844,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 5398.647337417,
"actual": 5398.647337417,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-8.0,
-8.0,
100.0,
8.0,
8.0
],
"actual": [
0.0,
-8.0,
-8.0,
100.0,
8.0,
8.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 7,
"actual": 12,
"matches": false
},
"edge_count": {
"expected": 6,
"actual": 22,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 12,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}