- );
- }
-
- // Determine what to show based on current state
- if (!isConnected) {
- return (
-
-
-
-
-
Step 1: Connect to Machine
-
To get started, connect to your Brother embroidery machine via Bluetooth.
-
-
Make sure your machine is powered on
-
Enable Bluetooth on your machine
-
Click the "Connect to Machine" button below
-
-
-
-
- );
- }
-
- if (!hasPattern) {
- return (
-
-
-
-
-
Step 2: Load Your Pattern
-
Choose a PES embroidery file from your computer to preview and upload.
-
-
Click "Choose PES File" in the Pattern File section
-
Select your embroidery design (.pes file)
-
Review the pattern preview on the right
-
You can drag the pattern to adjust its position
-
-
-
-
- );
- }
-
- if (!patternUploaded) {
- return (
-
-
-
-
-
Step 3: Upload Pattern to Machine
-
Send your pattern to the embroidery machine to prepare for sewing.
-
-
Review the pattern preview to ensure it's positioned correctly
-
Check the pattern size matches your hoop
-
Click "Upload to Machine" when ready
-
Wait for the upload to complete (this may take a minute)
-
-
-
-
- );
- }
-
- // Pattern is uploaded, guide based on machine status
- switch (machineStatus) {
- case MachineStatus.IDLE:
+ // Determine what to show based on current state
+ if (!isConnected) {
return (
-
-
-
+
+
+
-
Step 4: Start Mask Trace
-
The mask trace helps the machine understand the pattern boundaries.
+
Step 1: Connect to Machine
+
To get started, connect to your Brother embroidery machine via Bluetooth.
-
Click "Start Mask Trace" button in the Sewing Progress section
-
The machine will trace the pattern outline
-
This ensures the hoop is positioned correctly
+
Make sure your machine is powered on
+
Enable Bluetooth on your machine
+
Click the "Connect to Machine" button below
);
+ }
- case MachineStatus.MASK_TRACE_LOCK_WAIT:
+ if (!hasPattern) {
return (
-
-
-
+
+
+
-
Machine Action Required
-
The machine is ready to trace the pattern outline.
-
-
Press the button on your machine to confirm and start the mask trace
-
Ensure the hoop is properly attached
-
Make sure the needle area is clear
+
Step 2: Load Your Pattern
+
Choose a PES embroidery file from your computer to preview and upload.
+
+
Click "Choose PES File" in the Pattern File section
+
Select your embroidery design (.pes file)
+
Review the pattern preview on the right
+
You can drag the pattern to adjust its position
);
+ }
- case MachineStatus.MASK_TRACING:
+ if (!patternUploaded) {
return (
-
-
-
+
+
+
-
Mask Trace In Progress
-
The machine is tracing the pattern boundary. Please wait...
-
-
Watch the machine trace the outline
-
Verify the pattern fits within your hoop
-
Do not interrupt the machine
+
Step 3: Upload Pattern to Machine
+
Send your pattern to the embroidery machine to prepare for sewing.
+
+
Review the pattern preview to ensure it's positioned correctly
+
Check the pattern size matches your hoop
+
Click "Upload to Machine" when ready
+
Wait for the upload to complete (this may take a minute)
);
+ }
- case MachineStatus.MASK_TRACE_COMPLETE:
- case MachineStatus.SEWING_WAIT:
- return (
-
-
-
-
-
Step 5: Ready to Sew!
-
The machine is ready to begin embroidering your pattern.
-
-
Verify your thread colors are correct
-
Ensure the fabric is properly hooped
-
Click "Start Sewing" when ready
-
+ // Pattern is uploaded, guide based on machine status
+ switch (machineStatus) {
+ case MachineStatus.IDLE:
+ return (
+
+
+
+
+
Step 4: Start Mask Trace
+
The mask trace helps the machine understand the pattern boundaries.
+
+
Click "Start Mask Trace" button in the Sewing Progress section