Anim8or Community
General Category => ASL Scripts => Topic started by: Bugtrooper on June 02, 2010, 04:37:50 pm
-
Hello!
I've got some problem when using the union boolean operation. When I try to unify 2 mesh (a wall section and a sphere) I've got the error code 3# .....A concave face detected!....and I don't want to unify the 2 objects manually beacause it's really long work with the whole project. So can anyone give me some help?
(http://i624.photobucket.com/albums/tt324/Raizen31337/problem01.jpg)
-
Hm, that's an interesting problem. One thing that I would make sure of is that both figures are fully closed, otherwise it wont work.
-
They are close, they are on contact.
-
hihosilver means "closed," as in solid meshes. Boolean operations won't work on an open mesh.
-
Okkay so I have to close.... ok thanks:D
-
It not worked.... maybe I doing something wrong...
-
If I post the project can anyone help?
-
It couldn't hurt...
-
http://www.megaupload.com/?d=GBTBWV33
Here is it!
-
This operation will not work, as you are trying to do a union to a curved surface.
To complete the operation You need a flat surface do the union, then do a bend modifier to that, to get your curve.
I think it pays to pre-think the model before getting too far into it, this model just needed one section to be worked on to get it how you wanted, then you could have duplicated and attached each section.
If you don`t want to re-start, I`d just add half spheres at intervals then do a "Join Solids"
-
Thanks!
And by the way... I joined the tain project earlier on 3DVIA, and wanted to ask that can I help?
-
joined the tain project earlier on 3DVIA, and wanted to ask that can I help?
whats your username on there? Raizen31337 ??
-
Yeah! :D
-
This operation will not work, as you are trying to do a union to a curved surface.
To complete the operation You need a flat surface do the union, then do a bend modifier to that, to get your curve.
I'm not too sure I understand. I've boolean-subtracted spheres, cubic figures, and (lathed) objects with round surfaces from each other before, and I don't always get the error message. In fact, to create a cresent-looking hemisphere, I subtracted a smaller circle from a bigger one, and it worked; amoung the random times it mysteriously does.
The reason I revived this thread is because, as I've consistently ran into in the past, I ran into this error message again when trying to subtract a "screw" object from my Cannon chess piece; this, to create the cannon's main body component with a hole drilled through it. Whether it's B-A or A-B, I still get this "error 3" message.
http://www.filedropper.com/transfiguringcannonandscholarintofidechesspieces (change to front view, if not already there)
-
I have attached a different Boolean Operations script that might work in those tricky situations. The instructions are a bit different, so be sure to read the header in the script file.
-
I have attached a different Boolean Operations script that might work in those tricky situations. The instructions are a bit different, so be sure to read the header in the script file.
Hi NickE,
I hope you are still around. Can you please explain how I execute these scripts?
Thanks.
-
JSmith,
In the header of the script file is the instruction on how to execute the script.
Quick instructions:
Have an object that contains the two meshes that you want use for the boolean operations.
If you wish to do a Union operation, do not select either mesh and execute the script by Scripts->Run Script File...
If you wish to do a Difference operation, select the mesh that will be subtracted from the other, then execute the script
If you wish to do a Intersection operation, select both meshes, then execute the script
If you need more guidance, please let me know.
NickE
-
Actually, NickE, my minor inquiry was self-discovered: I was really asking where I was supposed to put the script so that it can be executed; not realizing that anim8or could execute scripts in txt format.
I tried the operation, and it worked very nicely! For my old project that I was needing help on a few months back and for a current one.
Thanks!
Now, however, going back to an old problem with the A-B Boolean, I'm still getting that "concave face" error OR the "open mesh" (when my two meshes are completed with closure throughout!). I've tried different angles, and still either one of these errors pop up. Can you please have a look?
In the following attachment:
Sample A is the Mesh Head ("MeshH) and the subtracting mesh (MeshS) that I'm having trouble with.
I tried smoothing both objects (Sample B) to see if that was a solution to make the darn two things executable. That didn't work.
Then, I tried doing it the inconvenient manual way (Sample C): cut up the mesh with the cut tool, deleting the part being subtracted and then adding faces back by selecting four conjoined lines and Shft+J. That seemed to solve my boolean issue alright, but a new problem arose: the appearance of the new mesh. As you can see, there are unflattering dark patches that render the sample mesh unusable; since I'm making this mesh as a demonstration for my chess business.
Forgetting sample C, can you please take a look at sample A and/or B and see how I can finally get the two irritating things to work?
Thanks so much for your help! As always.
Regards,
JS_D
-
JSmith,
I personally do not use Kubajzz Boolean Scripts A-B or B-A. I use the one attached below.
I looked at the an8 file you attached. Your mesh "meshHH" had several problems including interior lines and duplicate points. Your mesh "meshSS" had all its normals flipped inward, a couple of extra edges and several duplicate points. These issues are probably what is causing the errors with the Kubajzz A-B Boolean script.
When I fixed these issues and ran the attached boolean operations script (selecting the "meshSS" so it would be subtracted from "meshHH"), the result was a good subtraction with the exception of a few faces with flipped normals. I have attached the an8 file so you can compare the original vs repaired meshes and the results of the Boolean subtraction.
NickE
-
Thanks, NickE! Greatly appreciated. :) :)
JSmith
-
Thanks for the boolean operations script, NickE.
-
Nice script NickE!