How sketchfab/blender-plugin works
Main Components
a. Client-side Components:
• Blender Application
• Sketchfab Addon UI (Properties Panel)
• Authentication Module
• Import Pipeline
• Export Pipeline
• Local Storage System
b. External Services:
• Sketchfab API
• Sketchfab Platform
• Sketchfab Organization/Teams API (for team features)
Authentication Flow
• Connection between Addon → Sketchfab API for both email/password and API token authentication
• Local credential storage for session management
Import Pipeline
• Search/Browse Flow: Addon UI → Sketchfab API → Model Discovery
• Download Flow: Selected Model → Local Storage → Blender Scene
• Format conversion (glTF → Blender)
Export Pipeline
• Material/Scene Processing: Blender Scene → glTF Conversion
• Upload Flow: Processed Data → Sketchfab API
• Settings Flow: Export Options → Model Properties on Sketchfab
Use these visual elements:
• Use rectangles for main components
Specific Implementation Details to Include:
Local Components
• Temporary file storage for downloads
• CSV history tracking
• Local credential cache
• Material conversion system
External Interfaces
• Sketchfab REST API endpoints
• Authentication endpoints
• Model processing service
Error Handling
• Validation points for material compatibility
• Scale/transformation checkpoints
• Texture processing limitations
Processing Stages
• Material conversion pipeline
• Animation processing
• Texture handling
Configuration Points
• User preferences storage
• Download directory settings
• Search filters
Level of Detail:
Import/Export Conversion Process
• Top Layer: User Interface and Blender Integration
• Middle Layer: Core Processing and Conversion Logic
• Bottom Layer: API Communication and Storage
• Symbols used for different components
• Indicators for known limitation points
This will create a comprehensive visualization of how the addon integrates with both Blender and Sketchfab while handling various data transformations and user interactions.