3615pipou / polymap Goto Github PK
View Code? Open in Web Editor NEWThis project forked from brainsmoke/polymap
Generate laser cuttable polyhedrons with globe projections on them
Home Page: https://wiki.techinc.nl/index.php/Polyhedron_maps
This project forked from brainsmoke/polymap
Generate laser cuttable polyhedrons with globe projections on them
Home Page: https://wiki.techinc.nl/index.php/Polyhedron_maps
usage: polymap.py [-h] [--type {T,O,C,D,I,tT,tC,bC,tO,tD,bD,tI,aC,aD,eC,eD,sC,sD,kT,kO,mC,kC,kI,mD,kD,jC,jD,oC,oD,gC,gD}] [--map {earth}] [--radius RADIUS] [--thickness THICKNESS] [--overhang OVERHANG] [--overcut OVERCUT] [--padding PADDING] [--sheetwidth SHEETWIDTH] [--cutwidth CUTWIDTH] [--flip] [--invert] [--nonumbers] [--noengraving] [--centerdot] filename positional arguments: filename output svg optional arguments: -h, --help show this help message and exit --type {T,O,C,D,I,tT,tC,bC,tO,tD,bD,tI,aC,aD,eC,eD,sC,sD,kT,kO,mC,kC,kI,mD,kD,jC,jD,oC,oD,gC,gD} solid type (Conway name) --map {earth} map engraving --radius RADIUS polyhedron's radius (mm) (default: 100) --thickness THICKNESS material thickness (mm) (default: 3.) --overhang OVERHANG overhang of notches (mm) (default: .3) --overcut OVERCUT overcut in corners to account for cutting width (mm) (default: 0) --padding PADDING padding between faces (mm) (default: 3.) --sheetwidth SHEETWIDTH maximum sheet width (mm) (default: 550) --cutwidth CUTWIDTH cutting width of laser(mm) (default: .15) --flip engrave on the backside --invert engrave seas instead of landmass --nonumbers do not plot number hints --noengraving do not plot world map --centerdot plot a center dot Supported solids: T: Tetrahedron (???) O: Octahedron (???) C: Cube (???) D: Dodecahedron I: Icosahedron tT: Truncated tetrahedron (???) tC: Truncated cube (???) bC: Truncated cuboctahedron tO: Truncated octahedron (???) tD: Truncated dodecahedron bD: Truncated icosidodecahedron tI: Truncated icosahedron aC: Cuboctahedron (???) aD: Icosidodecahedron eC: Rhombicuboctahedron eD: Rhombicosidodecahedron sC: Snub cube sD: Snub dodecahedron kT: Triakis tetrahedron kO: Triakis octahedron mC: Disdyakis dodecahedron kC: Tetrakis hexahedron kI: Triakis icosahedron mD: Disdyakis triacontahedron kD: Pentakis dodecahedron jC: Rhombic dodecahedron jD: Rhombic triacontahedron oC: Deltoidal icositetrahedron oD: Deltoidal hexecontahedron gC: Pentagonal icositetrahedron gD: Pentagonal hexecontahedron Errata: - Solids marked ??? may have too steep dihedral angles (different notches are required) - this script invokes inkscape to do a boolean path intersection operation this seems to fail for the tC solid (Europe's missing.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.