diff --git a/package.json b/package.json index 84db496..c4dd8a0 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "scripts": { "start": "http-server", "test": "mocha test", - "lint": "eslint source --fix", + "lint": "eslint source", + "lint_fix": "eslint source --fix", "docs": "jsdoc -c tools/jsdoc.json", "update_libs": "node tools/run_python.js tools/update_libs.py", "generate_icon_font": "node tools/run_python.js tools/generate_icon_font.py", diff --git a/source/engine/import/importer.js b/source/engine/import/importer.js index a3075d0..6d47430 100644 --- a/source/engine/import/importer.js +++ b/source/engine/import/importer.js @@ -12,7 +12,7 @@ import { ImporterO3dv } from './importero3dv.js'; import { ImporterObj } from './importerobj.js'; import { ImporterOff } from './importeroff.js'; import { ImporterPly } from './importerply.js'; -import { ImporterStep } from './importerstep.js'; +import { ImporterStp } from './importerstp.js'; import { ImporterStl } from './importerstl.js'; import { ImporterThree3mf, ImporterThreeDae, ImporterThreeFbx, ImporterThreeWrl } from './importerthree.js'; @@ -107,7 +107,7 @@ export class Importer new ImporterO3dv (), new Importer3dm (), new ImporterIfc (), - new ImporterStep (), + new ImporterStp (), new ImporterThreeFbx (), new ImporterThreeDae (), new ImporterThreeWrl (), diff --git a/source/engine/import/importerstep.js b/source/engine/import/importerstp.js similarity index 97% rename from source/engine/import/importerstep.js rename to source/engine/import/importerstp.js index 40e9b2e9..a15c56e 100644 --- a/source/engine/import/importerstep.js +++ b/source/engine/import/importerstp.js @@ -3,7 +3,7 @@ import { GetExternalLibPath } from '../io/externallibs.js'; import { ConvertThreeGeometryToMesh } from '../threejs/threeutils.js'; import { ImporterBase } from './importerbase.js'; -export class ImporterStep extends ImporterBase +export class ImporterStp extends ImporterBase { constructor () { diff --git a/source/engine/main.js b/source/engine/main.js index 468e3df..4a39e25 100644 --- a/source/engine/main.js +++ b/source/engine/main.js @@ -30,8 +30,8 @@ import { ImporterO3dv } from './import/importero3dv.js'; import { ImporterObj } from './import/importerobj.js'; import { ImporterOff } from './import/importeroff.js'; import { ImporterPly } from './import/importerply.js'; -import { ImporterStep } from './import/importerstep.js'; import { ImporterStl } from './import/importerstl.js'; +import { ImporterStp } from './import/importerstp.js'; import { ImporterThreeSvg } from './import/importersvg.js'; import { ImporterThreeBase, ImporterThreeFbx, ImporterThreeDae, ImporterThreeWrl, ImporterThree3mf } from './import/importerthree.js'; import { NameFromLine, ParametersFromLine, ReadLines, IsPowerOfTwo, NextPowerOfTwo, UpdateMaterialTransparency } from './import/importerutils.js'; @@ -153,8 +153,8 @@ export { ImporterObj, ImporterOff, ImporterPly, - ImporterStep, ImporterStl, + ImporterStp, ImporterThreeSvg, ImporterThreeBase, ImporterThreeFbx,