1. JN
CypNestWeb
  • Nest
    • 新建排样
      GET
    • 获取最近文件数据
      POST
    • 打开文件
      POST
    • 导入坡口文件
      GET
    • 多材质入口
      GET
    • 选择并打开本地排样文件
      GET
    • 移除指定记录
      POST
    • 按页查询最近文件
      POST
    • 打开文件位置
      POST
    • 重命名指定记录
      POST
    • 自动判断后缀打开文件
      POST
    • 获取异常退出备份文件
      GET
  • Config
    • 自动工艺
      • 获取自动工艺列表
      • 根据材气厚获取指定自动工艺参数
      • 设置指定材气厚自动工艺
      • 新增材厚工艺
      • 删除指定材气厚工艺
      • 修改自动工艺备注
    • 材气厚
      • 获取所有材质
      • 根据材质获取指定材气厚
      • 获取所有材气厚
    • 语言设置
      • 获取当前语言
      • 设置当前语言
      • 获取所有支持语言
    • 单位设置
      • 获取当前是否英制单位
      • 设置当前公英制单位
    • 超算皮肤
      • 获取是否开启超算皮肤
      • 设置是否开启超算皮肤
    • 机床配置
      • 全局参数
        • 获取机床全局参数
        • 设置机床全局参数
      • 工艺参数
        • 获取指定机床工艺详细信息
        • CypCut数控机床添加工艺参数
        • 删除指定机床指定工艺
        • 导入hypcut工艺文件
        • 获取CypCut指定机床,指定工艺,指定图层参数
        • 清除CypCut指定图层工艺
        • 导入CypCut指定图层工艺文件
        • 查看工艺
        • 编辑CypCut机床指定工艺参数
      • 获取所有机床信息
      • 获取机床所有工艺
      • 添加机床
      • 删除指定机床
      • 获取机床工艺显示单位
      • 上传机床备份文件
      • 指定机床上传备份文件
    • 新手指引
      • 是否启用新手指引
      • 设置是否启用新手指引
    • 软件更新
      • 检查更新
      • 更新软件
    • 获取软件信息
      GET
    • 软件更新信息
      GET
    • 浏览器打开指定url
      POST
    • 后台资源是否就绪
      GET
    • 通用接口转发
      POST
  • User
    • 用户外部链接
      • 升级许可
      • 续费许可证
      • 跳转个人中心
      • 是否拥有某特性
    • 获取程序初始化数据
    • 获取用户信息
    • 退出程序
    • 登出并退出程序
    • 获取用户许可等级
    • 是否支持超算
    • 是否支持坡口
    • 获取用户包订阅信息
    • 登录
    • 检查指定特性是否可用
    • 获取订阅时间和订阅类型
    • 获取特性包英文字符串
  • Draw
    • 新建绘图
    • 打开绘图文件
    • 选择本地绘图文件打开
  • Part
    • 获取最近零件库文件数据
    • 按页查询最近零件
    • 移除指定零件库记录
    • 移除部分指定零件库记录
    • 选择零件新建排样
    • 零件记录重命名
  • 云排服务
    • JN
      • JN-报告单服务
        GET
      • JN-零件替换
        GET
  • ws-连接
  • ws-连接状态
    GET
  • 测试接口联通状态
    GET
  • 测试专用
    GET
  • 未命名接口
    POST
  • 未命名接口 Copy
    POST
  • JN-清除session
    POST
  • 数据模型
    • 自动工艺参数
      • 自动工艺
      • 新自动工艺-维度
      • 自动工艺-微连参数
      • 自动工艺-微连参数-自动微连
      • 自动工艺-微连参数-自动微连-具体参数
      • 自动工艺-微连参数-自动微连-具体参数-生效范围&参数
      • 自动工艺-微连参数-自动微连-具体参数-生效范围&参数-短边不微连
      • 自动工艺-微连参数-自动微连-具体参数-生效范围&参数-拐角不微连
      • 自动工艺-微连参数-自动微连-具体参数-生效范围&参数-引线参数
      • 自动工艺-引线参数
      • 自动工艺-角工艺参数
      • 自动工艺-冷却点参数
      • 自动工艺-补偿参数
      • 自动工艺-小图替换
      • 自动工艺-缺口参数
      • 自动工艺-缺口参数-具体参数
      • 自动工艺-微连参数-具体参数-分组参数
      • 自动工艺-缺口参数-具体参数-分组参数-缺口参数
      • 自动工艺-缺口参数-具体参数-分组参数-带尺寸的缺口参数
    • 后端通知操作码
      • 状态型通知
    • 特性包参数
      • 特性
      • 扩展包信息
      • 扩展包列表信息
    • 机床工艺
      • 机床工艺参数
      • 显示单位
      • 机床信息
      • 机床图层工艺
      • 机床全局参数
    • 文件信息数据结构
    • 返回值
    • 材气厚
    • 用户信息
    • 关于参数
    • TUpdateInfoRec
  1. JN

JN-零件替换

开发中
开发环境
http://127.0.0.1:9307/cypnest
开发环境
http://127.0.0.1:9307/cypnest
GET

请求参数

Body 参数application/json

示例
{
	"Svc": "JNReplacePrts",
	"nspfFiles": [
		{
			"Replace": [
				{
					"OldPrts": "H2905_2520-TB41A-H301",
					"Type": "RePlace",
					"newPrts": "replace\\20251209_202119_989870900L\\files\\20251209_202201_959278000G.prts"
				},
				{
					"OldPrts": "H2905_2520-TB41A-H302",
					"Type": "Del",
					"DelCount": 4
				}
			],
			"OutputPath": "replace\\20251209_202119_989870900L\\files\\output.json",
			"AutoTech": "\n<Config PartGap=\"15\"><cut_type>2</cut_type><Lead ClosedOnly=\"1\" ApplyType=\"0\" LeadSeal=\"0\" LeadByHole=\"0\" LeadHoleSize=\"0.5\" LeadDistance=\"0.5\" LeadTolerance=\"0\" LeadInType=\"3\" LeadInAngle=\"0.017453292519943295\" LeadInLength=\"7\" LeadInRadius=\"7\" LeadOutType=\"1\" LeadOutAngle=\"0.017453292519943295\" LeadOutLength=\"5\" LeadOutRadius=\"1\" LeadOutScan=\"0\" PreferLongEdge=\"0\" PreferVertex=\"1\" FillInOut=\"1\" Selection=\"1\" LeadDirection=\"0\" LeadPositionType=\"0\" LeadApplyCoedge=\"0\" PreferVertexDis=\"0\" StartRate=\"0\"></Lead><InnerLead ClosedOnly=\"1\" ApplyType=\"0\" LeadSeal=\"0\" LeadByHole=\"0\" LeadHoleSize=\"0.5\" LeadDistance=\"0.5\" LeadTolerance=\"0\" LeadInType=\"3\" LeadInAngle=\"2.0943951023931953\" LeadInLength=\"3\" LeadInRadius=\"10\" LeadOutType=\"2\" LeadOutAngle=\"0.8726646259971648\" LeadOutLength=\"12\" LeadOutRadius=\"1\" LeadOutScan=\"0\" PreferLongEdge=\"1\" PreferVertex=\"0\" FillInOut=\"0\" Selection=\"0\" LeadDirection=\"0\" LeadPositionType=\"0\" LeadApplyCoedge=\"0\" PreferVertexDis=\"0\" StartRate=\"0\"></InnerLead><Compensation CompensationStyle=\"0\" CornerStyle=\"1\" SizeInner=\".1\" SizeOuter=\".3\" SmoothEnabled=\"0\" SmoothTolerance=\".01\" Tolerance=\".05\" Selection=\"0\" CompOpen=\"0\" ArcComp=\"1\"></Compensation><CornerTech CornerTechStyle=\"0\" RoundCornerRadius=\".5\" LoopMaxAngle=\"1.0471975511965976\" LoopMinLength=\"3\" LoopOuterLength=\"8\" LoopInnerScan=\"0\" LoopOption=\"0\" CornerTechSelection=\"0\"></CornerTech><MicroJoint MicroJointStyle=\"0\" StartNoMicroJoint=\"0\" MicroJointAmount=\"1\" MicroJointByDistance=\"50\" MicroJointDistance=\"2\" MicroJointSelection=\"0\" MicroJointInnerType=\"9\" MicroJointOutlineType=\"9\" MicroJointSWidth=\"300\" MicroJointSHeight=\"300\" MicroJointBWidth=\"1000\" MicroJointBHeight=\"1000\" AutoMicroString=\"\"></MicroJoint><CoolingPoint LeadInCooling=\"1\" SharpCornerCooling=\"0\" CoolingPointSelection=\"0\" MaxCoolingAngle=\"1.5707963267948966\"></CoolingPoint><LeadSeal LeadSealStyle=\"0\" LeadSealDistance=\".5\" LeadSealSelection=\"0\" LeadSealInnerType=\"9\" LeadSealOutlineType=\"9\" LeadSealSWidth=\"300\" LeadSealSHeight=\"300\" LeadSealBWidth=\"1000\" LeadSealBHeight=\"1000\" LeadSealString=\"\"></LeadSeal><ReplaceEntity MaxCircleRadius=\"1E-3\" ReplaceCircle=\"0\"></ReplaceEntity></Config>",
			"FilePath": "replace\\20251209_202119_989870900L\\files\\1764126645771958800_027Q.nspf"
		}
	]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:9307/cypnest' \
--header 'Content-Type: application/json' \
--data-raw '{
	"Svc": "JNReplacePrts",
	"nspfFiles": [
		{
			"Replace": [
				{
					"OldPrts": "H2905_2520-TB41A-H301",
					"Type": "RePlace",
					"newPrts": "replace\\20251209_202119_989870900L\\files\\20251209_202201_959278000G.prts"
				},
				{
					"OldPrts": "H2905_2520-TB41A-H302",
					"Type": "Del",
					"DelCount": 4
				}
			],
			"OutputPath": "replace\\20251209_202119_989870900L\\files\\output.json",
			"AutoTech": "\n<Config PartGap=\"15\"><cut_type>2</cut_type><Lead ClosedOnly=\"1\" ApplyType=\"0\" LeadSeal=\"0\" LeadByHole=\"0\" LeadHoleSize=\"0.5\" LeadDistance=\"0.5\" LeadTolerance=\"0\" LeadInType=\"3\" LeadInAngle=\"0.017453292519943295\" LeadInLength=\"7\" LeadInRadius=\"7\" LeadOutType=\"1\" LeadOutAngle=\"0.017453292519943295\" LeadOutLength=\"5\" LeadOutRadius=\"1\" LeadOutScan=\"0\" PreferLongEdge=\"0\" PreferVertex=\"1\" FillInOut=\"1\" Selection=\"1\" LeadDirection=\"0\" LeadPositionType=\"0\" LeadApplyCoedge=\"0\" PreferVertexDis=\"0\" StartRate=\"0\"></Lead><InnerLead ClosedOnly=\"1\" ApplyType=\"0\" LeadSeal=\"0\" LeadByHole=\"0\" LeadHoleSize=\"0.5\" LeadDistance=\"0.5\" LeadTolerance=\"0\" LeadInType=\"3\" LeadInAngle=\"2.0943951023931953\" LeadInLength=\"3\" LeadInRadius=\"10\" LeadOutType=\"2\" LeadOutAngle=\"0.8726646259971648\" LeadOutLength=\"12\" LeadOutRadius=\"1\" LeadOutScan=\"0\" PreferLongEdge=\"1\" PreferVertex=\"0\" FillInOut=\"0\" Selection=\"0\" LeadDirection=\"0\" LeadPositionType=\"0\" LeadApplyCoedge=\"0\" PreferVertexDis=\"0\" StartRate=\"0\"></InnerLead><Compensation CompensationStyle=\"0\" CornerStyle=\"1\" SizeInner=\".1\" SizeOuter=\".3\" SmoothEnabled=\"0\" SmoothTolerance=\".01\" Tolerance=\".05\" Selection=\"0\" CompOpen=\"0\" ArcComp=\"1\"></Compensation><CornerTech CornerTechStyle=\"0\" RoundCornerRadius=\".5\" LoopMaxAngle=\"1.0471975511965976\" LoopMinLength=\"3\" LoopOuterLength=\"8\" LoopInnerScan=\"0\" LoopOption=\"0\" CornerTechSelection=\"0\"></CornerTech><MicroJoint MicroJointStyle=\"0\" StartNoMicroJoint=\"0\" MicroJointAmount=\"1\" MicroJointByDistance=\"50\" MicroJointDistance=\"2\" MicroJointSelection=\"0\" MicroJointInnerType=\"9\" MicroJointOutlineType=\"9\" MicroJointSWidth=\"300\" MicroJointSHeight=\"300\" MicroJointBWidth=\"1000\" MicroJointBHeight=\"1000\" AutoMicroString=\"\"></MicroJoint><CoolingPoint LeadInCooling=\"1\" SharpCornerCooling=\"0\" CoolingPointSelection=\"0\" MaxCoolingAngle=\"1.5707963267948966\"></CoolingPoint><LeadSeal LeadSealStyle=\"0\" LeadSealDistance=\".5\" LeadSealSelection=\"0\" LeadSealInnerType=\"9\" LeadSealOutlineType=\"9\" LeadSealSWidth=\"300\" LeadSealSHeight=\"300\" LeadSealBWidth=\"1000\" LeadSealBHeight=\"1000\" LeadSealString=\"\"></LeadSeal><ReplaceEntity MaxCircleRadius=\"1E-3\" ReplaceCircle=\"0\"></ReplaceEntity></Config>",
			"FilePath": "replace\\20251209_202119_989870900L\\files\\1764126645771958800_027Q.nspf"
		}
	]
}'

返回响应

🟢200成功
application/json
Body

示例
{
	"interfere": true,
	"need_bridge": true,
	"cutpath": true,
	"del": true,
	"empty": false,
	"modify": false,
	"NspfFile": "replace\\20251209_202119_989870900L\\files\\{626E3990-9A10-41E4-9931-20DB7F96617B}.nspf",
	"PngFle": "replace\\20251209_202119_989870900L\\files\\{626E3990-9A10-41E4-9931-20DB7F96617B}.png",
	"Code": 0
}
修改于 2025-12-18 03:10:08
上一页
JN-报告单服务
下一页
ws-连接
Built with