Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
375 changes: 1 addition & 374 deletions LoopStructural/export/exporters.py

Large diffs are not rendered by default.

32 changes: 0 additions & 32 deletions LoopStructural/export/gocad.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,35 +235,3 @@ def _write_feat_surfs_gocad(surf, file_name):
fd.write(f"TRGL {v_map[face[0]]} {v_map[face[1]]} {v_map[face[2]]} \n")
fd.write("END\n")
return True


# def _write_pointset(points, file_name):
# """
# Write out a GOCAD VS file for a pointset

# Parameters
# ----------
# points: SimpleNamespace()
# Details of the points, as a SimpleNamespace() object. Fields are:
# locations: locations, numpy ndarray with dtype = float64 & shape = (N,3)
# vectors: vectors, numpy ndarray with dtype = float64 & shape = (N,3)
# name: name of feature e.g. fault or supergroup, string

# file_name: string
# Desired filename

# Returns
# -------
# True if successful

# """
# file_name = Path(file_name).with_suffix(".vs")
# with open(f"{file_name}", "w") as fd:
# fd.write(
# f"""GOCAD VSet 1
# HEADER {{
# name: {points.name}
# }}
# GOCAD_ORIGINAL_COORDINATE_SYSTEM
# NAME Default
# PROJECTION Unknown
149 changes: 0 additions & 149 deletions LoopStructural/interpolators/_builders.py

This file was deleted.

Loading
Loading