MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #24618 All Revisions ] Back to Issue ]
Summary 0024618: Embedding vertex in BOP depends on the order of arguments
Revision 2014-02-13 14:11 by pkv
Steps To Reproduce # Load all commands
pload ALL
# Create a cylindrical face
cylinder c1 20
trimv c1 c1 0 50
mkface c1 c1
# Create a vertex
vertex v1 0 20 25
# Build partition
bclearobjects; bcleartools
baddobjects c1 v1 (or baddobjects v1 c1 - in this case the vertex is not embedded)
bfillds
bbuild r
# Explode the result compound
explode r
# Check number of shapes
nbshapes r_1
nbshapes r_2

Use the following commands to reproduce the problem:
#
cylinder c1 20
trimv c1 c1 0 50
mkface c1 c1
vertex v1 0 20 25

bclearobjects; bcleartools
baddobjects v1 c1

bfillds
bbuild r

explode r f

nbshapes r_1

# the result is:
Number of shapes in r_1
 VERTEX : 2
 EDGE : 3
 WIRE : 1
 FACE : 1
 SHELL : 0
 SOLID : 0
 COMPSOLID : 0
 COMPOUND : 0
 SHAPE : 7

# but it should be:
Number of shapes in r_1
 VERTEX : 3
 EDGE : 3
 WIRE : 1
 FACE : 1
 SHELL : 0
 SOLID : 0
 COMPSOLID : 0
 COMPOUND : 0
 SHAPE : 8
Revision 2014-02-12 08:29 by szv
Steps To Reproduce # Load all commands
pload ALL
# Create a cylindrical face
cylinder c1 20
trimv c1 c1 0 50
mkface c1 c1
# Create a vertex
vertex v1 0 20 25
# Build partition
bclearobjects; bcleartools
baddobjects c1 v1 (or baddobjects v1 c1 - in this case the vertex is not embedded)
bfillds
bbuild r
# Explode the result compound
explode r
# Check number of shapes
nbshapes r_1
nbshapes r_2


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker