Code: Select all
Part.Line()
l.StartPoint=(0.0,0.0,0.0)
l.EndPoint=(1.0,1.0,1.0)
Code: Select all
>>>
>>> l=Part.Line()
>>> l.StartPoint=(0.0,0.0,0.0)
Traceback (most recent call last):
File "<input>", line 1, in <module>
AttributeError: 'Part.Line' object has no attribute 'StartPoint'
>>> l.EndPoint=(1.0,1.0,1.0)
Traceback (most recent call last):
File "<input>", line 1, in <module>
AttributeError: 'Part.Line' object has no attribute 'EndPoint'
>>>
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11478 (Git)
Build type: Debug
Branch: master
Hash: c806e4529e54b93cb22b1ed096c1d8cb37aa00ff
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.0.0