Browzwear API

Browzwear API

  • Docs
  • GitLab

›Outputs Export

Introduction

  • Introduction

Getting Started

  • License and Authentication
  • Understanding the API
  • Sample Plugins
  • Creating Python plugin
  • Creating C++ plugin
  • Creating C# plugin
  • Development
  • Deployment

Asset Management

  • Asset Library
  • Colors
  • Material
  • Avatars
  • Garments

Techpack

  • Create a Tech pack
  • Tech pack output - JSON
  • Point of Measurements
  • Bill of Material

Outputs Export

  • Outputs

Garment Creation

  • Create Shape
  • Create Edge
  • Arrange Shape
  • Stitch Shapes
  • Assign Material
  • Create an Avatar
  • Dress a Garment

Colorways

  • Colorways

Smart Design

  • Configure Smart Design Template

Costing

  • Costing

Terms of Use

  • Terms of Use

Change log

  • Change log

Outputs

Outputs is the different file formats you export the garment to. Use the Render API to export images, turntables, obj, fbx, glTF and so on.

For more information about the feature, please visit here.

To learn more about the rest of the API, please refer to Render in the repository.

Sample Plugin

Sample plugin for export output is available here

Rendering an Image

Code Snippet

The code snippet below shows how to render the current garment as an image. The render image function receives a JSON file (as a string) that contains all the render image information.
For more information, refer to the schema.

Python
C++
C#
garment_id = BwApi.GarmentId()
# assuming renderJson contains the above export render image settings
BwApi.RenderImage(garment_id, renderJson)
BwString garmentId;
BwApiGarmentId(garmentId);
// assuming renderJson contains the above export 3d
BwApiRenderImage(garmentId, renderJson);
string garmentId;
BwApi.GarmentId(out garmentId);
// assuming renderJson contains the above export 3d
BwApi.RenderImage(garmentId, renderJson);

Exporting a 3D Object

Code Snippet

The code snippet below shows how to export the current garment as a 3D object . The export 3D object function receives a JSON file (as a string) that contains all the exported information.
For more information, refer to the schema.

Python
C++
C#
garment_id = BwApi.GarmentId()
# assuming export3dObjectJson contains the above export 3d object settings
BwApi.RenderExport3DObject(garment_id, export3dObjectJson)
BwString garmentId;
BwApiGarmentId(garmentId);
// assuming export3dObjectJson contains the above export 3d
BwApiRenderExport3DObject(garmentId, export3dObjectJson);
string garmentId;
BwApi.GarmentId(out garmentId);
// assuming export3dObjectJson contains the above export 3d
BwApi.RenderExport3DObject(garmentId, export3dObjectJson);


← Bill of MaterialCreate Shape →
  • Sample Plugin
  • Rendering an Image
    • Code Snippet
  • Exporting a 3D Object
    • Code Snippet
Browzwear API
FIND US
GitLabLinkedinTwitterInstagramFacebook
Copyright © 2021 Browzwear