173 lines
4.1 KiB
JSON
173 lines
4.1 KiB
JSON
{
|
|
"schema_version": "1.0",
|
|
"request": "生成一个28齿、厚度4毫米的齿轮,并在 viewer 选中的两个面点位置各添加一个2.0毫米贯穿孔;随后根据 viewer 选中的顶面点 f5 添加一个10x6x1毫米矩形口袋",
|
|
"route": {
|
|
"selected_backend": "simplecadapi",
|
|
"runner_skill": "simplecadapi",
|
|
"project": "SimpleCADAPI",
|
|
"fallback_order": [
|
|
"build123d",
|
|
"cadam"
|
|
],
|
|
"workflow_profiles": [],
|
|
"downstream_skills": [
|
|
"cad-viewer"
|
|
]
|
|
},
|
|
"source": {
|
|
"path": "gear_28t_4mm.py",
|
|
"format": "python",
|
|
"backend": "simplecadapi"
|
|
},
|
|
"artifacts": [
|
|
{
|
|
"path": "gear_28t_4mm.model.json",
|
|
"role": "replayable_model"
|
|
},
|
|
{
|
|
"path": "gear_28t_4mm.step",
|
|
"role": "primary"
|
|
},
|
|
{
|
|
"path": "gear_28t_4mm.stl",
|
|
"role": "secondary"
|
|
},
|
|
{
|
|
"path": ".gear_28t_4mm.step.glb",
|
|
"role": "viewer_mesh_topology"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"n_teeth": 28,
|
|
"module_mm": 1.0,
|
|
"pressure_angle_deg": 20.0,
|
|
"thickness_mm": 4.0,
|
|
"bore_diameter_mm": 5.0,
|
|
"addendum_factor": 1.0,
|
|
"clearance_factor": 0.25,
|
|
"backlash_mm": 0.0,
|
|
"edit_holes": [
|
|
{
|
|
"diameter_mm": 2.0,
|
|
"center_mm": [
|
|
-2.9189440262073063,
|
|
5.47686606164935,
|
|
4.0
|
|
]
|
|
},
|
|
{
|
|
"diameter_mm": 2.0,
|
|
"center_mm": [
|
|
7.5974463825483305,
|
|
-0.8433357012066764,
|
|
4.0
|
|
]
|
|
}
|
|
],
|
|
"edit_hole_count": 2,
|
|
"edit_hole_axis": [
|
|
0.0,
|
|
0.0,
|
|
1.0
|
|
],
|
|
"edit_pockets": [
|
|
{
|
|
"shape": "rectangle",
|
|
"width_mm": 10.0,
|
|
"height_mm": 6.0,
|
|
"depth_mm": 1.0,
|
|
"center_mm": [
|
|
-8.717129036056448,
|
|
-0.9462437095981322,
|
|
4.0
|
|
],
|
|
"direction": "face_normal",
|
|
"orientation": "surface_xy",
|
|
"selected_face": {
|
|
"reference_id": "f5",
|
|
"selector": "f5",
|
|
"face_index": 5428,
|
|
"row_index": 4,
|
|
"normal": [
|
|
0.0,
|
|
0.0,
|
|
1.0
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"edit_pocket_count": 1
|
|
},
|
|
"assumptions": [
|
|
"未指定模数,V1采用1.0毫米。",
|
|
"未指定压力角,采用标准20度。",
|
|
"未指定中心孔,采用5.0毫米通孔。",
|
|
"未指定齿轮类型,采用直齿渐开线外齿轮。",
|
|
"viewer 编辑请求未指定孔径,采用2.0毫米贯穿孔作为可编辑默认值。"
|
|
],
|
|
"validation": [
|
|
{
|
|
"path": "validation.json",
|
|
"status": "passed",
|
|
"checks": {
|
|
"step_valid": true,
|
|
"solid_count": 1,
|
|
"bounds_mm": [
|
|
30.0,
|
|
30.0,
|
|
4.0
|
|
],
|
|
"pitch_diameter_mm": 28.0,
|
|
"edit_holes": [
|
|
{
|
|
"diameter_mm": 2.0,
|
|
"center_mm": [
|
|
-2.9189440262073063,
|
|
5.47686606164935,
|
|
4.0
|
|
]
|
|
},
|
|
{
|
|
"diameter_mm": 2.0,
|
|
"center_mm": [
|
|
7.5974463825483305,
|
|
-0.8433357012066764,
|
|
4.0
|
|
]
|
|
}
|
|
],
|
|
"edit_hole_count": 2,
|
|
"edit_pockets": [
|
|
{
|
|
"shape": "rectangle",
|
|
"width_mm": 10.0,
|
|
"height_mm": 6.0,
|
|
"depth_mm": 1.0,
|
|
"center_mm": [
|
|
-8.717129036056448,
|
|
-0.9462437095981322,
|
|
4.0
|
|
]
|
|
}
|
|
],
|
|
"edit_pocket_count": 1,
|
|
"faces": 182,
|
|
"edges": 545,
|
|
"outside_diameter_mm": 30.0,
|
|
"volume_mm3": 2167.600632,
|
|
"viewer_mesh_topology": {
|
|
"path": ".gear_28t_4mm.step.glb",
|
|
"status": "regenerated",
|
|
"face_count": 182,
|
|
"edge_count": 545,
|
|
"step_hash": "d07ba4428ce372d7dc65ea31c2c8bf636399f38e40e2bd705029789832825267"
|
|
},
|
|
"visual_review": "not_run"
|
|
}
|
|
}
|
|
],
|
|
"viewer_links": [
|
|
"http://127.0.0.1:5174/?dir=%2FUsers%2Flk%2FProjects%2FcadSet%2Ftext-to-cad%2Fmodels%2Fcad-router-v1%2Fgear_28t_4mm&file=gear_28t_4mm.step"
|
|
]
|
|
}
|