Files
cdsl-cad/json_to_cdsl/output/CRQ2BS30-90C_CRQ2B-Rod.cdsl.json
T
2026-08-24 14:52:08 +08:00

1169 lines
26 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "CRQ2BS30-90C_CRQ2B-Rod",
"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": [
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": [
0.0,
48.5
],
"end": [
6.0,
48.5
]
},
{
"type": "line",
"start": [
6.0,
48.5
],
"end": [
6.0,
2.5
]
},
{
"type": "line",
"start": [
6.0,
2.5
],
"end": [
15.0,
2.5
]
},
{
"type": "line",
"start": [
15.0,
2.5
],
"end": [
15.0,
-2.5
]
},
{
"type": "line",
"start": [
15.0,
-2.5
],
"end": [
0.0,
-2.5
]
},
{
"type": "line",
"start": [
0.0,
-2.5
],
"end": [
0.0,
48.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
74.022857143
]
},
{
"type": "line",
"start": [
0.0,
16.5
],
"end": [
6.0,
16.5
]
},
{
"type": "line",
"start": [
6.0,
16.5
],
"end": [
6.0,
-16.5
]
},
{
"type": "line",
"start": [
6.0,
-16.5
],
"end": [
0.0,
-16.5
]
}
]
}
},
{
"id": "sk_003",
"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": [
7.5,
48.5
],
"end": [
7.5,
38.5
]
},
{
"type": "line",
"start": [
7.5,
38.5
],
"end": [
6.0,
40.0
]
},
{
"type": "line",
"start": [
6.0,
40.0
],
"end": [
6.0,
48.5
]
},
{
"type": "line",
"start": [
6.0,
48.5
],
"end": [
7.5,
48.5
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"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": [
-2.0,
42.5
],
"end": [
2.0,
42.5
],
"center": [
-0.0,
42.5
],
"radius_mm": 2.0,
"clockwise": true
},
{
"type": "line",
"start": [
2.0,
42.5
],
"end": [
2.0,
26.5
]
},
{
"type": "arc",
"start": [
2.0,
26.5
],
"end": [
-2.0,
26.5
],
"center": [
-0.0,
26.5
],
"radius_mm": 2.0,
"clockwise": true
},
{
"type": "line",
"start": [
-2.0,
26.5
],
"end": [
-2.0,
42.5
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "Sketch4",
"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": [
0.0,
-34.5
],
"end": [
6.0,
-34.5
]
},
{
"type": "line",
"start": [
6.0,
-34.5
],
"end": [
6.0,
0.0
]
},
{
"type": "line",
"start": [
6.0,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-34.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-30.274368019
]
}
]
}
},
{
"id": "sk_006",
"name": "Sketch5",
"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": [
2.0,
-17.5
],
"end": [
2.0,
-11.5
]
},
{
"type": "line",
"start": [
2.0,
-11.5
],
"end": [
2.5,
-11.0
]
},
{
"type": "line",
"start": [
2.5,
-11.0
],
"end": [
2.5,
-17.5
]
},
{
"type": "line",
"start": [
2.5,
-17.5
],
"end": [
2.0,
-17.5
]
}
]
}
]
}
},
{
"id": "sk_007",
"name": "Sketch6",
"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": [
-2.653299832,
4.0
],
"end": [
-4.0,
2.653299832
],
"center": [
0.0,
0.0
],
"radius_mm": 4.8,
"clockwise": false
},
{
"type": "line",
"start": [
-4.0,
2.653299832
],
"end": [
-4.0,
-2.653299832
]
},
{
"type": "arc",
"start": [
-4.0,
-2.653299832
],
"end": [
-2.653299832,
-4.0
],
"center": [
0.0,
0.0
],
"radius_mm": 4.8,
"clockwise": false
},
{
"type": "line",
"start": [
-2.653299832,
-4.0
],
"end": [
2.653299832,
-4.0
]
},
{
"type": "arc",
"start": [
2.653299832,
-4.0
],
"end": [
4.0,
-2.653299832
],
"center": [
0.0,
0.0
],
"radius_mm": 4.8,
"clockwise": false
},
{
"type": "line",
"start": [
4.0,
-2.653299832
],
"end": [
4.0,
2.653299832
]
},
{
"type": "arc",
"start": [
4.0,
2.653299832
],
"end": [
2.653299832,
4.0
],
"center": [
0.0,
0.0
],
"radius_mm": 4.8,
"clockwise": false
},
{
"type": "line",
"start": [
2.653299832,
4.0
],
"end": [
-2.653299832,
4.0
]
}
]
}
]
}
}
]
},
"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": "Base-Revolve",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "bfd37482b6755d37ed62083d82e4462333d7d777ca0b53ae8bfc89a5036401fc",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.07402285714285714,
0.0
]
}
}
]
},
{
"id": "f_008",
"name": "BottomRod",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"selectors": [
{
"kind": "axis",
"stable_id": "3e3e546bc23b66d23ad7cca0408ed0a6c0f8b20c3d810dfd4fbdb8d48a4da60a",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
-0.030274368018812472,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "TopChamfer",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "10-15BottomChamfer",
"atomic_id": "chamfer",
"depends_on": [
"f_008"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "20-40BottomKey",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_008"
],
"params": {
"distance_mm": 13.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
},
{
"id": "f_006",
"name": "10-15TopFlat",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "20-40Key",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001",
"f_004",
"f_005"
],
"params": {
"distance_mm": 7.5,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_010",
"name": "10-15BottomFlat",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_008",
"f_009"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0202_轴/020299_通用轴/CRQ2BS30-90C_CRQ2B-Rod.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.008855348685072009,
"volume": 8.855348685072009e-06,
"surface_area": 0.0036862962542852265,
"center_of_mass": [
8.546671052768818e-11,
0.015435949301692124,
-9.308186449620784e-05
],
"principal_moments": [
4.966111598764075e-07,
2.5831748946344246e-06,
2.588357380573743e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.015,
-0.0025000000000000022,
-0.015,
0.015,
0.0485,
0.015
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "20-40Key",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABnAAAAZQAAAA==",
"persist_reference_sha256": "5bf2efd481aa82d76ac50c8a3cf20a676c482ea50ec05fde6077f1ea8bf4a371",
"component": null,
"geometry": {
"box": [
-0.015,
-0.0025,
-0.015,
0.015,
0.0485,
0.015
],
"face_count": 11,
"edge_count": 17,
"vertex_count": 8
},
"stable_id": "5bf2efd481aa82d76ac50c8a3cf20a676c482ea50ec05fde6077f1ea8bf4a371"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 14,
"surface_counts": {
"cone": 2,
"cylinder": 6,
"plane": 6
},
"axis_count": 8,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-15.0,
-2.5,
-15.0,
15.0,
48.5,
15.0
],
"volume_mm3": 8855.334405707,
"surface_area_mm2": 3686.287392239,
"solid_count": 1,
"face_count": 14,
"edge_count": 31,
"vertex_count": 20
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-15.0,
-2.5,
-15.0,
15.0,
48.5,
15.0
],
"volume_mm3": 8855.348685072,
"surface_area_mm2": 3686.296254285,
"solid_count": 1,
"face_count": 11,
"edge_count": 17,
"vertex_count": 8
},
"comparisons": {
"volume_mm3": {
"expected": 8855.348685072,
"actual": 8855.334405707,
"absolute_delta": 0.014279364999310928,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3686.296254285,
"actual": 3686.287392239,
"absolute_delta": 0.008862046000103874,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-15.0,
-2.5,
-15.0,
15.0,
48.5,
15.0
],
"actual": [
-15.0,
-2.5,
-15.0,
15.0,
48.5,
15.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 11,
"actual": 14,
"matches": false
},
"edge_count": {
"expected": 17,
"actual": 31,
"matches": false
},
"vertex_count": {
"expected": 8,
"actual": 20,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}