a3dviewer v0.0.74
a3DViewer
This project was generated with Angular CLI version 9.1.7.
Development server
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Code scaffolding
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Dedicated Versions
Increment version number before releasing to apps using this project inside package.json and package-lock.json. Note : No two viewer version number can be same(Ex - Quote and Inspection project, version number should be different)
Build
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Test Publish
Run npm run-script packagr
, copy content of dist to your project, test if it works before publishing.
Publish
Run npm run-script sendToNPM
to package and publish.
Use Library
- Upgrade angular to the version of
a3dviewer
. - Import the project using
npm i a3dviewer
. - Import
MainViewerModule
froma3dviewer
. - Copy
Assets
folder data fromnode_modules\a3dviewer
tosrc\assets
. - Add
<app-viewer-main [BasicWindow]=basic [fileID]=fileid style="width: 80%; height: 100%; position: fixed; top: 0; left: 0;"></app-viewer-main>
to html file, where basicwindow is a boolean which defines if you need the bare minimum window or not and fileid is number which defines the fileid. style can be defined here. - Add
./node_modules/@angular/material/prebuilt-themes/indigo-pink.css
to styles array in angular.json in your project. - Now you will have to debug the code and do some experimentation to get it to work properly.
Running unit tests
Run ng test
to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e
to execute the end-to-end tests via Protractor.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
6 months ago
6 months ago
8 months ago
7 months ago
6 months ago
10 months ago
1 year ago
2 years ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago