怡宁塑胶模具设计

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

C++

 

 

//创建圆柱
Features::Feature *nullFeatures_Feature(NULL);
Features::CylinderBuilder *cylinderbuilder1;
cylinderbuilder1 = workPart->Features()->CreateCylinderBuilder(nullFeatures_Feature);
Point3d orgin2(0.0,0.0,0.0);

cylinderbuilder1->SetOrigin(orgin2);
cylinderbuilder1->Diameter()->SetRightHandSide("30");
cylinderbuilder1->Height()->SetRightHandSide("100");
Vector3d vec(0,0,1);
cylinderbuilder1->SetDirection(vec);
Features::Feature *Feature2;
Feature2 = cylinderbuilder1->CommitFeature();
cylinderbuilder1->Destroy();

 

 

 

posted on 2020-12-23 08:02  怡宁塑胶模具设计  阅读(261)  评论(0编辑  收藏  举报