Loop3D / LoopStructural

LoopStructural is an open-source 3D structural geological modelling library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] ImportError: cannot import name 'strike_dip_vector' from 'LoopStructural.utils.helper'

Keven-Gao opened this issue · comments

Hello, while conducting the finite fault example code, I encountered an error when trying to import the 'strike_dip_vector' function. I have checked all the files but cannot seem to find this function. Has the function name or its location been changed?
image

Hi @Keven-Gao, the function has changed names. If you replace line 4 with the following it should work.

from LoopStructural.utils import strikedip2vector as strike_dip_vector