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

350 lines
7.8 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "gear-2",
"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": []
}
}
]
},
"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"
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0201_齿轮/020199_通用齿轮/gear 2.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.00312892043546644,
"volume": 3.1289204354664402e-06,
"surface_area": 0.002292220867771354,
"center_of_mass": [
0.006000000000000001,
-1.3126734314516117e-17,
3.736092740171967e-18
],
"principal_moments": [
1.2838689418186574e-07,
1.2838689418186574e-07,
1.816796979125369e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.011489443278129254,
-0.011999999999999999,
0.012000000000000004,
0.011489443278129228,
0.011999999999999999
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Spur Gear_ISO-1-solid1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABlAAAA",
"persist_reference_sha256": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448",
"component": null,
"geometry": {
"box": [
0.0,
-0.011489443278129254,
-0.011999999999999999,
0.012000000000000004,
0.011489443278129228,
0.011999999999999999
],
"face_count": 43,
"edge_count": 122,
"vertex_count": 80
},
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 49,
"surface_counts": {
"cylinder": 47,
"plane": 2
},
"axis_count": 47,
"repeat_spacings_mm": [
{
"spacing_mm": 39.1447,
"pair_count": 20
},
{
"spacing_mm": 5.8076,
"pair_count": 20
},
{
"spacing_mm": 23.9228,
"pair_count": 20
},
{
"spacing_mm": 9.3969,
"pair_count": 20
},
{
"spacing_mm": 17.874,
"pair_count": 20
},
{
"spacing_mm": 15.2045,
"pair_count": 20
},
{
"spacing_mm": 11.0467,
"pair_count": 20
},
{
"spacing_mm": 18.1349,
"pair_count": 10
},
{
"spacing_mm": 15.723,
"pair_count": 10
},
{
"spacing_mm": 18.7939,
"pair_count": 10
},
{
"spacing_mm": 18.7717,
"pair_count": 10
},
{
"spacing_mm": 17.5709,
"pair_count": 10
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-11.489443278,
-12.0,
12.0,
11.489443278,
12.0
],
"volume_mm3": 3128.920435466,
"surface_area_mm2": 2292.220867771,
"solid_count": 1,
"face_count": 49,
"edge_count": 141,
"vertex_count": 94
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-11.489443278,
-12.0,
12.0,
11.489443278,
12.0
],
"volume_mm3": 3128.920435466,
"surface_area_mm2": 2292.220867771,
"solid_count": 1,
"face_count": 43,
"edge_count": 122,
"vertex_count": 80
},
"comparisons": {
"volume_mm3": {
"expected": 3128.920435466,
"actual": 3128.920435466,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2292.220867771,
"actual": 2292.220867771,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-11.489443278,
-12.0,
12.0,
11.489443278,
12.0
],
"actual": [
0.0,
-11.489443278,
-12.0,
12.0,
11.489443278,
12.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 43,
"actual": 49,
"matches": false
},
"edge_count": {
"expected": 122,
"actual": 141,
"matches": false
},
"vertex_count": {
"expected": 80,
"actual": 94,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}