Utility class for LDraw models.
LDrawUtils is an addon, and must be imported explicitly, see Installation#Addons.
import { LDrawUtils } from 'three/addons/utils/LDrawUtils.js';
Merges geometries in the given object by materials and returns a new group object. Use on not indexed geometries. The object buffers reference the old object ones. Special treatment is done to the conditional lines generated by LDrawLoader.
object
The object to merge.
Returns: The merged object.