} else {
block.root = block.geometry;
}
}
TransformableSceneElement e = new TransformableSceneElement(block.root);
e.translate(block.base.vectorFromOrigin());
e.stretch(scale[0], scale[1], scale[2]);
e.rotateZ(Math.toRadians(angle));
e.translate(insertionPoint.vectorFromOrigin());
Basis3 basis = DxfUtil.getBasisFromArbitraryAxis(extrusionDir);
AffineMatrix3 T = AffineMatrix3.fromColumns(basis.u(), basis.v(), basis.w());
e.transform(T);
if (state.currentSection.equals("ENTITIES")) {
state.root.addChild(block.root instanceof BoundingIntervalHierarchy ? new CollapseSceneElement(e) : e);
}