ZHCAAZ2 October 2020 MSP430FR5041 , MSP430FR5043 , MSP430FR6005 , MSP430FR6007 , MSP430FR6041 , MSP430FR6043 , MSP430FR6045 , MSP430FR6047
OpenSCAD 是一款免费提供的 CAD 工具,可以参数化生成 3D 模型,并将其导出以用于 3D 打印。本文档中使用的参数化 3D 测试装置可从 TI 获取。
这些实验中使用的 OpenSCAD 参数化设计如下所示:
TRANSDUCER_RADIUS=8.25;
PIPE_RADIUS=8.5;
PIPE_LENGTH=70;
CHANNEL_WIDTH=6;
CHANNEL_HEIGHT=12;
ULTRASONIC_ANGLE=35;
ULTRASONIC_LENGTH=60;
union(){
difference(){
union(){
translate ([0, 0, -25])
rotate([0, 0, 0])
cylinder (h = PIPE_LENGTH, r = PIPE_RADIUS);
translate ([-(PIPE_RADIUS+9), .1, -14.9])
rotate([0, ULTRASONIC_ANGLE, 0])
cylinder (h = ULTRASONIC_LENGTH, r = TRANSDUCER_RADIUS+2);
}
union(){
translate ([-(CHANNEL_HEIGHT/2), -CHANNEL_WIDTH/2, -25])
rotate([0, 0, 0])
cube ([CHANNEL_HEIGHT,CHANNEL_WIDTH,PIPE_LENGTH]);
translate ([-(PIPE_RADIUS+9), 0, -15])
rotate([0, ULTRASONIC_ANGLE, 0])
cylinder (h = 150, r = TRANSDUCER_RADIUS);
}
}
union(){
translate ([-(CHANNEL_HEIGHT/2), -CHANNEL_WIDTH, -15])
rotate([0, 0, 0])
cube ([CHANNEL_HEIGHT,CHANNEL_WIDTH/2,PIPE_LENGTH-20]);
translate ([-(CHANNEL_HEIGHT/2), CHANNEL_WIDTH/2, -15])
rotate([0, 0, 0])
cube ([CHANNEL_HEIGHT,CHANNEL_WIDTH/2,PIPE_LENGTH-20]);
}}