?? 2004-january.txt
字號:
From Mohamed_heshmat at hotmail.com Sat Jan 3 02:51:31 2004From: Mohamed_heshmat at hotmail.com (Mohamed heshmat)Date: Fri Jan 2 19:53:06 2004Subject: [Acis-alliance] help( with acis"Message-ID: <BAY7-DAV42FZmImFpos0001f8b2@hotmail.com>I used acis 6.3 with vc++ 6 and I want save my file, The was saves with 0 byte, without any datawhat I must do?-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040103/e6df2cc0/attachment.htmFrom tvn at cs.unc.edu Sat Jan 3 19:05:59 2004From: tvn at cs.unc.edu (sriram)Date: Sat Jan 3 19:06:06 2004Subject: [Acis-alliance] Urgent: Generating solids from triangular meshMessage-ID: <007601c3d256$88ffc5f0$238e0298@cs.unc.edu>I am new to ACIS and thus this might be a very basic question.I have models (say of a bunny, dragon etc) as a triangular mesh,i.e the outer surface is given in a file as:<coordinates of vertex 1><coordinates of vertex 2>....<coordinates of vertex n><i11 i12 i13><i21 i22 i23>...<im1 im2 im3>where <ij1 ij2 ij3> are the indices of the three vertices for the jth triangle.Given this I want to generate ACIS-solids for this model (so that I can perform Booleans on them).I have two questions:1. Can this be done?2. If so, is there a simple way of doing this using scheme/C++?3. Is it possible to perform booleans on these models (given initially as meshes) without going through the process of making a solid.I am currently lost and any help will be highly appreciated.Thanks,SriRam-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040103/aa1862b7/attachment.htmFrom lxg at jlu.edu.cn Tue Jan 6 10:05:25 2004From: lxg at jlu.edu.cn (Liu zhiguo)Date: Mon Jan 5 21:12:35 2004Subject: [Acis-alliance] How to use HealingMessage-ID: <7772C66A931.AAA2C12@mail.jlu.edu.cn>Hi everybody, Who knows how to use healing of ACIS? I use acis R12 MFC. I have read the help on autoheal of acis, but api_hh_auto_heal does not work well when I use it in my MFC application. Who can tell me whether my step is right:1. Read SAT file2. combine all the faces to a single body3. initialize healing4. autoheal: api_hh_auto_heal(body)5. terminate healingDoes it right? Who has some samples of healing to share with me? Thank you very much.Liu zhiguo2004-1-6From jr8b8 at umr.edu Thu Jan 8 22:54:09 2004From: jr8b8 at umr.edu (Jayanth)Date: Thu Jan 8 23:51:58 2004Subject: [Acis-alliance] HOOPS and ACIS integrationMessage-ID: <3FFE33F1.000003.05496@pita.isc.umr.edu>Skipped content of type multipart/alternative-------------- next part --------------A non-text attachment was scrubbed...Name: not availableType: image/gifSize: 390 bytesDesc: not availableUrl : http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040108/ae741677/attachment.gif-------------- next part --------------A non-text attachment was scrubbed...Name: not availableType: image/gifSize: 401 bytesDesc: not availableUrl : http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040108/ae741677/attachment-0001.gif-------------- next part --------------A non-text attachment was scrubbed...Name: not availableType: image/gifSize: 140 bytesDesc: not availableUrl : http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040108/ae741677/attachment-0002.gif-------------- next part --------------A non-text attachment was scrubbed...Name: not availableType: image/gifSize: 198 bytesDesc: not availableUrl : http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040108/ae741677/attachment-0003.gif-------------- next part --------------A non-text attachment was scrubbed...Name: not availableType: image/gifSize: 494 bytesDesc: not availableUrl : http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040108/ae741677/attachment-0004.gif-------------- next part --------------A non-text attachment was scrubbed...Name: not availableType: image/jpegSize: 1431 bytesDesc: not availableUrl : http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040108/ae741677/attachment.jpgFrom lxg at jlu.edu.cn Sat Jan 10 09:21:35 2004From: lxg at jlu.edu.cn (Liu zhiguo)Date: Fri Jan 9 20:28:30 2004Subject: [Acis-alliance] Help on counting edgesMessage-ID: <7772C7F9FB0.AAA1422@mail.jlu.edu.cn>Hi everybody of acis-alliance, After Healing, my SAT file has changed: there is no gaps between edges, the topology has become better.But when I want to get the number of edges by using the following function, I can not get the correct number of edges. Some edges are losed when saving. But if I do not use if(ce->sense()==FORWARD) , the number will become larger, lots of edges are numbered many times. I really can not find any errors in the program, and this is the example of ACIS book. Can anybody find anything wrong? In attach file , for yang.txt is my program, result.doc is the picture of result. My ACIS is R12. I am eager to receive any information from you, thank you very much.with regards,liu zhiguo2004-1-10 //-------------------------------------------------------void get_edges(ENTITY_LIST& edge_list,LOOP *lp){ COEDGE *ce=lp->start(); do{ if(ce->sense()==FORWARD) edge_list.add(ce->edge()); ce=ce->next(); }while(ce!=lp->start());}void get_edges_main(ENTITY_LIST& edge_list,BODY *bod){ FACE*ff=bod->lump()->shell()->face_list(); while(ff!=NULL) { for(LOOP *lp=ff->loop();lp!=NULL;lp=lp->next()) { get_edges(edge_list,lp); } ff=ff->next_in_list(); }}-------------- next part --------------A non-text attachment was scrubbed...Name: attach file.rarType: application/octet-streamSize: 142235 bytesDesc: not availableUrl : http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040110/0c49a6dd/attachfile-0001.obj-------------- next part --------------A non-text attachment was scrubbed...Name: for yang.TXTType: application/octet-streamSize: 1395 bytesDesc: not availableUrl : http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040110/0c49a6dd/foryang-0001.objFrom alames at sandia.gov Mon Jan 12 09:41:41 2004From: alames at sandia.gov (Ames, Arlo)Date: Mon Jan 12 11:42:19 2004Subject: [Acis-alliance] RE: mail from Liu zhiguoMessage-ID: <03781128C7B74B4DBC27C55859C9D738113946CC@es06snlnt.sandia.gov>EDGEs are shared by COEDGEs. Any given edge can, and will, be used multipletimes for a closed solid. For a simple, manifold solid, every edge will beused precisely twice, once with ce->sense()==FORWARD, and once withce->sense()==REVERSED. For a nonmanifold solid, an edge can be used morethan twice, with multiple cases each of FORWARD and REVERSED. There are avariety of approaches to finding a list of edges, each occurring once:0. There may be an api function for collecting edges. Some such werewritten at some time in the past. My habits were ingrained long before suchwere written. If such api function exists, it would rely on functionalitylisted below. If you don't care how it works, seek the api function. Idon't know whether it exists or what it's called, again due to historicalreasons.1. Each EDGE has a coedge() member. If the edge backpointers are correctlyset, you can ask if(ce->edge()->coedge()==ce) to determine whether thisreference to the EDGE is the unique reference to edge you are looking for(as long as the coedge_ptr member of EDGE doesn't change).2. Each EDGE can be labelled with an attribute as you visit it. As youcome upon each EDGE, you check for the presence of your attribute, and ifit's not there, go ahead and do what you want to the EDGE, but make sureyou've attached an attribute before going on to the next EDGE. I've writtencustom attributes, or used ACIS pre-defined attributes, for this purpose.This also works fine, but requires you to clean up afterward and usesmemory. It does have the advantage that the edge->coedge pointers can bemodified on the fly, so permits you to do some graph surgery on the modelwhile you traverse it.3. ENTITY_LIST has historically been a SET, not a LIST. ENTITY_LIST.addshould only add the EDGE to the list if it's not already present -- youshould only be seeing the unique instances, without requiring any checkingof (unless ENTITY_LIST has been changed in R12 in a way that I'm not awareof; I'm not completely up on R12 for all my apps yet). I don't understandyour concern, unless ENTITY_LIST does something funny.I need some clarification on your complaint about EDGEs being "numbered manytimes". Do you have multiple, distinct edges at a given geometric location,or do you have multiple copies of the same pointer showing up?Arlo Amesalames@sandia.gov-----Original Message-----From: liu zhiguo [mailto:lzguo@jlu.edu.cn]Sent: Friday, January 09, 2004 6:13 PMSubject: mail from Liu zhiguoDear Ames, Thank you for your reply, I have found the error code in my healingprogram. But now I have another question: After Healing, my SAT file has changed: there is no gaps between edges,the topology has become better.But when I want to get the number of edges byusing the following function, I can not get the correct number of edges.Some edges are losed when saving. But if I do not useif(ce->sense()==FORWARD) , the number will become larger, lots of edges arenumbered many times. I really can not find any errors in the program, andthis is the example of ACIS book. Can you find anything wrong? In attachfile , for yang.txt is my program, result.doc is the picture of result. MyACIS is R12. I am eager to receive any information from you, thank you very much.with regards,liu zhiguo2004-1-10 //-------------------------------------------------------void get_edges(ENTITY_LIST& edge_list,LOOP *lp){ COEDGE *ce=lp->start(); do{ if(ce->sense()==FORWARD) edge_list.add(ce->edge()); ce=ce->next(); }while(ce!=lp->start());}void get_edges_main(ENTITY_LIST& edge_list,BODY *bod){ FACE*ff=bod->lump()->shell()->face_list(); while(ff!=NULL) { for(LOOP *lp=ff->loop();lp!=NULL;lp=lp->next()) { get_edges(edge_list,lp); } ff=ff->next_in_list(); }}From chs at sphericalmatrix.com Sun Jan 18 00:16:51 2004From: chs at sphericalmatrix.com (chs_)Date: Sat Jan 17 08:17:13 2004Subject: [Acis-alliance] api_save_entity_listMessage-ID: <01da01c3dcfc$2cfb1e70$7001a8c0@industrylaptop>I am using VC++ .NET.The api_save_entity_list fails at runtime for an unknown reason (using r12 sp3).any suggestions please?-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040118/fbd133c6/attachment.htmFrom muthler at bv.tum.de Sat Jan 17 19:26:24 2004From: muthler at bv.tum.de (Alexander Muthler)Date: Sat Jan 17 13:26:34 2004Subject: [Acis-alliance] api_save_entity_listIn-Reply-To: <01da01c3dcfc$2cfb1e70$7001a8c0@industrylaptop>Message-ID: <000701c3dd27$69fb8460$a22cbb81@inf.bauwesen.tumuenchen.de>Hi, possibilities:- Maybe you have linked the wrong libraries. Check your compiler
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -