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

456 lines
10 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "circlip",
"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,
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": "arc",
"start": [
-0.795119435,
0.898768649
],
"end": [
0.795119435,
0.898768649
],
"center": [
0.0,
0.0
],
"radius_mm": 1.2,
"clockwise": false
},
{
"type": "line",
"start": [
0.795119435,
0.898768649
],
"end": [
1.391459011,
1.572845135
]
},
{
"type": "arc",
"start": [
1.391459011,
1.572845135
],
"end": [
-1.391459011,
1.572845135
],
"center": [
0.0,
0.0
],
"radius_mm": 2.1,
"clockwise": false
},
{
"type": "line",
"start": [
-1.391459011,
1.572845135
],
"end": [
-0.795119435,
0.898768649
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
0.89965892
]
}
]
}
}
]
},
"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_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_004",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 0.2,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 0.1,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0105_挡圈卡环/010599_通用挡圈/circlip.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.4341947873278627e-06,
"volume": 1.4341947873278627e-09,
"surface_area": 1.7858942561102425e-05,
"center_of_mass": [
-8.800599887169162e-20,
0.00010000000000000002,
0.00046550622895591084
],
"principal_moments": [
1.3600355855490659e-12,
2.533561368048847e-12,
3.8840356550157466e-12
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0021,
0.0,
-0.0015298141886623822,
0.0021,
0.0002,
0.0021
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Fillet1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABlAAAA",
"persist_reference_sha256": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448",
"component": null,
"geometry": {
"box": [
-0.0021,
0.0,
-0.001529814188662382,
0.0021,
0.0002,
0.0021
],
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 12,
"surface_counts": {
"cylinder": 8,
"plane": 4
},
"axis_count": 8,
"repeat_spacings_mm": [
{
"spacing_mm": 2.0,
"pair_count": 2
},
{
"spacing_mm": 2.3906,
"pair_count": 2
},
{
"spacing_mm": 0.7014,
"pair_count": 2
},
{
"spacing_mm": 1.3,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-2.1,
0.0,
-1.529814189,
2.1,
0.2,
2.1
],
"volume_mm3": 1.434194787,
"surface_area_mm2": 17.858942561,
"solid_count": 1,
"face_count": 12,
"edge_count": 30,
"vertex_count": 20
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-2.1,
0.0,
-1.529814189,
2.1,
0.2,
2.1
],
"volume_mm3": 1.434194787,
"surface_area_mm2": 17.858942561,
"solid_count": 1,
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 1.434194787,
"actual": 1.434194787,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 17.858942561,
"actual": 17.858942561,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-2.1,
0.0,
-1.529814189,
2.1,
0.2,
2.1
],
"actual": [
-2.1,
0.0,
-1.529814189,
2.1,
0.2,
2.1
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 10,
"actual": 12,
"matches": false
},
"edge_count": {
"expected": 24,
"actual": 30,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 20,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}