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

823 lines
19 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "chain_base",
"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": "arc",
"start": [
36.557047405,
171.139072935
],
"end": [
36.557047405,
-171.139072935
],
"center": [
0.0,
0.0
],
"radius_mm": 175.0,
"clockwise": false
},
{
"type": "line",
"start": [
36.557047405,
-171.139072935
],
"end": [
500.0,
-80.0
]
},
{
"type": "arc",
"start": [
500.0,
-80.0
],
"end": [
500.0,
80.0
],
"center": [
500.0,
0.0
],
"radius_mm": 80.0,
"clockwise": false
},
{
"type": "line",
"start": [
500.0,
80.0
],
"end": [
36.557047405,
171.139072935
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"role": "profile",
"workplane": {
"origin_mm": [
20.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": "circles",
"items": [
{
"center": [
0.0,
0.0
],
"radius_mm": 30.0
},
{
"center": [
500.0,
0.0
],
"radius_mm": 10.0
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"role": "profile",
"workplane": {
"origin_mm": [
35.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": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
13.986,
125.221371195
],
"end": [
13.986,
-125.221371195
],
"center": [
0.0,
0.0
],
"radius_mm": 126.0,
"clockwise": false
},
{
"type": "line",
"start": [
13.986,
-125.221371195
],
"end": [
507.8255,
-70.064338645
]
},
{
"type": "arc",
"start": [
507.8255,
-70.064338645
],
"end": [
507.8255,
70.064338645
],
"center": [
500.0,
0.0
],
"radius_mm": 70.5,
"clockwise": false
},
{
"type": "line",
"start": [
507.8255,
70.064338645
],
"end": [
13.986,
125.221371195
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
507.8366,
-70.163720686
],
"end": [
507.8366,
70.163720686
],
"center": [
500.0,
0.0
],
"radius_mm": 70.6,
"clockwise": false
},
{
"type": "line",
"start": [
507.8366,
70.163720686
],
"end": [
13.9971,
125.320753236
]
},
{
"type": "arc",
"start": [
13.9971,
125.320753236
],
"end": [
13.9971,
-125.320753236
],
"center": [
0.0,
0.0
],
"radius_mm": 126.1,
"clockwise": false
},
{
"type": "line",
"start": [
13.9971,
-125.320753236
],
"end": [
507.8366,
-70.163720686
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
39.717864558,
0.0
]
}
]
}
}
]
},
"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_004",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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_005",
"name": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 40.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Plane1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
15.0
],
"x_dir": [
0.0,
-1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"offset_mm": 15.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "f643d532870378f2379c6c3e226f4b3ff325107326781e9e6418756eca13692e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "c3a375829259fcb7e80cbd70c82a02a69a68d7189e646e2290f4682fb0fd10b8",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.5,
0.0,
0.02
]
},
"box": [
-0.175,
-0.175,
0.02,
0.58,
0.175,
0.02
],
"area": 0.18410706451064887
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "f643d532870378f2379c6c3e226f4b3ff325107326781e9e6418756eca13692e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "c3a375829259fcb7e80cbd70c82a02a69a68d7189e646e2290f4682fb0fd10b8",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
0.5,
0.0,
0.02
]
},
"box": [
-0.175,
-0.175,
0.02,
0.58,
0.175,
0.02
],
"area": 0.18410706451064887
}
}
]
},
{
"id": "f_007",
"name": "Boss-Extrude3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_004",
"f_005"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0206_链条/020699_通用链条/chain_base.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 3.8722606533928636,
"volume": 0.0038722606533928635,
"surface_area": 0.4537392845889721,
"center_of_mass": [
0.15659876324197886,
1.4281403886466154e-18,
0.010986148827532266
],
"principal_moments": [
0.024380247588336543,
0.1476958645116761,
0.17157348998406713
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.175,
-0.175,
0.0,
0.58,
0.175,
0.06
],
"solid_body_count": 2,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Boss-Extrude2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
-0.175,
-0.175,
0.0,
0.58,
0.175,
0.06
],
"face_count": 10,
"edge_count": 16,
"vertex_count": 8
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Boss-Extrude3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABnAAAA",
"persist_reference_sha256": "2898202f7e22ad323cff44e8937e05bbb49b1d5d703d89136687b2bfd5851001",
"component": null,
"geometry": {
"box": [
-0.12609999999999996,
-0.12609999999999996,
0.035,
0.5706,
0.12609999999999996,
0.045
],
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"stable_id": "2898202f7e22ad323cff44e8937e05bbb49b1d5d703d89136687b2bfd5851001"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 25,
"surface_counts": {
"cylinder": 13,
"plane": 12
},
"axis_count": 13,
"repeat_spacings_mm": [
{
"spacing_mm": 500.0,
"pair_count": 3
},
{
"spacing_mm": 501.5974,
"pair_count": 2
},
{
"spacing_mm": 40.0,
"pair_count": 2
},
{
"spacing_mm": 500.2249,
"pair_count": 2
},
{
"spacing_mm": 15.0,
"pair_count": 2
},
{
"spacing_mm": 25.0,
"pair_count": 2
},
{
"spacing_mm": 500.6246,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-175.0,
-175.0,
0.0,
580.0,
175.0,
60.0
],
"volume_mm3": 3872260.653392864,
"surface_area_mm2": 453739.284588972,
"solid_count": 2,
"face_count": 25,
"edge_count": 57,
"vertex_count": 38
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-175.0,
-175.0,
0.0,
580.0,
175.0,
60.0
],
"volume_mm3": 3872260.653392863,
"surface_area_mm2": 453739.284588972,
"solid_count": 2,
"face_count": 20,
"edge_count": 40,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 3872260.653392863,
"actual": 3872260.653392864,
"absolute_delta": 9.313225746154785e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 453739.284588972,
"actual": 453739.284588972,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-175.0,
-175.0,
0.0,
580.0,
175.0,
60.0
],
"actual": [
-175.0,
-175.0,
0.0,
580.0,
175.0,
60.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 2,
"actual": 2,
"matches": true
},
"face_count": {
"expected": 20,
"actual": 25,
"matches": false
},
"edge_count": {
"expected": 40,
"actual": 57,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 38,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}