?? 2004-september.txt
字號:
Best Regards,David2004-09-24======= 2004-09-23 12:00:00 In your letter: =======>Send Acis-alliance mailing list submissions to> acis-alliance@cs.columbia.edu>>To subscribe or unsubscribe via the World Wide Web, visit> http://lists.cs.columbia.edu/mailman/listinfo/acis-alliance>or, via email, send a message with subject or body 'help' to> acis-alliance-request@cs.columbia.edu>>You can reach the person managing the list at> acis-alliance-owner@cs.columbia.edu>>When replying, please edit your Subject line so it is more specific>than "Re: Contents of Acis-alliance digest...">>>Today's Topics:>> 1. About api_cover_wires (=?gb2312?B?ZV93d2c=?=)>>>---------------------------------------------------------------------->>Message: 1>Date: Thu, 23 Sep 2004 17:04:04 +0800 (CST)>From: "=?gb2312?B?ZV93d2c=?=" <e_wwg@163.com>>Subject: [Acis-alliance] About api_cover_wires>To: acis-alliance@cs.columbia.edu>Message-ID: <41529184.000191.13009@m252.163.com>>Content-Type: text/plain; charset="gb2312">>Hi,all> I have some ploblems when i use the api_cover_wires fuction. i tried to draw the side face of a cylinder(i read the data form a constructed model and i want to reconstruct it myself):> First i draw all the edge of the top and bottom loop(both external) then unit them as two wire bodys--a top one and a bottom one; then use api_cover_wires fuction to make a face. it works well when the edges are consist of circles or ellipse, but when one of these edges happens to be a intcurve, or a straight sometimes, it fails! > I guess it may be because that i make these intcurves using the api_mk_ed_int_ctrlpts fuction(these intcurves can be drawn well). These intcurves are intersectant curves of two faces, and i know that in the .sat file when it record an intcurve it also record the intersectant faces' geometry feature(cone or plane...).> Then I want to get the data of these intersectant faces from the intcurve. >--------------------------------------------------------------------------------------> EDGE* eg = (the intcurve i have got)> CURVE * GeoCurve = eg->edge()->geometry();> curve const & EqtCurve = GeoCurve->equation();> intcurve* ic = (intcurve*&)EqtCurve;> if(ic != NULL)> surface const & tempsurf = ic->surf1();>-------------------------------------------------------------------------------------->It breaks out at the last line. It seems as if it cannot access the members of "ic"(ic != NULL), and I donnot know what to do.>I have seen that someone said that the function of api_cover_faces is very limited, but is there some other APIs I can chose?>It also meet problems some times.>>Any help will be appreciated! Thanks in advance!>>Weiguo Wang>Shandong University, China>2004-9-23>>>>-------------------------------------------------------------------------------------周杰倫在"第一現場"與你面對面 http://smspop.163.com/special/jay200408/index2.html>>>>------------------------------>>_______________________________________________>Acis-alliance mailing list>Acis-alliance@cs.columbia.edu>http://lists.cs.columbia.edu/mailman/listinfo/acis-alliance>>>End of Acis-alliance Digest, Vol 18, Issue 9>********************************************>.============================================= From e_wwg at 163.com Fri Sep 24 20:26:21 2004From: e_wwg at 163.com (=?gb2312?B?ZV93d2c=?=)Date: Fri Sep 24 20:26:51 2004Subject: [Acis-alliance] Re: Re: About api_cover_wiresMessage-ID: <4154BB2D.000003.18637@m252.163.com>Dear David & all, I really appreciate your help and thank you so much. Although, I am not familiar with the OpenGl method, I will try. Any other help will be appreciated!Best Regards, Yours Weiguo.2004-9-25> Send Acis-alliance mailing list submissions to> acis-alliance@cs.columbia.edu> > To subscribe or unsubscribe via the World Wide Web, visit> http://lists.cs.columbia.edu/mailman/listinfo/acis-alliance> or, via email, send a message with subject or body 'help' to> acis-alliance-request@cs.columbia.edu> > You can reach the person managing the list at> acis-alliance-owner@cs.columbia.edu> > When replying, please edit your Subject line so it is more specific> than "Re: Contents of Acis-alliance digest..."> > > Today's Topics:> > 1. Re: About api_cover_wires (David)> > > ----------------------------------------------------------------------> > Message: 1> Date: Fri, 24 Sep 2004 14:20:30 +0800> From: "David"<davidkou@hkusua.hku.hk>> Subject: [Acis-alliance] Re: About api_cover_wires> To: "acis-alliance@cs.columbia.edu" <acis-alliance@cs.columbia.edu>> Message-ID: <200409240620.i8O6KRGE008441@hkusua.hku.hk>> Content-Type: text/plain; charset="gb2312"> > Dear Weiguo,> > If you just want to draw (render) the side surface, I suggest you use other functions. e.g.> > //[1] Construct a cylinder use whatever functions you like:> BODY *pCylinder;> api_make_frustum(, , , , pCylinder);> //[2] Get the side face> FACE * pSideFace;> ENTITY_LIST FaceList;> api_get_faces(pCylinder,FaceList);> FaceList.init(); > ENTITY* pFace=FaceList.next();> while(pFace!=NULL) > {> if(is_cylindrical_face(pFace))> {> pSideFace=pFace;> break;> }> pFace=FaceList.next();> }> //[3] Facet the side face with polygons:> api_facet_face(pSideFace);> //[4] Use opengl etc. to render it:> ...> > Hope this helps.> > > Best Regards,> David> 2004-09-24> > ======= 2004-09-23 12:00:00 In your letter: =======> > >Send Acis-alliance mailing list submissions to> > acis-alliance@cs.columbia.edu> >> >To subscribe or unsubscribe via the World Wide Web, visit> > http://lists.cs.columbia.edu/mailman/listinfo/acis-alliance> >or, via email, send a message with subject or body 'help' to> > acis-alliance-request@cs.columbia.edu> >> >You can reach the person managing the list at> > acis-alliance-owner@cs.columbia.edu> >> >When replying, please edit your Subject line so it is more specific> >than "Re: Contents of Acis-alliance digest..."> >> >> >Today's Topics:> >> > 1. About api_cover_wires (=?gb2312?B?ZV93d2c=?=)> >> >> >----------------------------------------------------------------------> >> >Message: 1> >Date: Thu, 23 Sep 2004 17:04:04 +0800 (CST)> >From: "=?gb2312?B?ZV93d2c=?=" <e_wwg@163.com>> >Subject: [Acis-alliance] About api_cover_wires> >To: acis-alliance@cs.columbia.edu> >Message-ID: <41529184.000191.13009@m252.163.com>> >Content-Type: text/plain; charset="gb2312"> >> >Hi,all> > I have some ploblems when i use the api_cover_wires fuction. i tried to draw the side face of a cylinder(i read the data form a constructed model and i want to reconstruct it myself):> > First i draw all the edge of the top and bottom loop(both external) then unit them as two wire bodys--a top one and a bottom one; then use api_cover_wires fuction to make a face. it works well when the edges are consist of circles or ellipse, but when one of these edges happens to be a intcurve, or a straight sometimes, it fails! > > I guess it may be because that i make these intcurves using the api_mk_ed_int_ctrlpts fuction(these intcurves can be drawn well). These intcurves are intersectant curves of two faces, and i know that in the .sat file when it record an intcurve it also record the intersectant faces' geometry feature(cone or plane...).> > Then I want to get the data of these intersectant faces from the intcurve. > >--------------------------------------------------------------------------------------> > EDGE* eg = (the intcurve i have got)> > CURVE * GeoCurve = eg->edge()->geometry();> > curve const & EqtCurve = GeoCurve->equation();> > intcurve* ic = (intcurve*&)EqtCurve;> > if(ic != NULL)> > surface const & tempsurf = ic->surf1();> >--------------------------------------------------------------------------------------> >It breaks out at the last line. It seems as if it cannot access the members of "ic"(ic != NULL), and I donnot know what to do.> >I have seen that someone said that the function of api_cover_faces is very limited, but is there some other APIs I can chose?> >It also meet problems some times.> >> >Any help will be appreciated! Thanks in advance!> >> >Weiguo Wang> >Shandong University, China> >2004-9-23> >> >> >> >-------------------------------------------------------------------------------------周杰倫在"第一現場"與你面對面 http://smspop.163.com/special/jay200408/index2.html> >> >> >> >------------------------------> >> >_______________________________________________> >Acis-alliance mailing list> >Acis-alliance@cs.columbia.edu> >http://lists.cs.columbia.edu/mailman/listinfo/acis-alliance> >> >> >End of Acis-alliance Digest, Vol 18, Issue 9> >********************************************> >.> > =============================================> > > > > > ------------------------------> > _______________________________________________> Acis-alliance mailing list> Acis-alliance@cs.columbia.edu> http://lists.cs.columbia.edu/mailman/listinfo/acis-alliance> > > End of Acis-alliance Digest, Vol 18, Issue 10> *********************************************> -------------------------------------------------------------------------------------周杰倫在"第一現場"與你面對面 http://smspop.163.com/special/jay200408/index2.htmlFrom Super-Wago at web.de Mon Sep 27 09:20:41 2004From: Super-Wago at web.de (Mathias Wagner)Date: Mon Sep 27 09:20:59 2004Subject: [Acis-alliance] Deformable ModelerMessage-ID: <1502205459@web.de>An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040927/9ca0e989/attachment.htmlFrom sp52 at buffalo.edu Wed Sep 29 13:02:49 2004From: sp52 at buffalo.edu (Sanjay Kumar)Date: Wed Sep 29 13:01:08 2004Subject: [Acis-alliance] need help using api_slice_of_modelMessage-ID: <244257031.1096462969@cadcam2.eng.buffalo.edu>hi , i want to slice a entity and store the resulting entity (say one half of the slice). i'm trying to use api_slice_of_model, but unsucessful till now. also how to define the value of 'yon' in this api? any help is very much appreciated. also any other ways to obtain the end result of saving a part of sliced entity/body will be also useful. thanks, sanjay
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -