Git Product home page Git Product logo

polymap's Introduction

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.)

    

polymap's People

Contributors

brainsmoke avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.