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

0

OpenSCAD 不直接对此提供支持。

RapCAD通过使用 bound$() 可以做到:

bound$()cube(10);
于 2016-01-08T16:33:25.283 回答