1.9.9 • Published 3 months ago

meshkraft-viewer v1.9.9

Weekly downloads
212
License
BSD-3-Clause
Repository
-
Last release
3 months ago

Meshkraft Viewer by ART Labs

Meshkraft is a no-coding platform for generating, optimizing and serving 3D models of your e-commerce products.

Meshkraft Viewer is the JS SDK for presenting models in web-AR.

Install

The <meshkraft-viewer> web component can be used directly from various free CDNs such as unpkg.com

You'll need to paste script code to the end of <head> section of your web page

<script type="module" src="https://unpkg.com/meshkraft-viewer/dist/meshkraft-viewer.min.js"></script>

It can also be installed from NPM:

npm install meshkraft-viewer

Usage

  • First you will need to set your API Key with init command, once.

    MeshkraftViewer.init('API_KEY')
  • After initialized, in specific product page, call SDK with product identifier (SKU)

    <meshskraft-viewer sku="SKU-123" />

SDK will do the rest.

Options

sku (string) *required

SKU of your product. Identifier for 3D assets.

enable-ar (boolean)

Should enable AR button. Defaults to true

auto-rotate (boolean)

Should the models rotate automatically. Defaults to true

width (number)

Width of parent component. Defaults to %100

height (number)

Width of parent component. Defaults to 300px

config (object)

Scene and AR config. TBA.

1.9.9

3 months ago

1.9.1

7 months ago

1.9.0

7 months ago

1.8.2

7 months ago

1.8.1

7 months ago

1.8.0

7 months ago

1.9.7

4 months ago

1.9.6

5 months ago

1.9.5

6 months ago

1.9.4

6 months ago

1.9.3

6 months ago

1.9.2

7 months ago

1.8.4

7 months ago

1.8.3

7 months ago

1.7.2

11 months ago

1.7.1

11 months ago

1.7.0

12 months ago

1.6.8

1 year ago

1.6.7

1 year ago

1.6.6

1 year ago

1.6.5

1 year ago

1.6.4

1 year ago

1.6.3

1 year ago

1.6.2

1 year ago

1.6.1

2 years ago

1.6.0

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.10

2 years ago

1.3.13

2 years ago

1.3.11

2 years ago

1.3.12

2 years ago

1.3.9

2 years ago

1.3.8

2 years ago

1.5.0

2 years ago

1.3.7

2 years ago

1.3.6

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.12

2 years ago

1.2.13

2 years ago

1.2.10

3 years ago

1.2.11

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.9

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.0

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.1.1

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.40

3 years ago

1.0.39

3 years ago

1.0.38

3 years ago

1.0.37

3 years ago

1.0.36

3 years ago

1.0.35

3 years ago

1.0.34

3 years ago

1.0.33

3 years ago

1.0.32

3 years ago

1.0.31

3 years ago

1.0.30

3 years ago

1.0.29

3 years ago

1.0.28

3 years ago

1.0.27

3 years ago

1.0.26

3 years ago

1.0.24

3 years ago

1.0.23

3 years ago

1.0.22

3 years ago

1.0.19

3 years ago

1.0.20

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago