Python class-names != names in reference

Bug #647972 reported by Jan Brohl
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description


You cannot import the classes in the python reference by their names from there.
There is not even a hint in the class-docs nor a fast-to-find mapping table translating (python)reference<->python.

I found the mapping of c++-class-names (also used in python reference) to python names in "interfaceMakerPythonNative.cxx".

Loader -> PandaLoader
string -> CString
LMatrix4f -> Mat4
LMatrix3f -> Mat3
LVecBase4f -> VBase4
LVector4f -> Vec4
LPoint4f -> Point4
LVecBase3f -> VBase3
LVector3f -> Vec3
LPoint3f -> Point3
LVecBase2f -> VBase2
LVector2f -> Vec2
LPoint2f -> Point2
LQuaternionf -> Quat
LMatrix4d -> Mat4D
LMatrix3d -> Mat3D
LVecBase4d -> VBase4D
LVector4d -> Vec4D
LPoint4d -> Point4D
LVecBase3d -> VBase3D
LVector3d -> Vec3D
LPoint3d -> Point3D
LVecBase2d -> VBase2D
LVector2d -> Vec2D
LPoint2d -> Point2D
LQuaterniond -> QuatD
Plane -> PlaneBase
Planef -> Plane
Planed -> PlaneD
Frustum -> FrustumBase
Frustumf -> Frustum
Frustumd -> FrustumD

Revision history for this message
Jan Brohl (janbrohl) wrote :
rdb (rdb)
Changed in panda3d:
status: New → Triaged
milestone: none → 1.7.1
assignee: nobody → rdb (rdb)
importance: Undecided → Medium
rdb (rdb)
Changed in panda3d:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers