antiprism_addons-0.1

Up    Next
Antiprism Addons

inscribe.py - Inscribe one OFF model inside another OFF model

Usage    |    Examples    |    Notes

Usage


usage: inscribe.py [-h] [-e {V,E,F}] [-n ELEMNUM1] [-E {V,E,F}] [-N ELEMNUM2]
                   [-v]
                   model1 model2

This program sets the radius of model2's face, edge, or vertex given by
element number, to that of model1's face, edge, or vertex given by its
element number.

Model 2 is resized and combined with model 1. The original model1 and model2
are not changed.

Written by Roger Kaufman <polyhedrasmith@gmail.com>

positional arguments:
  model1                off file
  model2                off file

options:
  -h, --help            show this help message and exit
  -e {V,E,F}, --elemtype1 {V,E,F}
                        element type of model1
  -n ELEMNUM1, --elemnum1 ELEMNUM1
                        element number of model1 (default: 0)
  -E {V,E,F}, --elemtype2 {V,E,F}
                        element type of model2
  -N ELEMNUM2, --elemnum2 ELEMNUM2
                        element number of model2 (default: 0)
  -v, --verbose         output calculated values

Examples

Inscribe an octahedron by vertices inside an icosahedron by edges
inscribe.py octahedron icosahedron -e V -n 0 -E E -N 0 | antiview -x f


Notes

inscribe was developed by Roger Kaufman.

Up: Programs and Documentation
Next: kaufman.py - Make a convex hull of a base model merged with it's canonical reciprocal