~ubuntu-branches/ubuntu/precise/fritzing/precise

« back to all changes in this revision

Viewing changes to part-gen-scripts/misc_scripts/getboardsize.py

  • Committer: Bazaar Package Importer
  • Author(s): Georges Khaznadar
  • Date: 2011-08-26 10:11:05 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110826101105-w5hmn7zcf93ig5v6
Tags: 0.6.3b-1
* upgrapded to the newer upstream version
* parameters of the function GraphicsUtils::distanceFromLine in 
  src/svg/groundplanegenerator.cpp:767 are now declared as doubles,
  which Closes: #636441
* the new version fixes src/utils/folderutils.cpp, which
  Closes: #636061

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
                    h = float(property.getAttribute("value"))
140
140
            pairs.append(w)
141
141
            pairs.append(h)
142
 
        elif id == '423120090505':           #arduino shield
 
142
        elif id == '423120090505' or id == '423120090505_2':           #arduino shield
143
143
            pairs.append(69.215)                                #width="2.725in" 
144
144
            pairs.append(53.37556)                      #height="2.1014in" 
145
145
        else: