在 OpenSCAD 中,我实现了以下动画:
WhR = 1.5; // wheel radius
WhH = 6; // wheel height
WpR = 1; // workpiece radius
WpH = 6; // workpiece height
$fn = 30;
pos = position($t);
intersection(){
rotate([0,-90,0]){
cylinder(WpH, WpR,WpR);
}
translate([pos,0,-2.5]){
cylinder(WhH,WhR,WhR);
}
}
function position(t) = -7.5 + t;
我的问题是,如何计算和导出交叉路口的“成交量”?[如果您知道如何在 VTK 或任何其他库中执行此操作,请赐教!]