generalize component-finding code, and rewrite boundary representation to use find_components and find_faces
This commit is contained in:
parent
df913ee4ac
commit
cc64f55c90
1 changed files with 47 additions and 83 deletions
|
|
@ -498,9 +498,9 @@ def test_poly_pyramid():
|
|||
pyr3d.is_good(opoly)
|
||||
stack_split(opoly)
|
||||
|
||||
brep = pyr3d.init_brep(opoly)
|
||||
brep = pyr3d.into_boundary(opoly)
|
||||
logger.debug(f'Round-trip converted pyramid: {brep}')
|
||||
# plot_brep(brep)
|
||||
#plot_brep(brep)
|
||||
|
||||
|
||||
def plot_brep(brep):
|
||||
|
|
@ -586,9 +586,9 @@ def test_torus_load_and_chop():
|
|||
# pyr3d.is_good(opoly)
|
||||
stack_split(opoly)
|
||||
|
||||
brep = pyr3d.init_brep(opoly)
|
||||
brep = pyr3d.into_boundary(opoly)
|
||||
logger.debug(f'Round-trip converted torus: {brep}')
|
||||
# plot_brep(brep)
|
||||
#plot_brep(brep)
|
||||
|
||||
|
||||
choptions_3d = [thru_cent_3d, thru_face_3d,
|
||||
|
|
|
|||
Loading…
Reference in a new issue