Closed jmwright closed 9 years ago
Hmmm.. Well that doesn't seem right... On Oct 16, 2014 11:07 PM, "Jeremy Wright" notifications@github.com wrote:
The toWorldCoords documentation says that it returns a 3 tuple, but when I print what's returned I see that it's a Vector and FreeCAD complains that it's a Vector, not a Base.Vector.
— Reply to this email directly or view it on GitHub https://github.com/dcowden/cadquery/issues/42.
The source code for Plane.toWorldCoords() in cadquery/freecad_impl/geom.py has the following line.
return Vector(self.rG.multiply(v.wrapped))
I'm thinking I should just go in and fix the doc string. I'll do that unless there's an objection.
No objection... On Oct 22, 2014 11:16 PM, "Jeremy Wright" notifications@github.com wrote:
The source code for Plane.toWorldCoords() in cadquery/freecad_impl/geom.py has the following line.
return Vector(self.rG.multiply(v.wrapped))
I'm thinking I should just go in and fix the doc string. I'll do that unless there's an objection.
— Reply to this email directly or view it on GitHub https://github.com/dcowden/cadquery/issues/42#issuecomment-60187714.
This is addressed in pull request #44
This has been merged from pull request #44
The toWorldCoords documentation says that it returns a 3 tuple, but when I print what's returned I see that it's a Vector and FreeCAD complains that it's a Vector, not a Base.Vector.
http://parametricparts.com/docs/classreference.html?highlight=toworldcoords#cadfile.cadutils.cadquery.Plane.toWorldCoords