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

1010 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_-M20X150",
"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": "Sketch1",
"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,
10.0
]
},
{
"type": "line",
"start": [
0.0,
10.0
],
"end": [
48.25,
10.0
]
},
{
"type": "line",
"start": [
48.25,
10.0
],
"end": [
52.0,
9.188
]
},
{
"type": "line",
"start": [
52.0,
9.188
],
"end": [
94.25,
9.188
]
},
{
"type": "line",
"start": [
94.25,
9.188
],
"end": [
98.0,
10.0
]
},
{
"type": "line",
"start": [
98.0,
10.0
],
"end": [
150.0,
10.0
]
},
{
"type": "line",
"start": [
150.0,
10.0
],
"end": [
150.0,
-0.0
]
},
{
"type": "line",
"start": [
150.0,
-0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-1.310841664,
0.0
],
"end": [
30.386183311,
0.0
]
}
]
}
},
{
"id": "sk_003",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
48.25,
9.188
],
"end": [
52.0,
10.0
]
},
{
"type": "line",
"start": [
52.0,
10.0
],
"end": [
94.25,
10.0
]
},
{
"type": "line",
"start": [
94.25,
10.0
],
"end": [
98.0,
9.188
]
},
{
"type": "line",
"start": [
98.0,
9.188
],
"end": [
48.25,
9.188
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
4.977430895,
0.0
],
"end": [
31.210670315,
0.0
]
}
]
}
},
{
"id": "sk_004",
"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": [
148.647,
8.828267629
],
"end": [
149.3235,
10.0
]
},
{
"type": "line",
"start": [
149.3235,
10.0
],
"end": [
149.3235,
10.5
]
},
{
"type": "line",
"start": [
149.3235,
10.5
],
"end": [
147.9705,
10.5
]
},
{
"type": "line",
"start": [
147.9705,
10.5
],
"end": [
147.9705,
10.0
]
},
{
"type": "line",
"start": [
147.9705,
10.0
],
"end": [
148.647,
8.828267629
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
34.957843115,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "Sketch4",
"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": [
1.353,
8.828267629
],
"end": [
2.0295,
10.0
]
},
{
"type": "line",
"start": [
2.0295,
10.0
],
"end": [
2.0295,
10.5
]
},
{
"type": "line",
"start": [
2.0295,
10.5
],
"end": [
0.6765,
10.5
]
},
{
"type": "line",
"start": [
0.6765,
10.5
],
"end": [
0.6765,
10.0
]
},
{
"type": "line",
"start": [
0.6765,
10.0
],
"end": [
1.353,
8.828267629
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
3.269087368,
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_004",
"name": "BaseHead",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-1.310841664,
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_002",
"selectors": [
{
"kind": "axis",
"stable_id": "4bc5be715818f345d9d516f574bed20b73423951ac33f11a8c732949d505302f",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.0013108416635194131,
0.0,
0.0
],
"end": [
0.030386183310533527,
0.0,
0.0
]
}
}
]
},
{
"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_005",
"name": "HeadChamfer",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.353,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "BaseBody",
"atomic_id": "revolve_add",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
4.977430895,
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": "176e909a74625a3f74cb13178bb2420ab2b48c6a3135d7345b57c07e6db852d9",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.004977430895459949,
0.0,
0.0
],
"end": [
0.031210670314637513,
0.0,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "Cut-Revolve10",
"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": "3d1650aad2576fc750c89706a3c610c0d944953578eef6a6434d4569b742dd01",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.034957843114809053,
0.0,
0.0
]
}
}
]
},
{
"id": "f_009",
"name": "Cut-Revolve11",
"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_005",
"selectors": [
{
"kind": "axis",
"stable_id": "5efdaa3ef27846c6a0804cb758cf8f6e95d11c5e3d49ea1bc29aab0ca3eeca04",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0032690873684114957,
0.0,
0.0
]
}
}
]
},
{
"id": "f_008",
"name": "LPattern10",
"atomic_id": "pattern_linear",
"depends_on": [
"f_007"
],
"params": {
"source_feature_ids": [
"f_007"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 1.6236,
"pattern_count_1": 32
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_010",
"name": "LPattern11",
"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.6236,
"pattern_count_1": 30
},
"execution_status": "deferred",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0101_螺栓/010107_GBT899双头螺柱/标准_双头螺柱M20X150.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.3659735804228772,
"volume": 4.691968979780477e-05,
"surface_area": 0.009949868046795528,
"center_of_mass": [
0.07500377107981446,
-7.842864799499824e-36,
-6.904646623520995e-20
],
"principal_moments": [
1.8228293058983977e-05,
0.000693148076848819,
0.000693148076848819
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.01,
-0.01,
0.15,
0.01,
0.01
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "BaseBody",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
0.0,
-0.01,
-0.01,
0.15,
0.01,
0.01
],
"face_count": 11,
"edge_count": 10,
"vertex_count": 0
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 20,
"surface_counts": {
"cone": 12,
"cylinder": 6,
"plane": 2
},
"axis_count": 18,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
0.0,
-10.0,
-10.0,
150.0,
10.0,
10.0
],
"volume_mm3": 46919.689797805,
"surface_area_mm2": 9949.868046796,
"solid_count": 1,
"face_count": 20,
"edge_count": 38,
"vertex_count": 20
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-10.0,
-10.0,
150.0,
10.0,
10.0
],
"volume_mm3": 46919.689797805,
"surface_area_mm2": 9949.868046796,
"solid_count": 1,
"face_count": 11,
"edge_count": 10,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 46919.689797805,
"actual": 46919.689797805,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 9949.868046796,
"actual": 9949.868046796,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-10.0,
-10.0,
150.0,
10.0,
10.0
],
"actual": [
0.0,
-10.0,
-10.0,
150.0,
10.0,
10.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 11,
"actual": 20,
"matches": false
},
"edge_count": {
"expected": 10,
"actual": 38,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 20,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}