几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】how to calculate material removal volume (http://www.dimcax.com/hust/showthread.php?t=4751)

yang686526 2009-04-12 09:13 PM

【转帖】how to calculate material removal volume
 
how to calculate material removal volume
i need to find out the material removal volume for turning parts during processing.
basicly, this can be done by building a stock outside (cylinder) and substracting the part volume from the stock volume. the part's volume can be calculated using mass properties.
do you know
1.how to build a stock which can include the parts and
2.calculate the removal volume using api and vc++?
thank you!
have a library of all stock parts as a whole, and then for each part create a little tool that gets the active parts mass, and asks you to select a stock item to make it from, then open that model, get its mass and subtract the parts mass. job done


所有的时间均为北京时间。 现在的时间是 08:01 AM.