Closed jonnymaserati closed 3 years ago
Added a connect_points
function to connector.py
. The pictured well was generated from the four Cartesian coordinates using the code below.
import welleng as we
carts = [
[0., 0., 0.],
[0., 0., 300.],
[0., 1000., 1000.],
[-1000, -1000, 2000]
]
survey = we.connector.connect_points(
carts,
vec_start=[0,0,1],
dls_design=3.0,
nev=True,
step=30,
md_start=0.
)
mesh = we.mesh.WellMesh(
survey,
method='circle'
).mesh
we.visual.plot(mesh, points=carts)
This has been pushed to dev
and I'll push a new main
version.
I don't think I have an explicit function for converting an XYZ input survey to DIA yet, so will add this in the
survey.py
module.