Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Viking Embroidery Converter

A comprehensive web-based embroidery design and conversion platform that transforms images and PDFs into professional embroidery files with advanced editing, simulation, and design tools.

๐Ÿš€ Core Features

๐ŸŽฏ Smart Image-to-Embroidery Conversion

  • 5 Optimized Preset Profiles for different use cases:
    • Text Outline - Clean letter outlines for text and logos
    • Text Filled - Solid filled text with dense stitching
    • Simple Logo - Clean outlines for simple logos and shapes
    • Detailed Logo - High detail with fine stitching
    • Photo Realistic - Multi-color photo conversion with intelligent color detection

๐Ÿงต Advanced Stitching Engine

  • Multiple Fill Modes:
    • Outline - Just the letter/logo outlines (fastest)
    • Hatch - Horizontal parallel lines for filling
    • Crosshatch - Dense cross-hatched pattern for solid coverage
  • Stitch Types: Run, Zigzag, and Triple-pass stitching
  • Intelligent Path Optimization with nearest-neighbor ordering
  • Adaptive Thresholding for optimal edge detection

๐ŸŽจ Professional Design Tools

Embroidery Designer

  • Vector Shape Creation: Draw rectangles, circles, ellipses, and custom paths
  • Layer Management: Organize designs with multiple layers and visibility controls
  • Real-time Editing: Transform, rotate, scale, and position elements
  • Color Management: Customize stroke and fill colors with opacity controls
  • Grid & Snap: Precise positioning with magnetic snapping and grid alignment

Path Editor

  • Stitch Path Visualization: View and edit individual stitch paths
  • Path Reordering: Optimize embroidery sequence for efficiency
  • Color Separation: Manage thread colors and changes
  • Path Statistics: Detailed stitch counts, jumps, and trim operations

3D Embroidery Simulator

  • Real-time Stitching Preview: Watch your design being stitched in 3D
  • Playback Controls: Play, pause, and scrub through the embroidery process
  • Speed Adjustment: Control simulation speed for detailed analysis
  • Visual Enhancements: Toggle grid, jumps, and adjust line thickness
  • 3D Navigation: Orbit, zoom, and pan around your design

๐Ÿ“ File Management System

  • Cloud Storage: Secure file upload and management with UploadThing
  • Multiple Format Support: Input (JPG, PNG, PDF) โ†’ Output (VP3, HUS, VIP)
  • Session Management: Resume work on previous conversions
  • File Organization: Browse, search, and manage your embroidery projects
  • Batch Processing: Handle multiple files efficiently

โš™๏ธ Advanced Processing Options

  • Image Enhancement: Denoise, blur, and adaptive thresholding
  • Border Detection: Intelligent border removal and margin control
  • Color Quantization: Optimize color count for embroidery machines
  • Upscaling: Enhance resolution for detailed designs
  • Path Simplification: Reduce complexity while maintaining quality

๐Ÿ“ฑ Feature List Per Page

๐Ÿ  Home Page (/)

  • Welcome Overview: Introduction to the embroidery platform
  • Navigation Hub: Quick access to all major features
  • Feature Showcase: Highlights of key capabilities
  • Getting Started Guide: Quick start instructions for new users

๐Ÿงต Main Converter (/embroidery)

  • File Upload System: Drag & drop or click to upload images/PDFs
  • Preset Profile Selection: 5 optimized profiles for different use cases
  • Basic Settings Panel:
    • Output format selection (VP3, HUS, VIP)
    • Hoop size configuration
    • Stitch length adjustment
    • Fill mode selection (Outline, Hatch, Crosshatch)
    • Fill density control
  • Advanced Settings Toggle:
    • Processing modes (Auto, Binary, Edge, Color)
    • Color count optimization
    • Image upscaling options
    • Stitch type selection (Run, Zigzag, Triple)
    • Zigzag width and spacing controls
    • Triple-pass configuration
    • Path ordering optimization
    • Image processing options (Denoise, Adaptive, Invert)
    • Border handling controls
    • Minimum area filtering
  • Real-time Conversion: Progress tracking and status updates
  • Results Display:
    • Embroidery preview image
    • Path map visualization
    • Download links for embroidery files
    • Conversion statistics (stitch count, path count, etc.)
    • Direct access to Path Editor

๐ŸŽจ Embroidery Designer (/embroidery/designer)

  • Vector Drawing Tools:
    • Rectangle creation with rounded corners
    • Circle and ellipse drawing
    • Custom path creation with bezier curves
    • Polyline drawing with multiple points
  • Shape Management:
    • Select, move, and transform shapes
    • Rotate and scale elements
    • Duplicate and delete shapes
    • Layer organization and visibility
  • Styling Controls:
    • Stroke color and width customization
    • Fill color and opacity settings
    • Line style selection
  • Advanced Features:
    • Grid system with snap-to-grid
    • Magnetic snapping for precise alignment
    • Undo/redo functionality
    • Zoom and pan controls
    • Export to SVG format
  • Design Workspace:
    • Canvas with customizable dimensions
    • Multiple view modes
    • Real-time preview updates

โœ๏ธ Path Editor (/embroidery/editor)

  • Job Management:
    • Open existing conversion jobs by ID
    • Resume previous work sessions
    • Access to recent conversions
  • Path Visualization:
    • Individual stitch path display
    • Color-coded thread separation
    • Jump and trim operation indicators
  • Path Editing Tools:
    • Reorder embroidery sequences
    • Optimize path ordering for efficiency
    • Modify individual stitch parameters
    • Adjust thread color assignments
  • Analysis Tools:
    • Stitch count per color
    • Path optimization suggestions
    • Machine compatibility checking
    • Estimated embroidery time

๐ŸŽฎ 3D Simulator (/embroidery/simulator)

  • 3D Visualization:
    • Real-time 3D rendering of embroidery
    • Three.js powered graphics engine
    • Responsive 3D canvas
  • Playback Controls:
    • Play/pause simulation
    • Progress scrubbing (0-100%)
    • Speed adjustment (0.5x to 3x)
    • Frame-by-frame navigation
  • Visual Customization:
    • Line thickness adjustment
    • Grid display toggle
    • Jump visualization toggle
    • Color-coded thread display
  • 3D Navigation:
    • Orbit controls for rotation
    • Zoom in/out functionality
    • Pan and center controls
    • Reset view options
  • File Upload Integration:
    • Direct embroidery file upload
    • Support for VP3, HUS, VIP formats
    • Real-time parsing and display

๐Ÿ“ File Management (/files)

  • File Upload System:
    • Drag & drop file uploads
    • Multiple file selection
    • Progress tracking
    • File type validation
  • File Browser:
    • List all uploaded files
    • Search and filter capabilities
    • File metadata display
    • Download links
  • File Organization:
    • Categorize by file type
    • Tag and organize projects
    • Batch operations
    • Archive management
  • User Management:
    • Authentication status display
    • User-specific file storage
    • File sharing capabilities
    • Access control

๐Ÿ” Authentication Pages

  • Sign In (/sign-in):
    • Clerk-powered authentication
    • Social login options
    • Password recovery
    • Remember me functionality
  • Sign Up (/sign-up):
    • User account creation
    • Email verification
    • Profile setup
    • Terms acceptance

๐Ÿ› ๏ธ Technical Architecture

Frontend

  • Next.js 15 with React 19 and TypeScript
  • Modern UI Components built with Radix UI and Tailwind CSS
  • 3D Graphics powered by Three.js and React Three Fiber
  • Real-time Updates with TRPC and React Query

Backend

  • Python Integration with OpenCV and PyEmbroidery
  • Advanced Image Processing algorithms for optimal conversion
  • Database Integration with Drizzle ORM and SQLite
  • File Processing with UploadThing for cloud storage

Performance Features

  • Turbo Mode for fast development and builds
  • Optimized Rendering with React 19's latest features
  • Efficient File Handling with streaming uploads and downloads
  • Caching Strategy for improved user experience

๐Ÿš€ Quick Start

For Users

  1. Upload your image or PDF file
  2. Choose a preset profile that matches your needs
  3. Customize basic settings (stitch length, fill density)
  4. Convert to embroidery file format
  5. Download your .vp3, .hus, or .vip file
  6. Edit & Simulate using the advanced tools

For Developers

# Install dependencies
npm install

# Run development server
npm run dev

# Build for production
npm run build

# Database operations
npm run db:generate
npm run db:migrate
npm run db:studio

๐Ÿ“ฑ User Experience Features

  • Responsive Design that works on all devices
  • Dark/Light Theme support with next-themes
  • Keyboard Shortcuts for power users
  • Progress Tracking with real-time status updates
  • Error Handling with user-friendly messages
  • Session Persistence for uninterrupted workflow

๐Ÿ”ง Advanced Settings

Processing Modes

  • Auto: Intelligent mode selection based on image content
  • Binary: Black and white conversion for high contrast
  • Edge: Focus on edge detection for line art
  • Color: Multi-color processing for photographs

Quality Controls

  • Stitch Length: Adjust from 1.0mm to 5.0mm
  • Fill Spacing: Control density from 0.5mm to 3.0mm
  • Minimum Area: Filter out tiny details (pixel-based)
  • Border Handling: Intelligent border detection and removal

Machine Compatibility

  • Hoop Sizes: Customizable dimensions for your embroidery machine
  • Format Support: VP3 (Husqvarna/Pfaff), HUS, VIP
  • Thread Management: Automatic color separation and change detection

๐ŸŒŸ Unique Capabilities

  • Real-time 3D Simulation of embroidery process
  • Vector-based Design Tools for custom embroidery patterns
  • Intelligent Preset System for consistent results
  • Professional-grade Path Editing for fine-tuning
  • Cloud-based Workflow for collaboration and accessibility

๐Ÿ“Š Output Statistics

Every conversion provides detailed metrics:

  • Stitch Count: Total number of stitches
  • Path Count: Number of separate embroidery paths
  • Jump Count: Machine movements between areas
  • Trim Count: Thread cutting operations
  • Estimated Time: Based on machine speed settings

๐Ÿ”’ Security & Privacy

  • User Authentication with Clerk
  • Secure File Uploads with UploadThing
  • Session Management for secure file handling
  • Environment-based Configuration for production security

๐Ÿ“ˆ Performance Metrics

  • Fast Conversion: Most images process in under 30 seconds
  • High Quality: Professional-grade embroidery output
  • Scalable Architecture: Handles multiple concurrent users
  • Efficient Processing: Optimized algorithms for speed and quality

๐ŸŽฏ Use Cases

  • Text & Typography: Convert fonts and lettering to embroidery
  • Logo Design: Transform company logos and branding
  • Photo Embroidery: Create realistic embroidered portraits
  • Art & Crafts: Convert digital art to embroidery patterns
  • Commercial Production: Professional embroidery file generation
  • Educational: Learn embroidery design and techniques

๐Ÿค Contributing

This project uses modern development practices:

  • TypeScript for type safety
  • ESLint for code quality
  • Prettier for consistent formatting
  • Drizzle for database management
  • TRPC for type-safe APIs

๐Ÿ“„ License

MIT License - see LICENSE file for details.


Transform your images into beautiful embroidery with Viking Embroidery Converter - the most advanced web-based embroidery design platform available.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages