fig I: Set the view back to where the shape and sphere are seen on top one another. The view we had for most of the tutorial. Because that's how the script will work, it'll cast the shape into the screen. This will be along the Y axis because we are looking along that axis in the 3d view

In one of yer two windows on the right of yer workspace (if you use my setup) pick the SCRIPTS icon (looks like a green snake).

Be in Object Mode in 3d view window.

Select in this order: the shape, and then the sphere. Must be in that order.

Then in the script window pick: SCRIPTS/'OBJECTS'/'COOKIE CUT FROM VIEW'

Pick: 'Original Faces.' Done.

Now if you then go into Edit mode you will see a heart cut into the sphere! Part of the mesh will remain selected, and hopefully it is the heart cuz who wants to try to select that shape from scratch. Sometimes the cut will be fine but what you want selected is not selected right, and you will have to select it yerself after ...

I show another view in Fig I so you can see how it drilled the shape thru front and back. If I had hidden half the sphere it would not have drilled it into the hidden part.

fig J: As the part that I want to be the hole is selected, all I do is delete the faces. X/'FACES'

I deleted only the front (unselecting the back) In edit mode it looks like this.



fig K: Seen in Object mode, not smoothed ...

Limitations: the script will not work on a surface with no edges. That is, if you cast a shape that is so small relative to the object you are cutting entirely within a single face with no edges of the object under the shape, nothing will happen. All you would need to do here is subdivide the plane once, or move the shape over to cross one of the existing edges for the script to work.

single face

To clarify about how the script casts the shape into the screen rather than along an axis. If you stuck with the following view of a circle shape into a cube rather than front, or side, or whatever, and tried it, you would get what you see here.

The shape was cast into the screen rather than down the z axis. If you want it down the z axis then you must select a view in yer 3d view which looks down the z axis first.



If you don't have enough edges to drill thru sometimes the script will be unable to give you the exact shape. You'll have to add edges then. In the example here there's just no edges for the shape in certain areas to follow the curve of the shape perfectly. Some edges have to be added to those empty areas with no vertical edges. It can't do the impossible. But it does still try.

By the way, this one was done with two shapes joined as a mesh but they don't meet.

more edges needed