Browzwear API

Browzwear API

  • Docs
  • GitLab

›Garment Creation

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

Assign Material

Assign Material is how you add a material to a shape or edge of a garment. Use the Shape or Edge API to assign, replace a fabric, seam, artwork, trim and so on.

For more information about the feature, please visit here.

Sample Plugin

Sample plugin for garment creation is available here

Sample plugin for Materials is available here

Assign Fabric

Code Snippet

Python
C++
C#
BwApi.ShapeMaterialIdSet(garmentId, shapeId, materialId)
BwApiShapeMaterialIdSet(garmentId, shapeId, materialId);
BwApiShapeMaterialIdSet(garmentId, shapeId, materialId);


Result

Assign Seam

Code Snippet

Python
C++
C#
BwApi.EdgeMaterialIdSet(garmentId, shapeId, edgeId, materialId)
BwApiEdgeMaterialIdSet(garmentId, shapeId, edgeId, materialId);
BwApiEdgeMaterialIdSet(garmentId, shapeId, edgeId, materialId);


Result

Assign Artwork/Trim

Code Snippet

Python
C++
C#
materialContainerId = BwApi.MaterialContainerCreate(garmentId, shapeId, materialId, transformation, drawPlace) 
BwApiMaterialContainerCreate(garmentId, shapeId, materialId, transformation, drawPlace, materialContainerId);
BwApiMaterialContainerCreate(garmentId, shapeId, materialId, transformation, drawPlace, materialContainerId);


Result

← Stitch ShapesCreate an Avatar →
  • Sample Plugin
  • Assign Fabric
    • Code Snippet
    • Result
  • Assign Seam
    • Code Snippet
    • Result
  • Assign Artwork/Trim
    • Code Snippet
    • Result
Browzwear API
FIND US
GitLabLinkedinTwitterInstagramFacebook
Copyright © 2021 Browzwear