📄 2005-july.txt
字号:
From arne.schilling at igi.re.kr Mon Jul 4 00:42:01 2005From: arne.schilling at igi.re.kr (Arne Schilling)Date: Mon Jul 4 00:42:53 2005Subject: [Acis-alliance] How to import CGR filesMessage-ID: <200507040439.j644dFYk008516@igi.re.kr>Hello, we are working with the latest ACIS releases for Interop and VizExchange. Weare using them for loading CATIA V5 models. However, Inerop does not to seemto support CGR ( CATIA Graphical Representation ) files. They are sometimesused in assemblies together with CATPART files. The CATIA5 reader skipsthem. What is the best way to import the data from CGR files into ACIS? Thanks,Arne SchillingInstitute for Graphic InterfacesTeam Leader VR/CAD TechnologiesEwha SK-Telecom Building11-1 Daehyun-dong, Seodaemun-gu, Seoul 120-750Republic of KoreaTel.: +82-2-3277-4289Fax: +82-2-3277-4298Email: arne.schilling@igi.re.krWeb: http://www.igi.re.kr <http://www.igi.re.kr/> -------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20050704/a34343d8/attachment.htmlFrom min_w at 263.net Mon Jul 4 22:04:20 2005From: min_w at 263.net (wumin)Date: Mon Jul 4 22:04:59 2005Subject: [Acis-alliance] Re: How to import CGR files (Arne Schilling)Message-ID: <20050705020422.0C9E8C368F@smtp.263.net>Hello,InterOp CATIA V5 Reader can export hsf file.2005-07-05 ======= 2005-07-04 12:00:00 You said:=======>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. How to import CGR files (Arne Schilling)>>>---------------------------------------------------------------------->>Message: 1>Date: Mon, 4 Jul 2005 13:42:01 +0900>From: "Arne Schilling" <arne.schilling@igi.re.kr>>Subject: [Acis-alliance] How to import CGR files>To: <acis-alliance@cs.columbia.edu>>Message-ID: <200507040439.j644dFYk008516@igi.re.kr>>Content-Type: text/plain; charset="us-ascii">>Hello,> >we are working with the latest ACIS releases for Interop and VizExchange. We>are using them for loading CATIA V5 models. However, Inerop does not to seem>to support CGR ( CATIA Graphical Representation ) files. They are sometimes>used in assemblies together with CATPART files. The CATIA5 reader skips>them. >What is the best way to import the data from CGR files into ACIS?> >Thanks,>Arne Schilling>>Institute for Graphic Interfaces>Team Leader VR/CAD Technologies>Ewha SK-Telecom Building>11-1 Daehyun-dong, Seodaemun-gu, Seoul 120-750>Republic of Korea>Tel.: +82-2-3277-4289>Fax: +82-2-3277-4298>Email: arne.schilling@igi.re.kr>Web: http://www.igi.re.kr <http://www.igi.re.kr/> > >-------------- next part -------------->An HTML attachment was scrubbed...>URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20050704/a34343d8/attachment-0001.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 28, Issue 1>********************************************>>.====================================== From edilson at cenapad.unicamp.br Tue Jul 12 17:04:10 2005From: edilson at cenapad.unicamp.br (=?ISO-8859-1?Q?Edilson_Gr=C3=BCnheidt_Borges?=)Date: Tue Jul 12 17:07:24 2005Subject: [Acis-alliance] Using api_save_entity_list_with_historyMessage-ID: <Pine.A41.4.21.0507121755420.27202-100000@delos>Dear subscribers,How could I save the Entity Recorders as a Sequency Number usingapi_save_entity_list_with_history? I must retain this information when Ioverwrite an existing file. With no options, it saves the entities, their attributes, etc, but not the Sequncy Number.Thanks, consult@cenapad.unicamp.brEdilson Gr?nheidt BorgesQu?mica e F?sicaFrom schmiddie78 at gmail.com Wed Jul 20 06:33:36 2005From: schmiddie78 at gmail.com (Stefan Schmidt)Date: Wed Jul 20 06:33:55 2005Subject: [Acis-alliance] Creating a SHEET body from a array of EDGEsIn-Reply-To: <42DE12D7.4010009@givemepower.de>References: <42DE12D7.4010009@givemepower.de>Message-ID: <42DE2880.8010504@gmail.com>Hello, I am looking for an example of how to construct a SHEET in ACIS given its contours as EDGES. Thanks. Regards,-- Stefan SchmidtGiveMePower/Felix Support and Development+49 30 89690350From schmiddie78 at gmail.com Thu Jul 21 06:56:21 2005From: schmiddie78 at gmail.com (Stefan Schmidt)Date: Thu Jul 21 06:57:06 2005Subject: [Acis-alliance] Creating a SHEET body from a array of EDGEsIn-Reply-To: <42DE36A4.4010603@sapex-alma.com>References: <42DE12D7.4010009@givemepower.de> <42DE2880.8010504@gmail.com> <42DE36A4.4010603@sapex-alma.com>Message-ID: <42DF7F55.70202@gmail.com>Hello,in my code I do:SPAposition *pPnts = ACIS_NEW SPAposition[numpoints];//Copy Point dataresult = api_make_wire(0,numpoints,pPnts, pWireBody,0);result = api_cover_wires(pWireBody, *(surface*)0, faceList,0);... but the faceList is empty. Do I need to pass in a surface (e.g. a plane) maybe? And if so how do I create one?Christophe BAUDIN wrote:> void extrude() {> EDGE* edges[4];> BODY* body;> outcome error;> > unit_vector vector(0,0,1);> double thickness = 10;> > error = api_curve_line(position(0,0,0), position(100,0,0), edges[0]);> error = api_curve_line(position(100,0,0), position(100,50,0), edges[1]);> error = api_curve_line(position(100,50,0), position(0,50,0), edges[2]);> error = api_curve_line(position(0,50,0), position(0,0,0), edges[3]);> > error = api_make_ewire(4, edges, body);> > ENTITY_LIST faceList;> error = api_cover_wires (body, *(surface*)NULL, faceList);> if (error.ok() && faceList.count () != 0) {> error = api_body_to_2d(body);> > // Walk through faces in case of different disjointed contours> for (ent = faceList.next(); ent != NULL; ent = faceList.next()) {> logical B = REVERSED;> unit_vector normale;> > FACE* face = (FACE*)ent;> > if (face->geometry () != NULL)> normale => face->geometry()->equation().eval_normal(par_pos (0,0));> else> continue;> > double scalar = normale % vector;> > /* extrusion in opposite side */> if (thickness < 0) scalar *= -1;> > B = face->sense();> if (scalar < 0) {> if ( B == FORWARD )> B = REVERSED;> else> B = FORWARD;> }> > sweep_options* opt = ACIS_NEW sweep_options();> opt->set_which_side(B);> > error = api_sweep_with_options(face, thickness, opt,> *(BODY**)0);> > ACIS_DELETE opt;> }> }> }> > Stefan Schmidt a ?crit :> >>Hello,>>>> I am looking for an example of how to construct a SHEET in ACIS given>> its contours as EDGES. Thanks.>>>> Regards,>>From vrv75 at mail.ru Thu Jul 21 08:22:52 2005From: vrv75 at mail.ru (Roman Voznyuk)Date: Thu Jul 21 08:23:12 2005Subject: [Acis-alliance] Creating a SHEET body from a array of EDGEsMessage-ID: <002701c58dee$eb547200$0500a8c0@vrv75>What's the content of your pPnts array?Are you sure that it defines closed loop(s)?Have your tried to check pWireBody using api_check_wire_self_iters?What's the result of api_cover_wire?In most cases you don't need to pass a surface. > Hello,> > in my code I do:> > SPAposition *pPnts = ACIS_NEW SPAposition[numpoints];> //Copy Point data> result = api_make_wire(0,numpoints,pPnts, pWireBody,0);> result = api_cover_wires(pWireBody, *(surface*)0, faceList,0);> > ... but the faceList is empty. Do I need to pass in a surface (e.g. a > plane) maybe? And if so how do I create one?From schmiddie78 at gmail.com Thu Jul 21 09:31:22 2005From: schmiddie78 at gmail.com (Stefan Schmidt)Date: Thu Jul 21 09:31:53 2005Subject: [Acis-alliance] Creating a SHEET body from a array of EDGEsIn-Reply-To: <42DF8DC0.5030204@sapex-alma.com>References: <42DE12D7.4010009@givemepower.de> <42DE2880.8010504@gmail.com> <42DE36A4.4010603@sapex-alma.com> <42DF7F55.70202@gmail.com> <42DF8DC0.5030204@sapex-alma.com>Message-ID: <42DFA3AA.1060406@gmail.com>Ok I figured it out. It was a fencing/counting problem as there are n points but n-1 egdes. All works now. Thanks a lot.Christophe BAUDIN wrote:> Hello> > Have you create the edges with function like api_curve_line or> api_curve_arcs_3pts and then use api_make_ewire ?> > Stefan Schmidt a ?crit :> >>Hello,>>>>in my code I do:>>>>SPAposition *pPnts = ACIS_NEW SPAposition[numpoints];>>//Copy Point data>>result = api_make_wire(0,numpoints,pPnts, pWireBody,0);>>result = api_cover_wires(pWireBody, *(surface*)0, faceList,0);>>>>... but the faceList is empty. Do I need to pass in a surface (e.g. a>>plane) maybe? And if so how do I create one?>>>>Christophe BAUDIN wrote:>>>>>>>void extrude() {>>> EDGE* edges[4];>>> BODY* body;>>> outcome error;>>>>>> unit_vector vector(0,0,1);>>> double thickness = 10;>>>>>> error = api_curve_line(position(0,0,0), position(100,0,0), edges[0]);>>> error = api_curve_line(position(100,0,0), position(100,50,0),>>>edges[1]);>>> error = api_curve_line(position(100,50,0), position(0,50,0),>>>edges[2]);>>> error = api_curve_line(position(0,50,0), position(0,0,0), edges[3]);>>>>>> error = api_make_ewire(4, edges, body);>>>>>> ENTITY_LIST faceList;>>> error = api_cover_wires (body, *(surface*)NULL, faceList);>>> if (error.ok() && faceList.count () != 0) {>>> error = api_body_to_2d(body);>>>>>> // Walk through faces in case of different disjointed contours>>> for (ent = faceList.next(); ent != NULL; ent = faceList.next()) {>>> logical B = REVERSED;>>> unit_vector normale;>>>>>> FACE* face = (FACE*)ent;>>>>>> if (face->geometry () != NULL)>>> normale =>>>face->geometry()->equation().eval_normal(par_pos (0,0));>>> else>>> continue;>>>>>> double scalar = normale % vector;>>>>>> /* extrusion in opposite side */>>> if (thickness < 0) scalar *= -1;>>>>>> B = face->sense();>>> if (scalar < 0) {>>> if ( B == FORWARD )>>> B = REVERSED;>>> else>>> B = FORWARD;>>> }>>>>>> sweep_options* opt = ACIS_NEW sweep_options();>>> opt->set_which_side(B);>>>>>> error = api_sweep_with_options(face, thickness, opt,>>>*(BODY**)0);>>>>>> ACIS_DELETE opt;>>> }>>> }>>>}>>>>>>Stefan Schmidt a ?crit :>>>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -