news:release_2_12

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
news:release_2_12 [2012/03/19 13:08] – announced pipe shell herrnews:release_2_12 [2019/01/29 21:46] (current) – external edit 127.0.0.1
Line 3: Line 3:
 Release date: March 19, 2012. Release date: March 19, 2012.
  
-Release 2.12 is now available on the [[download:start|Downloads]] page. Here are the most important new features+Release 2.12 is now available on the [[download:start|Downloads]] page. Below we list the most important new features In addition to that we have a number of minor additions and bug fixes.
- +
-  * new client for integer hull computation +
-  * interface to Sketch 3D/TikZ +
-  * handling of fans with non-trivial lineality space +
-  * unification of template parameters +
-  * pipe shell +
-  * multitude of minor editions and bugfixes+
  
 ==== Integer hull computation ==== ==== Integer hull computation ====
  
-Two scripts simplify the computation of the convex hull of the lattice (integer) points in a polyhedron. The script will be described in more detail in the tutorial [[tutorial:optimization|polymake and Optimization]].+Two scripts simplify the computation of the convex hull of the lattice (integer) points in a polyhedron. The script will be described in more detail in the tutorial [[user_guide:tutorials:optimization|polymake and Optimization]].
  
 ==== Interface to Sketch 3D/TikZ ==== ==== Interface to Sketch 3D/TikZ ====
 +Polymake is now able to produce and display TikZ pictures via an interface to [[http://www.frontiernet.net/~eugene.ressler/|Sketch 3D]]. Here is a simple example:
 +<code>
 +sketch(cube(3)->VISUAL);
 +sketch(cube(3)->VISUAL, File=>"cube.sk");
 +</code>
 +With the second command one can export a polytope to a sketch input file.  To get the TikZ code just call sketch.
  
 +The interface can handle most of the basic customization options like colors for facets and vertices as well as thickness, transparency, ... (see also [[user_guide:tutorials:visual_tutorial|Tutorial for Visualization]])
 +<code>
 +sketch(cube(3)->VISUAL(VertexThickness=>3, FacetColor=>"blue", FacetTransparency=>1));
 +</code>
  
 +The visual object now has three more options to customize the viewing parameters for the sketch output.
 +<code>
 +sketch(cube(3)->VISUAL(ViewPoint=>[1,2,3], ViewDirection=>[0,0,0], ViewUp=>[0,1,1]));
 +</code>
 +  * ''ViewPoint'' is the point from where one is looking at the object (Default: ''[10,11,9]'').
 +  * ''ViewDirection'' is the point to where one is looking (Default: ''[0,0,0]'').
 +  * ''ViewUp'' defines which direction should be up (Default: ''[0,1,0]'').
 +(see also [[http://www.frontiernet.net/~eugene.ressler/sketch.html#Transform-literals|Sketch 3d documentation]])
  
 ==== Fans with non-trivial lineality space ==== ==== Fans with non-trivial lineality space ====
Line 27: Line 38:
  
 ==== Pipe shell ==== ==== Pipe shell ====
 +
 +polymake can be called from the command line with the option "-" It then reads commands from stdin and writes the output to stdout.  This is just a fallback if you need to interface to polymake and cannot use the callable library.
 +
  • news/release_2_12.1332162486.txt.gz
  • Last modified: 2014/01/03 15:45
  • (external edit)