AW: Re: [Qgis-user] CAD functions plugin

Ziegler Stefan Stefan.Ziegler at bd.so.ch
Mon Jan 4 13:18:39 PST 2010


Hi John
 
I even have a Mac at home but never tried it... Will have a look.
 
regards
Stefan

   -----Ursprüngliche Nachricht-----
   Von: John C. Tull [mailto:john.tull at wildnevada.org]
   Gesendet am: Montag, 4. Januar 2010 05:40
   An: Ziegler Stefan
   Cc: qgis-user
   Betreff: Re: [Qgis-user] CAD functions plugin
   

   Hi Stefan, 

   I tried your plugin this evening on my OS X system. I was most
   interested in the orthogonal editing feature. Based on the
   instructions, I used the control key as a modifier to draw my
   polygon. This did not work. Instead, it appears that the command key
   is the correct modifier on Mac systems; it seemed to work correctly
   using that. Here is the error produced from the control key:

   An error has occured while executing Python code:
   
   Traceback (most recent call last):
     File
   "/Users/jctull/.qgis//python/plugins/cadtools/orthogonaltool.py",
   line 63, in canvasPressEvent
       self.createFeature()
     File
   "/Users/jctull/.qgis//python/plugins/cadtools/orthogonaltool.py",
   line 98, in createFeature
       f.setGeometry(g)
   TypeError: argument 1 of QgsFeature.setGeometry() has an invalid type
   
   Python version:
   2.6.1 (r261:67515, Jul  7 2009, 23:51:51) 
   [GCC 4.2.1 (Apple Inc. build 5646)]
   
   Python path:
   ['/Applications/qgis1.5.0.app/Contents/MacOS/share/qgis/python',
   '/Users/jctull/.qgis//python', '/Users/jctull/.qgis//python/plugins',
   '/Applications/qgis1.5.0.app/Contents/MacOS/share/qgis/python/plugins
   ', '/Library/Frameworks/SQLite3.framework/Versions/3/Python',
   '/Library/Frameworks/Mapnik.framework/Versions/Current/Python/System/
   2.6/dist-packages',
   '/Library/Frameworks/GDAL.framework/Versions/1.6/Python/site-packages
   ', '/Library/Python/2.6/site-packages/pyparsing-1.5.2-py2.6.egg',
   '/Library/Python/2.6/site-packages/scipy-0.7.1-py2.6-macosx-10.6-univ
   ersal.egg',
   '/Library/Python/2.6/site-packages/rpy2-2.0.8-py2.6-macosx-10.6-unive
   rsal.egg',
   '/Library/Python/2.6/site-packages/setuptools-0.6c11-py2.6.egg',
   '/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg',
   '/Library/Python/2.6/site-packages/macholib-1.2.1-py2.6.egg',
   '/Library/Python/2.6/site-packages/modulegraph-0.7.3-py2.6.egg',
   '/Library/Python/2.6/site-packages/OWSLib-0.3.1-py2.6.egg',
   '/Library/Python/2.6/site-packages/lxml-2.2.4-py2.6-macosx-10.6-unive
   rsal.egg', '/Library/Python/2.6/site-packages/nose-0.11.1-py2.6.egg',
   '/Library/Python/2.6/site-packages/pyamg-1.0.0-py2.6-macosx-10.6-univ
   ersal.egg',
   '/Library/Python/2.6/site-packages/numpy-1.3.0-py2.6-macosx-10.6-univ
   ersal.egg', '/Library/Frameworks/cairo.framework/Versions/1/Python',
   '/usr/local/lib/python2.6/site-packages',
   '/System/Library/Frameworks/Python.framework/Versions/Current/lib/pyt
   hon2.6/site-packages',
   '/Library/Frameworks/GDAL.framework/Versions/1.6/Python/site-packages
   ',
   '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2
   6.zip',
   '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2
   .6',
   '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2
   .6/plat-darwin',
   '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2
   .6/plat-mac',
   '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2
   .6/plat-mac/lib-scriptpackages',
   '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/
   python',
   '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2
   .6/lib-tk',
   '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2
   .6/lib-old',
   '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2
   .6/lib-dynload', '/Library/Python/2.6/site-packages',
   '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/
   python/PyObjC',
   '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/
   python/wx-2.8-mac-unicode',
   '/Applications/qgis1.5.0.app/Contents/MacOS/share/qgis/python/plugins
   /fTools/tools', '/Users/jctull/.qgis/python/plugins/GdalTools/tools',
   '/Users/jctull/Documents/John 2007/NWP/Energy
   Info/Fast_Track_Mapping/Amargosa_Farm_Road']

   Cheers,
   John

   On Jan 1, 2010, at 6:30 AM, Ziegler Stefan wrote:


      Hi

      I started working on a plugin that provides some CAD functions:

      1. Intersections of linesegments (that do not intersect)
      2. Arc Intersection
      3. Orthogonal digitizing

      Repository:  http://www.catais.org/qgis/plugins.xml
      Information:  http://www.catais.org/qgis/cadtools

      regards
      Stefan

      Mit freundlichem Gruss
      Stefan Ziegler
      Leiter Aufsicht

      Kanton Solothurn
      Bau- und Justizdepartement
      Amt für Geoinformation
      Rötistrasse 4
      4501 Solothurn
      Telefon 032 627 75 96
      Telefax 032 627 75 98
      stefan.ziegler at bd.so.ch
      http://www.so.ch

      _______________________________________________
      Qgis-user mailing list
      Qgis-user at lists.osgeo.org
      http://lists.osgeo.org/mailman/listinfo/qgis-user
      


   


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20100104/e59f9d7a/attachment.html>


More information about the Qgis-user mailing list