Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer, web workflow engine and protocol, tooling, docs and task records. Large generated evidence, user-testing archives, build snapshots and imported test assets remain untracked. Co-Authored-By: Claude Code <noreply@anthropic.com>
18 lines
612 B
Python
18 lines
612 B
Python
import bpy
|
|
import pathlib
|
|
|
|
root = pathlib.Path(__file__).resolve().parents[3]
|
|
bpy.ops.wm.open_mainfile(filepath=str(root / "tests/files/web/basic_scene.blend"))
|
|
obj = bpy.data.objects["BasicCube"]
|
|
array = obj.modifiers.new("Stack Array", "ARRAY")
|
|
array.count = 2
|
|
bevel = obj.modifiers.new("Stack Bevel", "BEVEL")
|
|
bevel.width = 0.1
|
|
bevel.segments = 2
|
|
other = obj.copy()
|
|
other.data = obj.data.copy()
|
|
other.name = "StackTarget"
|
|
bpy.context.scene.collection.objects.link(other)
|
|
other.location.x = 4
|
|
bpy.ops.wm.save_as_mainfile(filepath=str(root / "tests/files/web/modifier_stack_scene.blend"), check_existing=False)
|