3D Design

3D Design

import numpy and scipy in SpaceClaim script

    • pinkerthoms
      Subscriber

      Hi, 

      I'm currently working on a CST parametrization for airfoils.
      To achieve this parametrization, a python script has been written. This script uses numpy and scipy functions, and works well when it is launched on Anaconda Spyder.
      However, these modules are not available in SpaceClaim. So I try to copy/paste numpy and scipy's folders inside ANSYS one, and launch : 

         import sys   
         sys.path.append("C:Program FilesANSYS IncANSYS StudentCustomlib")
         import numpy


      But I have this error : cannot import _mklinit from numpy


      Can you help me to import them ? Or maybe is there a way to call Spyder inside SpaceClaim ?
      Thanks,

      Thomas.

    • pinkerthoms
      Subscriber

      A solution here : https://forum.ansys.com/forums/topic/script-in-spaceclaim-problem/

Viewing 1 reply thread
  • You must be logged in to reply to this topic.