Place under your c:/laragon/www folder.
1: /cadviewer/ folder contains standard CADViewer 8 with apache php scripts, run http://localhost/cadviewer/html/CADViewer_fileloader_80.html to get started. For configuration, please modify ServerUrl, ServerLocation and ServerBackEndUrl in all /cadviewer/html/*.html files and $httpHost and $home_dir in /php/CADViewer_config.php
2: /cadviewer-v8-laravel/ contains a Laravel installation of CADViewer 8, run: http://cadviewer-v8-laravel.test to get started.
2A: Go to /routes/web.php, the current route is defined:
return view('layouts.logo-only').view('layouts.cadviewer-space-object-canvas-08');
2B: Go to /resources/views/layouts/
You can find one CADViewer blade file corresponding to the routes defined in /routes/web.php.
layouts.cadviewer-space-object-canvas-08.blade.php
For configuration:
2C: Please modify ServerUrl, ServerLocation and ServerBackEndUrl in /resources/views/layouts/cadviewer-space-object-canvas-08.blade.php
2D: Please modify $httpHost and $home_dir in /public/php/CADViewer_config.php
3: /cadviewer-laravel-8/ contains legacy Laravel installation of CADViewer, run: http://cadviewer-laravel-8.test to get started.
For configuration:
3A: Please modify ServerUrl, ServerLocation and ServerBackEndUrl in /resources/views/layouts/cadviewer-space-object-canvas-02.blade.php
3B: Please modify $httpHost and $home_dir in /public/php/CADViewer_config.php
3C: Go to /routes/web.php, select between the the routes:
// CADViewer CASE 1: - Space Objects
return view('layouts.logo-only').view('layouts.cadviewer-space-object-canvas-02');
// CADViewer CASE 2: - MySQL - Visual Query
return view('layouts.cadviewer-visual-query-03');
3D: Go to /resources/views/layouts/
You can find two CADViewer blade files corresponding to the routes defined in /routes/web.php.
layouts.cadviewer-space-object-canvas-02.blade.php
and
layouts.cadviewer-visual-query-03.blade.php
use these template samples for your reference.
-
Download CADViewer, the CADViewer download comes with CADViewer and a base folder structure with drawings, and html sample(s).
-
Modify or move the CADViewer folderstructure specific to your back-end technology and do other specifics associated with your platform.
-
Download AutoXchange (and other converters), install (unzip) AX2024 in cadviewer/converters/ax2020/windows or cadviewer/converters/ax2020/linux or in the designated folder structure.
-
Read the sections on installing and handling Fonts in AutoXchange 2024 TechDocs and TroubleShooting.
-
Download Handlers/Connectors specific to your back-end technology Download Handlers and install them as described in the Handlers Section.
-
Try out the samples and build your own application!
One issue that often appears in installations is that interface icons do not display properly:
Typically the variables ServerUrl, ServerLocation or ServerBackEndUrl in the controlling HTML document in /cadviewer/html/ are not set to reflect the front-end server url or port.
var ServerBackEndUrl = ""; // or what is appropriate for my server; used for NodeJS server only
var ServerUrl = "http://localhost/cadviewer/"; // or what is appropriate for my server
var ServerLocation = "c:/xampp/htdocs/cadviewer/"; // or what is appropriate for my server, can be black!
Have Fun! - and get in touch with us!