Skip to main content

BlenderAction

Enum BlenderAction 

Source
pub enum BlenderAction {
    Doctor {
        blender_bin: Option<PathBuf>,
        mcp_port: u16,
        json: bool,
    },
    Inspect {
        file: PathBuf,
        json: bool,
    },
    Import {
        input: PathBuf,
        out: PathBuf,
        blender_bin: Option<PathBuf>,
        bake: bool,
        lods: usize,
        meshlets: bool,
        no_meshlets: bool,
        bvh4: bool,
        no_bvh4: bool,
        plan: bool,
        json: bool,
    },
    Bake {
        input: PathBuf,
        out: PathBuf,
        blender_bin: Option<PathBuf>,
        lods: usize,
        meshlets: bool,
        no_meshlets: bool,
        bvh4: bool,
        no_bvh4: bool,
        plan: bool,
        json: bool,
    },
    Watch {
        path: PathBuf,
        out: PathBuf,
        host: String,
        port: u16,
        blender_bin: Option<PathBuf>,
        poll_ms: u64,
        lods: usize,
        once: bool,
        json: bool,
    },
    LiveSync {
        host: String,
        port: u16,
        out_dir: Option<PathBuf>,
        heartbeat_ms: u64,
        once: bool,
        json: bool,
    },
    AddonInstall {
        out: Option<PathBuf>,
        print: bool,
        json: bool,
    },
}
Expand description

Subcommands under euv blender for Blender 4.x/5.x inspection, export, baking, Live-Link sync, and add-on installation.

Variants§

§

Doctor

Checks local Blender binary, version (4.0+/5.1+), glTF 2.0 exporter, Live-Link add-on, and Blender Lab MCP reachability.

Fields

§blender_bin: Option<PathBuf>

Optional explicit path to a Blender executable overriding EUV_BLENDER_BIN and PATH.

§mcp_port: u16

Localhost TCP port probed for the official Blender Lab MCP bridge.

§json: bool

Emit machine-readable JSON output.

§

Inspect

Inspects a .blend, .glb, .gltf, .euv3d, or .obj file natively in pure Rust with zero Blender installation required.

Fields

§file: PathBuf

Path to the 3D asset file to inspect.

§json: bool

Emit machine-readable JSON output.

§

Import

Imports a .blend, .glb, .gltf, or .obj asset into an output directory with optional .euv3d compilation.

Fields

§input: PathBuf

Source .blend, .glb, .gltf, or .obj file path.

§out: PathBuf

Output directory receiving the imported asset, manifest, and optional .euv3d archive.

§blender_bin: Option<PathBuf>

Optional explicit path to a Blender executable for .blend files.

§bake: bool

Also compile a 64-byte-aligned .euv3d package alongside the imported asset.

§lods: usize

Number of Garland-Heckbert QEM LOD levels when --bake is enabled (1..=4).

§meshlets: bool

Enable spatially clustered meshlets when --bake is enabled.

§no_meshlets: bool

Disable spatially clustered meshlets when --bake is enabled.

§bvh4: bool

Enable pre-baked SIMD BVH4 acceleration structures when --bake is enabled.

§no_bvh4: bool

Disable pre-baked SIMD BVH4 acceleration structures when --bake is enabled.

§plan: bool

Print the planned import/export steps as JSON without executing.

§json: bool

Emit machine-readable JSON output.

§

Bake

Compiles a .blend, .glb, .gltf, or .obj asset into a zero-copy 64-byte-aligned .euv3d package.

Fields

§input: PathBuf

Source .blend, .glb, .gltf, or .obj file path.

§out: PathBuf

Destination .euv3d output file path.

§blender_bin: Option<PathBuf>

Optional explicit path to a Blender executable for .blend files.

§lods: usize

Number of Garland-Heckbert QEM LOD levels to bake (1..=4).

§meshlets: bool

Explicitly enable spatially clustered meshlets (enabled by default unless --no-meshlets is set).

§no_meshlets: bool

Disable spatially clustered meshlets.

§bvh4: bool

Explicitly enable pre-baked SIMD BVH4 trees (enabled by default unless --no-bvh4 is set).

§no_bvh4: bool

Disable pre-baked SIMD BVH4 trees.

§plan: bool

Print the planned bake steps as JSON without executing.

§json: bool

Emit machine-readable JSON output.

§

Watch

Watches a 3D source file or directory, auto-baking .euv3d updates and streaming Live-Link SSE events.

Fields

§path: PathBuf

Source .blend, .glb, .gltf, .obj file or directory to watch.

§out: PathBuf

Output directory receiving compiled .euv3d artifacts.

§host: String

Host bind interface for the embedded Live-Link HTTP/SSE server.

§port: u16

TCP port for the embedded Live-Link HTTP/SSE server (0 selects an ephemeral port).

§blender_bin: Option<PathBuf>

Optional explicit path to a Blender executable for .blend sources.

§poll_ms: u64

Watcher polling interval in milliseconds.

§lods: usize

Number of Garland-Heckbert QEM LOD levels (1..=4).

§once: bool

Execute one bake and Live-Link readiness check then exit immediately.

§json: bool

Emit machine-readable JSON output.

§

LiveSync

Runs the Hyperlane HTTP+SSE Live-Link daemon receiving fast JSON deltas and selective .glb hot-swaps.

Fields

§host: String

Host bind interface.

§port: u16

TCP listen port (default 9877, avoiding Blender Lab MCP port 9876; 0 selects an ephemeral port).

§out_dir: Option<PathBuf>

Optional directory mirroring uploaded .glb / .euv3d assets to disk.

§heartbeat_ms: u64

SSE keep-alive heartbeat interval in milliseconds.

§once: bool

Validate listener startup and exit immediately.

§json: bool

Emit machine-readable JSON output.

§

AddonInstall

Installs or prints the production Blender 4.x/5.x euv_live_link.py Live-Link add-on.

Fields

§out: Option<PathBuf>

Explicit output file or directory path for euv_live_link.py.

§print: bool

Print raw euv_live_link.py Python source directly to stdout without writing to disk.

§json: bool

Emit machine-readable JSON installation metadata (ignored when --print is set).

Trait Implementations§

Source§

impl Clone for BlenderAction

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BlenderAction

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for BlenderAction

Source§

impl FromArgMatches for BlenderAction

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

impl PartialEq for BlenderAction

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for BlenderAction

Source§

impl Subcommand for BlenderAction

Source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate self via FromArgMatches::update_from_arg_matches_mut Read more
Source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

§

impl Forget for BlenderAction

§

impl Freeze for BlenderAction
where *const u8 is !null: Freeze, PhantomData<u8>: Freeze,

§

impl Move for BlenderAction

§

impl RefUnwindSafe for BlenderAction

§

impl Send for BlenderAction
where RawVecInner: Send,

§

impl Sync for BlenderAction
where RawVecInner: Sync,

§

impl Unpin for BlenderAction
where *const u8 is !null: Unpin,

§

impl UnsafeUnpin for BlenderAction

§

impl UnwindSafe for BlenderAction
where RawVecInner: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> AnySend for T
where T: Any + Send,

Source§

impl<T> AnySendClone for T
where T: Any + Send + Clone,

Source§

impl<T> AnySendSync for T
where T: Any + Send + Sync,

Source§

impl<T> AnySendSyncClone for T
where T: Any + Send + Sync + Clone,

Source§

impl<T> AnySync for T
where T: Any + Sync,

Source§

impl<T> AnySyncClone for T
where T: Any + Sync + Clone,

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<'a, T> FromIn<'a, T> for T

Source§

fn from_in(t: T, _: &'a Allocator) -> T

Converts to this type from the input type within the given allocator.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<'a, T, U> IntoIn<'a, U> for T
where U: FromIn<'a, T>,

Source§

fn into_in(self, allocator: &'a Allocator) -> U

Converts this type into the (usually inferred) input type within the given allocator.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more