Git Product home page Git Product logo

Comments (1)

javagl avatar javagl commented on June 2, 2024 1

(Sorry for the delay here)

First, a minor comment: You said that you are using the command
npx 3d-tiles-tools ...
and I see that this is also written as the "Usage: ..." part of the output, but this is not the right thing to print - that help message will have to be updated to match the information from the README


Beyond that, the details depend on whether you installed the 3D Tiles Tools, or whether you cloned the repository.

When you installed the 3D Tiles tools:

If you installed the 3D Tiles Tools with npm install -g 3d-tiles-tools, then you might want to type
3d-tiles-tools --version
at the command line. It should print 0.3.2 (which is currently the latest version)
If it does not print 0.3.2, then it means that you have an older verison of the 3D Tiles Tools installed. You should run
npm update -g 3d-tiles-tools
Afterwards, you can run
3d-tiles-tools --version
again to confirum that you have the latest version.

The latest version should offer the convertB3dmToGlb command.

When you cloned the repository

Running npx 3d-tiles-tools... will by default run any version of the 3D Tiles Tools that are installed globally. And (similar to the point above), you can run
3d-tiles-tools --version
to see whether there is a potentially older version of the tools installed.

In oder to directly execute the code of the cloned repository, you have to write
npx ts-node ./src/main.ts convertB3dmToGlb ...

(This is mentioned briefly in the Developer Setup section of the README. The point here is that npx ts-node... has to be used to "directly execute the .ts file from the repo", so to speak...)


In any case, I'll leave this issue open as a reminder that

  • Some of this could be mentioned more explicitly in the README (for example, the npm update... call)
  • The help message has to be changed to not say npx 3d-tiles-tools..., but only 3d-tiles-tools...

from 3d-tiles-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.