dge_list2ampchamfer_id UF_MODL_delete_listampedge_list2编译错误:error C2664: UF_VEC3_is_parallel : cannot convert parameter 1 from int to const double 请问用 UF_MODL_get_curve_edge_direction 得到的 edge 的方向 dir_edge 是何类型,是不是不能用它得到 block 边的方向? extern int UF_MODL_get_curve_edge_direction double end_point tag_t curve_edge_eidint direction double end_point Input : The input endpointtag_t curve_edge_eid Input : The input curve or edgeint direction Output : Ouput directionextern void UF_VEC3_is_parallel const double vec1 3 const double vec2 3 double toleranceint is_parallel const double vec1 3 Input 3D vectorconst double vec2 3 Input 3D vectordouble tolerance Input toleranceint is_parallel Output 0 Vectors are not parallel 1 Vectors are parallel整型指针变量,取出后在 UF_VEC3_is_parallel中如何用?得到 block 边的方向是否有别的函数? taiga2001 wrote:extern int UF_MODL_get_curve_edge_direction double end_point tag_t curve_edge_eidint direction double end_point Input : The input endpointtag_t curve_edge_eid Input : The input curve or edgeint direction Output : Ouput directionextern void UF_VEC3_is_parallel const double vec1 3 const double vec2 3 double toleranceint is_parallel const double vec1 3 Input 3D vectorconst double vec2 3 Input 3D vectordouble tolerance Input toleranceint is_parallel Output 0 Vectors are not parallel 1 Vectors are parallel整型指针变量,取出后在 UF_VEC3_is_parallel中如何用?得到 block 边的方向是否有别的函数? 第一个函数只是用来判断一个点靠近一条曲线的起点还是终点。
第二个函数要求输入两个矢量。
得到边的方向可以,先得到边的端点:用 UF_MODL_ask_edge_verts -------------------6 Chamfer 4 edges of block2------------------- uf_list_p_t edge_list1edge_list2 tag_t chamfer_idedge double point1 3 double point2 3 char angle1quot45.0quot int subtype1 int vertex_countNULL UF_MODL_create_listampedge_list1 UF_MODL_create_listampedge_list2 UF_MODL_ask_feat_edges block2 ampedge_list1 UF_MODL_ask_list_countedge_list1ampnum for i0 iltnum i UF_MODL_ask_list_itemedge_list1iampedge UF_MODL_ask_edge_verts edgepoint1point2ampvertex_count iffabspoint12-point22gt1 UF_MODL_put_list_itemedge_list2edge UF_MODL_delete_listampedge_list1 UF_MODL_create_chamfer subtype quot2quot quot2quot angle1edge_list2ampchamfer_id UF_MODL_delete_listampedge_list2 在 UG 中 move 物体的第三中方法,通过移动特征来移动物体。
double real_data212000100010000001 int modeCSYS_TO_CSYS int N_features char features_num100 uf_list_p_t cmtag i_retUF_MODL_ask_object ug_typeug_subtypeampbody_object i_retUF_MODL_ask_body_feats body_objectampcmtag i_retUF_MODL_ask_list_countcmtagampN_features i_retUF_MODL_move_featurecmtagmodereal_data 斑竹我下面的程序是希望通过一个点一个方向创建一个 datum axis我用i_retUF_CURVE_ask_point_data dpointDatumpointi_retUF_MODL_create_fixed_dplaneDatumpointdirectionampdplanei_retUF_SO_create_dirr_planedpointUF_SO_update_after_modeling dplaneflipampTdirectioni_retUF_MODL_create_point_dirr_daxis dpointTdirectionampdaxis_tag 上面这几个函数先生成了一个 datum plane然后我定义了该平面的方向最后通过点方向生成 datum axis其中dpointTdirectionampdaxis_tag 这三个参数都是 tag_t 类型的调试的时候最后一个函数出错说是quotinternalerrorquot请问斑竹是何原因呢 镜射特征中螺纹是否可见是不是由 thread.include_instances UF_MODL_INCL_INSTANCES 控制为何镜射【mirror】特征中原来的螺纹不见了//----------------------- Create boss----------------------- UF_MODL_create_bosslocation1directiondiam_bossh_bossangletrim_faceampboss_id//------------------- Create a thread on.
上一篇:
经典vim插件功能说明
下一篇:
路过的时光