geolime.objects.surface_api¶
Classes:
|
Functions:
|
Create a surface object from a csv (table) file |
|
Create a surface object from a pandas dataframe |
|
Create a surface object from a dxf file |
|
Create a surface object from a stl (cad) file |
|
Export a geolime surface object to a stl file |
-
geolime.objects.surface_api.
surface_from_csv
(csv_file: str)¶ Create a surface object from a csv (table) file
- Parameters
csv_file (str) – Csv file having x,y and z columns
- Returns
GeoLime surface object
- Return type
-
geolime.objects.surface_api.
surface_from_dataframe
(dataframe: pandas.core.frame.DataFrame)¶ Create a surface object from a pandas dataframe
- Parameters
dataframe (pd.DataFrame) – Description
- Returns
GeoLime surface object
- Return type
-
geolime.objects.surface_api.
surface_from_dxf
(dxf: str)¶ Create a surface object from a dxf file
- Parameters
dxf (str) – Dxf file from customer
- Returns
GeoLime surface object
- Return type
-
geolime.objects.surface_api.
surface_from_stl
(stl: str)¶ Create a surface object from a stl (cad) file
- Parameters
stl (str) – Stl file containing the triangulated surface
- Returns
GeoLime surface object
- Return type
-
geolime.objects.surface_api.
surface_to_stl
(surface: geolime.objects.surface.Surface, file_name: str)¶ Export a geolime surface object to a stl file
- Parameters
surface (Surface) – GeoLime surface object
file_name (str) – Output name