Work Name: 【Chair】

Source Code


const mesh01J1WGZJ0225ZSXFT8Y2FT3TV9 = BABYLON.MeshBuilder.CreateBox('01J1WGZJ0225ZSXFT8Y2FT3TV9', {}, scene);
mesh01J1WGZJ0225ZSXFT8Y2FT3TV9.position = new BABYLON.Vector3(
  0,
  -1.2680003643035889,
  -0.01022336445748806,
);
mesh01J1WGZJ0225ZSXFT8Y2FT3TV9.rotationQuaternion = new BABYLON.Quaternion(
  0.004031195430333362,
  0,
  0,
  0.999991874698691,
);
mesh01J1WGZJ0225ZSXFT8Y2FT3TV9.scaling = new BABYLON.Vector3(
  5.317619800567627,
  4.999997996494059,
  5.218206725768507,
);

const mesh01J1WH0Q92FGG5NMSRWFSA5NVZ = BABYLON.MeshBuilder.CreateBox('01J1WH0Q92FGG5NMSRWFSA5NVZ', {}, scene);
mesh01J1WH0Q92FGG5NMSRWFSA5NVZ.position = new BABYLON.Vector3(
  0,
  -1.9209167957305908,
  5.538601799415233e-10,
);
mesh01J1WH0Q92FGG5NMSRWFSA5NVZ.rotationQuaternion = new BABYLON.Quaternion(
  -1.4416558918872724e-10,
  0,
  0,
  1,
);
mesh01J1WH0Q92FGG5NMSRWFSA5NVZ.scaling = new BABYLON.Vector3(
  4.482487201690674,
  5,
  8.30618953704834,
);

const mesh01J1WH15MBR3DF68V2CKFG1GJH = BABYLON.MeshBuilder.CreateBox('01J1WH15MBR3DF68V2CKFG1GJH', {}, scene);
mesh01J1WH15MBR3DF68V2CKFG1GJH.position = new BABYLON.Vector3(
  0,
  -1.966246247291565,
  2.1829721536109253e-17,
);
mesh01J1WH15MBR3DF68V2CKFG1GJH.rotationQuaternion = new BABYLON.Quaternion(
  -5.551114999048691e-18,
  0,
  0,
  1,
);
mesh01J1WH15MBR3DF68V2CKFG1GJH.scaling = new BABYLON.Vector3(
  8.766745567321777,
  5,
  4.6015448570251465,
);

const mesh01J1WH2CA61JWNAHA740DPSHF2 = BABYLON.MeshBuilder.CreateBox('01J1WH2CA61JWNAHA740DPSHF2', {}, scene);
mesh01J1WH2CA61JWNAHA740DPSHF2.position = new BABYLON.Vector3(
  2.947824716567993,
  3.402562379837036,
  0.019722534343600273,
);
mesh01J1WH2CA61JWNAHA740DPSHF2.rotationQuaternion = new BABYLON.Quaternion(
  -0.0007913993440587356,
  -0.0053201736158847565,
  -0.12177889907996665,
  0.9925426787693546,
);
mesh01J1WH2CA61JWNAHA740DPSHF2.scaling = new BABYLON.Vector3(
  0.2693079162226576,
  5.4560186070045615,
  4.999998911714104,
);

const subCSG = BABYLON.CSG.FromMesh(mesh01J1WGZJ0225ZSXFT8Y2FT3TV9);
subCSG['subtractInPlace'](BABYLON.CSG.FromMesh(mesh01J1WH0Q92FGG5NMSRWFSA5NVZ));
subCSG['subtractInPlace'](BABYLON.CSG.FromMesh(mesh01J1WH15MBR3DF68V2CKFG1GJH));
subCSG['unionInPlace'](BABYLON.CSG.FromMesh(mesh01J1WH2CA61JWNAHA740DPSHF2));
subCSG.toMesh("csg", undefined, scene, true);

mesh01J1WGZJ0225ZSXFT8Y2FT3TV9.dispose();
mesh01J1WH0Q92FGG5NMSRWFSA5NVZ.dispose();
mesh01J1WH15MBR3DF68V2CKFG1GJH.dispose();
mesh01J1WH2CA61JWNAHA740DPSHF2.dispose();