You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ArgumentError: Python argument types in
Tapered.init(Tapered, int, int, Sphere)
did not match C++ signature: init(_object*, double baseRadius=0.5, double topRadius=0.5, PGL::RefCountPtrPGL::Primitive primitive=None)
The text was updated successfully, but these errors were encountered:
As the title say. When creating a Tapered from the geometry from a Shape, there's an argument error. But the types are correct...
In [9]: from openalea.plantgl.all import *
In [10]: s = Sphere()
In [11]: t = Tapered(1,1,s)
In [12]: m = Material(Color3(127,72,0))
In [13]: f = Shape(s,m)
In [14]: t2 = Tapered(1,1,f.geometry)
ArgumentError Traceback (most recent call last)
in
----> 1 t2 = Tapered(1,1,f.geometry)
ArgumentError: Python argument types in
Tapered.init(Tapered, int, int, Sphere)
did not match C++ signature:
init(_object*, double baseRadius=0.5, double topRadius=0.5, PGL::RefCountPtrPGL::Primitive primitive=None)
The text was updated successfully, but these errors were encountered: