<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">hmmm,<br>
I don't remember how I got the sat file.<br>
<br>
Maybe we could import the stp file again in cubit, "regularize" or something, and export again (with cubit 14, as an stp )<br>
will you see the same problems in your test?<br>
<br>
Evan, did you decipher the orientation issues/ syntax in an STP file? <br>
what websites did you find? standards, etc? What do OCC/OCE say about stp format? Is it fully supported? What do we do when we read stp with our OCC engine?
<br>
<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF368227"><font size="2" color="#000000" face="Tahoma"><b>From:</b> cgma-dev-bounces@mcs.anl.gov [cgma-dev-bounces@mcs.anl.gov] on behalf of Andrew Davis [andrewdavis.davis@gmail.com]<br>
<b>Sent:</b> Tuesday, August 25, 2015 12:06 PM<br>
<b>To:</b> cgma-dev@mcs.anl.gov<br>
<b>Subject:</b> Re: [cgma-dev] cgma-dev Digest, Vol 81, Issue 3<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hi Evan
<div><br>
</div>
<div>My assumption would be that it was converted via Cubit from the equivalent *.sat file.</div>
<div><br>
</div>
<div>Looking at git blame its from Hong-Jun Kim (stp), the sat is from Iulian. </div>
<div><br>
</div>
<div>However, the stp is older than the sat by about a year</div>
<div><br>
</div>
<div>Andy</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Aug 25, 2015 at 12:00 PM, <span dir="ltr"><<a href="mailto:cgma-dev-request@mcs.anl.gov" target="_blank">cgma-dev-request@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Send cgma-dev mailing list submissions to<br>
<a href="mailto:cgma-dev@mcs.anl.gov" target="_blank">cgma-dev@mcs.anl.gov</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/cgma-dev" rel="noreferrer" target="_blank">
https://lists.mcs.anl.gov/mailman/listinfo/cgma-dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:cgma-dev-request@mcs.anl.gov" target="_blank">cgma-dev-request@mcs.anl.gov</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:cgma-dev-owner@mcs.anl.gov" target="_blank">cgma-dev-owner@mcs.anl.gov</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of cgma-dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. CGM brick orientation test (Vander Zee, Evan B.)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 25 Aug 2015 16:54:28 +0000<br>
From: "Vander Zee, Evan B." <<a href="mailto:vanderzee@anl.gov" target="_blank">vanderzee@anl.gov</a>><br>
To: "Jain, Rajeev" <<a href="mailto:jain@mcs.anl.gov" target="_blank">jain@mcs.anl.gov</a>><br>
Cc: "<a href="mailto:cgma-dev@mcs.anl.gov" target="_blank">cgma-dev@mcs.anl.gov</a>" <<a href="mailto:cgma-dev@mcs.anl.gov" target="_blank">cgma-dev@mcs.anl.gov</a>><br>
Subject: [cgma-dev] CGM brick orientation test<br>
Message-ID: <<a href="mailto:553D5F34658FB846ACEA00D6140EAC6897ADB09F@PAYTON.anl.gov" target="_blank">553D5F34658FB846ACEA00D6140EAC6897ADB09F@PAYTON.anl.gov</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Do you know the source of the file itaps/brick_2.stp in the CGM repository? It looks to me like the edges in the file have improper edge orientations.<br>
<br>
I have some local changes to CGM that, I thought, fix the face-to-volume sense bug. I am testing the changes in various ways and learning more about OCC and CGM. This version of itaps/brick_2.stp has been used by the test_edge_orient test in the itaps directory.
I disabled the test previously in my edgeFaceSense branch when I fixed an edge-to-face orientation problem. I am working on rewriting the test now so that it properly tests the face-to-volume sense and the edge-to-face sense for both OCC and ACIS.<br>
<br>
I have the face-to-volume part of the test working fine for OCC now, but my revised edge orientation part of the test is failing. This part of the test tests edge orientation after reading the itaps/brick_2.stp file. When I create a 2 x 2 x 2 brick using
iGeom_createBrick rather than reading the brick from file, my revised edge orientation part of the test passes. If I save that brick to a file, then I can also read the file I've saved, and the edge orientation part of the test passes.<br>
<br>
I looked at the brick_2.stp file and my human-readable interpretation is that the edge orientations are encoded incorrectly. I think I could correct it by hand within the file by changing the orientation of some of the oriented edges at entities 106 through
144. I want to know whether it's okay to do that or the STEP file came from some source outside of CGM that we need to be able to support. The brick that CGM writes out after iGeom_createBrick is represented quite differently from the way the one in itaps/brick_2.stp
is represented.<br>
<br>
It would help me if I could get a reference for the geometric STEP entities. I have pieced together a few things through Internet searches, but I have not been able to find good reference documentation for the parts of STEP that are used by CGM. Do you know
of any?<br>
<br>
-Evan<br>
<a href="mailto:vanderzee@anl.gov" target="_blank">vanderzee@anl.gov</a><br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
cgma-dev mailing list<br>
<a href="mailto:cgma-dev@mcs.anl.gov" target="_blank">cgma-dev@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/cgma-dev" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/cgma-dev</a><br>
<br>
<br>
End of cgma-dev Digest, Vol 81, Issue 3<br>
***************************************<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>