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

nsc-bim

v0.8.25

Published

Made with create-react-library

Downloads

78

Readme

NPM JavaScript Style Guide

Install

npm install --save nsc-bim

Usage

1.初始化场景,详见Scene

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

3.加载 fbx 模型,NSCFBXLoader

4.常用工具

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

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

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

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

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

(6)设备树,EquipmentTree设备树组件,提供定位、显隐、高亮、模型双击事件响应,TilesetLoader中也提供了相关示例

(7)属性,双击事件返回模型的 id 和 name,业务通过 id 和 name 获取属性

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

(9)悬浮框,CSS2DLabel

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

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

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

License

版权所有:北京洛斯达科技发展有限公司