ara3d 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,7 @@ export declare class AraCharacterElement extends HTMLElement {
5
5
  character?: AraCharacter;
6
6
  private view?;
7
7
  private status;
8
+ private figure;
8
9
  private bar;
9
10
  private label;
10
11
  private building;
@@ -37,4 +37,10 @@ export interface Generated {
37
37
  }
38
38
  /** The character data at `assetsUrl`, loaded once and shared by every character built from it. */
39
39
  export declare function libraryAt(assetsUrl: string): Promise<AssetLibrary>;
40
+ export declare function clipIds(choice: GenerateOptions['animations']): string[];
41
+ /**
42
+ * The character settings for an input: a preset name, a share link from the builder, { random: seed }, an
43
+ * "ara-character" object or character settings. Used by the library and the ara3d MCP server.
44
+ */
45
+ export declare function characterParams(lib: AssetLibrary, input: CharacterInput): HumanParams;
40
46
  export declare function generate(lib: AssetLibrary, input: CharacterInput, options?: GenerateOptions, onProgress?: (label: string, fraction: number) => void): Promise<Generated>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ara3d",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "description": "Realistic, rigged and animated 3D characters: a three.js library, an <ara-character> embed for any web page, and a command-line tool (GLB, FBX, OBJ). Free and open source.",
5
5
  "keywords": ["web-component", "embed", "3d", "character", "avatar", "glb", "gltf", "fbx", "three", "threejs", "rigged", "animation", "makehuman", "cli", "gamedev"],
6
6
  "homepage": "https://ara3dgen.com/docs/library/",