⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 2005-august.txt

📁 acis说明文档
💻 TXT
字号:
From schmiddie78 at gmail.com  Thu Aug 11 04:36:01 2005From: schmiddie78 at gmail.com (Stefan Schmidt)Date: Thu Aug 11 04:36:22 2005Subject: [Acis-alliance] List of supported Spline surfaces types in SATIn-Reply-To: <42E78711.2060500@gmail.com>References: <42DE12D7.4010009@givemepower.de> <42DE2880.8010504@gmail.com>	<42DE36A4.4010603@sapex-alma.com> <42DF7F55.70202@gmail.com>	<42DF8DC0.5030204@sapex-alma.com> <42DFA3AA.1060406@gmail.com>	<42E78711.2060500@gmail.com>Message-ID: <42FB0DF1.1060501@gmail.com>Hi,where can I find a detailed specification on the SAT format in the documentation? More specifically I need a list of all supported subtypes of spline surfaces in SAT. Thanks.StefanFrom dan at aliroo.com  Mon Aug 22 12:39:56 2005From: dan at aliroo.com (Dan Ben-Zikry)Date: Mon Aug 22 11:42:37 2005Subject: [Acis-alliance] Help neededMessage-ID: <KJEOLOOGIONFAIMOCMKAKELHDDAA.dan@aliroo.com>Hi,I?m trying to parse a SAT file. (Using c++) and there is basic issue, whichis unclear to me.In Header of file: ?712 0 4 0?, for instance ? the number 4 should be thecount number of entities in original entities list.My goal is to verify that file contains the exact number of records and/orentities declared in header.In some example files I received, the header contains the value ?1? for thisparameter and the header is followed by few records (terminates with #).How can I trace the number of records and count it?An explanation/link/code example will be appreciated.Dan-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20050822/b1fa928b/attachment.htmlFrom dan at aliroo.com  Tue Aug 23 03:41:41 2005From: dan at aliroo.com (Dan Ben-Zikry)Date: Tue Aug 23 02:44:26 2005Subject: [Acis-alliance] Help neededMessage-ID: <KJEOLOOGIONFAIMOCMKAAELLDDAA.dan@aliroo.com>Hi,1st, 10x for your quick answer, my problem is how to make sure I have theexact number of entities?If you take a look on this file:400 0 1 07 Unknown 13 ACIS 4.0.1 NT 24 Mon Nov 30 11:41:21 1998-1 9.9999999999999995e-007 1e-010-0 body $-1 $1 $-1 $2 #-1 lump $-1 $-1 $3 $0 #-2 transform $-1 1 0 0 0 1 0 0 0 1 0 0 0 1 no_rotate no_reflect no_shear #-3 shell $-1 $-1 $-1 $4 $-1 $1 #-4 face $-1 $-1 $-1 $3 $-1 $5 forward single #-5 sphere-surface $-1 0 0 0 35 1 0 0 0 0 1 forward_v I I I I #End-of-ACIS-dataThe method is to check for each line if there was no pointer directed to itin line above?Like this one: line 6 and 7 doesn't have a pointer directed in to, it onlypoints to other node..400 0 3 07 Unknown 13 ACIS 4.0.1 NT 24 Mon Nov 30 11:41:21 1998-1 9.9999999999999995e-007 1e-010-0 body $-1 $1 $-1 $2 #-1 lump $-1 $-1 $3 $0 #-2 transform $-1 1 0 0 0 1 0 0 0 1 0 0 0 1 no_rotate no_reflect no_shear #-3 shell $-1 $-1 $-1 $4 $-1 $1 #-4 face $-1 $-1 $-1 $3 $-1 $5 forward single #-5 sphere-surface $-1 0 0 0 35 1 0 0 0 0 1 forward_v I I I I #-6 face $-1 $-1 $-1 $3 $-1 $5 forward single #-7 shell $-1 $-1 $-1 $3 $-1 #End-of-ACIS-dataDan.-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20050823/ffac3018/attachment.htmlFrom dan at aliroo.com  Tue Aug 23 06:24:23 2005From: dan at aliroo.com (Dan Ben-Zikry)Date: Tue Aug 23 05:27:06 2005Subject: [Acis-alliance] Help neededIn-Reply-To: <430AD7D8.9060005@sapex-alma.com>Message-ID: <KJEOLOOGIONFAIMOCMKAMELNDDAA.dan@aliroo.com>Hi,I was thinking implementing it with 2 sets, 1 will hold eachEntitinesCounter, second will hold pointer numbers. Result set will hold thedifference (=number of records)Attached is a SAT file I received from my client (which is difficult todebug in quick look)Can you generate for me a simple file, which have 3 records that use 2-3entities?-----Original Message-----From: Christophe BAUDIN [mailto:cbaudin@sapex-alma.com]Sent: Tuesday, August 23, 2005 10:01 AMTo: Dan Ben-ZikrySubject: Re: [Acis-alliance] Help neededHi,This file seem to be wrong or not generated by ACIS.Lets look at entities 3 and 7.The first one belong to lump 1 (the last parameter) and his first face is 4.The second has and error : 6 parameters are attempted but only 5 arespecified. Next, the first face of this shell is the entity 3 which isnot a face but a shell.One way to make your code is :#include <map>using namespace std;...map<long, bool> entites;long EntityCounter = 0;For Each Line Starting at body  entities[EntityCounter++] = false;  For Each Pointer    entities[Pointer] = true;  Next PointerNext Line....map<long, bool>::iterator i;for (i = entites.begin(); i != entites.end(); i++) {  if (i->second) {    // used entity  } else {    // unused entity  }}But keep in your mind that if you want correctly rewrite the SAT file,each of deleted unused entities shift down the number of succededentities. So you have to renumber all the pointers (previous and next).Christophe> 400 0 3 0> 7 Unknown 13 ACIS 4.0.1 NT 24 Mon Nov 30 11:41:21 1998> -1 9.9999999999999995e-007 1e-010> -0 body $-1 $1 $-1 $2 #> -1 lump $-1 $-1 $3 $0 #> -2 transform $-1 1 0 0 0 1 0 0 0 1 0 0 0 1 no_rotate no_reflect no_shear #> -3 shell $-1 $-1 $-1 $4 $-1 $1 #> -4 face $-1 $-1 $-1 $3 $-1 $5 forward single #> -5 sphere-surface $-1 0 0 0 35 1 0 0 0 0 1 forward_v I I I I #> -6 face $-1 $-1 $-1 $3 $-1 $5 forward single #> -7 shell $-1 $-1 $-1 $3 $-1 #>> End-of-ACIS-data>> Dan.-------------- next part --------------A non-text attachment was scrubbed...Name: Copy of 036962062.satType: application/octet-streamSize: 13026 bytesDesc: not availableUrl : http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20050823/a934c085/Copyof036962062-0001.objFrom iamsweeting at 163.com  Tue Aug 30 22:40:26 2005From: iamsweeting at 163.com (sweeting)Date: Tue Aug 30 22:41:16 2005Subject: [Acis-alliance] How can i show an arc in a high resolutionMessage-ID: <200508310240.j7V2ersv004055@cs.columbia.edu>hi,  I create an arc using api_curve_arc_3pt, but it is shown in several lines.Can i change some parameters to let the arc shown by more small lines and let it seem to be an arc?Thanks. 				        sweeting        iamsweeting@163.com          2005-08-31

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -