feat: initial commit

This commit is contained in:
2026-03-05 22:12:38 +01:00
commit bce762a783
380 changed files with 51955 additions and 0 deletions
@@ -0,0 +1,33 @@
"""Add lighting_only column to render_templates
When lighting_only=True the render script uses the template's World/HDRI for
lighting but always computes an auto-camera for product framing. This is
useful for HDR-only templates that don't define a fixed camera angle.
Revision ID: 024
Revises: 023
Create Date: 2026-03-03
"""
from alembic import op
import sqlalchemy as sa
revision = '024'
down_revision = '023'
branch_labels = None
depends_on = None
def upgrade():
op.add_column(
'render_templates',
sa.Column(
'lighting_only',
sa.Boolean(),
nullable=False,
server_default='false',
),
)
def downgrade():
op.drop_column('render_templates', 'lighting_only')