I can't find Python math functions...

   1998   1   0
User Avatar
Member
426 posts
Joined: Aug. 2015
Offline
Hi;

In Python script,I want to use math functions like tangent and …, but I can't find them.
I tried to use hou.hmath, but there is not tangent function:

http://www.sidefx.com/docs/houdini/hom/hou/hmath.html [www.sidefx.com]
Masoud Saadatmand (MSDVFX)
User Avatar
Member
2165 posts
Joined: Sept. 2015
Offline
tangent is a built in function.

It goes by 'tan".

In python shell after importing - import math

typing help(math.tan) will give user info on it.
  • Quick Links