Work Name: 【ソファー】

Source Code


const mesh01J2V2VHEX08Y87RTAYV5VERS1 = BABYLON.MeshBuilder.CreateBox('01J2V2VHEX08Y87RTAYV5VERS1', {}, scene);
mesh01J2V2VHEX08Y87RTAYV5VERS1.position = new BABYLON.Vector3(
  -0.8511117100715637,
  0,
  0,
);
mesh01J2V2VHEX08Y87RTAYV5VERS1.rotationQuaternion = new BABYLON.Quaternion(
  0,
  0,
  0,
  1,
);
mesh01J2V2VHEX08Y87RTAYV5VERS1.scaling = new BABYLON.Vector3(
  5,
  4.660477161407471,
  11.55946159362793,
);

const mesh01J2V2W8741D52A2J2ZE9KQ9YB = BABYLON.MeshBuilder.CreateBox('01J2V2W8741D52A2J2ZE9KQ9YB', {}, scene);
mesh01J2V2W8741D52A2J2ZE9KQ9YB.position = new BABYLON.Vector3(
  0,
  3.136568307876587,
  0,
);
mesh01J2V2W8741D52A2J2ZE9KQ9YB.rotationQuaternion = new BABYLON.Quaternion(
  0,
  0,
  0,
  1,
);
mesh01J2V2W8741D52A2J2ZE9KQ9YB.scaling = new BABYLON.Vector3(
  5,
  5,
  10.3723783493042,
);

const mesh01J2V2X4TAWSJDPFVFRGBXPBSZ = BABYLON.MeshBuilder.CreateBox('01J2V2X4TAWSJDPFVFRGBXPBSZ', {}, scene);
mesh01J2V2X4TAWSJDPFVFRGBXPBSZ.position = new BABYLON.Vector3(
  0,
  3.422981023788452,
  0,
);
mesh01J2V2X4TAWSJDPFVFRGBXPBSZ.rotationQuaternion = new BABYLON.Quaternion(
  0,
  0,
  0,
  1,
);
mesh01J2V2X4TAWSJDPFVFRGBXPBSZ.scaling = new BABYLON.Vector3(
  5,
  3.1763761043548584,
  12.804342269897461,
);

const subCSG = BABYLON.CSG.FromMesh(mesh01J2V2VHEX08Y87RTAYV5VERS1);
subCSG['subtractInPlace'](BABYLON.CSG.FromMesh(mesh01J2V2W8741D52A2J2ZE9KQ9YB));
subCSG['subtractInPlace'](BABYLON.CSG.FromMesh(mesh01J2V2X4TAWSJDPFVFRGBXPBSZ));
subCSG.toMesh("csg", undefined, scene, true);

mesh01J2V2VHEX08Y87RTAYV5VERS1.dispose();
mesh01J2V2W8741D52A2J2ZE9KQ9YB.dispose();
mesh01J2V2X4TAWSJDPFVFRGBXPBSZ.dispose();