Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Multimedia > Graphics

    img2scad 0.3

    Download button

    No screenshots available
    Downloads: 235  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Victor Engmark | More programs
    GPL v3 / FREE
    October 21st, 2010, 01:32 GMT
    ROOT / Multimedia / Graphics

     Read user reviews (0)  Refer to a friend  Subscribe

    img2scad description

    Image to OpenSCAD converter

    img2scad is a Python utility to convert images to OpenSCAD structures.

    Default syntax:

    img2scad [-b|--base=N] [-l|--log] < input_file

    For each pixel in the input, it will create a cube in the output. The height of the cube corresponds to the whiteness of the corresponding pixel.

    If -b or --base is specified, all values will be shifted by that value. This can be positive or negative. This can be used to output zero values.

    If -l or --log is specified, the logarithm of the grey values will be used for the output.

    Examples:


    img2scad < example.png > example.scad
     Convert example.png to example.scad.
    img2scad -b 1 < example.png > example.scad
     Convert example.png to example.scad, with a "bedrock" of height 1.
    img2scad -b 2 -l < example.png > example.scad
     Convert example.png to example.scad, taking the logarithm for the height and preserving the black pixels.


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    image converter | OpenSCAD converter | image | OpenSCAD | converter

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM