chore: checkpoint web Blender migration source, tools and docs
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

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>
This commit is contained in:
mes123456
2026-11-10 11:18:01 +08:00
parent 122142c26c
commit f3e21c6b98
6887 changed files with 257154 additions and 12294 deletions

View File

@@ -1,6 +1,18 @@
export type BlenderOperatorPropertyType = "boolean" | "number" | "enum" | "string";
export type BlenderOperatorPropertyType = "boolean" | "number" | "enum" | "string" | "pointer" | "collection" | "number-array" | "boolean-array" | "enum-set";
export type BlenderOperatorPropertyValue = string | number | boolean;
/** Local embedded-bpy pointer input, including nested dictionary/collection fields.
* `$rna` is a native RNA path relative to bpy.data (default) or the selected
* bpy.context after editor/mode override. It is not a Python expression.
* The tag distinguishes references from literal PropertyGroup dictionaries.
* Existing string and {name, type?} ID references remain supported.
*/
export interface BlenderOperatorRNAReference {
$rna: string;
root?: "data" | "context";
type?: string;
}
export type BlenderOperatorPropertyValue = string | number | boolean | null | number[] | boolean[] | string[] | Record<string, unknown> | Array<Record<string, unknown>>;
export interface BlenderOperatorEnumItem {
value: string;
@@ -16,6 +28,15 @@ export interface BlenderOperatorPropertySpec {
defaultValue?: BlenderOperatorPropertyValue;
min?: number;
max?: number;
integer?: boolean;
arrayLength?: number;
pointerType?: string;
pointerValueKind?: "reference" | "properties";
collectionItemType?: string;
/** Live RNA fields of a property dictionary or one collection item. */
properties?: BlenderOperatorPropertySpec[];
subtype?: string;
unit?: string;
enumItems?: BlenderOperatorEnumItem[];
}
@@ -43,7 +64,7 @@ export interface BlenderOperatorInvocation {
export type BlenderFeatureRoute = "WEB_MAIN" | "SERVER_NATIVE" | "BROWSER_EQUIVALENT" | "UNAVAILABLE";
/** Browser-owned replacements for desktop context/window operators. */
export type BlenderBrowserActionGroup = "OPEN" | "SAVE" | "WORKSPACE" | "SELECTION" | "VIEW" | "EDITOR";
export type BlenderBrowserActionGroup = "OPEN" | "SAVE" | "AUTOSAVE" | "RECOVERY" | "LAST_SESSION" | "WORKSPACE" | "SELECTION" | "VIEW" | "EDITOR";
export interface BlenderBrowserEquivalentInvocation {
command: "invokeBrowserEquivalent";
@@ -88,7 +109,7 @@ export interface BlenderFeatureRouteInvocation {
baseRevision?: number;
}
/** SERVER_NATIVE jobs deliberately carry only typed scalar operator properties. */
/** SERVER_NATIVE accepts bounded scalars, fixed RNA arrays and enum flag sets. */
export const BLENDER_OPERATOR_BACKGROUND_CONTEXT = "BACKGROUND" as const;
export type BlenderMacroStepKind = "MAIN_COMMAND" | "SERVER_NATIVE" | "CONTEXT_DEPENDENT";