1. sectioning

方法描述:模型剖切

1.1. 传参说明

参数名 参数说明 类型 是否必填
sectioning 模型剖切 string
sectionState 剖切状态 string
close 退出剖切编辑状态 string
freeSectioning 自由剖切类型 string

1.2. 返回值

"sectioning"
字符串:{"startPoint":"215,234","endPoint":"654,221"} //起点与终点

1.3. 调用示例

// 格式:
string sReturn = javaCall3D(funcName,sectionState);
// 示例:
//参数一为功能的函数名
//参数二为剖切状态
string sectioning = javaCall3D("sectioning","sectionState");
//参数一为功能的函数名
//参数二为退出剖切编辑状态
string sectioning = javaCall3D("sectioning","close");
//参数一为功能的函数名
//参数二为自由剖切类型
string sectioning = javaCall3D("sectioning",{"type":"freeSectioning" , //自由剖切类型
"operation":"create",  //创建
"axis":"X"/"-X"/"Y"/"-Y"/"Z"/"-Z"}
);

1.4. 接口说明

  1. 退出剖切状态
    {
      "type":"close"//退出状态
    }
    
  2. 创建自由剖切
     {
         "type":"freeSectioning", //自由剖切`
         "axis":"X/Y/Z",//轴
         "operation":"create"   //创建
     }
    
  3. 自由剖切 移动
     {
         "type":"freeSectioning",//自由剖切
         "axis":"X/Y/Z",//轴
         "operation":"translation",//移动
         "beginPos":"1,2",//起始点
         "endPos":"3,4"//结束点
     }
    
  4. 自由剖切 旋转

     {
         "type":"freeSectioning", //自由剖切
         "axis":"X/Y/Z",//轴
         "operation":"rotation",//旋转
         "beginPos":"1,2",//起始点
         "endPos":"3,4" //终点
     }
    
  5. 模型剖切

     {
         "type":"modelSectioning"  //模型剖切
     }
    
版权所有@盈嘉互联(北京)科技有限公司 京ICP备15051988号-9 Copyright © 2022 all right reserved,powered by Gitbook该文件修订时间: 2021-12-31 15:12:35

results matching ""

    No results matching ""