<div dir="ltr"><div><div>Hi,<br><br></div>When I tried to join 2 volumes by "BooleanUnion" in the last line of the following code, it has an error "cannot bind multiple regions to single tag 15". Does anybody know what that error means?<br><br></div>Thanks.<br><div><br><br>SetFactory("OpenCASCADE");<br><br>h = 2.00;<br><br>LVirad = 3.0;<br>LVthick = 1.0;<br>LVolength = 6.0;<br><br>LVorad = LVirad + LVthick;<br>LVilength = LVolength - LVthick;<br><br>RV_offset = 3.0;<br>RVirad = 3.0;<br>RVthick = 0.5;<br>RVolength = 5.0;<br><br>RVorad = RVirad + RVthick;<br>RVilength = RVolength - RVthick;<br><br>diam = LVorad+LVolength;<br>bx = -LVolength;<br>by = -LVolength;<br><br>Box(1) = {0.0, bx, by, diam, diam, diam};<br>Sphere(2) = {0.0, 0.0, 0.0, 1.0};<br>Dilate {{0.0, 0.0 ,0.0}, {LVolength, LVorad, LVorad}}{<br>        Volume{2};<br>}<br><br>BooleanDifference(3) = {Volume{2}; Delete;}{Volume{1};};<br><br>Sphere(4) = {0.0, 0.0, 0.0, 1.0};<br>Dilate {{0.0, 0.0 ,0.0}, {LVilength, LVirad, LVirad}}{<br>        Volume{4};<br>}<br><br>BooleanDifference(5) = {Volume{4}; Delete;}{Volume{1}; Delete;};<br>BooleanDifference(6) = {Volume{3}; Delete;}{Volume{5}; Delete;};<br><br><br>Box(100) = {0.0, bx+RV_offset, by+RV_offset-2, RV_offset+2*RVorad, RV_offset+2*RVorad, RV_offset+RVolength+2};<br>Sphere(7) = {0.0, RV_offset, 0.0, 1};<br>Dilate {{0.0, RV_offset ,0.0}, {RVorad, RVorad, RVolength}}{<br>        Volume{7};<br>}<br>BooleanDifference(8) = {Volume{7}; Delete;}{Volume{100}; Delete;};<br><br>Box(101) = {0.0, bx+RV_offset, by+RV_offset-2, RV_offset+2*RVirad, RV_offset+2*RVirad, RV_offset+RVilength+2};<br>Sphere(9) = {0.0, RV_offset, 0.0, 1};<br>Dilate {{0.0, RV_offset ,0.0}, {RVirad, RVirad, RVilength}}{<br>        Volume{9};<br>}<br>BooleanDifference(10) = {Volume{9}; Delete;}{Volume{101}; Delete;};<br>BooleanDifference(11) = {Volume{8}; Delete;}{Volume{10}; Delete;};<br><br><br>Sphere(13) = {0.0, 0.0, 0.0, 1.0};<br>Dilate {{0.0, 0.0 ,0.0}, {LVolength-0.3, LVorad-0.3, LVorad-0.3}}{<br>        Volume{13};<br>}<br><br>BooleanDifference(14) = {Volume{11}; Delete;}{Volume{13}; Delete;};<br><br><br>BooleanUnion(15) = {Volume{6}; Delete;}{Volume{14}; Delete;};<br><br><br><br> <br></div></div>