Thread View: borland.public.delphi.graphics
10 messages
10 total messages
Started by Paul Nicholls
Thu, 17 Jul 2008 05:57
creating ASCII STEP 3d model file from triangle list?
Author: Paul Nicholls
Date: Thu, 17 Jul 2008 05:57
Date: Thu, 17 Jul 2008 05:57
17 lines
1518 bytes
1518 bytes
Given a bunch of 3d triangles defined either as raw vertices, or indicies to a master list of vertices, has anyone here managed to create a STEP 3d model file from this information using Delphi (or pascal)? I can create VRML 2 (97) version 3d text files using some code I wrote, but I would like to create STEP 3d text ones now too, but STEP files are waaaaayyyyy complicated and I can't make heads nor tails of it :( thanks in advance, Cheers, Paul. "The plastic veneer of civilization is easily melted in the heat of the moment" - Paul Nicholls. paulfnicholls@gmail.NOSPAM.com Remove ".NOSPAM" to reply.
Re: creating ASCII STEP 3d model file from triangle list?
Author: Paul Nicholls
Date: Thu, 17 Jul 2008 06:13
Date: Thu, 17 Jul 2008 06:13
16 lines
1575 bytes
1575 bytes
"Paul Nicholls" <paul_nicholls@hotmail.com> wrote in message news:487edf4e@newsgroups.borland.com... > Given a bunch of 3d triangles defined either as raw vertices, or indicies > to a master list of vertices, has anyone here managed to create a STEP 3d > model file from this information using Delphi (or pascal)? > > I can create VRML 2 (97) version 3d text files using some code I wrote, > but I would like to create STEP 3d text ones now too, but STEP files are > waaaaayyyyy complicated and I can't make heads nor tails of it :( > BTW, if it helps I want to create STEP AP214 format files (includes colour info) and not STEP AP203 (single colour only). cheers, Paul
Re: creating ASCII STEP 3d model file from triangle list?
Author: Nils Haeck
Date: Thu, 17 Jul 2008 18:22
Date: Thu, 17 Jul 2008 18:22
33 lines
1975 bytes
1975 bytes
Is STEP the same as IGES? In that case, I do have a lot of code. Working on IGES export of 3D meshes myself.. I have code for VRML, DXF and IGES so far, where the import part is working, now working on export. I'm thinking of casting it into a library which I will sell. Kind regards, Nils "Paul Nicholls" <paul_nicholls@hotmail.com> schreef in bericht news:487edf4e@newsgroups.borland.com... > Given a bunch of 3d triangles defined either as raw vertices, or indicies > to a master list of vertices, has anyone here managed to create a STEP 3d > model file from this information using Delphi (or pascal)? > > I can create VRML 2 (97) version 3d text files using some code I wrote, > but I would like to create STEP 3d text ones now too, but STEP files are > waaaaayyyyy complicated and I can't make heads nor tails of it :( > > thanks in advance, > Cheers, > Paul. > > "The plastic veneer of civilization is easily melted in the heat of the > moment" - Paul Nicholls. > paulfnicholls@gmail.NOSPAM.com > > Remove ".NOSPAM" to reply. >
Re: creating ASCII STEP 3d model file from triangle list?
Author: Anders Isaksson
Date: Thu, 17 Jul 2008 18:44
Date: Thu, 17 Jul 2008 18:44
9 lines
1301 bytes
1301 bytes
Nils Haeck wrote: > Is STEP the same as IGES? No, it's a format of its own - http://en.wikipedia.org/wiki/ISO_10303 -- Anders Isaksson, Sweden BlockCAD: http://web.telia.com/~u16122508/proglego.htm Gallery: http://web.telia.com/~u16122508/gallery/index.htm
Re: creating ASCII STEP 3d model file from triangle list?
Author: Nils Haeck
Date: Fri, 18 Jul 2008 16:03
Date: Fri, 18 Jul 2008 16:03
22 lines
1622 bytes
1622 bytes
I see, it is a successor of IGES though, according to Wikipedia. I would have to see some STEP files in order to see if I can adapt my software. IGES contains a lot of different entity types, and I didn't implement them all. But perhaps enough to use the IGES implementation to extend towards STEP easily. Nils "Anders Isaksson" <blockcad@REMOVEgmail.com> schreef in bericht news:487f9318$1@newsgroups.borland.com... > Nils Haeck wrote: >> Is STEP the same as IGES? > > No, it's a format of its own - http://en.wikipedia.org/wiki/ISO_10303 > > -- > Anders Isaksson, Sweden > BlockCAD: http://web.telia.com/~u16122508/proglego.htm > Gallery: http://web.telia.com/~u16122508/gallery/index.htm > >
Re: creating ASCII STEP 3d model file from triangle list?
Author: Anders Isaksson
Date: Fri, 18 Jul 2008 21:23
Date: Fri, 18 Jul 2008 21:23
14 lines
1460 bytes
1460 bytes
Nils Haeck wrote: > I would have to see some STEP files in order to see if I can adapt my > software. Some examples here - http://www.nanomotion.com/index.aspx?id=2625 http://www.sunhydraulics.com/cmsnet/DownloadZip.aspx?Product=Manifold I don't know how relevant these excamples are for the OP, though. -- Anders Isaksson, Sweden BlockCAD: http://web.telia.com/~u16122508/proglego.htm Gallery: http://web.telia.com/~u16122508/gallery/index.htm
Re: creating ASCII STEP 3d model file from triangle list?
Author: Nils Haeck
Date: Sat, 19 Jul 2008 10:36
Date: Sat, 19 Jul 2008 10:36
23 lines
1829 bytes
1829 bytes
Since STEP and IGES are very wide formats with lots of different entity types, I'll wait for the OP (Paul) to post something :) Nils "Anders Isaksson" <blockcad@REMOVEgmail.com> schreef in bericht news:488109d4$1@newsgroups.borland.com... > Nils Haeck wrote: > >> I would have to see some STEP files in order to see if I can adapt my >> software. > > Some examples here - http://www.nanomotion.com/index.aspx?id=2625 > http://www.sunhydraulics.com/cmsnet/DownloadZip.aspx?Product=Manifold > > I don't know how relevant these excamples are for the OP, though. > > -- > Anders Isaksson, Sweden > BlockCAD: http://web.telia.com/~u16122508/proglego.htm > Gallery: http://web.telia.com/~u16122508/gallery/index.htm > >
Re: creating ASCII STEP 3d model file from triangle list?
Author: Paul Nicholls
Date: Sun, 20 Jul 2008 23:25
Date: Sun, 20 Jul 2008 23:25
14 lines
1471 bytes
1471 bytes
"Nils Haeck" <bla@bla.com> wrote in message
news:4881c398$1@newsgroups.borland.com...
> Since STEP and IGES are very wide formats with lots of different entity
> types, I'll wait for the OP (Paul) to post something :)
>
> Nils
>
Hi Nils,
I have posted to attachments an example step file (and it's equivalent
VRML (97) version if it helps). see the 'STEP file for Nils' post.
cheers,
Paul
Re: creating ASCII STEP 3d model file from triangle list?
Author: Nils Haeck
Date: Tue, 22 Jul 2008 19:42
Date: Tue, 22 Jul 2008 19:42
44 lines
2637 bytes
2637 bytes
Hi Paul,
Thanks, I got the files. STEP does look much like IGES, but without the
directory and parameters sections, just with each entity written out directy
(so actually simpler than IGES).
I would have to write a separate parser/writer though, and don't have the
exact specs, so it will be quite a lot of work and testing for which I have
no time at the moment.
When I get to it, I'll let you know here in the newsgroup. You can try
contacting me back in a few months if you like, to ask for the status.
As you can see from the filesize, but also looking at the content of the
files (both are text based), the VRML file is "infinitely" simpler than the
STEP file.
The structure of the STEP file is basically like this: each line starts with
an entity number, then a string with the entity type, then "(" followed by
the parameters for this entity, then ")". The parameters starting with a #
indicate references to other entities.
Kind regards,
Nils
"Paul Nicholls" <paul_nicholls@hotmail.com> schreef in bericht
news:4883c94c@newsgroups.borland.com...
> "Nils Haeck" <bla@bla.com> wrote in message
> news:4881c398$1@newsgroups.borland.com...
>> Since STEP and IGES are very wide formats with lots of different entity
>> types, I'll wait for the OP (Paul) to post something :)
>>
>> Nils
>>
>
> Hi Nils,
> I have posted to attachments an example step file (and it's equivalent
> VRML (97) version if it helps). see the 'STEP file for Nils' post.
>
> cheers,
> Paul
>
Re: creating ASCII STEP 3d model file from triangle list?
Author: Paul Nicholls
Date: Thu, 24 Jul 2008 01:26
Date: Thu, 24 Jul 2008 01:26
36 lines
2596 bytes
2596 bytes
"Nils Haeck" <bla@bla.com> wrote in message
news:488637e4$1@newsgroups.borland.com...
> Hi Paul,
>
> Thanks, I got the files. STEP does look much like IGES, but without the
> directory and parameters sections, just with each entity written out
> directy (so actually simpler than IGES).
>
> I would have to write a separate parser/writer though, and don't have the
> exact specs, so it will be quite a lot of work and testing for which I
> have no time at the moment.
>
> When I get to it, I'll let you know here in the newsgroup. You can try
> contacting me back in a few months if you like, to ask for the status.
>
> As you can see from the filesize, but also looking at the content of the
> files (both are text based), the VRML file is "infinitely" simpler than
> the STEP file.
>
> The structure of the STEP file is basically like this: each line starts
> with an entity number, then a string with the entity type, then "("
> followed by the parameters for this entity, then ")". The parameters
> starting with a # indicate references to other entities.
>
> Kind regards,
>
> Nils
>
Thanks for looking at it Nils :-)
I may actually try using OpenCASCADE to create the step file instead...
It may still be usefull for you (commercially) to make a writer/parser as
STEP files are the up and coming thing at the moment in the MCAD/Electronics
field :-)
cheers,
Paul
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads