M Mahindra3D

Admin dashboard for 3D vehicle visualizers and their embeds.

M Mahindra3D Admin
Embed guide
Vehicles–
Live–
Embed views · 7 days–
Embed views · all time–

Vehicles

New vehicle

Create the entry, then upload its asset package (the folder built by the pipeline in docs/BE6.md, zipped).

Paste this where the visualizer should appear. It fills the box's width; set the height you want.


    
    

    
    

    

One domain per line; subdomains are included. Leave empty to allow embedding anywhere.

Upload a .zip of the vehicle's asset folder: config/, baseModels/, assets/. It replaces the current package as soon as it finishes; the previous one is kept on the server as a backup.

Drop the .zip here or click to choose

Counted each time an embed loads (direct-link visits are not counted).

Embedding a visualizer

1. Add a box where the car should appear, with the vehicle's ID:

<div data-mahindra3d="be6_fe" style="height:640px"></div>

2. Add the script once per page (anywhere, usually before </body>):


  

Options on the box: data-height="640px" if the box has no height (default is 16:9 of its width); data-lazy="false" to load immediately instead of when the visitor scrolls near it. Several cars on one page work.

From JavaScript (single-page apps): Mahindra3D.mount(element, "be6_fe").

Only Published vehicles load. If "Allowed websites" is set, browsers refuse the embed on any other site.