Skip to content

About

Non-destructive 3D print surface textures for Blender 4.2 LTS+. UV-free triplanar & procedural displacement, layer stack, Asset Browser drag-and-drop, smart build-plate/overhang/edge protection, manifold check, and direct STL/OBJ/3MF export.

Topics

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

SurfaceForge — 3D Print Surface Textures for Blender

CI Blender Version License: GPL v3 Assets: CC0

SurfaceForge is an open-source Blender 4.2 LTS+ Extension for applying non-destructive, physical surface displacement textures optimized for 3D printing (FDM & SLA/MSLA Resin) — without requiring UV unwrapping.

It delivers full functional parity with Surface Lab - 3D Print Textures and adds native additive-manufacturing intelligence: real-time Build Plate (Z) protection, Overhang angle attenuation, Sharp Edge / mechanical tolerance guards, Auto-Prep topology tools (Voxel Remesh & Localized Mask Subdivision), Dual-Mode preview (Shader Preview ↔ Viewport Geometry ↔ Print Resolution), Printer Profiles, Manifold Validation, and direct STL / OBJ / pure-Python 3MF export.


Key Capabilities

  • Non-Destructive Layer Stack: Stack unlimited texture layers with 7 blend modes (Add, Subtract, Mix, Multiply, Min, Max, Overlay), real mm depth, Emboss/Deboss/Centered, solo/mute/reorder, stack copy, and 3D Transform Empty/Gizmo controls.
  • No UV Unwrapping Required: Triplanar (Box), Procedural 3D, Cylindrical, Spherical, and optional UV projections.
  • Procedural-First Catalog (42 Presets): Infinite-resolution textures across 6 categories (Fabrics, Wood & Organic, Industrial & Grip, Stone & Concrete, Geometric, Fuzzy & Noise), plus 8/16/32-bit external heightmap import and community Texture Packs (schemas/texture-pack.schema.json).
  • Dual-Mode & Auto-Prep: Switch instantaneously between 60 FPS Shader/Bump Preview, Viewport Geometry, and Print Resolution (with a configurable 2.5M vertex safety guardrail) plus built-in Subdivide, Voxel Remesh (for messy CAD/STL meshes), and Localized Mask Subdivision.
  • Native 3D Print Protections: Real-time Geometry Nodes masks for Build Plate Z margin, Overhang angle cutoff, and Sharp Edges/holes, alongside Weight Paint (Quick Mask Brush), Face Sets, Face Selection attributes, Material Slots, and 3D Object Proximity.
  • Asset Browser & i18n: Drag-and-Drop Asset Browser / Viewport heightmap & pack dropping and native bpy.app.translations support (English default + Portuguese pt_BR).
  • Printer Profiles & Direct Export: Presets for FDM Standard (0.4 mm), FDM Fine (0.2 mm), and Resin SLA/MSLA, bmesh Manifold check & lightweight auto-repair, optional Decimate, Scene Bake, and direct millimeter export to STL (binary), OBJ, and 3MF.

Installation & Quick Start

  1. Download surfaceforge-1.0.0.zip from GitHub Releases (or build locally with blender --command extension build --source-dir ./surfaceforge --output-dir ./dist).
  2. Open Blender 4.2 LTS+ → Edit > Preferences > Get Extensions → top-right menu Install from Disk... → select surfaceforge-1.0.0.zip.
  3. Select any mesh object in the 3D Viewport, press N to open the sidebar, and switch to the SurfaceForge tab.
  4. Choose a Printer Profile (FDM Standard 0.4 mm, FDM Fine 0.2 mm, or Resin SLA/MSLA) and click Enable SurfaceForge.
  5. Pick a texture from the thumbnail gallery (or import an 8/16/32-bit heightmap), configure 3D Print Protections, and click Check Mesh → Export 3MF / STL / OBJ.

Add-on Structure Overview

SurfaceForge is packaged as a clean, zero-dependency Blender Extension under surfaceforge/:

Directory / File Responsibility
surfaceforge/blender_manifest.toml Official Blender 4.2 LTS+ Extension manifest (id = "surfaceforge", GPL-3.0-or-later)
surfaceforge/core/ Millimeter unit conversions, non-uniform scale compensation, Blender 4.2/4.5/5.x compatibility adapters, sf_node_version migration, and PropertyGroups
surfaceforge/textures/ 42 procedural presets across 6 categories, unified GN/Shader pattern compiler, 8/16/32-bit heightmap loader, CC0 thumbnail generator, and JSON Texture Pack loader
surfaceforge/nodes/ Programmatic SF_Master_SurfaceForge_v1 builder, Triplanar/Cylindrical/Spherical/UV projections, Auto-Prep (Subdivide, Voxel Remesh, Localized), 3D Print protection masks, and Dual-Mode Shader sync
surfaceforge/masks/ Quick Mask Brush (1-click Weight Paint), Face Selection attribute saver, and Preview Mask toggle
surfaceforge/printing/ Printer Profiles, bmesh Manifold validator & auto-repair, pure-Python 3MF Core Spec 1.2.3 writer, binary STL/OBJ export, Decimate, and Scene Bake
surfaceforge/ui/ 5 collapsible N-Panel sub-panels, Layer Stack UIList, bpy.utils.previews thumbnail gallery, 3D Gizmo Empty, and Asset Browser / Viewport drag-and-drop
surfaceforge/i18n/ Native bpy.app.translations dictionaries (English default + Brazilian Portuguese pt_BR)
surfaceforge/assets/ 42 CC0 256×256 PNG thumbnails, validated pack.json, and Asset Browser catalog (blender_assets.cats.txt)
tests/ Headless Blender test suite (blender --background --factory-startup --python tests/run_tests.py)

For full internal details, math formulas, node-tree architecture, and strict module dependency rules, read docs/ARCHITECTURE.md.


How to Contribute

Contributions of code, bug fixes, translations, tests, and CC0 Texture Packs are warmly welcome!


Project Documentation

Document Purpose
docs/ARCHITECTURE.md Add-on module architecture, millimeter/scale math, Geometry Nodes & Dual-Mode internals, and 3MF export pipeline
CONTRIBUTING.md Developer setup, coding invariants, preset/translation workflows, and mandatory local verification gates
docs/TEXTURE_PACKS.md Guide for authoring, validating, and distributing community CC0 Texture Packs
docs/PRD.md Complete Product Requirements Document (in Portuguese), specs, wireframes, and roadmap
AGENTS.md Engineering rules, technical invariants, verification gates, and release checklist
schemas/texture-pack.schema.json Official JSON Schema (Draft 2020-12) for community Texture Packs
CHANGELOG.md Keep a Changelog history used directly by automated release publishing

CI/CD & Automated Releases

  • Continuous Integration (.github/workflows/ci.yml): Validates JSON schemas, scripts/extract_changelog.py, ruff lint/format, blender --command extension validate, headless Blender 4.2 LTS tests, and produces test .zip artifacts.
  • Automated Releases (.github/workflows/release.yml): Triggered by pushing a SemVer tag (vX.Y.Z):
    1. Verifies tag vX.Y.Z matches surfaceforge/blender_manifest.toml via scripts/extract_changelog.py.
    2. Extracts release notes from CHANGELOG.md.
    3. Runs Blender 4.2 LTS extension validate and headless test suite.
    4. Builds the distributable .zip with blender --command extension build and generates SHA256SUMS.txt.
    5. Publishes the GitHub Release (automatically flagging -alpha, -beta, or -rc tags as pre-releases).

License

  • Python source code & tests: GNU GPLv3 or later (GPL-3.0-or-later)
  • Built-in presets, thumbnails & bundled assets: CC0 1.0 Universal (CC0-1.0) — see LICENSE.

About

Non-destructive 3D print surface textures for Blender 4.2 LTS+. UV-free triplanar & procedural displacement, layer stack, Asset Browser drag-and-drop, smart build-plate/overhang/edge protection, manifold check, and direct STL/OBJ/3MF export.

Topics

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages