⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 2003-october.txt

📁 acis说明文档
💻 TXT
📖 第 1 页 / 共 3 页
字号:
From q_zhenyi at 163.com  Wed Oct  1 18:59:57 2003From: q_zhenyi at 163.com (qiu)Date: Wed Oct  1 06:01:01 2003Subject: [Acis-alliance] Re: Acis-alliance Digest, Vol 6, Issue 16Message-ID: <3F7AA59D.00002C.21240@bj220.163.com>Hi,every one.    i create a solid block in MFC.i want to modify some parameter,for example,its width,or height.so i call the document method.pDoc->ModifyEntity(entity*),but the body in part not change ,and throw a exception.can anybody know how to do?thanks every responding.Qiu-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20031001/7c764ed1/attachment.htmFrom san_munde at iitb.ac.in  Fri Oct  3 10:08:13 2003From: san_munde at iitb.ac.in (MUNDE SANDEEP VIJAYKUMAR)Date: Thu Oct  2 23:39:16 2003Subject: [Acis-alliance] tutorialMessage-ID: <32892.10.12.27.4.1065152293.squirrel@pgmail.iitb.ac.in>is theire any online or in some other electronic format tutorial for ACISavailable.thanks in adavancebye for nowsandeep mundeFrom san_munde at iitb.ac.in  Fri Oct  3 11:47:25 2003From: san_munde at iitb.ac.in (MUNDE SANDEEP VIJAYKUMAR)Date: Fri Oct  3 01:17:37 2003Subject: [Acis-alliance] how to do thisMessage-ID: <1424.10.145.109.57.1065158245.squirrel@pgmail.iitb.ac.in>i want to sketch a half side silhoutte of a "surface of revolution" thenhow can we mdoel that surface of revolution condition is that the objectssilhoutte and that of drawn should me coincident.thanking yousandeep mundeFrom lzguo at mail.com  Mon Oct  6 11:58:07 2003From: lzguo at mail.com (liu zhiguo)Date: Sun Oct  5 23:03:03 2003Subject: [Acis-alliance] a question on acisMessage-ID: <7764E3BB415.AAA3C8F@mail.jlu.edu.cn>Hi everybody of acis-alliance,I have a SAT file which includes lots of faces,just as my attach file.  I want to save all the faces to a new ENTITY_LIST, save all the EDGEs to a new ENTITY_LIST, then check the relationship of two adjacent faces.1.I wrote the following problem to distinguish different types of a ENTITY_LIST.But the result can only output the number of BODY, when I opened a SAT file. When I check the file by notepad.exe, I can find BODY, Lump, shell, FACE, EDGE, LOOP. Why the other number is 0 except BODY?void CACISR10Doc::T_Question(ENTITY_LIST &face_list){	AllocConsole();	HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);	char output[30];	char* enter="\n";	DWORD cCharsWritten;		int count=face_list.count();	if(count<0) return;    FACE** face_array = new FACE*[count];	EDGE** edge_array= new EDGE*[count];    face_list.init();    int num_faces = 0;	int num_edges = 0;	int num_bodys =0;	int num_lumps =0;	int num_shells=0;	int num_loops=0;	sprintf(output,"\n%d",count);	if(hConsole) 	{		WriteConsole(hConsole,enter,strlen(enter),&cCharsWritten,0);		WriteConsole(hConsole,output,strlen(output),&cCharsWritten,0);	}	//	FILE *output_file=fopen("E:\\lzgprogram\\ACISR10\\fileinfo.dbg","w");//	debug_size(face_list[1].output_file);//	fclose(output_file);	    for (int i = 0; i < count; i++) 	{      // If the entity is a FACE => put it in the list to create the body.	  if(is_BODY(face_list[i]))		  num_bodys++;	  else if(is_LUMP(face_list[i]))		  num_lumps++;	  else if(is_SHELL(face_list[i]))		  num_shells++;	  else if(is_LOOP(face_list[i]))		  num_loops++;		        else if (is_FACE(face_list[i])) 	  {         face_array[num_faces] = (FACE*)face_list[i];         num_faces++;	  }	  // If the entity is a EDGE => put it in the list to create the body.	  else if(is_EDGE(face_list[i]))	  {		  edge_array[num_edges]=(EDGE*)face_list[i];		  num_edges++;	  }	}	sprintf(output,"\n%d",num_bodys);	if(hConsole) 	{		WriteConsole(hConsole,enter,strlen(enter),&cCharsWritten,0);		WriteConsole(hConsole,output,strlen(output),&cCharsWritten,0);	}	sprintf(output,"\n%d",num_lumps);	if(hConsole) 	{		WriteConsole(hConsole,enter,strlen(enter),&cCharsWritten,0);		WriteConsole(hConsole,output,strlen(output),&cCharsWritten,0);	}	sprintf(output,"\n%d",num_shells);	if(hConsole) 	{		WriteConsole(hConsole,enter,strlen(enter),&cCharsWritten,0);		WriteConsole(hConsole,output,strlen(output),&cCharsWritten,0);	}	sprintf(output,"\n%d",num_loops);	if(hConsole) 	{		WriteConsole(hConsole,enter,strlen(enter),&cCharsWritten,0);		WriteConsole(hConsole,output,strlen(output),&cCharsWritten,0);	}	sprintf(output,"\n%d",num_faces);	if(hConsole) 	{		WriteConsole(hConsole,enter,strlen(enter),&cCharsWritten,0);		WriteConsole(hConsole,output,strlen(output),&cCharsWritten,0);	}	sprintf(output,"\n%d",num_edges);	if(hConsole) 	{		WriteConsole(hConsole,enter,strlen(enter),&cCharsWritten,0);		WriteConsole(hConsole,output,strlen(output),&cCharsWritten,0);	}}2. I want to check the result of a ENTITY_LIST 's data structure by doing this:    FILE *output_file=fopen("E:\\lzgprogram\\ACISR10\\fileinfo.dbg","w");	debug_size(face_list[1].output_file);       //problem say this is an error.	fclose(output_file);Who can help me to output the data structure to a file. Thanks alot.Liu zhiguo 2003-10-6-------------- next part --------------A non-text attachment was scrubbed...Name: testface.rarType: application/octet-streamSize: 680435 bytesDesc: not availableUrl : http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20031006/71e768de/testface-0001.objFrom patilan at iitb.ac.in  Tue Oct  7 01:00:50 2003From: patilan at iitb.ac.in (Ajit Narayan Patil)Date: Mon Oct  6 14:32:03 2003Subject: [Acis-alliance] In-Reply-To: <E1A6LeO-00024S-02@rogue.cs.columbia.edu>References: <E1A6LeO-00024S-02@rogue.cs.columbia.edu>Message-ID: <1274.10.145.109.53.1065465050.squirrel@iitmail.iitb.ac.in>HiDoes anybody know how to use this function to get picked edge fromGUI(displayed Model)outcome api_gi_pick_edge ( const pick_event& pe,  // pick event                            entity_filter* filter, // pick filter                                                  // or NULL                          ENTITY_LIST const* pick_from,  // pick list                                           // of entities                  EDGE*& edge   // returned edge        // picked );I want to make filet at selected edge..How to set parameter for it.Thank in advaceAjitFrom san_munde at iitb.ac.in  Thu Oct  9 12:13:32 2003From: san_munde at iitb.ac.in (MUNDE SANDEEP VIJAYKUMAR)Date: Thu Oct  9 01:43:58 2003Subject: [Acis-alliance] surface of revolutionMessage-ID: <1216.10.145.109.57.1065678212.squirrel@pgmail.iitb.ac.in>hi,how to draw surface of revolution using if i had nurbs curve and positionof axis.and can that surface be converted into NURBS surfacethanking yousandeepFrom san_munde at iitb.ac.in  Thu Oct  9 12:14:29 2003From: san_munde at iitb.ac.in (MUNDE SANDEEP VIJAYKUMAR)Date: Thu Oct  9 01:44:39 2003Subject: [Acis-alliance] Message-ID: <1230.10.145.109.57.1065678269.squirrel@pgmail.iitb.ac.in>hi,how to draw surface of revolution using if i had nurbs curve and positionof axis.and can that surface be converted into NURBS surfacethanking yousandeepFrom Nilesh.Joshi at asu.edu  Thu Oct  9 00:52:38 2003From: Nilesh.Joshi at asu.edu (Nilesh Joshi)Date: Thu Oct  9 03:12:03 2003Subject: [Acis-alliance] vector :: ambiguous definitionIn-Reply-To: <1230.10.145.109.57.1065678269.squirrel@pgmail.iitb.ac.in>Message-ID: <IKEJINCPIFDAJOBCMLDKGEEGCAAA.Nilesh.Joshi@asu.edu>Hi guys,I have to use vector contains along with vectors in ACISbut, it gives me hundreds of errors when I use it.It keeps on referring to the ACIS files saying that they have ambiguoussymbol 'vector'!i am sure some of you must have faced this problem earlier.Please help.With Regards-Nilesh JoshiDesign Automation LaboratoryArizona State UniversityFrom wang at me.skku.ac.kr  Thu Oct  9 17:46:41 2003From: wang at me.skku.ac.kr (Eric Wang)Date: Thu Oct  9 03:47:21 2003Subject: [Acis-alliance] vector :: ambiguous definitionReferences: <IKEJINCPIFDAJOBCMLDKGEEGCAAA.Nilesh.Joshi@asu.edu>Message-ID: <018601c38e39$7ae00e50$883afccb@ewang2>From: "Nilesh Joshi" <Nilesh.Joshi@asu.edu>> I have to use vector contains along with vectors in ACIS> but, it gives me hundreds of errors when I use it.> It keeps on referring to the ACIS files saying that they have ambiguous> symbol 'vector'!    1.  Do not use the using-directive 'using namespace std'.        If you have that anywhere in your code, delete it.        (Then you may need to add equivalent using-declarations.)    2.  Do not use the using-declaration 'using std::vector'.        It fatally conflicts with ACIS vector.    Solution: Don't import the STL std::vector into the global namespace.    Just leave it in the std namespace, and specify std:: whenevr you useit.    Better solution: Use typedefs.    3.a)  For every type T you want to use with std::vector,            write a few typedefs:    typedef std::vector<int> int_V;    typedef int_V::iterator int_VI;    typedef int_V::const_iterator int_VCI;    And so on. Then these typedefs are much easier to use than    typing std::vector<> everywhere.--Eric WangCAD Lab, Sungkyunkwan UniversityFrom marco.beninca at salvagninigroup.com  Thu Oct  9 10:16:45 2003From: marco.beninca at salvagninigroup.com (Beninca Marco)Date: Thu Oct  9 09:08:22 2003Subject: [Acis-alliance] vector :: ambiguous definitionMessage-ID: <E6629EA4F0DB234EB6CC6A4F990691400B00F7@SIEUCLM1.europe.salvagninigroup.com>Hifrom ACIS R10 every ACIS class has new name with SPA prefix. So the best way to solve the problem is to upgrade your application to acis R1x, keeping in mind that many things are changed:- class names- dll names- directories treeMarco-----Original Message-----From: Nilesh Joshi [mailto:Nilesh.Joshi@asu.edu]Sent: Thursday, October 09, 2003 8:53 AMTo: acis-alliance@cs.columbia.eduSubject: [Acis-alliance] vector :: ambiguous definitionHi guys,I have to use vector contains along with vectors in ACISbut, it gives me hundreds of errors when I use it.It keeps on referring to the ACIS files saying that they have ambiguoussymbol 'vector'!i am sure some of you must have faced this problem earlier.Please help.With Regards-Nilesh JoshiDesign Automation LaboratoryArizona State University_______________________________________________Acis-alliance mailing listAcis-alliance@cs.columbia.eduhttp://lists.cs.columbia.edu/mailman/listinfo/acis-allianceFrom lzguo at mail.com  Fri Oct 10 17:11:31 2003From: lzguo at mail.com (liu zhiguo)Date: Fri Oct 10 04:13:28 2003Subject: [Acis-alliance] on COEDGEMessage-ID: <7764E550972.AAA17C3@mail.jlu.edu.cn>Hi everyone of acis-alliance,  I want to judge if a two faces are adjacent in a ENTITY_LIST. I use CODEGE to realize it.  This is my codes:---------------------------------------------------------------------------    for (int i = 0; i < face_list.count(); i++) 	{		if(is_BODY(face_list[i]))		{			BODY *body=(BODY*)face_list[i];			COEDGE *ee=body->lump()->shell()->face_list()->loop()->start();			while(ee!=NULL){				FACE *face=ee->owner()->face();				COEDGE *par_ee=ee->partner();				FACE *adj_face=par_ee->owner()->face();				num_codege++;				ee=ee->next();				if(adj_face!=face)				{					face_adj_edge.add(face);					face_adj_edge.add(adj_face);				}			}		}	}---------------------------------------------------------------------------But I can not pass the compiling, the error is :--------------------Configuration: ACISR10 - Win32 Debug--------------------Compiling...ACISR10Doc.cppF:\lzguo\program\ACISR10\ACISR10Doc.cpp(836) : error C2039: 'face' : is not a member of 'ENTITY'        d:\spatial\acisr10\kern\kernel\kerndata\data\entity.hxx(714) : see declaration of 'ENTITY'F:\lzguo\program\ACISR10\ACISR10Doc.cpp(838) : error C2039: 'face' : is not a member of 'ENTITY'        d:\spatial\acisr10\kern\kernel\kerndata\data\entity.hxx(714) : see declaration of 'ENTITY'F:\lzguo\program\ACISR10\ACISR10Doc.cpp(843) : error C2065: 'face_adj_edge' : undeclared identifierF:\lzguo\program\ACISR10\ACISR10Doc.cpp(843) : error C2228: left of '.add' must have class/struct/union typeF:\lzguo\program\ACISR10\ACISR10Doc.cpp(844) : error C2228: left of '.add' must have class/struct/union typeError executing cl.exe.Creating browse info file...ACISR10.exe - 5 error(s), 0 warning(s)Should I use the follow method to realize, but when I use it to judge , the program will hold on. ------------------------------------------------------------------------void get_faces_of_edge(EDGE *edge, ENTITY_LIST &faces){	faces.add( ((LOOP *)edge->coedge()->owner())->face() );    faces.add( ((LOOP *)edge->coedge()->partner()->owner())->face() );}-------------------------------------------------------------------------Who can tell me what is the error in my two codes, and how to do? Thank you very much.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -