Use opBoolean() on all parts that contain a point
Lee_Hesketh
Member, Developers Posts: 148 ✭✭✭
Hi how would I use opBoolean() to remove material from all parts that are touching a part? I have currently used qContainsPoint, with qEverything() as the subquery, then using qSubtraction() to filter out the part itself. This works in finding the correct parts, but when I use the variable I have assigned to these parts in the "targets" section of the opBoolean(), an error is thrown: BOLEAN_INPUTS_NOT_SOLID. How could I fix this?
Also just noticed, the error is spelt wrong, shouldn't it be BOOLEAN_INPUT_NOT_SOLID?
Also just noticed, the error is spelt wrong, shouldn't it be BOOLEAN_INPUT_NOT_SOLID?
There are 10 types of people in the world. Those who know binary, those who don't and those who didn't expect base 3!
Tagged:
1
Best Answer
-
Probably you have some non-3D bodies in your query (sketch bodies, constructions planes, any bodies which are not BodyType.SOLID).
So, the first thing I'd try is to make sure you have EntityType.BODY in your qEverything(), and add a qBodyType(query, BodyType.SOLID) around your whole query.6
Answers
-
Probably you have some non-3D bodies in your query (sketch bodies, constructions planes, any bodies which are not BodyType.SOLID).
So, the first thing I'd try is to make sure you have EntityType.BODY in your qEverything(), and add a qBodyType(query, BodyType.SOLID) around your whole query.6

