Files
cdsl-cad/json_to_cdsl/output/M18x2-5-L120-mm-SCREW.cdsl.json
2026-08-24 14:52:08 +08:00

833 lines
19 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "M18x2-5-L120-mm-SCREW",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Orijin",
"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": "arc",
"start": [
0.0,
12.5
],
"end": [
1.0,
13.5
],
"center": [
1.0,
12.5
],
"radius_mm": 1.0,
"clockwise": true
},
{
"type": "line",
"start": [
1.0,
13.5
],
"end": [
17.5,
13.5
]
},
{
"type": "line",
"start": [
17.5,
13.5
],
"end": [
18.0,
13.0
]
},
{
"type": "line",
"start": [
18.0,
13.0
],
"end": [
18.0,
8.9
]
},
{
"type": "line",
"start": [
18.0,
8.9
],
"end": [
137.278312164,
8.9
]
},
{
"type": "line",
"start": [
137.278312164,
8.9
],
"end": [
138.0,
7.65
]
},
{
"type": "line",
"start": [
138.0,
7.65
],
"end": [
138.0,
0.0
]
},
{
"type": "line",
"start": [
138.0,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
12.5
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch5",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0,
8.082903769
],
"end": [
-7.0,
4.041451884
]
},
{
"type": "line",
"start": [
-7.0,
4.041451884
],
"end": [
-7.0,
-4.041451884
]
},
{
"type": "line",
"start": [
-7.0,
-4.041451884
],
"end": [
-0.0,
-8.082903769
]
},
{
"type": "line",
"start": [
-0.0,
-8.082903769
],
"end": [
7.0,
-4.041451884
]
},
{
"type": "line",
"start": [
7.0,
-4.041451884
],
"end": [
7.0,
4.041451884
]
},
{
"type": "line",
"start": [
7.0,
4.041451884
],
"end": [
0.0,
8.082903769
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 7.0
}
]
}
},
{
"id": "sk_004",
"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": [
9.0,
0.0
],
"end": [
13.041451884,
0.0
]
},
{
"type": "line",
"start": [
13.041451884,
0.0
],
"end": [
9.0,
7.0
]
},
{
"type": "line",
"start": [
9.0,
7.0
],
"end": [
8.0,
7.0
]
},
{
"type": "line",
"start": [
8.0,
7.0
],
"end": [
8.0,
-0.0
]
},
{
"type": "line",
"start": [
8.0,
-0.0
],
"end": [
9.0,
0.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0,
8.2
],
"end": [
1.0,
6.9
]
},
{
"type": "line",
"start": [
1.0,
6.9
],
"end": [
-0.0,
6.9
]
},
{
"type": "line",
"start": [
-0.0,
6.9
],
"end": [
0.0,
8.2
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
9.0,
7.0
],
"end": [
9.0,
0.0
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Ön Düzlem",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_001"
},
"execution_status": "deferred"
},
{
"id": "f_002",
"name": "Üst Düzlem",
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
138.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_002",
"selectors": [
{
"kind": "axis",
"stable_id": "2764e58f20d90c8731758c4808733c83e371dce63877fef485d1c8b4de232ae9",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.13799999999999998,
6.123233995736765e-18,
0.0
],
"end": [
0.0,
0.0,
0.0
]
}
}
]
},
{
"id": "f_003",
"name": "Sağ Düzlem",
"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_005",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 9.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Cut-Revolve1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
9.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": "97dac69e1ffba08a3d06329a3a4b83fabf2bb398abe4ee4656603a5d1f05fe42",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.009,
0.0,
0.0
],
"end": [
0.013041451884327426,
0.0,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0102_螺钉/010299_通用螺钉/M18x2,5 L120 mm SCREW.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.28370979502660704,
"volume": 3.591263228184899e-05,
"surface_area": 0.011403207658734489,
"center_of_mass": [
0.05979542480560576,
2.4068535115885602e-06,
-4.4764655333743035e-06
],
"principal_moments": [
1.4991764872711282e-05,
0.0004887233389339366,
0.0004887294567947098
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0006379018183495826,
-0.01349999999999999,
-0.01349999999999999,
0.13915454138278763,
0.01349999999999999,
0.01349999999999999
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Revolve1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-0.0006379018183495826,
-0.01349999999999999,
-0.01349999999999999,
0.13915454138278763,
0.01349999999999999,
0.01349999999999999
],
"face_count": 26,
"edge_count": 51,
"vertex_count": 29
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 82,
"surface_counts": {
"bspline": 3,
"cone": 9,
"cylinder": 52,
"plane": 16,
"torus": 2
},
"axis_count": 61,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1e-07,
-13.5,
-13.5,
138.0000001,
13.5,
13.5
],
"volume_mm3": 35913.130069422,
"surface_area_mm2": 11402.89628804,
"solid_count": 1,
"face_count": 82,
"edge_count": 222,
"vertex_count": 144
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.637901818,
-13.5,
-13.5,
139.154541383,
13.5,
13.5
],
"volume_mm3": 35912.632281849,
"surface_area_mm2": 11403.207658734,
"solid_count": 1,
"face_count": 26,
"edge_count": 51,
"vertex_count": 29
},
"comparisons": {
"volume_mm3": {
"expected": 35912.632281849,
"actual": 35913.130069422,
"absolute_delta": 0.49778757299645804,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 11403.207658734,
"actual": 11402.89628804,
"absolute_delta": 0.3113706940002885,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.637901818,
-13.5,
-13.5,
139.154541383,
13.5,
13.5
],
"actual": [
-1e-07,
-13.5,
-13.5,
138.0000001,
13.5,
13.5
],
"max_absolute_delta": 1.1545412830000146,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 26,
"actual": 82,
"matches": false
},
"edge_count": {
"expected": 51,
"actual": 222,
"matches": false
},
"vertex_count": {
"expected": 29,
"actual": 144,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}