<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr" style="text-align:left; direction:ltr;"><div>On Wed, 2020-03-04 at 08:25 +0000, Silvia Ceccacci (HDR) wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Dear all,</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>I would like to generate a geometry where I have a bigger sphere (radius=3) and a smaller one inside it (radius=1). Then I want to generate a 3D mesh without the sphere inside (so there is a hole in the middle of the bigger sphere).</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I am trying two different approaches, but none of them seem to work:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span> <br>
</span>
<div>1) BooleanDifference - I want to take away the smaller sphere from the bigger one. This is the code:</div>
<div><br>
</div>
<div>Sphere(1) = {0, 0, 0, 1, -Pi/2, Pi/2, 2*Pi};</div>
<div>Sphere(2) = {0, 0, 0, 3, -Pi/2, Pi/2, 2*Pi}; <br>
</div>
<div>BooleanDifference{ Volume{2}; Delete; }{ Volume{1}; Delete; }<br></div></div></blockquote><div><br></div><div>This actually works. See attached png.</div><div><br></div><div>--</div><div>jeremy theler</div><div><a href="http://www.seamplex.com">www.seamplex.com</a></div><div><br></div></body></html>