|Anonymous | Login||2013-12-22 12:03 UTC|
|Main | My View | View Issues | Change Log | Roadmap | Docs|
|Viewing Issue Simple Details|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0001272||[FreeCAD] Bug||minor||always||2013-10-12 18:29||2013-10-28 13:29|
|Summary||0001272: BezierCurve is not documented and not intuitive|
I'm trying to use Part.BezierCurve. There is no meaningful documentation, and the Python help isn't very helpful either. I fed it a list of vectors, thinking those would be the nodes. It was accepted (no error message) but it didn't have that effect.
I then did some setPole and insertPole operations. Those work. But the indexing is wrong for Python, it needs to count from zero, not one.
|Tags||No tags attached.|
OCC class Geom_BezierCurve expects poles to be numbered 1 to numberofpoles. Making it Pythonic would mean a lot of little changes to C++ and macro code.
Does this help at all?
'''makeBCurve(Points): Make a Part.BezierCurve Geo obj from these
c = Part.BezierCurve()
|Added an entry to "Topological data scripting"|
|It would be preferable to hide the incorrect design decisions of OCC from the Python programmer. But that little wrapper certainly helps. Thanks.|
> Those work. But the indexing is wrong for Python, it needs to count from zero, not one.
Even worse than a bad design decision is to change the semantic of the API because this breaks all existing code out there.
|2013-10-12 18:29||pkoning||New Issue|
|2013-10-15 17:35||wandererfan||Note Added: 0003748|
|2013-10-15 17:54||wandererfan||Note Added: 0003749|
|2013-10-15 19:36||pkoning||Note Added: 0003750|
|2013-10-28 13:29||wmayer||Note Added: 0003824|
|Mantis 1.1.8[^] Copyright © 2000 - 2009 Mantis Group|