Files
cdsl-cad/json_to_cdsl/output/Guide-Rod-Model.cdsl.json
2026-08-24 14:52:08 +08:00

768 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "Guide-Rod-Model",
"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": "Model",
"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": false,
"segments": [
{
"type": "arc",
"start": [
14.8,
102.2
],
"end": [
14.5,
102.5
],
"center": [
14.5,
102.2
],
"radius_mm": 0.3,
"clockwise": false
},
{
"type": "line",
"start": [
14.5,
102.5
],
"end": [
0.3,
102.5
]
},
{
"type": "arc",
"start": [
0.3,
102.5
],
"end": [
0.0,
102.2
],
"center": [
0.3,
102.2
],
"radius_mm": 0.3,
"clockwise": false
},
{
"type": "arc",
"start": [
0.0,
102.2
],
"end": [
0.3,
102.5
],
"center": [
0.3,
102.2
],
"radius_mm": 0.3,
"clockwise": false
},
{
"type": "line",
"start": [
0.3,
102.5
],
"end": [
14.5,
102.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
14.8,
100.0
],
"end": [
14.8,
102.2
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
0.0,
102.2
],
"end": [
0.0,
100.0
]
},
{
"type": "line",
"start": [
0.0,
100.0
],
"end": [
14.8,
100.0
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
0.0,
100.8
],
"end": [
0.0,
102.2
]
}
]
}
],
"construction": [
{
"type": "arc",
"start": [
15.0,
102.2
],
"end": [
14.7,
102.5
],
"center": [
14.7,
102.2
],
"radius_mm": 0.3,
"clockwise": false
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
36.598377216,
0.0
]
},
{
"type": "line",
"start": [
20.0,
100.0
],
"end": [
-5.0,
100.0
]
},
{
"type": "line",
"start": [
-5.0,
100.8
],
"end": [
0.0,
100.8
]
},
{
"type": "line",
"start": [
0.3,
102.5
],
"end": [
14.7,
102.5
]
},
{
"type": "line",
"start": [
15.0,
102.2
],
"end": [
15.0,
100.8
]
},
{
"type": "line",
"start": [
15.0,
100.8
],
"end": [
20.0,
100.8
]
},
{
"type": "line",
"start": [
20.0,
100.8
],
"end": [
20.0,
100.0
]
},
{
"type": "line",
"start": [
15.0,
100.8
],
"end": [
15.0,
99.999138713
]
},
{
"type": "line",
"start": [
-5.0,
100.8
],
"end": [
-5.0,
100.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": [
31.289475068,
32.350135239
],
"end": [
-32.350135239,
-31.289475068
]
},
{
"type": "line",
"start": [
-32.350135239,
-31.289475068
],
"end": [
-31.289475068,
-32.350135239
]
},
{
"type": "line",
"start": [
-31.289475068,
-32.350135239
],
"end": [
32.350135239,
31.289475068
]
},
{
"type": "line",
"start": [
32.350135239,
31.289475068
],
"end": [
31.289475068,
32.350135239
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
31.289475068,
32.350135239
],
"end": [
-31.289475068,
-32.350135239
]
},
{
"type": "line",
"start": [
-32.350135239,
-31.289475068
],
"end": [
32.350135239,
31.289475068
]
}
]
}
}
]
},
"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": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.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": "7cac86663a9802b42fe57e00a9055fac5a7214c71c2fb289149b7dfb8116ec6e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.036598377215852906,
0.0,
0.0
]
}
}
]
},
{
"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": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0202_轴/020299_通用轴/Guide Rod Model.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.05436880870106068,
"volume": 2.3434831336664086e-05,
"surface_area": 0.021877428666862063,
"center_of_mass": [
0.007399955410674385,
-2.489346646979981e-05,
0.0003387522270096669
],
"principal_moments": [
0.00027877002748307833,
0.0002806410554527638,
0.0005574303480935199
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-2.749760770247155e-05,
-0.10249999999999998,
-0.10249999999999998,
0.014830307237625556,
0.10249999999999998,
0.10249999999999998
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Extrude1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
-2.749760770247155e-05,
-0.10249999999999998,
-0.10249999999999998,
0.014830307237625556,
0.10249999999999998,
0.10249999999999998
],
"face_count": 8,
"edge_count": 18,
"vertex_count": 12
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 15,
"surface_counts": {
"cylinder": 6,
"plane": 4,
"torus": 5
},
"axis_count": 6,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1e-07,
-102.5000001,
-102.5000001,
14.8000001,
102.5000001,
102.5000001
],
"volume_mm3": 23434.826387395,
"surface_area_mm2": 21877.429169166,
"solid_count": 1,
"face_count": 15,
"edge_count": 36,
"vertex_count": 23
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.027497608,
-102.5,
-102.5,
14.830307238,
102.5,
102.5
],
"volume_mm3": 23434.831336664,
"surface_area_mm2": 21877.428666862,
"solid_count": 1,
"face_count": 8,
"edge_count": 18,
"vertex_count": 12
},
"comparisons": {
"volume_mm3": {
"expected": 23434.831336664,
"actual": 23434.826387395,
"absolute_delta": 0.00494926899773418,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 21877.428666862,
"actual": 21877.429169166,
"absolute_delta": 0.0005023039993830025,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.027497608,
-102.5,
-102.5,
14.830307238,
102.5,
102.5
],
"actual": [
-1e-07,
-102.5000001,
-102.5000001,
14.8000001,
102.5000001,
102.5000001
],
"max_absolute_delta": 0.03030713799999951,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 8,
"actual": 15,
"matches": false
},
"edge_count": {
"expected": 18,
"actual": 36,
"matches": false
},
"vertex_count": {
"expected": 12,
"actual": 23,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}