Add a crystal-cutter tool using an intersection of filtering/cutting halfspaces.
Opened this issue · 1 comments
Especially for diamond/silicon lattices.
It'd work something like so:
– pick one of the main crystallographic directions [111], [110], [100] (from jig)
– drag a cutting plane that snaps onto hole numbered positions
– repeat with cutting planes in other directions till a finite volume results
– fill the volume atomistically
– (for the [100] faces add the needed reconstruction; some nontrivial atom relocations of surface atoms needed for this)
Display the intersection lines between the cutter plane eventzally forming a full polyheron.
Perhaps also display the intersection points of these lines with xy, yz, and zx equispaced plane-sets so one can now how many unit cells one will get in advance before anatomist filling.
A bit more tricky with hexagonal lattices.
The [110] surfaces are kinda turned 60° on the other side. I.e. the
https://en.wikipedia.org/wiki/Trapezo-rhombic_dodecahedron
(for hex diamond cutting faces) is the hexagonal hcp analog of the
cubic closed packed ccp (== face centered cubic fcc)
https://en.wikipedia.org/wiki/Rhombic_dodecahedron
(for cubic diamond cutting faces).
Maybe some other lattices could be supported too eventually.
Priority: low
Labels: feature-request
Thank you for the idea, adding to our backlog