📄 2004-march.txt
字号:
JuergenFrom PG02104852 at ntu.edu.sg Tue Mar 23 02:09:16 2004From: PG02104852 at ntu.edu.sg (#TANG SHAOHUI#)Date: Tue Mar 23 02:10:41 2004Subject: [Acis-alliance] how to construct COEDGE?Message-ID: <0C42D409AF10B1428A0B026FB160A5BE11AFC9@mail02.student.main.ntu.edu.sg>hi, everyone,how can I get COEDGE on the basis of a list of EDGES?public: COEDGE::COEDGE ( EDGE*, // EDGE REVBIT, // sense COEDGE*, // previous COEDGE COEDGE* // next COEDGE ); can anyone give me a example?regardsshaohuiFrom raphael.klock at umail.univ-metz.fr Tue Mar 23 05:53:14 2004From: raphael.klock at umail.univ-metz.fr (raphael klock)Date: Tue Mar 23 05:54:57 2004Subject: [Acis-alliance] how to construct COEDGE?Message-ID: <200403231053.i2NArEd1000901@umail.univ-metz.fr>Hello,this is an exemple for create a coedge with edge: *e1, *e2, *e3, *e4 are EDGE COEDGE * ce1 = new COEDGE(e1,TRUE,NULL,NULL); COEDGE * ce2 = new COEDGE(e2,TRUE,NULL,NULL); COEDGE * ce3 = new COEDGE(e3,TRUE,NULL,NULL); COEDGE * ce4 = new COEDGE(e4,TRUE,NULL,NULL); // i make the links edition ce1->set_next_no_rev(ce2); ce1->set_previous_no_rev(ce4); ce2->set_next_no_rev(ce3); ce2->set_previous_no_rev(ce1); ce3->set_next_no_rev(ce4); ce3->set_previous_no_rev(ce2); ce4->set_next_no_rev(ce1); ce4->set_previous_no_rev(ce3);Best regards Rapha雔 From PG02104852 at ntu.edu.sg Wed Mar 24 01:27:23 2004From: PG02104852 at ntu.edu.sg (#TANG SHAOHUI#)Date: Wed Mar 24 01:28:33 2004Subject: [Acis-alliance] how to get next face?Message-ID: <0C42D409AF10B1428A0B026FB160A5BE11AFCB@mail02.student.main.ntu.edu.sg>hi, everyone,I got a face_list from a block and add faces to a map. I want to find the next face of a face. But the last face, e.g. face6->next() return null. is it correct? can anyone give me a hint?face_id face2 face13 face24 face35 face46 face57 face6 ENTITY_LIST face_list; result = api_get_faces(my_block, face_list); FACE * testface = (FACE*)face_list[5]; FACE * nextface = testface->next(); cout<< nextface<<endl;result: 0x00000000regardsshaohuiFrom amr.eldessouky at memscap.com Wed Mar 24 03:20:54 2004From: amr.eldessouky at memscap.com (Amr El-Dessouky)Date: Wed Mar 24 03:21:30 2004Subject: [Acis-alliance] how to get next face?In-Reply-To: <0C42D409AF10B1428A0B026FB160A5BE11AFCB@mail02.student.main.ntu.edu.sg>References: <0C42D409AF10B1428A0B026FB160A5BE11AFCB@mail02.student.main.ntu.edu.sg>Message-ID: <406144E6.3040900@memscap.com.eg>Hi, Yes,I think it is correct. the next pointer of the last face in a shell will point to NULL.#TANG SHAOHUI# wrote:>hi, everyone,>>I got a face_list from a block and add faces to a map. I want to find the next face of a face. But the last face, e.g. face6->next() return null. is it correct? can anyone give me a hint?>face_id face>2 face1>3 face2>4 face3>5 face4>6 face5>7 face6>> ENTITY_LIST face_list;> result = api_get_faces(my_block, face_list);> FACE * testface = (FACE*)face_list[5];> FACE * nextface = testface->next();> cout<< nextface<<endl;>result:> 0x00000000>>regards>shaohui>>_______________________________________________>Acis-alliance mailing list>Acis-alliance@cs.columbia.edu>http://lists.cs.columbia.edu/mailman/listinfo/acis-alliance> >-- Best Regards,Amr>>>>>>>>>>>>Notice Our New Address Below<<<<<<<<<______________________________________________Amr S. El-Dessouky amr.eldessouky@memscap.comSenior Development Engineer CAD BU MEMScAP Egypt SAE----------------------------------------------5th St., Public Free Zone, Nasr City, Cairo, Egypt.Tel: +20 10 1033945 +20 12 7490212 ext: 208Fax: +20 10 1034505______________________________________________-------------------------------------------------------------------------"This message and any attachment are confidential and may be privilegedor otherwise protected from disclosure. If you are not the intendedrecipient, please telephone or email the sender and delete this messageand any attachment from your system. If you are not the intendedrecipient you must not copy this message or attachment or disclose thecontents to any other person."-------------------------------------------------------------------------From PG02104852 at ntu.edu.sg Wed Mar 24 03:29:56 2004From: PG02104852 at ntu.edu.sg (#TANG SHAOHUI#)Date: Wed Mar 24 03:30:14 2004Subject: [Acis-alliance] thanksMessage-ID: <0C42D409AF10B1428A0B026FB160A5BE11AFCD@mail02.student.main.ntu.edu.sg>thanks a lot!can you tell me how to construct a face ? FACE * my_face; FACE * nextface = new FACE(); LOOP * my_loop = (LOOP *)(dat1.find(loopid[i])->second).second; PLANE * my_plane = (PLANE *)(dat1.find(planeid[i])->second).second; my_face = new FACE(my_loop, nextface, my_plane, REVERSED);something wrong with the last line. I can get the loop, the plane,if I delete it.regardsshaohui-----Original Message-----From: Amr El-Dessouky [mailto:amr.eldessouky@memscap.com]Sent: ???, 24 ??, 2004 PM 4:21To: #TANG SHAOHUI#; acis-alliance@cs.columbia.eduSubject: Re: [Acis-alliance] how to get next face?Hi, Yes,I think it is correct. the next pointer of the last face in a shell will point to NULL.#TANG SHAOHUI# wrote:>hi, everyone,>>I got a face_list from a block and add faces to a map. I want to find the next face of a face. But the last face, e.g. face6->next() return null. is it correct? can anyone give me a hint?>face_id face>2 face1>3 face2>4 face3>5 face4>6 face5>7 face6>> ENTITY_LIST face_list;> result = api_get_faces(my_block, face_list);> FACE * testface = (FACE*)face_list[5];> FACE * nextface = testface->next();> cout<< nextface<<endl;>result:> 0x00000000>>regards>shaohui>>_______________________________________________>Acis-alliance mailing list>Acis-alliance@cs.columbia.edu>http://lists.cs.columbia.edu/mailman/listinfo/acis-alliance> >-- Best Regards,Amr>>>>>>>>>>>>Notice Our New Address Below<<<<<<<<<______________________________________________Amr S. El-Dessouky amr.eldessouky@memscap.comSenior Development Engineer CAD BU MEMScAP Egypt SAE----------------------------------------------5th St., Public Free Zone, Nasr City, Cairo, Egypt.Tel: +20 10 1033945 +20 12 7490212 ext: 208Fax: +20 10 1034505______________________________________________-------------------------------------------------------------------------"This message and any attachment are confidential and may be privilegedor otherwise protected from disclosure. If you are not the intendedrecipient, please telephone or email the sender and delete this messageand any attachment from your system. If you are not the intendedrecipient you must not copy this message or attachment or disclose thecontents to any other person."-------------------------------------------------------------------------From amr.eldessouky at memscap.com Wed Mar 24 03:47:07 2004From: amr.eldessouky at memscap.com (Amr El-Dessouky)Date: Wed Mar 24 03:47:38 2004Subject: [Acis-alliance] thanksIn-Reply-To: <0C42D409AF10B1428A0B026FB160A5BE11AFCD@mail02.student.main.ntu.edu.sg>References: <0C42D409AF10B1428A0B026FB160A5BE11AFCD@mail02.student.main.ntu.edu.sg>Message-ID: <40614B0B.5070401@memscap.com.eg>An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040324/bcc07120/attachment.htmlFrom NFarnsworth at web.de Thu Mar 25 04:26:37 2004From: NFarnsworth at web.de (NFarnsworth@web.de)Date: Thu Mar 25 04:27:13 2004Subject: [Acis-alliance] Changing Conic DimensionsMessage-ID: <200403250926.i2P9QXQ19753@mailgate5.cinetic.de>HelloI want to create a cylinder with the c api-function and later I want to modify the cylinder by calling the set_major_axis method of the CONE Class.I do this like the following source code:CONE* mycone=(CONE*)m_pAcisShape->lump()->shell()->face()->geometry();;mycone->set_major_axis(SPAvector(m_dRadius,0.0,0.0)); But the radius of the cylinder isn?t changed. Is there a mistake in mysource code. Is there a posibilty to change the height of the cylinder in the same way?Thanks for your supportNiklas_______________________________________________________________________... and the winner is... WEB.DE FreeMail! - Deutschlands beste E-Mailist zum 39. Mal Testsieger (PC Praxis 03/04) http://f.web.de/?mc=021191From harip at formz.com Thu Mar 25 09:55:15 2004From: harip at formz.com (Harigopal Polisetty)Date: Thu Mar 25 09:56:14 2004Subject: [Acis-alliance] Changing Conic DimensionsIn-Reply-To: <200403250926.i2P9QXQ19753@mailgate5.cinetic.de>Message-ID: <l03130301bc88a333cf83@[192.168.1.111]>Niklas,You need to set the modified geometry pointer back to the face.You were only modifying a copy of the original geometry.Try this:CONE* mycone=(CONE*)m_pAcisShape->lump()->shell()->face()->geometry();;mycone->set_major_axis(SPAvector(m_dRadius,0.0,0.0));m_pAcisShape->lump()->shell()->face()->set_geometry(mycone);HariAt 4:26 AM -0500 3/25/04, <NFarnsworth@web.de> wrote:>Hello>I want to create a cylinder with the c api-function and later I want to>modify the cylinder by calling the set_major_axis method of the CONE Class.>>I do this like the following source code:>CONE* mycone=(CONE*)m_pAcisShape->lump()->shell()->face()->geometry();;>mycone->set_major_axis(SPAvector(m_dRadius,0.0,0.0));>But the radius of the cylinder isn?t changed. Is there a mistake in my>source code. Is there a posibilty to change the height of the cylinder in>the same way?>Thanks for your support>Niklas>_______________________________________________________________________>... and the winner is... WEB.DE FreeMail! - Deutschlands beste E-Mail>ist zum 39. Mal Testsieger (PC Praxis 03/04) http://f.web.de/?mc=021191>>>_______________________________________________>Acis-alliance mailing list>Acis-alliance@cs.columbia.edu>http://lists.cs.columbia.edu/mailman/listinfo/acis-allianceFrom NFarnsworth at web.de Thu Mar 25 10:11:12 2004From: NFarnsworth at web.de (NFarnsworth@web.de)Date: Thu Mar 25 10:11:43 2004Subject: [Acis-alliance] Changing Conic DimensionsMessage-ID: <200403251511.i2PFBCQ17282@mailgate5.cinetic.de>Thank you for your help.Is ther also a posibilty to to change the height of the cylinder inthe same way?thanks for your supportNiklasHarigopal Polisetty <harip@formz.com> schrieb am 25.03.04 15:56:21:> Niklas,> You need to set the modified geometry pointer back to the face.> You were only modifying a copy of the original geometry.> Try this:> > CONE* mycone=(CONE*)m_pAcisShape->lump()->shell()->face()->geometry();;> mycone->set_major_axis(SPAvector(m_dRadius,0.0,0.0));> m_pAcisShape->lump()->shell()->face()->set_geometry(mycone);> > Hari> > At 4:26 AM -0500 3/25/04, <NFarnsworth@web.de> wrote:> >Hello> >I want to create a cylinder with the c api-function and later I want to> >modify the cylinder by calling the set_major_axis method of the CONE Class.> >> >I do this like the following source code:> >CONE* mycone=(CONE*)m_pAcisShape->lump()->shell()->face()->geometry();;> >mycone->set_major_axis(SPAvector(m_dRadius,0.0,0.0));> >But the radius of the cylinder isn?t changed. Is there a mistake in my> >source code. Is there a posibilty to change the height of the cylinder in> >the same way?> >Thanks for your support> >Niklas> >_______________________________________________________________________> >... and the winner is... WEB.DE FreeMail! - Deutschlands beste E-Mail> >ist zum 39. Mal Testsieger (PC Praxis 03/04) http://f.web.de/?mc=021191> >> >> >_______________________________________________> >Acis-alliance mailing list> >Acis-alliance@cs.columbia.edu> >http://lists.cs.columbia.edu/mailman/listinfo/acis-alliance> > > _______________________________________________________________________... and the winner is... WEB.DE FreeMail! - Deutschlands beste E-Mailist zum 39. Mal Testsieger (PC Praxis 03/04) http://f.web.de/?mc=021191From alames at sandia.gov Thu Mar 25 11:24:47 2004From: alames at sandia.gov (Ames, Arlo)Date: Thu Mar 25 11:25:49 2004Subject: [Acis-alliance] Changing Conic DimensionsMessage-ID: <03781128C7B74B4DBC27C55859C9D738113947ED@es06snlnt.sandia.gov>Changing the height of the cylinder requires moving one or both of theplanar faces that bound the cylinder -- it requires moving a planar surface,(at least one) elliptical curve, and (at least one) SPAposition underlying aVERTEX. The current solution you're pursuing has already missed updatingcurves and SPApositions, which you need to do.Spatial already provides a more ge
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -