.. _geom_export:
Geometry Export
=========================================================================================
This section demonstrates the use of the S3Dlib function *save_surfgeom_to_obj* which
saves a surface object to an obj format file. The method is limited to exports of only the object's
geometry information.
As a result, the example scripts do not include any color information of the surface.
This also excludes shading and highlighting which, in general, would not be included in the
object coloration since these depend on the Matplotlib Axes3D rendering.
Included with each script example is a screen copy of the exported object rendered in
the `Blender `_ graphic software tool. Any uniform coloration of
the surface shown in these images has been applied using the *Blender* software. Since
rendering is to be done by *Blender*, these scripts do not import *Matplotlib* modules or methods.
.. toctree::
:hidden:
export/export_mp_triple.rst
.. raw:: html
Planar surface based on a function, z=f(x,y)
.. only:: html
.. image:: export/images/export_logo.png
:class: docfig
Functional Planar Surface
.. raw:: html
.. toctree::
:hidden:
export/export_knot.rst
.. raw:: html
Toroidal surface using on a geometry function
.. only:: html
.. image:: export/images/export_logo.png
:class: docfig
Functional Closed Surface
.. raw:: html
.. toctree::
:hidden:
export/export_jacksboro.rst
.. raw:: html
Surface generated using a datagrid
.. only:: html
.. image:: export/images/export_logo.png
:class: docfig
Datagrid Surface
.. raw:: html
.. toctree::
:hidden:
export/export_earth_shaded.rst
.. raw:: html
Surface based on an image geometry file
.. only:: html
.. image:: export/images/export_logo.png
:class: docfig
Geometric Mapping
.. raw:: html
.. toctree::
:hidden:
export/export_earth_land_clipped.rst
.. raw:: html
A surface with alpha clipping based on an image file
.. only:: html
.. image:: export/images/export_logo.png
:class: docfig
Clipped Geometry
.. raw:: html
.. toctree::
:hidden:
export/export_mobius.rst
.. raw:: html
A non-orientable surface
.. only:: html
.. image:: export/images/export_logo.png
:class: docfig
Mobius Strip
.. raw:: html
.. toctree::
:hidden:
export/export_klein_bottle.rst
.. raw:: html
A non-orientable surface
.. only:: html
.. image:: export/images/export_logo.png
:class: docfig
Klein Bottle
.. raw:: html
.. toctree::
:hidden:
export/export_spirals.rst
.. raw:: html
A single composite surface
.. only:: html
.. image:: export/images/export_logo.png
:class: docfig
Composite Surface
.. raw:: html
.. toctree::
:hidden:
export/export_hyperboloid.rst
.. raw:: html
A line to line filled surface
.. only:: html
.. image:: export/images/export_logo.png
:class: docfig
Parametric Line Generated Surface
.. raw:: html
.. toctree::
:hidden:
export/export_bin_surf.rst
.. raw:: html
Surface visualization in Blender of an inner and outer surface
.. only:: html
.. image:: export/images/export_logo.png
:class: docfig
Geometry: inner/outer surface
.. raw:: html
.. toctree::
:hidden:
export/export_pycube.rst
.. raw:: html
Image mapped and clipped composite surface
.. only:: html
.. image:: export/images/export_logo.png
:class: docfig
Composite of Clipped Copies
.. raw:: html
.. toctree::
:hidden:
export/export_nacl.rst
.. raw:: html
Instead of a single composite, separate objects are rendered in Blender.
.. only:: html
.. image:: export/images/export_logo.png
:class: docfig
Two Surface Object Export
.. raw:: html
.. toctree::
:hidden:
export/export_arch_solid.rst
.. raw:: html
A surface is subdivided into face sets, exported and individually colored in Blender.
.. only:: html
.. image:: export/images/export_logo.png
:class: docfig
Rhombicub octahedron
.. raw:: html
.. toctree::
:hidden:
export/export_bunny_toy.rst
.. raw:: html
Surface object constructed from an input object.
.. only:: html
.. image:: export/images/export_logo.png
:class: docfig
.. raw:: html
Bunny 3
.. raw:: html