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

📄 2004-april.txt

📁 acis说明文档
💻 TXT
📖 第 1 页 / 共 4 页
字号:
>> >- create as few triangles as possible>> >- create all non-triangles as poygons with 4 vertices (Positions)>> >- limit number of quads and triangles (e.g. 250+-50, 100+-50)>> >>> >>> >Is there any possibility to get this options by configuring the>> >Refinement?>> >>> >Thank you very much for your support>> >>> >>> >>> >Juergen Wehr>> >_______________________________________________>> >Acis-alliance mailing list>> >Acis-alliance@cs.columbia.edu>> >http://lists.cs.columbia.edu/mailman/listinfo/acis-alliance>>>>>>>> _______________________________________________>> Acis-alliance mailing list>> Acis-alliance@cs.columbia.edu>> http://lists.cs.columbia.edu/mailman/listinfo/acis-allianceFrom kkarkele at hotmail.com  Mon Apr  5 23:49:41 2004From: kkarkele at hotmail.com (kapil karkele)Date: Tue Apr  6 10:31:59 2004Subject: [Acis-alliance] Highlighting entitiesMessage-ID: <BAY8-F12PC5mNQz6Qzp00032415@hotmail.com>Dear acis-alliance,I am not able to Highlight the acis faces using the following code.int n_faces = face_list.count();for (int iSurf = 1, k = 0; iSurf < iTotal; iSurf++, k++){     outcome rc = api_gi_highlight_entity(face_list[k],TRUE);}where face_list is ENTITY_LIST . I am using acis R10. I will be grateful if anyone can help me to sort out the problem. Actually I am using OpenGl for display purpose. Can this affect the behaviour of acis api?-Thanks and regards,kapil_________________________________________________________________Easiest Money Transfer to India. Send Money To 6000 Indian Towns. http://go.msnserver.com/IN/42198.asp Easiest Way To Send Money Home!From alames at sandia.gov  Tue Apr  6 11:07:38 2004From: alames at sandia.gov (Ames, Arlo)Date: Tue Apr  6 11:09:09 2004Subject: [Acis-alliance] About Boolean OperationMessage-ID: <03781128C7B74B4DBC27C55859C9D73811394824@es06snlnt.sandia.gov>What do you mean by incorrect?  The resulting body has, say no lumps, etc?Or the result is completely fallacious (you expected 30 faces and got 2)?   What version of ACIS are you running?  Older versions had MANY more problemsthan current versions. Boolean operations are not completely robust in any current modeling system.You have to be careful of what you feed it in order to get good results.Have you run api_check on the objects going in to the boolean?  Are theyclosed, accurate, well-formed? If everything else fails, contact Spatial.  This is really their problem. Arlo Amesalames@sandia.gov-----Original Message-----From: Luo, Yue-Tong [mailto:luo@irs.fzk.de] Sent: Friday, April 02, 2004 12:30 AMTo: acis-alliance@cs.columbia.eduSubject: [Acis-alliance] About Boolean OperationHi,   I call res = DoBoolean(b1, b2) in my program to implement Booleanoperation between b1 and b2.  Res.ok() is true, but the result returned byb2 is incorrect, What is the matter? And how can I detect such error? Thank you in advance!Yuetong Luo-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20040406/cb9cc7cf/attachment.htmlFrom T.Mwinuka at postgrad.umist.ac.uk  Tue Apr  6 12:40:32 2004From: T.Mwinuka at postgrad.umist.ac.uk (Tito Mwinuka)Date: Tue Apr  6 12:41:36 2004Subject: [Acis-alliance] Re:Highlighting entitiesIn-Reply-To: <E1BAszf-0006Pv-03@beast.cs.columbia.edu>References: <E1BAszf-0006Pv-03@beast.cs.columbia.edu>Message-ID: <1081269632.4072dd8058ed3@webmail1.umist.ac.uk>I had a similar problem sometimes in the past. Since the faces were accessed by going from (BODY*)body->lump()->shell()->face(); then next_in_list() to proceed to other faces, the highlighting started to work when I inserted a line     api_gi_highlight_entity(body,FALSE)well before I reached the faces. I have absolutely no idea as to why it worked.where 'body' is the entity I restored from file.I will paste my piece of code here if it can be of any help	FILE* pfile=fopen("c:/directory/adapter.sat","r");	ENTITY_LIST elist;	outcome result=api_restore_entity_list(pfile,TRUE, elist);		m_pAcisDoc->InvalidateViews();        for (int i=0; i<elist.count(); i++)	{		ENTITY* ent=elist[i];		m_pAcisDoc->AddEntity(ent);           //if i remove the following line, highlighting doesn't work	    api_gi_highlight_entity(ent,false);    	    BODY* ent1=(BODY*)ent;             LUMP* lump1=ent1->lump();     	    SHELL* shell1=lump1->shell();	   				FACE* face1=shell1->face();  int position=0;		while (face1)		{		/*	if (position==6)*/ api_gi_highlight_entity(face1,true);			face1=face1->next_in_list();			position=position+1;				}		}If I remove the commenting out above only the seventh face is highlighted> ----------------------------------------------------------------------> > Message: 1> Date: Tue, 06 Apr 2004 03:49:41 +0000> From: "kapil karkele" <kkarkele@hotmail.com>> Subject: [Acis-alliance] Highlighting entities> To: acis-alliance@cs.columbia.edu> Message-ID: <BAY8-F12PC5mNQz6Qzp00032415@hotmail.com>> Content-Type: text/plain; format=flowed> > Dear acis-alliance,> I am not able to Highlight the acis faces using the following code.> > int n_faces = face_list.count();> for (int iSurf = 1, k = 0; iSurf < iTotal; iSurf++, k++)> {>      outcome rc = api_gi_highlight_entity(face_list[k],TRUE);> }> > where face_list is ENTITY_LIST . I am using acis R10. I will be grateful if> > anyone can help me to sort out the problem. Actually I am using OpenGl for > display purpose. Can this affect the behaviour of acis api?> > -Thanks and regards,> kapil> > _________________________________________________________________> Easiest Money Transfer to India. Send Money To 6000 Indian Towns. > http://go.msnserver.com/IN/42198.asp Easiest Way To Send Money Home!> > > > ------------------------------From NFarnsworth at web.de  Wed Apr  7 14:08:41 2004From: NFarnsworth at web.de (NFarnsworth@web.de)Date: Wed Apr  7 14:10:12 2004Subject: [Acis-alliance] problem with calculating mass propertiesMessage-ID: <445144562@web.de>Hello,I have a probleme with calculation of mass properties of an ACIS Body. I do this with the c-api function api_body_mass_prwhich calculates inertial tensor and the principal moments. My question is, how can I get the rotation matrix of thecenter of gravity system which is relative to the body system. I thougth that I can calculate the rotation matrix by solving theequation Js=Vt*JV where Js is the principal moment matrix or diagonalized inertial tensor an J is the inertial tensor. V is the transformation matrix which is the rotation matrix I search for.I can solve the equation by finding the eigenvector. My problem is that the result matrix V is not correct.I thought that I have to take in account that  the inertial tensor is relative to the body but it have to relative to center of gravity system but this did not help.Could somebody tell me what the mistake is? Thanks for your support Niklas____________________________________________________________________Der WEB.DE Virenschutz schuetzt Ihr Postfach vor dem Wurm Sober.A-F!Kostenfrei fuer FreeMail Nutzer. http://f.web.de/?mc=021158From alames at sandia.gov  Wed Apr  7 15:29:42 2004From: alames at sandia.gov (Ames, Arlo)Date: Wed Apr  7 15:31:01 2004Subject: [Acis-alliance] problem with calculating mass propertiesMessage-ID: <03781128C7B74B4DBC27C55859C9D73811394832@es06snlnt.sandia.gov>As I recall, the api function returns principal axes, a mutually orthogonalset.  The function coordinate_transf will construct a transformation to takeorigin, x, y, z coordinate system to new_orgin, new_x_axis, new_y_axissystem.  Just pass the CG, and 2 of the principal axes, to the function andyou'll get the transform.  Note that the solution you'll get is not unique-- you can negate either the new_x or new_y axis and get another transformthat meets your criteria.Arlo Amesalames@sandia.gov-----Original Message-----From: NFarnsworth@web.de [mailto:NFarnsworth@web.de] Sent: Wednesday, April 07, 2004 12:09 PMTo: acis-alliance@cs.columbia.eduSubject: [Acis-alliance] problem with calculating mass propertiesHello,I have a probleme with calculation of mass properties of an ACIS Body. I dothis with the c-api function api_body_mass_pr which calculates inertialtensor and the principal moments. My question is, how can I get the rotationmatrix of the center of gravity system which is relative to the body system.I thougth that I can calculate the rotation matrix by solving the equationJs=Vt*JV where Js is the principal moment matrix or diagonalized inertialtensor an J is the inertial tensor. V is the transformation matrix which isthe rotation matrix I search for. I can solve the equation by finding theeigenvector. My problem is that the result matrix V is not correct. Ithought that I have to take in account that  the inertial tensor is relativeto the body but it have to relative to center of gravity system but this didnot help. Could somebody tell me what the mistake is? Thanks for your support Niklas____________________________________________________________________Der WEB.DE Virenschutz schuetzt Ihr Postfach vor dem Wurm Sober.A-F!Kostenfrei fuer FreeMail Nutzer. http://f.web.de/?mc=021158_______________________________________________Acis-alliance mailing listAcis-alliance@cs.columbia.eduhttp://lists.cs.columbia.edu/mailman/listinfo/acis-allianceFrom zhengshu.shen at asu.edu  Wed Apr  7 19:05:54 2004From: zhengshu.shen at asu.edu (shen)Date: Wed Apr  7 19:01:46 2004Subject: [Acis-alliance] how to obtain FACE parameterReferences: <03781128C7B74B4DBC27C55859C9D73811394824@es06snlnt.sandia.gov>Message-ID: <40748952.B81FB856@asu.edu>Hello!If I have a analytic surface (plane, cone, sphere, torus), in terms of aFACE pointer, how can i get the corresponding parameters for it? Forinstance, if I have a cylindrical FACE, how can I get its diameter andheight? Any API functions?Thank a lot.ShenFrom kkarkele at hotmail.com  Wed Apr  7 22:58:02 2004From: kkarkele at hotmail.com (kapil karkele)Date: Wed Apr  7 22:59:04 2004Subject: [Acis-alliance] Creating new Solid from selected surfacesMessage-ID: <BAY8-F99T2o2vq7RCLJ00037f70@hotmail.com>Hi,I am using Acis R10. In my code I have array of surfaces from Acis Body A from which I am creating new body B by calling api api_mk_by_faces and I have delete these surfaces from the original solid .The api api_mk_by_faces works fine.1)But when I am deleting those surfaces from the orignal solid after that by calling api_remove_face then I get a error message saying 'Access Violation'.2)If I delete it before api_mk_by_faces then api_mk_by_faces fails saying 'Access Violation'.3)I tried api_subtract after api_mk_by_faces  but I get error messge as 'system inconsistency processing edge coincidence'.4)I tried healing the new body. As,api_initialize_healing();result = api_hh_init_body_for_healing(Newbody);result = api_hh_auto_heal(Newbody);CheckOutcome(result);api_terminate_healing();Then I got error message as ' Bodies with inconsistencies cannot be healed'.5) I checked new Body by calling api_check_entity. And this also gives me the same error message as above.Is anywhere I am wrong to creae a new body from set of some surfaces from the orignal body?. Also which is the correct way to remove those surfaces after that?Anykind of reply is appreciating.!-Thanks and regards,kapil_________________________________________________________________Buzz on your screen! Download on your screen. http://www.msn.co.in/Download/screensaver/ Keep yourself smiling!From kkarkele at hotmail.com  Thu Apr  8 00:49:07 2004From: kkarkele at hotmail.com (kapil karkele)Date: Thu Apr  8 00:50:06 2004Subject: [Acis-alliance] Speed related IssuesMessage-ID: <BAY8-F81wok0CVjNonl0003b142@hotmail.com>Hi,I am using Acis R10. There are many api's which I think are slow.1)api_entity_entity_distance : To find out shortest distance betn two entities I am using this api which is very slow in computation. Is there any alternative for this?2) api_facet_entity :- Depending upon the normal tolerance (the angle between the surface normals at the two adjacent nodes of a facet) this api takes time. Increasing this value improves speed but faceting performance is hampered. Is there any other workaround to this? Actually in R11 there are different mesh managers like LINKED_MESH_MANAGER  which is used to speed up the faceting but I have to use R10 .3)get_body_box : This is the api which takes time depending on body size.Can I improve the speed in these kind of situations?Thanks and regards,kapil_________________________________________________________________Post Classifieds on MSN classifieds. http://go.msnserver.com/IN/44045.asp Buy and Sell on MSN Classifieds.From alames at sandia.gov  Thu Apr  8 11:00:30 2004From: alames at sandia.gov (Ames, Arlo)Date: Thu Apr  8 11:02:20 2004Subject: [Acis-alliance] Creating new Solid from selected surfacesMessage-ID: <03781128C7B74B4DBC27C55859C9D7381139483A@es06snlnt.sandia.gov>You're asking a lot of these functions.  More than they're capable of (oreven CAN be capable of).The semantically-ill-posed concern:So you decide to build a body out of some of the faces from a solid.  Asubset of the faces of a solid cannot form a closed body.  And you canexpect it to have sufficiently large gaps that the body cannot be closed;certainly not by healing, which expects to fix up small gaps in an otherwisecomplete, closed topology.  I cannot see how you expect either the original"solid" or the new "solid" to close.There are special cases where you might get lucky in attempting to remove aset of faces from a solid -- an example is a "hole", which is bounded by asingle loop in the middle of a face.  You can get lucky and be able toremove the faces of the hole from the solid without leaving irreparableholes in the result, as you're just removing a single loop from the originalsolid.  In general, removal of faces from a solid is semantially ill-posed;you can create gaps in the solid for which no algorithm CAN exist to decidehow to close them.  At best, an infinite number of solutions exist forclosing the holes you create; at worst, you can create holes so large thatinfinite time can be expended attempting to find a closing set of geometrythat makes sense.Your problem MUST be very carefully constrained, or you're attempting theimpossible.  What are you trying to do (the big picture)?The topological "bug" that you can maybe try to patch over:When you extracted faces from the original solid, recall that they arestitched into that solid; they share coedges, so they continue to beadjacent to the faces in the original solid.  Api_mk_by_faces only expects

⌨️ 快捷键说明

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