sdf:Python中简单的SDF网格生成

上传者: 42129300 | 上传时间: 2022-09-15 22:37:45 | 文件大小: 7.36MB | 文件类型: ZIP
自卫队 使用简单的Python API基于SDF(带符号距离函数)生成3D网格。 特别感谢提供的有关有符号距离函数的出色文档: 例子 这是一个生成示例的完整示例。 这是规范的“示例。 注意将运算符用于并集,交集和差。 from sdf import * f = sphere ( 1 ) & box ( 1.5 ) c = cylinder ( 0.5 ) f -= c . orient ( X ) | c . orient ( Y ) | c . orient ( Z ) f . save ( 'out.stl' ) 是的,这实际上就是整个代码! 您可以3D打印该模型或在3D应用程序中使用它。 更多例子 有一个很酷的例子吗? 提交公关! 要求 请注意,按照以下说明进行操作时,setup.py将自动安装依赖项。 Python 3 麻木 枕头 scikit图像 科学的 安装 使用以

文件下载

资源详情

[{"title":"( 88 个子文件 7.36MB ) sdf:Python中简单的SDF网格生成","children":[{"title":"sdf-main","children":[{"title":"setup.py <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 21B </span>","children":null,"spread":false},{"title":"LICENSE.md <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"weave.py <span style='color:#111;'> 363B </span>","children":null,"spread":false},{"title":"customizable_box.py <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"knurling.py <span style='color:#111;'> 379B </span>","children":null,"spread":false},{"title":"pawn.py <span style='color:#111;'> 533B </span>","children":null,"spread":false},{"title":"example.py <span style='color:#111;'> 127B </span>","children":null,"spread":false},{"title":"blobby.py <span style='color:#111;'> 231B </span>","children":null,"spread":false},{"title":"text.py <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"gearlike.py <span style='color:#111;'> 176B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 18.86KB </span>","children":null,"spread":false},{"title":"sdf","children":[{"title":"stl.py <span style='color:#111;'> 645B </span>","children":null,"spread":false},{"title":"dn.py <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"title":"ease.py <span style='color:#111;'> 4.11KB </span>","children":null,"spread":false},{"title":"mesh.py <span style='color:#111;'> 6.44KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 244B </span>","children":null,"spread":false},{"title":"progress.py <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"d3.py <span style='color:#111;'> 12.00KB </span>","children":null,"spread":false},{"title":"util.py <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"text.py <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"d2.py <span style='color:#111;'> 6.49KB </span>","children":null,"spread":false}],"spread":true},{"title":"docs","children":[{"title":".gitignore <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"images","children":[{"title":"bend_radial.png <span style='color:#111;'> 88.34KB </span>","children":null,"spread":false},{"title":"extrude.png <span style='color:#111;'> 39.79KB </span>","children":null,"spread":false},{"title":"customizable_lid.png <span style='color:#111;'> 66.02KB </span>","children":null,"spread":false},{"title":"bend_linear.png <span style='color:#111;'> 46.45KB </span>","children":null,"spread":false},{"title":"plane.png <span style='color:#111;'> 98.13KB </span>","children":null,"spread":false},{"title":"meshview.png <span style='color:#111;'> 680.17KB </span>","children":null,"spread":false},{"title":"cylinder.png <span style='color:#111;'> 113.98KB </span>","children":null,"spread":false},{"title":"gearlike.png <span style='color:#111;'> 98.66KB </span>","children":null,"spread":false},{"title":"bend.png <span style='color:#111;'> 40.50KB </span>","children":null,"spread":false},{"title":"transition_linear.png <span style='color:#111;'> 107.46KB </span>","children":null,"spread":false},{"title":"dilate.png <span style='color:#111;'> 137.48KB </span>","children":null,"spread":false},{"title":"ellipsoid.png <span style='color:#111;'> 82.26KB </span>","children":null,"spread":false},{"title":"translate.png <span style='color:#111;'> 50.73KB </span>","children":null,"spread":false},{"title":"customizable_box.png <span style='color:#111;'> 90.40KB </span>","children":null,"spread":false},{"title":"erode.png <span style='color:#111;'> 174.12KB </span>","children":null,"spread":false},{"title":"smooth_difference.png <span style='color:#111;'> 85.15KB </span>","children":null,"spread":false},{"title":"intersection.png <span style='color:#111;'> 61.26KB </span>","children":null,"spread":false},{"title":"box.png <span style='color:#111;'> 46.34KB </span>","children":null,"spread":false},{"title":"icosahedron.png <span style='color:#111;'> 66.56KB </span>","children":null,"spread":false},{"title":"capsule.png <span style='color:#111;'> 51.14KB </span>","children":null,"spread":false},{"title":"dodecahedron.png <span style='color:#111;'> 50.57KB </span>","children":null,"spread":false},{"title":"weave.jpg <span style='color:#111;'> 378.21KB </span>","children":null,"spread":false},{"title":"repeat.png <span style='color:#111;'> 138.91KB </span>","children":null,"spread":false},{"title":"show_slice.png <span style='color:#111;'> 516.06KB </span>","children":null,"spread":false},{"title":"slab.png <span style='color:#111;'> 77.69KB </span>","children":null,"spread":false},{"title":"rotate.png <span style='color:#111;'> 107.08KB </span>","children":null,"spread":false},{"title":"union.png <span style='color:#111;'> 82.75KB </span>","children":null,"spread":false},{"title":"twist.png <span style='color:#111;'> 97.22KB </span>","children":null,"spread":false},{"title":"capped_cone.png <span style='color:#111;'> 98.62KB </span>","children":null,"spread":false},{"title":"elongate.png <span style='color:#111;'> 127.45KB </span>","children":null,"spread":false},{"title":"wireframe_box.png <span style='color:#111;'> 82.63KB </span>","children":null,"spread":false},{"title":"rounded_cone.png <span style='color:#111;'> 51.42KB </span>","children":null,"spread":false},{"title":"transition_radial.png <span style='color:#111;'> 127.53KB </span>","children":null,"spread":false},{"title":"knurling.png <span style='color:#111;'> 179.87KB </span>","children":null,"spread":false},{"title":"sphere.png <span style='color:#111;'> 120.21KB </span>","children":null,"spread":false},{"title":"rounded_box.png <span style='color:#111;'> 60.18KB </span>","children":null,"spread":false},{"title":"circular_array.png <span style='color:#111;'> 46.82KB </span>","children":null,"spread":false},{"title":"torus.png <span style='color:#111;'> 109.92KB </span>","children":null,"spread":false},{"title":"slice.png <span style='color:#111;'> 57.05KB </span>","children":null,"spread":false},{"title":"shell.png <span style='color:#111;'> 115.38KB </span>","children":null,"spread":false},{"title":"octahedron.png <span style='color:#111;'> 41.82KB </span>","children":null,"spread":false},{"title":"weave.png <span style='color:#111;'> 166.40KB </span>","children":null,"spread":false},{"title":"smooth_union.png <span style='color:#111;'> 91.25KB </span>","children":null,"spread":false},{"title":"rounded_cylinder.png <span style='color:#111;'> 50.31KB </span>","children":null,"spread":false},{"title":"orient.png <span style='color:#111;'> 90.20KB </span>","children":null,"spread":false},{"title":"revolve.png <span style='color:#111;'> 78.79KB </span>","children":null,"spread":false},{"title":"capped_cylinder.png <span style='color:#111;'> 36.79KB </span>","children":null,"spread":false},{"title":"pyramid.png <span style='color:#111;'> 37.54KB </span>","children":null,"spread":false},{"title":"example.png <span style='color:#111;'> 165.13KB </span>","children":null,"spread":false},{"title":"scale.png <span style='color:#111;'> 82.58KB </span>","children":null,"spread":false},{"title":"box2.png <span style='color:#111;'> 41.39KB </span>","children":null,"spread":false},{"title":"difference.png <span style='color:#111;'> 73.65KB </span>","children":null,"spread":false},{"title":"example.jpg <span style='color:#111;'> 307.56KB </span>","children":null,"spread":false},{"title":"text-large.png <span style='color:#111;'> 168.06KB </span>","children":null,"spread":false},{"title":"smooth_intersection.png <span style='color:#111;'> 76.97KB </span>","children":null,"spread":false},{"title":"extrude_to.png <span style='color:#111;'> 108.19KB </span>","children":null,"spread":false},{"title":"blend.png <span style='color:#111;'> 143.43KB </span>","children":null,"spread":false},{"title":"blobby.png <span style='color:#111;'> 117.85KB </span>","children":null,"spread":false},{"title":"text.png <span style='color:#111;'> 60.05KB </span>","children":null,"spread":false},{"title":"knurling.jpg <span style='color:#111;'> 366.10KB </span>","children":null,"spread":false},{"title":"blobby.jpg <span style='color:#111;'> 321.36KB </span>","children":null,"spread":false},{"title":"gearlike.jpg <span style='color:#111;'> 346.29KB </span>","children":null,"spread":false},{"title":"tetrahedron.png <span style='color:#111;'> 39.58KB </span>","children":null,"spread":false}],"spread":false},{"title":"render.py <span style='color:#111;'> 4.68KB </span>","children":null,"spread":false},{"title":"render.go <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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