Added a write_X3D method to domain class.

parent f2ba60b9
Pipeline #12385 passed with stage
in 5 minutes and 43 seconds
......@@ -7,7 +7,7 @@ from copy import deepcopy
class CylinderMesh(Domain):
"""
Naming convention
Naming conventionpyt
Cylinder:
Outer Cyl Inner
|-------------|-------|-------* <-Cylinder center
......@@ -22,6 +22,7 @@ class CylinderMesh(Domain):
r_outer=None, outer_dist=None, r_outer_per_r_cyl=None, n_outer_per_bsize=None,
up_len=None, up_dist=None, up_len_per_r_cyl=None, n_up_per_bsize=None,
down_len=None, down_dist=None, down_len_per_r_cyl=None, n_down_per_bsize=None,
pull_inner_cyl_arc=None, n_pull_per_n_cyl=None, inner_cyl_degree=None,
update_now=True, extrude_flag=True):
# Checking for mutually excluding arguments
......@@ -57,9 +58,9 @@ class CylinderMesh(Domain):
self._n_down_per_bsize = n_down_per_bsize
# Others
self._extrude_flag = extrude_flag
self._pull_inner_cyl_arc = 0.16
self._n_pull_per_n_cyl = 0.22
self._inner_cyl_degree = 5
self._pull_inner_cyl_arc = 0.16 if pull_inner_cyl_arc is None else pull_inner_cyl_arc
self._n_pull_per_n_cyl = 0.22 if n_pull_per_n_cyl is None else n_pull_per_n_cyl
self._inner_cyl_degree = 5 if inner_cyl_degree is None else inner_cyl_degree
self._update = True
self.verbose = False
......@@ -589,7 +590,7 @@ class CylinderMesh(Domain):
if ax is None:
ax_use.axis("equal")
def start_app(self, bsize_min=9, bsize_mult=5, debug=False):
def start_app(self, bsize_min=8, bsize_mult=5, debug=False):
import ipywidgets as ipw
import plotly.graph_objects as ply
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment