stljs:读取和写入STL(3D可打印模型)文件到您的心脏内容

上传者: 42117340 | 上传时间: 2022-06-02 11:46:44 | 文件大小: 314KB | 文件类型: ZIP
Stljs 一个快速的库,用于从读取和写入STL文件。 它还允许您使用POV-RAY导出到PNG。 注意:目前,readFile既适用于二进制文件,也适用于ascii文件,但仅使用ASCII写入STL文件 目前这仅适用于node.js,但很快将扩展到浏览器stl进行解析 如何安装 npm install stljs 如果您还希望能够呈现STL文件,则需要安装一个名为的程序。 如果您使用的是Mac,则可以使用自制软件进行安装。 brew install povray 如果您使用的是ubuntu,则可以使用aptitude安装它 aptitude install povray 入门 您有一个要读取的STL文件。 这是您的工作: stljs = require('stljs') stljs.readFile('teapot.stl' , (err, solid, name) ->

文件下载

资源详情

[{"title":"( 29 个子文件 314KB ) stljs:读取和写入STL(3D可打印模型)文件到您的心脏内容","children":[{"title":"stljs-master","children":[{"title":"src","children":[{"title":"to","children":[{"title":"image.coffee <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"povray.coffee <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false}],"spread":true},{"title":"stljs.coffee <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"parser","children":[{"title":"jison_stl_parser.json <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"stl_parser.coffee <span style='color:#111;'> 8.33KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"lib","children":[{"title":"to","children":[{"title":"image.js <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false},{"title":"povray.js <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"parser","children":[{"title":"jison_stl_parser.js <span style='color:#111;'> 14.52KB </span>","children":null,"spread":false},{"title":"stl_parser.js <span style='color:#111;'> 8.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"stljs.js <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"spec","children":[{"title":"fixtures","children":[{"title":"coffeecup","children":[{"title":"previous.stl <span style='color:#111;'> 634.26KB </span>","children":null,"spread":false},{"title":"current.stl <span style='color:#111;'> 731.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"flat.stl <span style='color:#111;'> 700.77KB </span>","children":null,"spread":false},{"title":"binary.stl <span style='color:#111;'> 17.07KB </span>","children":null,"spread":false},{"title":"povray_cmd.stl <span style='color:#111;'> 270.26KB </span>","children":null,"spread":false},{"title":"offset.stl <span style='color:#111;'> 183.29KB </span>","children":null,"spread":false},{"title":"tall.stl <span style='color:#111;'> 221.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"benchmark.coffee <span style='color:#111;'> 551B </span>","children":null,"spread":false},{"title":"test_convert.coffee <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"test_read.coffee <span style='color:#111;'> 827B </span>","children":null,"spread":false},{"title":"test_pov.coffee <span style='color:#111;'> 708B </span>","children":null,"spread":false}],"spread":true},{"title":"Rakefile <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"template","children":[{"title":"povray.tmpl <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 41B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 628B </span>","children":null,"spread":false},{"title":"CHANGELOG <span style='color:#111;'> 582B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明