Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Material properties and part color after boolean union
Emily_Qi_Wang
Member Posts: 13 EDU
One of the Features that @Lauren_Froschauer and I have made recently involves creating some cylinders (via
Is there a way to change this behavior such that the boolean result retains the color and properties of the existing part rather than the freshly created cylinders?
I looked at the documentation page for
fCylinder
) and then performing a opBoolean
(specifically: BooleanOperationType.UNION
) to combine them with an already existing part. One issue is that the newly created cylinders are a different color from the existing part, and performing the union causes the existing part to change color to the cylinders' color. Another issue is that this boolean operation results in the existing part losing its material properties. Is there a way to change this behavior such that the boolean result retains the color and properties of the existing part rather than the freshly created cylinders?
I looked at the documentation page for
opBoolean
in FsDoc and did not see a relevant parameter for this, and am unsure where in the standard library to find a helpful example. Any comments/guidance would be greatly appreciated; thanks in advance! 0
Best Answer
-
ilya_baran Onshape Employees, Developers, HDM Posts: 1,215Make sure the existing part comes first in the opBoolean tools query (and the cylinder second).Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc5
Answers