function LessonViewer({ onNavigate }) { const [layer, setLayer] = React.useState('exploded'); const [chapter, setChapter] = React.useState(2); const [playing, setPlaying] = React.useState(false); const chapters = [ { n: 1, t: 'Introduction to induction motors', dur: '2:14', done: true }, { n: 2, t: 'Stator construction & windings', dur: '3:42', done: false, current: true }, { n: 3, t: 'Rotor types — squirrel cage vs slip ring', dur: '4:18', done: false }, { n: 4, t: 'End shields, bearings & fan', dur: '2:56', done: false }, { n: 5, t: 'Star vs delta connection', dur: '3:28', done: false }, { n: 6, t: 'Practical: safe disassembly sequence', dur: '5:12', done: false }, ]; return (
{/* Main 3D viewport area */}
ELECTRICIAN · SEM 4 3D LESSON · L07 12 min total

Three-Phase Induction Motor — Construction

{/* 3D viewport */}
{/* Callouts */} {[ { top: '13%', left: '46%', n: '1', l: 'TERMINAL BOX' }, { top: '48%', left: '10%', n: '2', l: 'END SHIELD (DE)' }, { top: '55%', left: '38%', n: '3', l: 'STATOR + WINDINGS' }, { top: '55%', left: '60%', n: '4', l: 'SQUIRREL CAGE ROTOR' }, { top: '55%', left: '84%', n: '5', l: 'COOLING FAN' }, ].map(c => (
{c.n}
{c.l}
))} {/* Top-left HUD */}
MODEL: IE3 · 4-POLE · 415V
VIEW: {layer.toUpperCase()}
{/* Top-right layer toggles */}
VIEW MODE
{[ { id: 'full', l: 'Full assembly', I: window.IconCube }, { id: 'cutaway', l: 'Cutaway', I: window.IconLayers }, { id: 'exploded', l: 'Exploded', I: window.IconGrid }, { id: 'xray', l: 'X-Ray', I: window.IconZoom }, ].map(o => { const I = o.I; const active = layer === o.id; return ( ); })}
{/* Bottom control bar */}
01:47 / 03:42
{/* Chapter markers */} {[15, 30, 55, 72, 88].map(p => (
))}
{[{ I: window.IconRotate, l: 'Rotate model' }, { I: window.IconZoom, l: 'Zoom' }, { I: window.IconMic, l: 'Voice narration' }].map((o, i) => ( ))}
{/* Transcript + concepts */}
Live transcript
EN · हिं · த
{[ { t: '00:12', s: 'The stator is the stationary part of the motor. It carries the three-phase windings that produce the rotating magnetic field.' }, { t: '00:34', s: 'Notice how the laminated silicon steel sheets reduce eddy current losses. Each sheet is 0.35 to 0.5 mm thick.', active: true }, { t: '01:02', s: 'The windings are placed in slots around the inner circumference — typically 36 or 48 slots for a 4-pole machine.' }, { t: '01:28', s: 'These leads terminate in the terminal box on top, where you make the star or delta connection.' }, ].map((s, i) => (
{s.t}
{s.s}
))}
Key concepts
{[ { t: 'Rotating magnetic field', tag: 'Physics', d: 'Field rotates at synchronous speed Ns = 120f/P' }, { t: 'Slip', tag: 'Dynamics', d: 'Difference between synchronous and rotor speed' }, { t: 'Squirrel cage', tag: 'Rotor', d: 'Copper/aluminum bars short-circuited by end rings' }, { t: 'Star-Delta start', tag: 'Control', d: 'Reduces starting current to ⅓ of DOL' }, ].map(c => (
{c.t} {c.tag}
{c.d}
))}
{/* Chapter sidebar */}
); } window.LessonViewer = LessonViewer;