{"repo":"virtualritz/polyhedron-ops","free":true,"listed":false,"github":"https://github.com/virtualritz/polyhedron-ops","clone":"git clone https://github.com/virtualritz/polyhedron-ops.git","description":"Conway-Hart Polyhedron Notation in Rust","language":"Rust","stars":84,"topics":["polyhedra","polyhedron","rust","geometry","3delight","bevy","nsi","polygon-mesh"],"license":"BSD-3-Clause","category":"game-templates","readme_excerpt":"Polyhedron Operators This crate implements the Conway Polyhedron Operators and their extensions by George W. Hart and others. Some brutalist polyhedron; rendered with 3Delight ɴsɪ and post processed in Ansel. This is an experiment to improve my understanding of iterators in Rust. It is based on Kit Wallace’s OpenSCAD code. As OpenSCAD Language is functional it lends itself well to translation into functional Rust. The above code starts from a dodecahedron and iteratively applies four operators. The resulting shape is shown below. Caveat This is in a semi-polised shape. Documentation could be better (open an issue if you feel something is particualrly lacking). In short: use at your own risk. Cargo Features bevy – Adds support for converting a polyhedron into a bevy Mesh . nsi – Adds support for sending a polyhedron to an offline renderer via the ɴsɪ crate. obj – Adds support for writing data out as Wavefront OBJ. parser – Add support for parsing strings in Conway Polyhedron Notation. This feature implements Polyhedron::TryFrom . Base Shapes [x] Platonic solids [x] Prisms [x] Antiprisms [ ] Pyramids [ ] Johnson Solids Supported Operators [x] a – ambo [x] b – bevel (equiv. to ta ) [x] c – chamfer [x] d – dual [x] e – expand (a.k.a. explode, equiv. to aa ) [x] g – gyro [x] i – inset/loft (equiv. to x,N ) [x] j – join (equiv. to dad ) [x] K – Quick & dirty canonicalization [x] k – kis [x] M – medial (equiv. to dta ) [x] m – meta (equiv. to k,,3j ) [x] n – needle (equiv. to dt ) [","default_branch":null,"files":null,"tree":[],"storefront":"/r/virtualritz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/virtualritz/polyhedron-ops/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}