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

📄 2003-may.txt

📁 acis说明文档
💻 TXT
📖 第 1 页 / 共 2 页
字号:
From SpatialDimensions at Spatial.Com  Tue May 20 16:30:20 2003From: SpatialDimensions at Spatial.Com (SpatialDimensions@Spatial.Com)Date: Tue May 20 17:32:04 2003Subject: [Acis-alliance] Register for the 3D Insiders' Summit Today!Message-ID: <OFD8B8E6BF.3FCA607A-ON87256D2C.00753CE7@spatial.com>Remember that the 3D Insiders' Summit is coming up June 2nd-4th, 2003 andthere is still time to Register!If you attend this event, you will have the opportunity to win our grandprize giveaway that is worth over $1500!The grand prize includes a Pentax 7x Digibono Binocular/Digital Camera anda Samsung 10-inch Portable Titanium DVD-CD Player.Also, check out our web site for the latest agenda!http://www.spatial.com/news_events/events/summit/You don't want to miss out on this annual event, so register today!From pgao at cad.zju.edu.cn  Wed May 21 11:28:06 2003From: pgao at cad.zju.edu.cn (Gao,Peng)Date: Tue May 20 22:27:10 2003Subject: [Acis-alliance] semi-cylinder faceMessage-ID: <200305210227.h4L2QwkM019068@cs.columbia.edu>Dear, all   I am reading sat files(.sat) exported from Solidworks, in which a cylinder face is represented as two semi-cylinder faces. And I want to deal with them as the whole one. How can i judge whether two semi-cylinder faces belong to one cylinder face?  Does anybody do me a favor to give me some suggestions?   Any ideas will be greatly appreciated! 				              Gao,Peng              pgao@cad.zju.edu.cn                 2003-05-21From Robert.Boehne at ricardo.com  Wed May 21 11:36:11 2003From: Robert.Boehne at ricardo.com (Boehne, Robert)Date: Wed May 21 11:38:08 2003Subject: [Acis-alliance] semi-cylinder faceMessage-ID: <1FDD58CAB1E3B4418D821B678F5AA8181D04E4@ctc-ex2k.dtc.ricplc.com>Gao,The two faces would have the same surface, and would sharetwo linear edges as coedges in opposite directions.HTH,Robert Boehne-----Original Message-----From: Gao,Peng [mailto:pgao@cad.zju.edu.cn]Sent: Tuesday, May 20, 2003 12:00 PMTo: acis-alliance@cs.columbia.eduSubject: [Acis-alliance] semi-cylinder faceDear, all   I am reading sat files(.sat) exported from Solidworks, in which a cylinder face is represented as two semi-cylinder faces. And I want to deal with them as the whole one. How can i judge whether two semi-cylinder faces belong to one cylinder face?  Does anybody do me a favor to give me some suggestions?   Any ideas will be greatly appreciated! 				              Gao,Peng              pgao@cad.zju.edu.cn                 2003-05-21_______________________________________________Acis-alliance mailing listAcis-alliance@cs.columbia.eduhttp://lists.cs.columbia.edu/mailman/listinfo/acis-allianceFrom lzguo at mail.com  Thu May 22 20:44:27 2003From: lzguo at mail.com (lzguo_mail)Date: Thu May 22 07:42:46 2003Subject: [Acis-alliance] How to make a solid transparentMessage-ID: <001201c32057$8017c1b0$af501e0a@t6>Dear acis-alliance members,

  I want to make a solid transparent in view. I mean that I can see the inner part through the outer part. Should I use set-material first, and set the transparency of the material? 

Thank you 

Zhiguo Liu

2003-5-22
-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030522/f756f338/attachment.htmFrom lzguo at mail.com  Thu May 22 20:48:14 2003From: lzguo at mail.com (lzguo_mail)Date: Thu May 22 07:46:43 2003Subject: [Acis-alliance] How to make a solid transparentMessage-ID: <001f01c32058$077b7c50$af501e0a@t6>Dear acis-alliance members,

  I want to make a solid transparent in view. I mean that I can see the inner part through the outer part. Should I use set-material first, and set the transparency of the material? 
  Secondly, whether a cylinder surface is expressed by two faces? Why? If so, how to dicide which one of the two is belong the cylinder surface?

Thank you 

Zhiguo Liu

2003-5-22
-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030522/0745c8b4/attachment.htmFrom lxg at jlu.edu.cn  Fri May 23 10:55:45 2003From: lxg at jlu.edu.cn (mtl)Date: Thu May 22 21:54:00 2003Subject: [Acis-alliance] some questions on ACISMessage-ID: <001501c320ce$6cad89d0$af501e0a@t6>Dear acis-alliance members,

  I have some questions as follows:
1.Which one is the address to send questions to? acis-alliance@cs.columbia.edu or acis-alliance@lists.cs.columbia.edu . Somebody tell me to send questions to the latter. 
2.What is len()? For an example, double length=diagonal.len(); why should we use len()?
3.How to draw a coordinate system in screen(GUI)? 
4.How to construct a snap net in plane?

Thank you

lzguo
2003-5-23

 -------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030523/a6d5e88e/attachment.htmFrom lxg at jlu.edu.cn  Fri May 23 20:10:23 2003From: lxg at jlu.edu.cn (mtl)Date: Fri May 23 07:08:40 2003Subject: [Acis-alliance] What is wrong in these scheme codesMessage-ID: <000e01c3211b$e8400850$af501e0a@t6>Hi everyone,

I have compiled the following codes in scheme to split a cone. But it always notes "***Error let*: wrong number of grguments". What's wrong in the code? I can not find it. Any help will be appreciated. 
;-------------------------------
(define cs
  (lambda()
    (let*(
           (cone(solid:cone (position 0 0 0)(position 0 0 40)25 0))
           (slicer-wire (solid:planar-slice cone (position 0 0 0)(gvector 1 0 0)))
           (cutter(sheet:planar-wire slicer-wire))
           (begin
             (sheet:2d cutter)
             (solid:sweep-face (car(entity:faces cutter)) 0.01)
             (let*(
                    (two-halfs(solid:subtract cone cutter))
                    (entity:delete cone)
                    (blist(body:separate two-halfs))
                    (fill (filter:type "face:planar?"))
                    (pface (car(filter:apply fill (entity:faces (car blist)))))
                    (dir(face:plane-normal pface))
                    (transdir (gvector:scale (gvector:reverse dir)10))
                    )
               (entity:transform (car blist)(transform:translation transdir))
               (render)))))))

(cs)
;------------------------------

lzguo
2003-5-23
-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030523/ca7c58c5/attachment.htmFrom Robert.Boehne at ricardo.com  Fri May 23 12:26:46 2003From: Robert.Boehne at ricardo.com (Boehne, Robert)Date: Fri May 23 12:27:20 2003Subject: [Acis-alliance] What is wrong in these scheme codesMessage-ID: <1FDD58CAB1E3B4418D821B678F5AA8181D04F3@ctc-ex2k.dtc.ricplc.com>I'm no scheme expert but I think it's that(let*(should be(let*  Robert-----Original Message-----From: mtl [mailto:lxg@jlu.edu.cn]Sent: Friday, May 23, 2003 6:10 AMTo: acis-alliance@cs.columbia.eduSubject: [Acis-alliance] What is wrong in these scheme codesHi everyone, I have compiled the following codes in scheme to split a cone. But it always notes "***Error let*: wrong number of grguments". What's wrong in the code? I can not find it. Any help will be appreciated. ;-------------------------------(define cs  (lambda()    (let*(           (cone(solid:cone (position 0 0 0)(position 0 0 40)25 0))           (slicer-wire (solid:planar-slice cone (position 0 0 0)(gvector 1 0 0)))           (cutter(sheet:planar-wire slicer-wire))           (begin             (sheet:2d cutter)             (solid:sweep-face (car(entity:faces cutter)) 0.01)             (let*(                    (two-halfs(solid:subtract cone cutter))                    (entity:delete cone)                    (blist(body:separate two-halfs))                    (fill (filter:type "face:planar?"))                    (pface (car(filter:apply fill (entity:faces (car blist)))))                    (dir(face:plane-normal pface))                    (transdir (gvector:scale (gvector:reverse dir)10))                    )               (entity:transform (car blist)(transform:translation transdir))               (render))))))) (cs);------------------------------ lzguo2003-5-23 -------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030523/dccc6d6e/attachment.htmFrom lxg at jlu.edu.cn  Sat May 24 22:07:48 2003From: lxg at jlu.edu.cn (mtl)Date: Sat May 24 09:06:29 2003Subject: [Acis-alliance] some questions on ACIS MFCMessage-ID: <014601c321f5$79b07f20$af501e0a@t6>Hello everyone,

  I have some questions on ACIS MFC:
1. How to set wcs color? Should I use api_rh_set_entity_rgb? I know there are a function (env:set-active-wcs-color color=0 1 0) in scheme to set wcs color. But I can not find the relevant function in C++.
2. I have able to construct a grip net in a plane. How to realize mouse snap grip in ACIS MFC? For example, how to draw a rectangle on xy plane with mouse snap grip?

Thank you
-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030524/b431759d/attachment.htmFrom alames at sandia.gov  Tue May 27 15:55:18 2003From: alames at sandia.gov (Ames, Arlo)Date: Tue May 27 16:57:30 2003Subject: [Acis-alliance] What is wrong in these scheme codesMessage-ID: <03781128C7B74B4DBC27C55859C9D738FDB6D6@es06snlnt.sandia.gov>let* is expecting a list of variables with initializers.  The last openparen(let* (just begins the declaration of the list.  I suspect the problem is more withthe (beginand the(entity::delete...)forms.  The (begin... thing doesn't look like just a variable and its value-- I think (I'm more lisper than schemer) that the begin begins a list ofprogram statements to be executed, and not a variable with its values.  Sothe code should look like (let *((var1 (function to init))        (var2 (function to init var 2)       )  /* ends variable declarations but not the let* */     (begin        (sheet::2d .....))) If the begin is just being used to declare a list of function calls, I thinkyou can dispense with it.  At least in lisp, you can declare any number offunction calls within a let*, after the variables declaration part. I don't think you intend to declare a variable with (entity::delete, butrather to call entity's delete member function.  It can't occur in thevariables declaration part of the let*, but should occur after ward (maybejust before entity::transform?). And a question for somebody who does this oftener than I:  Is the variable"cone" going to automatically delete itself when it falls out of scopeanyway?-----Original Message-----From: Boehne, Robert [mailto:Robert.Boehne@ricardo.com]Sent: Friday, May 23, 2003 10:27 AMTo: mtl; acis-alliance@cs.columbia.eduSubject: RE: [Acis-alliance] What is wrong in these scheme codesI'm no scheme expert but I think it's that(let*(should be(let*  Robert-----Original Message-----From: mtl [mailto:lxg@jlu.edu.cn]Sent: Friday, May 23, 2003 6:10 AMTo: acis-alliance@cs.columbia.eduSubject: [Acis-alliance] What is wrong in these scheme codesHi everyone, I have compiled the following codes in scheme to split a cone. But it alwaysnotes "***Error let*: wrong number of grguments". What's wrong in the code?I can not find it. Any help will be appreciated. ;-------------------------------(define cs  (lambda()    (let*(           (cone(solid:cone (position 0 0 0)(position 0 0 40)25 0))           (slicer-wire (solid:planar-slice cone (position 0 0 0)(gvector 10 0)))           (cutter(sheet:planar-wire slicer-wire))           (begin             (sheet:2d cutter)             (solid:sweep-face (car(entity:faces cutter)) 0.01)             (let*(                    (two-halfs(solid:subtract cone cutter))                    (entity:delete cone)                    (blist(body:separate two-halfs))                    (fill (filter:type "face:planar?"))                    (pface (car(filter:apply fill (entity:faces (carblist)))))                    (dir(face:plane-normal pface))                    (transdir (gvector:scale (gvector:reverse dir)10))                    )               (entity:transform (car blist)(transform:translationtransdir))               (render))))))) (cs);------------------------------ lzguo2003-5-23 -------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030527/50a6b35c/attachment.htmFrom lxg at jlu.edu.cn  Sat May 31 18:57:11 2003From: lxg at jlu.edu.cn (lzguo)Date: Sat May 31 05:55:45 2003Subject: [Acis-alliance] An  ACIS R10 questionMessage-ID: <000c01c3275b$019b0670$af501e0a@t6>Hi everyone,

  I have update my ACIS from R8 to R10. Under R8,I can realize the function of Grid On in an ACIS MFC by using the following codes:

void CMyAHAppView::OnGridOn() 
{
 // TODO: Add your command handler code here
 input_grid* the_grid= get_global_grid();
 rgb_color gridcolor(7);
 the_grid->set_display_color(gridcolor);
 the_grid->set_display_interval(5,5);
 the_grid->activate_snap(TRUE);
 the_grid->display(TRUE);
 
 CAcisDoc *p ;
 p = GetActiveAcisDoc() ;
 p->InvalidateViews() ; 
}
//-----------------------------------
But ACIS R10 has changed its architecture by reducing some folders. There are not gi,gl and amfc folders in ACIS R10. I have bulid a ACIS HOOPS MFC by using AHAppWizard. Now I want to realize Grid On. But I can not pass the compiling process by using the upper codes, because I can not locate some header files.
//-------------------------------
#include "gihusk/dl_ctx.hxx" // Add
#include "gl_husk/gl_ctx.hxx" // Add
#include "gihusk/grid_def.hxx"
#include "acismfc/amfc_utl.hxx" 
//-------------------------------
Who knows how to locate these header files? Thank you .

lzguo
2003-5-30
-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030531/2d160d2a/attachment.htm

⌨️ 快捷键说明

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