cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Wrong number of outward surfaces for cube

nbojcetic
10-Marble

Wrong number of outward surfaces for cube

Hi,

I stumble on one strange thing in CREO. I don't know if this info is correct or I am missing something. I created single cube in CREO and Visual Basic application to extract data about the cube surfaces. One information was, in my opinion wrong, that is the number of outward and inward oriented surfaces. In VB help is stated the following:

EpfcSURFACEORIENT_OUTWARD Surface oriented outward away from the solid model. du X dv points outward.

EpfcSURFACEORIENT_INWARD Surface oriented inward toward the solid model. du X dv points inward.

I collected all the surfaces and I got their orientations (code snipet):

Dim aSurf As IpfcSurface

aSurf = CType(aFeat, IpfcSurface)

Dim surfDescr As IpfcSurfaceDescriptor

surfDescr = aSurf.GetSurfaceDescriptor

Dim surfOrient As EpfcSurfaceOrientation

surfOrient = surfDescr.Orientation

I was expecting 6 OUTWARD surfaces and 0 INWARD, but what I got was 5 OUTWARD and 1 INWARD. Does anybody knows why is this happening and is this correct.

Thanks!

0 REPLIES 0
Top Tags