Docs Home
/
KCL Standard Library
/
Functions
/
split

splitFunction in std::solid

Split all faces of the target body along all faces of the tool bodies.

Arguments

NameTypeDescriptionRequired
targets[Solid; 1+]The bodies to splitYes
mergeboolWhether to merge the bodies into one after. Defaults to false.No
keepToolsboolIf false, the tool bodies will be removed from the scene. If true, they'll be kept. Defaults to false.No
tools[Solid]The tools to split the target bodies along.No
legacyMethodboolYou probably shouldn't set this or care about this, it's for opting back into an older version of an engine algorithm. If true, revert to older engine SSI algorithm. Defaults to false.No

Returns

[Solid; 1+]

Examples

Found a typo?