Work Name: 【Daruma】

Source Code


const mesh01J1HVGQ44GCPH95B39T36KRRG = BABYLON.MeshBuilder.CreateCylinder('01J1HVGQ44GCPH95B39T36KRRG', {}, scene);
mesh01J1HVGQ44GCPH95B39T36KRRG.position = new BABYLON.Vector3(
  0.025152218714356474,
  5.23819875717163,
  0.8393636941909794,
);
mesh01J1HVGQ44GCPH95B39T36KRRG.rotationQuaternion = new BABYLON.Quaternion(
  -0.006113668292507566,
  -0.02285013172160255,
  0.030731283578146463,
  0.9992477436158598,
);
mesh01J1HVGQ44GCPH95B39T36KRRG.scaling = new BABYLON.Vector3(
  4.999999895888534,
  1.1177032585593616,
  4.999999665168835,
);

const mesh01J1HVGS328FZHYQZ8KA8XS24N = BABYLON.MeshBuilder.CreateCylinder('01J1HVGS328FZHYQZ8KA8XS24N', {}, scene);
mesh01J1HVGS328FZHYQZ8KA8XS24N.position = new BABYLON.Vector3(
  1.0723032116889957,
  2.8191415309906014,
  1.1821063876152034,
);
mesh01J1HVGS328FZHYQZ8KA8XS24N.rotationQuaternion = new BABYLON.Quaternion(
  -0.039106397645373485,
  -0.0015017919730159583,
  0.028921775873494593,
  0.9988152204633811,
);
mesh01J1HVGS328FZHYQZ8KA8XS24N.scaling = new BABYLON.Vector3(
  5.000000231912788,
  1.1374106179829122,
  4.9999997852503615,
);

const mesh01J1HVHC4H3KWZQTSYVDCE7FGH = BABYLON.MeshBuilder.CreateCylinder('01J1HVHC4H3KWZQTSYVDCE7FGH', {}, scene);
mesh01J1HVHC4H3KWZQTSYVDCE7FGH.position = new BABYLON.Vector3(
  2.617544758720669e-8,
  2.6562879895664082e-8,
  4.621141691529829e-9,
);
mesh01J1HVHC4H3KWZQTSYVDCE7FGH.rotationQuaternion = new BABYLON.Quaternion(
  1.1600730328248534e-10,
  -3.352678353724202e-11,
  0.00446961856513468,
  0.9999900112050532,
);
mesh01J1HVHC4H3KWZQTSYVDCE7FGH.scaling = new BABYLON.Vector3(
  4.999998549574108,
  1.3138144429721688,
  5,
);

const subCSG = BABYLON.CSG.FromMesh(mesh01J1HVGQ44GCPH95B39T36KRRG);
subCSG['unionInPlace'](BABYLON.CSG.FromMesh(mesh01J1HVGS328FZHYQZ8KA8XS24N));
subCSG['unionInPlace'](BABYLON.CSG.FromMesh(mesh01J1HVHC4H3KWZQTSYVDCE7FGH));
subCSG.toMesh("csg", undefined, scene, true);

mesh01J1HVGQ44GCPH95B39T36KRRG.dispose();
mesh01J1HVGS328FZHYQZ8KA8XS24N.dispose();
mesh01J1HVHC4H3KWZQTSYVDCE7FGH.dispose();