Re: How can I create a box from 8 points?
Von: Ian Kelly (dontwant@spam.com) [Profil]
Datum: 07.04.2007 12:41
Message-ID: <ev7sgi$cr0$03$1@news.t-online.com>
Newsgroup: alt.cad.autocad
Datum: 07.04.2007 12:41
Message-ID: <ev7sgi$cr0$03$1@news.t-online.com>
Newsgroup: alt.cad.autocad
Bill, Sorry for the delay in getting back to you, and thanks for your answer. As to your questions: 1) I think I do need solids, as I want to do a spacial analysis in GIS, and apply textures in Studio MAX, so as far as I know I do need solids. 2) I am not sure if 3D faces would be enough, particularly for the GIS analysis. But I think that my university can get 2008 for me, so I guess 3D faces would work. 3) I dont think a mesh would work, because of the GIS analysis. 4) I have the data in an excel format, and would write a small basic program to convert the CSV to whatever AutoCAD command line accepts. I guess the best would be a string of XYZ points, always in the same order? 5) The points are in the same order in the CSV file, clockwise around bottom then clockwise around top. Each set consists of 8 points, no more, no less. I appreciate your help! Ian Bill Gilliss wrote: > Ian - > > What a great question. So simple to ask. Not so simple to answer. > > But yes, it can indeed be done. A couple of questions: > > 1) do you need to have 3D solids as the final product? I ask because the > easy ways to create these -- EXTRUDE and LOFT -- only work with planar > initial objects (like a top and bottom polygon pair, or opposite sides > as in your example). It doesn't sound as if your data describes perfect > prismatic cuboids. > > 2) would 3D faces be acceptable? With 2007 and below, these would stay > faces, so you could make each set of faces a block or a group to keep > them together. With 2008, you can create a solid from the faces. > > 3) another possibility is a polyface mesh: one object, stretchable. This > could be constructed from points, or by converting a set of faces to a > mesh. > > 4) do you have many solids defined in each input data file (like one per > line), or one solid per file? > > 5) is the data order IDENTICAL, i.e., the points of one vertical face > listed counterclockwise from the bottom left corner, the points of the > second face listed the same way as seen from the same direction? > > -Bill > > > > Ian Kelly wrote: >> Hi, >> >> I need to create solid boxes by entering all eight coordinates that >> define the corners of the box. I can't extrude a square, since all >> eight corners have different coordinates. I need something that works >> from the command line, since I have hundreds of these boxes to create, >> and want to use a script from a text file. >> >> The project is for my PhD, in which I am trying to make a 3D model of >> an ancient palace in Mesopotamia from old archaeological data. >> >> I hope someone has a suggestion, and I really appreciate your interest >> and help! Hope my question doesn't have an obvious answer I missed... >> >> Thanks again, >> >> Ian >> >> fab_1ATarchaeographiaDOTcommercial >> >> >> >> simplified example of the input data I have: >> 0,0,0; 5,0,0; 5,0,5; 0,0,5; 0,5,0; 5,5,0; 5,5,5; 0,5,5 > > >[ Auf dieses Posting antworten ]
Antworten
- Bill Gilliss (07.04.2007 18:36)
- Bill Gilliss (07.04.2007 20:01)
