-
Lucio Zambon authored
- /components/src/beamlineDown.svg - /components/src/beamlineUP.js - /components/src/bending.svg - /components/src/blm.js - /components/src/blmplus.js - /components/src/bpm.js - /components/src/bpm.svg - /components/src/bst.js - /components/src/bst.svg - /components/src/cavity.js - /components/src/cavity.svg - /components/src/cavity_3hc.js - /components/src/cavity_3hc.svg - /components/src/cavity_3hcfast.js - /components/src/cavitylinac.js - /components/src/cavitylinac.svg - /components/src/chamber.js - /components/src/corrector.js - /components/src/corrector.svg - /components/src/correctorbooster.js - /components/src/correctorboosterfast.js - /components/src/correctorfast.js - /components/src/correctorfermi.js - /components/src/dipole.js - /components/src/dipolebooster.js - /components/src/dipoleboosterfast.js - /components/src/dipoleesrf.js - /components/src/dipolefast.js - /components/src/dipolefermi.js - /components/src/dipoleplus.js - /components/src/ellipticaltube.js - /components/sr...
0ee5780d
sextupoleboosterfast.js 474 B
import * as THREE from 'three';
// Sextupole
export function sextupoleboosterfast(length=200) {
const sextupoleMaster = new THREE.Object3D();
const dmaterial = new THREE.MeshLambertMaterial({color: 0xffff00});
const d1geometry = new THREE.CylinderGeometry(300, 300, length, 6);
const d1mesh = new THREE.Mesh(d1geometry, dmaterial);
d1mesh.rotateX(Math.PI * 0.5);
d1mesh.rotateY(Math.PI * 0.5);
sextupoleMaster.add(d1mesh);
return sextupoleMaster;
}