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

📄 2003-december.txt

📁 acis说明文档
💻 TXT
📖 第 1 页 / 共 2 页
字号:
On Sat, 2003-12-06 at 00:50, Jason Kraftcheck wrote:> Mads Paulin wrote:> > Hi,> > > > I would like to facet entities in an ENTITY_LIST.> > > > I need a set of polygons, where each polygon contains a normal + three> > vertices. I also need the surface normal at each vertex.> > > > Does anyone know how to do this ?> > > > P.S I am using ACIS R12. I have done this in earlier versions of ACIS> > using facet_unfacetted_entity() and setting the proper VERTEX_TEMPLATE> > with set_default_vertex_template.> > > > Since the latter function is now obsolete, I need to use some> > mesh_manger etc. It is at this point I am lost...> > > > You might start by looking at the documentation for the > SIMPLE_INDEXED_MESH class, api_set_mesh_manager, and api_facet_entity> > online/refman/generated/refman/SPAfct/class_simple_indexed_mesh.htm> online/refman/generated/refman/SPAfct/function_api_facet_entity.htm> online/refman/generated/refman/SPAfct/function_api_set_mesh_manager.htm> > > _______________________________________________> Acis-alliance mailing list> Acis-alliance@cs.columbia.edu> http://lists.cs.columbia.edu/mailman/listinfo/acis-allianceFrom zz_zxc123 at cims.sjtu.edu.cn  Sun Dec  7 17:36:24 2003From: zz_zxc123 at cims.sjtu.edu.cn (zhang xuechang)Date: Sun Dec  7 04:34:43 2003Subject: [Acis-alliance] 	how to get the mathematic representation of a free-form face.References: <20031125025404.26461.qmail@sina.com>Message-ID: <002201c3bca5$945a7dd0$c37afea9@zxc>Hello everyone!    My question is :   When my program have read a sat file(a part consisted  of free-form surface),I want to know the control point along u and v direction.How can I do it? In other word,I want to know the mathematic representation of a sculpture face.  Any help is appreciated!zhang xuechang2003.12.7From g_baylor at yahoo.com  Wed Dec 10 15:35:26 2003From: g_baylor at yahoo.com (=?iso-8859-1?q?gordon=20baylor?=)Date: Wed Dec 10 10:39:33 2003Subject: [Acis-alliance] Changing shapes in SchemeMessage-ID: <20031210153526.66105.qmail@web12706.mail.yahoo.com>Hello there,I am just beginnning to use ACIS which I will be usingfor my work inshape optimisation. Does anybody know if there is away to update a shape from within Scheme. For exampleif I define something simple like a spline- (define pos1 (position 0 0 0))(define pos2 (position 10 10 0))(define pos3 (position 70 30 0))(define spline1 (edge:spline (list pos1 pos2 pos3)))If I update pos1 using the following(position:set! pos1 100 0 0)Is there any way that I can reflect this change in thespline. The only way I can see is that the spline isfirst deleted and then redefined using the updatedpositions-(entity:delete spline1)(define spline1 (edge:spline (list pos1 pos2 pos3)))Although position has a set function this does notseem to be the case for the spline. There doesn?t seemto be a method for changing the splines control pointseven from within the C++ spline class. Will I have toadd my own functions in C++ to do this or am I missingsomething more obvious?Thanks in advanceGordon________________________________________________________________________BT Yahoo! Broadband - Save ?80 when you order online today. Hurry! Offer ends 21st December 2003. The way the internet was meant to be. http://uk.rd.yahoo.com/evt=21064/*http://btyahoo.yahoo.co.ukFrom Nilesh.Joshi at asu.edu  Sun Dec 14 16:55:29 2003From: Nilesh.Joshi at asu.edu (Nilesh Joshi)Date: Sun Dec 14 18:57:53 2003Subject: [Acis-alliance] identifying unknown attributesIn-Reply-To: <03781128C7B74B4DBC27C55859C9D7381139461F@es06snlnt.sandia.gov>Message-ID: <IKEJINCPIFDAJOBCMLDKOEBBCBAA.Nilesh.Joshi@asu.edu>hi guysi am looking at a SAT fileand my task is to find out what all attributes are attached to the face.there is this specific attribute as pasted belowstep_repitem-attrib_gssl_step-attrib $-1 -1 $-1 $-1 $37 @5 FACE1 #face $47 -1 $-1 $48 $49 $36 $-1 $50 forward single #i want to know what is the information stored in this attributeand also how to retrieve this information using ACISi can sent the SAT file whoever wants to take a look at it.With Regards-Nilesh JoshiDesign Automation LaboratoryArizona State University From gaozhan at hkusua.hku.hk  Mon Dec 15 16:26:53 2003From: gaozhan at hkusua.hku.hk (gaozhan)Date: Mon Dec 15 03:29:03 2003Subject: [Acis-alliance] 	On how to extract NURBS representation from EDGE or FACEIn-Reply-To: <E1ARDsq-0006Ky-02@rogue.cs.columbia.edu>Message-ID: <000201c3c2e5$331cf160$5e570893@minabunny>Hi, all,Following are C++ codes examples to extract NURBS representation fromEDGE entity, then knot vector is refined and finally a new EDGE entityis created.For the FACE entity, similar methods will work too. In order to access the NURBS information such as knot vector or controlpoints from EDGE object, we first need to create a bs3_curve from thisEDGE object. //***********************************************************************	//you got a EDGE from a series of points	EDGE * crv;	api_curve_spline(5, pts, NULL, NULL, crv ,TRUE ,TRUE);		//init spline interface	api_initialize_spline( );	bs3_curve_init( );	//to get a bs3_curve	CURVE * GeoCurve = crv->geometry();	curve const & EqtCurve = GeoCurve->equation();	SPAinterval uInterval;	uInterval = EqtCurve.param_range();	bs3_curve bs3crv = bs3_curve_make_cur(EqtCurve,uInterval.start_pt() , uInterval.end_pt());	//from a bs3_curve, you can get knot vector	int num_knots; 	double* knots;	bs3_curve_knots(bs3crv, num_knots, knots);	double * KnotVec = new double[num_knots];	for(int i=0; i<num_knots; i++,knots++)		TRACE1("%f, ", *knots);	//or get control points	int num_pts;	SPAposition* ctrlpts;	bs3_curve_control_points(bs3crv,num_pts,ctrlpts);	//you can also insert a knot 	int n = bs3_curve_add_knot( bs3crv, 0.5, 1, 0);	//then you can make an EDGE entity from the bs3_curve	intcurve *ic = ACIS_NEW intcurve(bs3crv, 0.0, *(surface *)0,*(surface *)0);	INTCURVE *IC = ACIS_NEW INTCURVE(*ic);	SPAposition st, end;	st = bs3_curve_start(bs3crv);	end = bs3_curve_end(bs3crv);	APOINT *aptSt = ACIS_NEW APOINT(st.x(), st.y(), st.z());	APOINT *aptEnd = ACIS_NEW APOINT(end.x(), end.y(), end.z());	VERTEX * start_vertex = ACIS_NEW VERTEX(aptSt);	VERTEX * end_vertex = ACIS_NEW VERTEX(aptEnd);	//finally you get that new edge, with shape as the same as the//previous one, but knot vector refined. You can replace the//previous one with this new one.	EDGE * e = ACIS_NEW EDGE(start_vertex, end_vertex, IC, FORWARD);	bs3_curve_term( );	api_terminate_spline( );//***********************************************************************Good luck!JimmyFrom san_munde at iitb.ac.in  Thu Dec 18 11:08:26 2003From: san_munde at iitb.ac.in (MUNDE SANDEEP VIJAYKUMAR)Date: Thu Dec 18 01:05:16 2003Subject: [Acis-alliance] surface of revolution and Lofted surfaceMessage-ID: <1218.10.145.237.57.1071725906.squirrel@pgmail.iitb.ac.in>hi, can somebody send me a program for generating surafce of revolution andlofted surface i need it desperately. actually i am not getting how touse acis, i am new to it.thanking yousandeep mundeM.Tech.IIT Bomaby,From san_munde at iitb.ac.in  Wed Dec 17 10:27:45 2003From: san_munde at iitb.ac.in (MUNDE SANDEEP VIJAYKUMAR)Date: Thu Dec 18 01:48:20 2003Subject: [Acis-alliance] Surface of revolution and lofted surfaceMessage-ID: <1197.10.145.237.57.1071637065.squirrel@pgmail.iitb.ac.in>hi all,can anybody please give me a example ACIS program for surface ofrevolution and lofted surface. i need it urgently. i have to work on it. iam not getting ACIS bcoz i don't have any acis tutorial.thanking youFrom Nilesh.Joshi at asu.edu  Sat Dec 20 20:40:24 2003From: Nilesh.Joshi at asu.edu (Nilesh Joshi)Date: Sat Dec 20 22:42:33 2003Subject: [Acis-alliance] AP 224Message-ID: <IKEJINCPIFDAJOBCMLDKIECICBAA.Nilesh.Joshi@asu.edu>hi guysPlease send me any STEP AP224 files you have.I need a lot of sample files.With Regards-Nilesh JoshiDesign Automation LaboratoryArizona State University From ywenbo at tom.com  Mon Dec 22 22:02:29 2003From: ywenbo at tom.com (Yang Wenbo)Date: Mon Dec 22 09:01:22 2003Subject: [Acis-alliance] how to use law class to create face?Message-ID: <001d01c3c894$47c195d0$501a75ca@walker>Hello everyone,
    I'm using acisR10. I want to use law class to create face. Now, I can get the parametric equation of the face:
                       x=fx(u,v)
                       y=fy(u,v)
                       z=fz(u,v)
    the expressiones of x, y, and z are changed according to various conditions, and can be defined in specific condition.
so I have used the following functiones.
law* law_x;
law* law_y;
law* law_z;
law* law_xyz;
api_str_to_law(str_x,law_x);
api_str_to_law(str_y,law_y);
api_str_to_law(str_z,law_z);
……
api_face_law(law_xyz,minu,maxu,minv,minv,law_face);

Which function can combined 3 sublaws (law_x, law_y,law_z) into a single law(law_xyz) or vector that has 3 dimensions?
VEC? How to use?

Any help is appreciated.
Yang Wenbo-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20031222/02bef0f0/attachment.htmFrom mkajtaz at vpac.org  Wed Dec 31 00:19:02 2003From: mkajtaz at vpac.org (Mladenko Kajtaz (VPAC Summer))Date: Tue Dec 30 08:23:33 2003Subject: [Acis-alliance] Rendering in C++Message-ID: <200312301319.hBUDJ3M28751@vpac.org>Hello there,    I'm trying to render some entities in C++ but I'm having difficulties.    I'm running ACIS R12 on Linux (RH 9) and I do have Motif installed. I'm =    able to create windows but I do not know how to display geometry in the =    windows.=20    Could someone, please, explain how this is done? Some sample code would =    be highly appreciated.    Sincerely,    Mladenko

⌨️ 快捷键说明

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