Docs Home
/
KCL Standard Library
/
Functions
/
split

splitFunction in std::solid

Split a body into two parts: the part that overlaps with a tool, and the part that doesn't. NOTE: Currently merge = true is required. You must set this argument. In the future, this restriction will be removed.

Arguments

NameTypeDescriptionRequired
targets[Solid; 1+]The bodies to splitYes
mergeboolWhether to merge the bodies into one after. Currently, we only support merge = true.Yes
tools[Solid]The tools to split the bodies along.No

Returns

[Solid; 1+]

Examples

Found a typo?
Zookeeper is here!
You guide the design. Zookeeper does the work.