📄 2004-february.txt
字号:
An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040216/c383175a/attachment.htmFrom itagaki at armonicos.co.jp Mon Feb 16 13:44:01 2004From: itagaki at armonicos.co.jp (=?ISO-2022-JP?B?GyRCSEQzQElwSScbKEI=?=)Date: Sun Feb 15 23:39:43 2004Subject: [Acis-alliance] How to get a bounding box in acisR11In-Reply-To: <001201c3f43e$0c6fd070$c300a8c0@zxc>References: <001201c3f43e$0c6fd070$c300a8c0@zxc>Message-ID: <20040216133002.1FB4.ITAGAKI@armonicos.co.jp>hello zhangNomally acis does not set a bounding box of bodies.if you want to get the box of the bodies.So you should calculate a bounding box as follows....ENTITY_LIST face_listapi_get_faces( pBody, face_list );SPAbox box ;for( int iface = 0 ; iface < face_list.count ; ++iface) { SPAbox box_tmp = get_face_box( face_list[iface] ) ; box += box_tmp ;}sometimes you need set an option with api_set_int_option( "tight_tours_box",TRUE ) ;Takehiko ItagakiOn Mon, 16 Feb 2004 11:36:18 +0800"zhang xuechang" <zz_zxc123@cims.sjtu.edu.cn> wrote:> Hello,everyone??> I want to get a bounding box of a spline face. Now my program was written as fellow,but it is wrong when running in the <SPAposition ttt=bx->high()>. I know the error that is in the function of bound(). So please tell me how to get a bounding box in AcisR11.> > api_make_torus(50,10,pBody);> SPAbox* bx =pBody->bound();> SPAposition ttt=bx->high();> > any help is my appreciation.> > zhang xuechang> 2004.2.16From PG02104852 at ntu.edu.sg Wed Feb 18 13:06:11 2004From: PG02104852 at ntu.edu.sg (#TANG SHAOHUI#)Date: Wed Feb 18 00:06:08 2004Subject: [Acis-alliance] Rendering in C++Message-ID: <0C42D409AF10B1428A0B026FB160A5BE11AFA8@mail02.student.main.ntu.edu.sg>hi, everyone,I am trying to use is_FACE function to check if an entity is a FACE. but an error occurred when I compiled it. I have included the file as the Doc suggested. can anyone give me a hint?shaohuiE:\research\program\test\test.cpp(302) : error C2061: syntax error : identifier 'is_FACE'.From prwolfe at sandia.gov Wed Feb 18 07:45:29 2004From: prwolfe at sandia.gov (Wolfenbarger, Paul R)Date: Wed Feb 18 09:46:06 2004Subject: [Acis-alliance] RE: ITS CADMessage-ID: <03781128C7B74B4DBC27C55859C9D7380F1B0F75@es06snlnt.sandia.gov>Fraid so. Mind this was a very long time back (acis4 or 3 I think) and theapplication I tried it in was very messy (written by committee), but I had alot of problems with this approach. I would like to hear from someone whohas used it successfully and measured the memory results as well as the timeinvolvement. From the documentation it looks like the notestate/deletedelta state methodology will still be needed to erase empty bb's and if Iremember right I did not do that at the time.Paul-----Original Message-----From: Christian Sch?tz [mailto:christian.schuetz@metromec.ch]Sent: Wednesday, February 18, 2004 4:27 AMTo: Wolfenbarger, Paul RSubject: AW: [Acis-alliance] RE: ITS CADHi Paul> This is a regular question from many ACIS users both > experienced and not. I> often feel like I should write a paper on the silly thing, so > here goes a> start. If I get a bit to much for you, just slap my hand and > tell me to> Keep It Simple S.I turn the whole bulletin board stuff of with api_logging( FALSE). At leastI was thinking that this is the action the function does. This seems thesimplest way to me to get rid of the memory overhead. Did you make someother experiences? RegardsChristian___________________________________________________________________Christian Sch?tz, Software EngineerMetromec Software AG, Rheinfelsstrasse 1, CH-7007 Chur, Switzerlandphone: +41 (0)81 257 0700fax: +41 (0)81 257 0701e-mail: mailto:christian.schuetz@metromec.chinternet: www.metromec.ch___________________________________________________________________From juergen.junker at human-solutions.com Fri Feb 20 15:13:33 2004From: juergen.junker at human-solutions.com (Juergen Junker)Date: Fri Feb 20 14:28:42 2004Subject: [Acis-alliance] progress of api_restore_entity_list()?Message-ID: <4036160D.74C51DAF@human-solutions.com>Hello,is there any possibility to inquire the progressof api_restore_entity_list()? A functionlike api_xiges_set_interopstatus_callback() toset a callback function during reading a sat-filewould be nice. Unfortunately, I haven't foundanything in the online-docu.background: we would like to show a progress barduring loading a sat-file.Thanks for any help, Juergen_________________________________________________________________________Juergen Junker, Dipl.-Inform. HUMAN SOLUTIONS GmbHSoftware Developerphone +49 (0)631 303-5600 Europaallee 10, 67657 Kaiserslautern, Germanyfax +49 (0)631 303-5700 http://www.human-solutions.com_________________________________________________________________________From g_baylor at yahoo.com Wed Feb 25 12:41:57 2004From: g_baylor at yahoo.com (=?iso-8859-1?q?gordon=20baylor?=)Date: Wed Feb 25 07:42:05 2004Subject: [Acis-alliance] ACIS Hoops Sample ApplicationsMessage-ID: <20040225124157.69491.qmail@web12702.mail.yahoo.com>I am having trouble getting either the AcisPartViewerdemo project which is included with the Hoops 9distribution or the SampleHAcis project from the hoopswebsite http://developer.hoops3d.com/downloads/demo_code/SampleHAcis.zipto work. With SampleHAcis.dsw I am getting the following errorLINK : fatal error LNK1104: cannot open file"ha_bridged.lib"And with acispartviewer.dsw I am gettingMicrosoft (R) Program Maintenance Utility Version6.00.8168.0Copyright (C) Microsoft Corp 1988-1998. All rightsreserved. setHOOPS_INSTALL_DIR=C:\HOOPS-900\demo\mfc\acispartviewer\..\..\.. set HHOMEDRIVE=C:HOMEPATH=\HOOPS_INSTALL_DIR=C:\HOOPS-900\demo\mfc\acispartviewer\..\..\.. set ARCH=NT_DLL set Aa3dt=C:\Program Files\Spatial\acisR11ALLUSERSPROFILE=C:\Documents and Settings\All UsersANSYS71_DIR=C:\Program Files\Ansys Inc\v71\ANSYSANSYSLIC_DIR=C:\Program Files\Ansys Inc\SharedFiles\LicensingANSYS_SYSDIR=IntelAPPDATA=C:\Documents and Settings\gordonb\ApplicationDataARCH=NT_DLL MSDEV C:\ProgramFiles\Spatial\acisR11\src\ha_bridge\ha_bridge.dsp/MAKE "HA_bridge - Win32 Release" /CLEANC:\ProgramFile not found.Please verify that the path and file name are correct.Files\Spatial\acisR11\src\ha_bridge\ha_bridge.dspFile not found.Please verify that the path and file name are correct.Error: no project loaded. MSDEV C:\ProgramFiles\Spatial\acisR11\src\ha_bridge\ha_bridge.dsp/MAKE "HA_bridge - Win32 Release"C:\ProgramFile not found.Please verify that the path and file name are correct.Files\Spatial\acisR11\src\ha_bridge\ha_bridge.dspFile not found.Please verify that the path and file name are correct.Error: no project loaded.Linking...LINK : fatal error LNK1181: cannot open input file"ltkrn_n.lib"Error executing link.exe.acishoops3dpartviewer.exe - 3 error(s), 0 warning(s)There are some lines here saying ARCH=NT_DLL but Ihave ARCH set to NT_DLLD. I'm not sure if this hasanything to do with it. I have gone through thearchives both here and on the Hoops discussion forumand there generally seems to be trouble getting theseapplications to work.I am using ACIS R11 and Hoops 9. Does anyone have anyideas?Thanks in advance.Gordon ___________________________________________________________Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.htmlFrom Markus.Herb at de.TRUMPF.com Wed Feb 25 16:33:33 2004From: Markus.Herb at de.TRUMPF.com (Markus.Herb@de.TRUMPF.com)Date: Wed Feb 25 10:36:27 2004Subject: [Acis-alliance] sg_potential_partners( )?Message-ID: <71A23A253EBDD711933A00B0D0F0B13101351B23@srvmail2.corp.trumpf.com>Hi dear ACIS fellows,Does anybody know the purpose of the third parameter in"sg_potential_partners((EDGE*)elist2[j], (EDGE*)tmp1[i], vlist2) )"?Here this is vlist2.As far as I understand, this function checks whether two edges could bepartners in a following stiching process. In the according header filenothing is said about the third parameter. The only information is, that itis a entity_list.Any hints welcome!GreetingsMarkusFrom SpatialDimensions at Spatial.Com Wed Feb 25 10:26:57 2004From: SpatialDimensions at Spatial.Com (SpatialDimensions@Spatial.Com)Date: Wed Feb 25 12:30:07 2004Subject: [Acis-alliance] Spatial Announces Presenters for 3D Insiders' Summit 2004Message-ID: <OF4DDFA23C.EE3F1AAC-ON87256E45.005FD39A-87256E45.005FDA65@Spatial.Com> Spatial Announces Presenters for 3D Insiders' Summit 2004 Early registration for Spatial's user event expires end of FebruaryWestminster, CO- February 25, 2004 - Spatial Corp., a Dassault Syst?mes(Nasdaq: DASTY; Euronext Paris: #13065, DSY.PA) company and market-leadingprovider of 3D development technologies, today announced the list ofcompanies that will be presenting at its annual 3D Insiders' Summitscheduled for May 3rd through the 5th in Westminster, CO. Sponsored thisyear by Advanced Micro Devices, Inc. and Hewlett-Packard, the 3D Insiders'Summit is primarily designed to allow Spatial partners and otherindustry-related attendees unprecedented access to Spatial's Developmentand Services organizations."We have worked closely with our partners over the last year to refine the3D Insiders' Summit," said Keith Mountain, vice president of Marketing,Spatial. "We created this event as a forum for our partners, to listen totheir needs and concerns and to share with them the strategic direction ofeach product line for the coming months.""Thanks to our two main sponsors, AMD and HP, in addition to our othersponsors such as Apple, Simmetrix and Deep Video Imaging, we are able tocreate an event that enables attendees to see not only the future ofSpatial products, but also learn about other advancements in theCAD/CAM/CAE space," said Linda Lokay, executive vice president Marketingand Development, Spatial.Presenters from the following companies and institutions will be featuredthis year at the 3D Insiders' Summit:? Seemage - www.seemage.com (keynote presenter)? Advanced Micro Devices, Inc. (main sponsor)? Hewlett Packard (main sponsor)? Apple Computer, Inc.? Deep Video Imaging? Simmetrix, Inc.? Fluent? Digital Artforms? Armonicos? ITI Transcendata? Tech Soft America? University of Michigan? University of California Berkeley? Vistagy? Blue Ridge Numerics? Applied Research Associates? Others to be announcedTo learn more about the event or register early (early registration expiresat the end of February), please visithttp://www.spatial.com/news_events/events/summit/index_htmlTo be removed from this distribution list, please reply to this e-mail with"remove" in the subject line.From lxg at jlu.edu.cn Fri Feb 27 11:26:50 2004From: lxg at jlu.edu.cn (Liu zhiguo)Date: Thu Feb 26 22:27:37 2004Subject: [Acis-alliance] How to delete a loopMessage-ID: <7772F5AFE9D.AAA819@mail.jlu.edu.cn>Dear acis-alliance fellows, I want to delete the holes in faces, and do not want to realize it by reconstruct a face in the hole. So I think it is maybe possible to do it by deleting the inner loop of a FACE. I do not know how to realize it in program. Does anyone know how to do? The following codes is my program, Who can tell me what wrong in it?ENTITY_LIST face_list;//existed for(i=0;i<count;i++) { if(is_BODY(face_list[i])) { BODY *body=(BODY*)face_list[i]; LUMP * ll=body->lump(); while (ll!=NULL) { SHELL * she=ll->shell(); while (she!=NULL) { FACE *ff=she->face_list(); while (ff!=NULL) { LOOP * loop_ff=ff->loop(); while (loop_ff!=NULL) { num_loop++; api_loop_external(loop_ff,if_external,NULL); if(!if_external) num_inter_loop++; api_loop_type(loop_ff,looptype,NULL); COEDGE * cc=loop_ff->start(); if((looptype==loop_hole)&&(cc->partner()==NULL)) { num_hole++; LOOP * temloop=loop_ff->next(); loop_ff->lose(); loop_ff=temloop; goto l1; } loop_ff=loop_ff->next();l1: delete_num=0; } ff=ff->next(); } she=she->next(); } ll=ll->next(); } } }Thank you !regards,Liu zhiguo2004-2-26From lxg at jlu.edu.cn Sat Feb 28 10:15:35 2004From: lxg at jlu.edu.cn (Liu zhiguo)Date: Fri Feb 27 21:14:39 2004Subject: [Acis-alliance] How to use InterOp Catia v5 ReaderMessage-ID: <7772F612A43.AAA59D5@mail.jlu.edu.cn>Dear all, I want to open Catia V5 file by using InterOp Catia v5 Reader and have installed it. Now I build a ACIS Hoops MFC Application with Catia reaing fuction. I have passed compiling and linking. When I using it to open Catia file, the program will use lots of time and resource. The result is still nothing. I try to realize it in console application, the error information is : Message catalog not found or includes syntax error in CATCommand. The following code is my function of open CATIA file in MFC program:void CMyAHAppR12Doc::OnImportCatiaV5() {// *** NOTE ***// InterOp CATIA V5 works only on Release DLLs.#ifndef _DEBUG CFileDialog my_dlg(TRUE, "CATPart", NULL, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, "CATIA V5 Part Files (*.CATPart)|*.CATPart|CATIA V5 Product Files (*.CATProduct)|*.CATProduct|" , NULL); if (my_dlg.DoModal() == IDOK) { if (my_dlg.GetFileExt().CompareNoCase("CATPart") == 0 || my_dlg.GetFileExt().CompareNoCase("CATProduct") == 0) { int depth = 0; api_part_start_state(depth); ENTITY_LIST elist; api_initialize_aciscatiav5rd(); API_BEGIN api_catiav5_read_free_edges(TRUE); result = api_catiav5_convert_catiav5_to_acis_entlist(my_dlg.GetPathName(), elist, NULL, NULL); if (result.ok()) { ENTITY* pEnt = NULL; elist.init(); while( (pEnt = elist.next()) != NULL ) { m_pAHDoc->AddEntity(pEnt); } m_pAHDoc->ZoomAll(); m_pAHDoc->RefreshViews(); } else { const char* emess = find_err_mess(result.error_number()); AfxMessageBox(emess, MB_OK); } API_END api_terminate_aciscatiav5rd(); elist.clear(); api_part_note_state(outcome(API_SUCCESS), depth ); } }#endif} My ACIS and InterOp is R12 Sp6, program is run in realease. Does anyone can tell me what is wrong with my program?regards,Liu zhiguo2004-2-28
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -