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)
    • 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.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

ar_site_maker-1.0.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ar-site-maker-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6c60f0a4ce81b4f0b82bf214b5bbec573facdca14281fc1635610475642c6837
MD5 219aa285c18e5fb9a2de3f71d05a7825
BLAKE2b-256 02ec315e2b09e0e20b6587f68c57e0ccac35c7bdfe9545a0f882ba0aa08a77df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ar_site_maker-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 90e93b19dba65cb376328f0fc56adbeaeb7db1401dca4e3217b09e653c9f9b35
MD5 971fc1333a29ffe51cc23362ed5e0f50
BLAKE2b-256 ea09b467613cd23a8c1403f8e9ddd5737036018a33fd8aa250f35f429f525de6

See more details on using hashes here.

Supported by

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