Files
cdsl-cad/json_to_cdsl/output/CG1DN40-100_Nuts.cdsl.json
2026-08-24 14:52:08 +08:00

678 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "CG1DN40-100_Nuts",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-4.0,
7.0
],
"end": [
-4.0,
11.0
]
},
{
"type": "line",
"start": [
-4.0,
11.0
],
"end": [
-3.018504542,
12.7
]
},
{
"type": "line",
"start": [
-3.018504542,
12.7
],
"end": [
3.018504542,
12.7
]
},
{
"type": "line",
"start": [
3.018504542,
12.7
],
"end": [
4.0,
11.0
]
},
{
"type": "line",
"start": [
4.0,
11.0
],
"end": [
4.0,
7.0
]
},
{
"type": "line",
"start": [
4.0,
7.0
],
"end": [
-4.0,
7.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-17.115667915
]
},
{
"type": "line",
"start": [
-27.389186195,
0.0
],
"end": [
-39.775458492,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch3",
"role": "profile",
"workplane": {
"origin_mm": [
4.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": [
11.0,
-6.350852961
],
"end": [
11.0,
6.350852961
]
},
{
"type": "line",
"start": [
11.0,
6.350852961
],
"end": [
0.0,
12.701705922
]
},
{
"type": "line",
"start": [
0.0,
12.701705922
],
"end": [
-11.0,
6.350852961
]
},
{
"type": "line",
"start": [
-11.0,
6.350852961
],
"end": [
-11.0,
-6.350852961
]
},
{
"type": "line",
"start": [
-11.0,
-6.350852961
],
"end": [
-0.0,
-12.701705922
]
},
{
"type": "line",
"start": [
-0.0,
-12.701705922
],
"end": [
11.0,
-6.350852961
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 11.0
}
]
}
},
{
"id": "sk_004",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
4.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": 22.5
}
}
]
},
"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_004",
"name": "Body",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-27.389186195,
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": "72647fb18c7f290ac8c23ea45df91b6bb1e461be806b4fa03916a0b15dfb9705",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.027389186194820437,
0.0,
0.0
],
"end": [
-0.03977545849170279,
0.0,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "Hex",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "InnerChamfer",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.28,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "TrunnionNutEdgeCut",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/CG1DN40-100_Nuts.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0020951334495205504,
"volume": 2.0951334495205506e-06,
"surface_area": 0.0014384281466887877,
"center_of_mass": [
2.171457560415904e-18,
6.241887098907016e-09,
3.6088144114866586e-19
],
"principal_moments": [
1.068514308528273e-07,
1.0685229040440451e-07,
1.9183567673477351e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.011000000000000003,
-0.012700000000000003,
-0.004,
0.011000000000000003,
0.012700000000000003,
0.004
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "InnerChamfer",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABnAAAAZgAAAA==",
"persist_reference_sha256": "781fb1250063932af81162b6faad7ee6774242f710350a00ef2dedcb00b2a0de",
"component": null,
"geometry": {
"box": [
-0.011000000000000003,
-0.012700000000000003,
-0.004,
0.011000000000000003,
0.012700000000000003,
0.004
],
"face_count": 29,
"edge_count": 64,
"vertex_count": 36
},
"stable_id": "781fb1250063932af81162b6faad7ee6774242f710350a00ef2dedcb00b2a0de"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 32,
"surface_counts": {
"cone": 16,
"cylinder": 8,
"plane": 8
},
"axis_count": 24,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-11.0000001,
-12.7000001,
-4.0000001,
11.0000001,
12.7000001,
4.0000001
],
"volume_mm3": 2095.118562178,
"surface_area_mm2": 1438.424610176,
"solid_count": 1,
"face_count": 32,
"edge_count": 74,
"vertex_count": 44
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-11.0,
-12.7,
-4.0,
11.0,
12.7,
4.0
],
"volume_mm3": 2095.133449521,
"surface_area_mm2": 1438.428146689,
"solid_count": 1,
"face_count": 29,
"edge_count": 64,
"vertex_count": 36
},
"comparisons": {
"volume_mm3": {
"expected": 2095.133449521,
"actual": 2095.118562178,
"absolute_delta": 0.014887342999827524,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1438.428146689,
"actual": 1438.424610176,
"absolute_delta": 0.0035365129999718192,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-11.0,
-12.7,
-4.0,
11.0,
12.7,
4.0
],
"actual": [
-11.0000001,
-12.7000001,
-4.0000001,
11.0000001,
12.7000001,
4.0000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 29,
"actual": 32,
"matches": false
},
"edge_count": {
"expected": 64,
"actual": 74,
"matches": false
},
"vertex_count": {
"expected": 36,
"actual": 44,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}