slopcopy_
SCRIPTS & HELPERS / PROJECT RECORDFIVE BLENDER TOOLS
SlopCopy / Blender / Python / 2024–2026

Earlier Blender scripts

Five small jobs. Five Blender tools. This is where I put the earlier script work.

Format
Blender / Python / 2024–2026
Status
FIVE BLENDER TOOLS
PROJECT MAP
SMALL BLENDER JOB
      ↓ ChatGPT + revisions
MATERIALS / GEOMETRY / SVG
      ↓ later recovery
2 RECOVERED + 3 RECONSTRUCTED
The shape of the work.
01 / The project

What I’m working with

The designer used ChatGPT for material assignment, mesh flattening, palette creation, curve export and recessed panels before moving this work into Codex.

I’m bringing those tools together here. They show the useful scale of a script: one annoying task, a few revisions, and something the designer can return to.

02 / Workflow

How it works

01

Describe a specific job

Start with a repetitive modeling task rather than a whole application.

02

Work through revisions

Refine the script around materials, coordinates, units or mesh behavior.

03

Keep the provenance

Preserve the recovery date and distinguish surviving code from reconstructed implementation.

03 / Inside the project

The five scripts

#000000
#0000AA
#00AA00
#00AAAA
#AA0000
#AA00AA
#AA5500
#AAAAAA
#555555
#5555FF
#55FF55
#55FFFF
#FF5555
#FF55FF
#FFFF55
#FFFFFF

Sixteen colors. One reusable material palette.

14 August 2024 / BLENDER / PYTHON

Laser Material Assigner

Cycles pre-existing Laser 1 through Laser 16 materials across selected objects. A small way to avoid repeating the same assignment by hand.

material_names = [f"Laser {i}" for i in range(1, 17)]
24 April 2025 / BLENDER / PYTHON

Flatten & Align Z

An operator for flattening the active mesh and bringing it to Z=0.

bl_idname = "object.flatten_align_z"
bl_label = "Flatten and Align Z"
4 June 2026 / BLENDER / PYTHON

EGA Palette Generator

Sixteen EGA materials, with viewport and shader colors set from the palette values shown above.

("EGA 01 - Blue", "#0000AA")
("EGA 14 - Yellow", "#FFFF55")
15 June 2026 / BLENDER / PYTHON

Curve-to-SVG Exporter

A route from selected Blender curves to SVG, using world transforms and millimeter dimensions. The script includes a zero-weight point case; units and curve types are part of the next example.

def safe_curve_point_to_vec(p):
    w = p.co.w
    # Recovery notes preserve the zero-weight case.
21 July 2026 / BLENDER / PYTHON

Flat Rim Panel Recess

A flat rim, straight walls and a recessed center. Version 1.2.0 follows the earlier Selected Face and Nonplanar variants from the same thread.

bl_idname = "mesh.flat_rim_panel_recess"
bl_label = "Flat Rim Panel Recess"
Source notes

The supplied recovery notes contain two scripts with formatting repairs and three rebuilt from fragments. Dates are from those notes. Original thread URLs are still to recover; the files have not been run in Blender in this archive pass.

  • Two recovered scriptsLaser Material Assigner and Flatten & Align Z, with documented formatting repairs.
  • Three reconstructionsEGA Palette Generator, Curve-to-SVG Exporter and Flat Rim Panel Recess.
  • Conversation recovery notesDated topic labels and approximate source-message times supplied with the bundle.
04 / Status

Where I leave it

The scripts and conversation notes are saved. The next addition is each tool shown on a small Blender example.