Skip to main content

A tool to create a website where 3D models can be viewed using AR technology.

Project description

AR Site Maker

A tool to create a website where 3D models can be viewed using AR technology. You can make simple marker based AR site that can view 3D model. Simply specify the site name, 3D model file (.glb), and marker image (URL). You can try demo project by accessing below QR code and holding up QR code a camera after site is loaded. You have to allow camera access from demo site.

How to install

ar-site-maker is available through pip and PyPi. You need python3.

pip install ar-site-maker

You can confirm installation by executing ar-site-maker command.

ar-site-maker 

You can show top page like this if ar-site-maker is successfully installed.

Ar Site Maker {version}
 Documentation is here https://github.com/enfy-space/ArSiteMaker

Usage

Usage is very easy!

Preparing File

What you have to prepare is below.

  • .glb file Sorry! we don't support .gltf file yet 🥹.
    Please make sure to your model is

    • located around center of coordinate:(0,0,0)
    • smaller than cube with 1 meter on a side
    • not buried in plane (elevation=0)
  • marker image or site URL
    Generated site is marker-based AR so Object is appear on the marker. There are two-way to make marker.

    • image : You can set your favorite image as marker. We recommend as simple and square as image possible.
    • URL : If specify your site URL, ar-site-maker set QR-code as marker automatically.

Command Usage

Basic usage of command is below.
If you want to use your favorite image as marker

 ar-site-maker make <your project name> <glb file path> -i <image path>

If you want to use QR code of your site as marker

 ar-site-maker make <your project name> <glb file path> -u <url>

Options

  • title

    The site title will be the same as the project name if not specified. If you want to set title arbitrarily, you can use --site_title option like this.

    ar-site-maker make <your project name> <glb file path> -u <url> --site_title <title>
    
  • scale

    If you want to adjust object scale, you can use --scale option like this.

    ar-site-maker make <your project name> <glb file path> -u <url> --scale <scale>
    
  • animation

    If you want to add rotate animation to object, you can add -a (or --animation) option like this.

    ar-site-maker make <your project name> <glb file path> -u <url> -a 
    

of course! you can open help like this

  ar-site-maker make -h 

Output

Your exported data is in directory named fot the project. You can browse exported site by accessing index.html. The marker is stored in marker directory. You can use marker.png or marker_add_padding.png ; marker added padding as marker.

project name
├── index.html
├── marker
│   ├── marker.patt
│   ├── marker.png
│   └── marker_add_padding.png
└── model
    └── model.glb

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ar-site-maker-1.0.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

ar_site_maker-1.0.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file ar-site-maker-1.0.0.tar.gz.

File metadata

  • Download URL: ar-site-maker-1.0.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ar-site-maker-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1027033fad91f7729766795d529debbb4c0232822c8ca983d7dc2289812caf69
MD5 e47dc5535c7597d72a60f0de3ec22529
BLAKE2b-256 0224a49ece2c8ebb68a22c4b00817948f3884a80ca801109563c92a304f9f02f

See more details on using hashes here.

File details

Details for the file ar_site_maker-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ar_site_maker-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ar_site_maker-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 961ddc6c3066a1bd608076c2bee99792bf9ab541b5246ae4f59f7f9d07fe8924
MD5 3448054cf4565531bfd73a2609dda8f5
BLAKE2b-256 c05acbd971065bec661e2a11c0c73de267578be9c62b5a004af97005c7f89de6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page