npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@bim-master/nsc-bim

v1.0.36

Published

[![NPM](https://img.shields.io/npm/v/nsc-bim.svg)](https://www.npmjs.com/package/nsc-bim) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

Downloads

241

Readme

NPM JavaScript Style Guide

Install

npm install --save @bim-master/nsc-bim

Usage

1.初始化场景,详见Scene

2.加载 3dtiles 模型,详见TilesetLoader,示例展示了初始化三维场景、加载 3dtiles 模型、初始化模型双击事件,以及模型设备树

3.加载 fbx/glb/3dtiles 模型,详见Loader,示例展示加载 3dtiles 模型、fbx 模型、glb 模型

4.模型操作

(1)高亮,高亮Mesh和group三维对象HighlightMesh,高亮3dtiles模型HighlightTile

(2)描边,描边Mesh和group三维对象OutlineMesh,描边3dtiles模型OutlineTile

(3)显隐,显隐Mesh和group三维对象VisilbeMesh,显隐3dtiles模型VisilbeTile

(4)定位,定位Mesh和group三维对象LocateMesh,定位3dtiles模型LocateTile

5.常用工具

(1)初始视图,Scene,提供恢复到初始化视图接口

(2)框选,ZoomIn,提供框选放大功能

(3)量测,Measure,提供距离、面积、角度和标高量测三种量测功能,以及清除量测绘制和关闭量测功能

(4)剖切,ObjectsBoxSection,提供包围盒剖切功能

(5)漫游,FlyRoam,提供飞行漫游功能,PersonRoam,提供第一人称漫游功能,PathRoam,提供路径漫游功能,PathRoamPanel,提供路径漫游面板组件

(6)模拟仿真,Simulation,提供模拟仿真功能

(7)展示面板,CSS2DLabelCSS3DLabelCSS3DSpriteLabelPlaneLabel

(8) 模型爆炸分解,Exploder ,提供 fbx 格式模型爆炸分析功能

(9)模型碰撞检测,CollisionDetection,提供圆球体、正方体为模型示例的碰撞检测功能

(10)模型动画,Animations,提供模型动画

(11)基础功能,Common,提供了基础功能,高亮、定位、描边、显隐