📄 2003-october.txt
字号:
BODY *spring; sweep_options *opts = new sweep_options(); //use default values //This API can take a few seconds to execute result = api_sweep_with_options ( my_sweep_face, // profile to sweep helix, // path to sweep along opts, // sweep options spring // swept body returned ); CheckOutcome(result); AfxMessageBox("Thread Done"); // outcome res1 =api_subtract(my_sweep,cyl1); entity_filter* filter=NULL; ENTITY_LIST elist; BODY* temp; api_subtract(my_sweep,TurnPart); api_copy_body(TurnPart,temp); result = api_part_entities (part,filter,elist); CheckOutcome(result); for(int i=0; i<elist.count(); i++) { ENTITY *ent = elist[i]; int test=elist.count(); //record_entity( ent); api_del_entity(ent); } result = api_part_add_entity(temp,part); CheckOutcome(result); // Display the ENTITIES view3d* pTolView = m_pAcisDoc->SetDisplayTol(); // SET TOLERANCE if(result.ok() && part) { if (m_pAcisDoc->GetAutoDisplay()) { // Make sure the views are invalidated m_pAcisDoc->InvalidateViews(); AfxMessageBox("Thread Display"); } }}From T.Mwinuka at postgrad.umist.ac.uk Tue Oct 28 10:54:36 2003From: T.Mwinuka at postgrad.umist.ac.uk (Tito Mwinuka)Date: Tue Oct 28 05:54:44 2003Subject: [Acis-alliance] Drawing objects in ACIS MFC ApplicationMessage-ID: <1067338476.3f9e4aecd8cdf@webmail1.umist.ac.uk>Dear Acis-allianceI am trying to write an ACIS MFC application.I have used ACIS AppWizard. Upon drawing objects using "Tools", All the lines, circles, polylines dissappear upon completion. I have no problem with solids. However I get them in a rendered state with no edges shown(inherent from ACIS MFC skeleton application).May be if I could change the rendering so that it shows edges I may get lines,circle etc visible also.I will be pleased if anyone can help me sort out the problem. Thanking you in advance.TitoFrom zhengshu.shen at asu.edu Tue Oct 28 12:28:21 2003From: zhengshu.shen at asu.edu (shen)Date: Tue Oct 28 14:27:03 2003Subject: [Acis-alliance] point "within" BODY?Message-ID: <3F9EC355.CEF0E47@asu.edu>Dear friends,i have a BODY and a point (position), how can i find out this point iswithin (the material of) the BODY.The problem is that i know this position is sure within the bounding boxof the BODY, but may not within the material side!Thanks a lot.ShenFrom kraftche at cae.wisc.edu Tue Oct 28 14:58:44 2003From: kraftche at cae.wisc.edu (Jason Kraftcheck)Date: Tue Oct 28 15:59:04 2003Subject: [Acis-alliance] point "within" BODY?In-Reply-To: <3F9EC355.CEF0E47@asu.edu>References: <3F9EC355.CEF0E47@asu.edu>Message-ID: <3F9ED884.2030605@cae.wisc.edu>shen wrote:> Dear friends,> i have a BODY and a point (position), how can i find out this point is> within (the material of) the BODY.> The problem is that i know this position is sure within the bounding box> of the BODY, but may not within the material side!> Thanks a lot.api_point_in_bodyFrom zz_zxc123 at cims.sjtu.edu.cn Wed Oct 29 09:56:53 2003From: zz_zxc123 at cims.sjtu.edu.cn (zhnagxuecchang)Date: Tue Oct 28 20:56:02 2003Subject: [Acis-alliance] Drawing objects in ACIS MFC ApplicationReferences: <1067338476.3f9e4aecd8cdf@webmail1.umist.ac.uk>Message-ID: <001c01c39dbf$ecd544e0$907afea9@ndserver>Hello!Tito.you can try the following code! good luck for you.void CXXXView::OnShowWire() { // TODO: Add your command handler code here view3d *v3d; //declare a pointer to object of class view3d v3d=m_pAcisView->GetView3d();//get view3d pointer v3d->set_shaded(FALSE); v3d->set_edges(TRUE); v3d->set_vertex(TRUE); InvalidateRect(0); }zhangxuechang----- Original Message ----- From: "Tito Mwinuka" <T.Mwinuka@postgrad.umist.ac.uk>To: <acis-alliance@cs.columbia.edu>Sent: Tuesday, October 28, 2003 6:54 PMSubject: [Acis-alliance] Drawing objects in ACIS MFC Application> Dear Acis-alliance> I am trying to write an ACIS MFC application.I have used ACIS AppWizard. Upon > drawing objects using "Tools", All the lines, circles, polylines dissappear > upon completion. I have no problem with solids. However I get them in a > rendered state with no edges shown(inherent from ACIS MFC skeleton > application).May be if I could change the rendering so that it shows edges I > may get lines,circle etc visible also.> > I will be pleased if anyone can help me sort out the problem. > Thanking you in advance.> Tito> _______________________________________________> Acis-alliance mailing list> Acis-alliance@cs.columbia.edu> http://lists.cs.columbia.edu/mailman/listinfo/acis-allianceFrom jr8b8 at umr.edu Tue Oct 28 23:03:27 2003From: jr8b8 at umr.edu (Ramesh, Jayant (UMR-Student))Date: Wed Oct 29 00:03:34 2003Subject: [Acis-alliance] errorMessage-ID: <B6548610C5020A47AB0E19DB8F80252B0E0D7C@umr-mail1.umr.edu>I am trying to run ACIS 12 with VC++ 6.0 compiler on a windows XPmachine. I got the following errors: The following environment variables were not found$(A3DT)$(HOOPS_INSTALL_DIR) I tried and included some path in the variable, but it doesn't seem towork. Can someone please help me and give me information about where andwhat exactly should I include for the environmental variable. Thanks ************************************The soul would have no rainbow , if the eyes had no tears -------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20031028/04d5914f/attachment.htmFrom kaufmann at ims.tuwien.ac.at Wed Oct 29 10:10:07 2003From: kaufmann at ims.tuwien.ac.at (Hannes Kaufmann)Date: Wed Oct 29 04:06:45 2003Subject: [Acis-alliance] Plane tangential to 2 spheresMessage-ID: <3F9F83EF.D60A5C2F@ims.tuwien.ac.at>Dear listmembers,I'm currently facing the following problem: Given are 2 spheres and I am looking for a plane touching both spheres.Is there any ACIS function that could help me regarding this problem?If you've got 2 circles and you're looking for a line tangential to bothof them, then there is this "trick" of "shrinking" the smaller circle toa point, reducing the radius of the other circle also by the same amount(as the first circle) and then drawing the tangent from point (=reducedcirlce 1) to circle 2.This looks like this. \ \ O(the "O" is a circle). The tangent that you've got is parallel to theone you were originally looking for. You have to draw the parallel whichwill touch both cirlces.This works also for spheres, so I could shrink down the smaller sphereto a point and so on. I've already implemented calculating thetangential plane from one point to a BODY. BUT my problem is that I needthe "crossover" tangential plane to both spheres - that one O/ / /Oand in that case, the trick doesn't work anymore. ("shrinked" tangentialplane and final plane are not parallel)Do you have any advice on how I could get this tangential plane?Best wishes,Hannes-- Hannes Kaufmann | Vienna University of Technology Researcher | Interactive Media Systems GroupT +43 1 58801-18860 | F +43 1 58801-18898 kaufmann @ ims.tuwien.ac.atFrom kissandras at xnet.ro Wed Oct 29 21:33:20 2003From: kissandras at xnet.ro (Andras Kiss)Date: Wed Oct 29 14:33:22 2003Subject: [Acis-alliance] errorIn-Reply-To: <E1AEtg7-0004l1-02@rogue.cs.columbia.edu>References: <E1AEtg7-0004l1-02@rogue.cs.columbia.edu>Message-ID: <oprxtkluapz8pt1n@localhost>For Ramesh,You wrote:> I am trying to run ACIS 12 with VC++ 6.0 compiler on a windows XP> machine. I got the following errors:> The following environment variables were not found> $(A3DT)> $(HOOPS_INSTALL_DIR)> I tried and included some path in the variable, but it doesn't seem to> work. Can someone please help me and give me information about where and> what exactly should I include for the environmental variable.> ThanksFirst of all if the compiler tells that the enviromental variable isnot found you must declare it. Installation of ACIS suppose declaration ofsome enviromental variables under Windows(and also other platforms): A3DT = path_to_your_ACIS_install_root_directory(ex. c:\ACIS12.0 A3DT_MAJOR = 12 (in your case) A3DT_MINOR = 0 ARCH = NT_DLLD ARCHR = NT_DLLand also include in your path variable: your path to ACIS libraries(ex. d:\acis6.3.1\lib\NT_DLLD). If you are using HOOPS you must declareHOOPS_INSTALL_DIR = path_to_your_HOOPS_root_directoryAndras-------------------------------------------------------Xnet scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus.Xnet automatically scans all messages for viruses using RAV AntiVirus.Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate variantele lor.Va rugam sa luati in considerare ca exista un risc de fiecare data cand deschidetifisiere atasate si ca MobiFon nu este responsabila pentru nici un prejudiciu cauzatde virusi.Disclaimer: RAV AntiVirus may not be able to detect all new viruses and variants.Please be aware that there is a risk involved whenever opening e-mail attachmentsto your computer and that MobiFon is not responsible for any damages caused byviruses.From T.Mwinuka at postgrad.umist.ac.uk Thu Oct 30 14:55:13 2003From: T.Mwinuka at postgrad.umist.ac.uk (Tito Mwinuka)Date: Thu Oct 30 09:55:20 2003Subject: [Acis-alliance] Drawing objects in ACIS MFC Application Message-ID: <1067525713.3fa12651d20e4@webmail1.umist.ac.uk>Yap!This has worked! Thanks to zhnagxuecchang and shen (they gave me similar codes)TitoMessage: 3 Date: Wed, 29 Oct 2003 09:56:53 +0800 From: "zhnagxuecchang" <zz_zxc123@cims.sjtu.edu.cn> Subject: Re: [Acis-alliance] Drawing objects in ACIS MFC Application To: <T.Mwinuka@postgrad.umist.ac.uk>, <acis-alliance@cs.columbia.edu> Message-ID: <001c01c39dbf$ecd544e0$907afea9@ndserver> Content-Type: text/plain; charset="gb2312" Hello!Tito. you can try the following code! good luck for you. void CXXXView::OnShowWire() { // TODO: Add your command handler code here view3d *v3d; //declare a pointer to object of class view3d v3d=m_pAcisView->GetView3d();//get view3d pointer v3d->set_shaded(FALSE); v3d->set_edges(TRUE); v3d->set_vertex(TRUE); InvalidateRect(0); } zhangxuechang ----- Original Message ----- From: "Tito Mwinuka" <T.Mwinuka@postgrad.umist.ac.uk> To: <acis-alliance@cs.columbia.edu> Sent: Tuesday, October 28, 2003 6:54 PM Subject: [Acis-alliance] Drawing objects in ACIS MFC Application > Dear Acis-alliance > I am trying to write an ACIS MFC application.I have used ACIS AppWizard. Upon > drawing objects using "Tools", All the lines, circles, polylines dissappear > upon completion. I have no problem with solids. However I get them in a > rendered state with no edges shown(inherent from ACIS MFC skeleton > application).May be if I could change the rendering so that it shows edges I > may get lines,circle etc visible also. > > I will be pleased if anyone can help me sort out the problem. > Thanking you in advance. > Tito > _______________________________________________ From T.Mwinuka at postgrad.umist.ac.uk Thu Oct 30 15:08:15 2003From: T.Mwinuka at postgrad.umist.ac.uk (Tito Mwinuka)Date: Thu Oct 30 10:08:28 2003Subject: [Acis-alliance] Saving/Opening drawing in ACIS MFC ApplicationMessage-ID: <1067526495.3fa1295fc8a5c@webmail1.umist.ac.uk>Dear AllianceI draw and try to save from my poor ACIS MFC Application. However when I open the file using "open" menu inherited from ACIS MFC skeleton I get ACIS error "operation unsuccessful". If I try to open the file from WORD(or any text editor) the file comes out in non-readable format, not the way other .sat files opens. Can any one help me to have my drawings saved in .sat text format. Probably that can be opened from my ACIS MFC Application. If my reasoning is not correct please tell me the actual reason behind my problem.Thank you in advance. You are wonderful!TitoFrom lzguo at mail.com Thu Oct 30 21:04:38 2003From: lzguo at mail.com (liu zhiguo)Date: Thu Oct 30 21:05:29 2003Subject: [Acis-alliance] question on hoops MFCMessage-ID: <20031031020441.25856.qmail@mail.com>Dear all ACIS and Hoops developers; I have built a Hoops MFC Application. It is just a framework MFC application, including some sample functions. Now I have some questions on Hoops Application:1. on HC_Open_Face(int n): If I have a block, what is the rule of name all the faces? How to determine the face of mouse position?2. I have got a training program. But I am not familar with some codes in it. Please compile and run my attach file. What is the function of class TK_PSComment and TK_PSLine? When I compile the project, there are 4 errors, who can tell me what is wrong with my program. Any help will be appreciated. Thank you.Liu zhiguoAutomobile Engineering School of Jilin University, China2003-10-31-- __________________________________________________________Sign-up for your own personalized E-mail at Mail.comhttp://www.mail.com/?sr=signupCareerBuilder.com has over 400,000 jobs. Be smarter about your job searchhttp://corp.mail.com/careers-------------- next part --------------A non-text attachment was scrubbed...Name: HoopsMfc.rarType: application/octet-streamSize: 86794 bytesDesc: not availableUrl : http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20031030/200ac9a0/HoopsMfc-0001.obj
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -