esbuildway
v1.0.4
Published
dracoLoader.setDecoderPath('static/js/loaders/draco/') +static
Downloads
44
Maintainers
Readme
cnpm install esbuild -S
#cnpm install three -S
cnpm install rhino3dm -S
npm i element-ui -S
ifc 3dm
dracoLoader.setDecoderPath('static/js/loaders/draco/') +static
electron
npm install --save-dev electron
开发应用程序 使用webpack 开发一个框架或类库 使用rollup
发布
git remote add origin https://gitee.com/engine_1/esbuildway.git
获得镜像源
npm get registry
npm config set registry http://registry.npm.taobao.org/ npm install -g cnpm --registry=https://registry.npm.taobao.org
npm config set registry https://registry.npmjs.org/
npm login
url 参数化
http://127.0.0.1:5500/sandbox/website%E6%9C%AA%E6%89%93%E5%8C%85.html#model=/public/static/models/solids.obj,/public/static/models/solids.mtl$envsettings=fishermans_bastion,on$edgesettings=on,10,0,0,5$blastsettings=100
- 模型 model=/public/static/models/solids.obj,/public/static/models/solids.mtl
- 天空盒 $envsettings=fishermans_bastion,on
- 背景颜色 $backgroundcolor=255,0,0,128
- edge 边框线 $edgesettings=on,120,120,20,5, $edgesettings=on,10,0,0,5
- 爆炸 $blastsettings =50
- 相机 $camera=1,1,1,150,150,150,0,1,0
oss 模型地址测试
oss 模型地址
// 测试模型 // 家具 /Users/kaixuan/xkx/恒信/vue2-three/public/static/models/fbx/erji/jiaju/damo.fbx // bus /Users/kaixuan/xkx/恒信/vue2-three/public/static/models/bus/bus.obj // test /Users/kaixuan/xkx/恒信/vue2-three/src/pages/home/test.fbx // male /Users/kaixuan/Downloads/gitthreegw/three.js/examples/models/obj/male02/male02.obj // url // obj // 家具 // http://localhost:8080/127new#model=https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/fbx/jiaju/damo.obj,https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/fbx/jiaju/damo.mtl,https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/fbx/jiaju/damo/Mat3d66_1265862_13_9264.jpg,https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/fbx/jiaju/damo/Mat3d66_1265862_2_7987.jpg,https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/fbx/jiaju/damo/Mat3d66_1265862_6_8580.jpg // 2 male 是 黑的 TODO // http://localhost:8080/127new#model=https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/maleobj/male02.obj,https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/maleobj/male02.mtl,https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/maleobj/01_-Default1noCulling.JPG,https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/maleobj/male-02-1noCulling.JPG,https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/maleobj/orig_02-Defaul1noCulling.JPG // male 少文件测试 // http://localhost:8080/127new#model=https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/maleobj/male02.obj,https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/maleobj/male02.mtl,https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/maleobj/01-_Default1noCulling.JPG,https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/maleobj/male-02-1noCulling.JPG
// fbx // http://localhost:8080/127new#model=https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/fbx/jiaju/damo.fbx,https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/fbx/jiaju/Mat3d66_1265862_13_9264.jpg,https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/fbx/jiaju/Mat3d66_1265862_2_7987.jpg,https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/fbx/jiaju/Mat3d66_1265862_6_8580.jpg // http://localhost:8080/127new#model=https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/fbx/jiaju/damo.fbx, // https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/fbx/jiaju/Mat3d66_1265862_13_9264.jpg, // https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/fbx/jiaju/Mat3d66_1265862_2_7987.jpg, // https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/fbx/jiaju/Mat3d66_1265862_6_8580.jpg
// 如果fbx 里面内容是blob 也不行 // https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/fbx/test.fbx // blob:http://localhost:8080/2e6c0845-7ed6-48ae-a212-d5b4bde16b1f
// dae // http://localhost:8080/127new#model= // https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/pump/pump.dae, // https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/pump/pump_body.jpg, // https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/pump/pump_gears.jpg, // https://xiaokaixuan.oss-cn-beijing.aliyuncs.com/pump/pump_metalreflect.jpg
es6转es5
https://www.cnblogs.com/ydqm/p/16337976.
http-serve
不指定 默认会访问当前public 目录 http-server ./ -p 9000
jsdoc 使用
#上传报错 warning: in the working copy of ‘package-lock.json‘, LF will be replaced by CRLF the next time Git
git config --global core.autocrlf false https://blog.csdn.net/qq_43842093/article/details/128471953
发包
git add .
git commit -m "publish to npm"
npm version patch
npm publish
esbuid 打包
https://blog.csdn.net/CRMEB/article/details/122434637
其它
nrm ls 查看可以用的包服务
nrm use 切换对应服务 npm config get registry //查看当前的下包镜像源 npm config set registry=https://registry.npm.taobao.org/ 切换成淘宝镜像
npm i -g cnpm --registry=https://registry.npm.taobao.org cnpm config ls //查看配置
清空vscode 终端快捷命令
文件 首选项 键盘快捷键 terminal:clear ctrl +k https://www.ycpai.cn/python/9nX8T3Vj.html
小程序
组件
https://vant-contrib.gitee.io/vant-weapp/#/quickstart npm i @vant/weapp -S --production
官网地址
https://developers.weixin.qq.com/miniprogram/dev/devtools/npm.html#_2-%E6%9E%84%E5%BB%BA-npm
代码管理地址
https://git.weixin.qq.com/15101040680/bingmayong
#https://blog.csdn.net/tianpeng1996/article/details/126928230