~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to src/Mod/Part/MakeBottle.py

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2010-01-11 08:48:33 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100111084833-4g9vgdqbkw8u34zb
Tags: 0.9.2646.5-1
* New upstream version (closes: #561696).
* Added swig to Build-Depends (closes: #563523, #563772).
* Removed python-opencv from Build-Depends and Recommends (closes: #560768).

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
        aTrsf=Base.Matrix()
48
48
        aTrsf.rotateZ(math.pi) # rotate around the z-axis
49
49
 
50
 
        aMirroredWire=aWire.transform(aTrsf)
 
50
        aMirroredWire=aWire.transformGeometry(aTrsf)
51
51
        myWireProfile=Part.Wire([aWire,aMirroredWire])
52
52
        
53
53
        myFaceProfile=Part.Face(myWireProfile)