1

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 や他のライブラリでそれを行う方法を知っている場合は、教えてください!]

ここに画像の説明を入力

4

1 に答える 1