You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@b-butler Here's a starting point. This needs to be tested (with actual tests written) and visually inspected for a few known cases (tetrahedron ↔ tetrahedron, cube ↔ octahedron, dodecahedron ↔ icosahedron). I used the scipy.spatial.HalfspaceIntersection code (see here for docs).
Activity
b-butler commentedon Nov 14, 2019
@bdice could you flesh this out potentially for the hackathon? I agree that this would be a good feature to have.
bdice commentedon Nov 16, 2019
@b-butler Here's a starting point. This needs to be tested (with actual tests written) and visually inspected for a few known cases (tetrahedron ↔ tetrahedron, cube ↔ octahedron, dodecahedron ↔ icosahedron). I used the
scipy.spatial.HalfspaceIntersectioncode (see here for docs).Sample dual generator script
Sample dual output
Additional references:
b-butler commentedon Nov 16, 2019
@bdice thanks!