comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » DXF and Face3D
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: DXF and Face3D [message #50082 is a reply to message #49912] Thu, 31 August 2006 07:56 Go to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
If your original input data was in the form of an implicit quad mesh, then
you might be able to write it to DXF as a quad mesh instead of a polygon
with a connectivity list.

MESH_SMOOTH just moves the vertices around and returns the modified vertex
list without changing the connectivity. (I was a bit wrong about this
in my last posting) So, you should be able to submit the new vertex list to
DXF, since the shape of the mesh hasn't changed and you don't need a
connectivity list. Use the POLYGON type and specify the MESH_DIMS instead
of the connectivity list. Again, this only works if your original data can
be specified as an implicit quad mesh.

If you are dealing with general polygons with connectivity data, then you
might just want to try it with the POLYGON enitity with connectivity
list.

My reading of the problem description is that IDL ran the polygon
through the tesselator when it did not need to. This resulted in storing a
polygon in the DXF file that had a different vertex list and connectivity
list, as compared to the input. But, depending on the input, the mesh
stored in the DXF file could be equivalent to the input mesh. If the
input mesh had things in it like overlapping faces, self-intersections, or
holes, the mesh stored in the DXF file might not be topologically
equivalent to the input mesh.

In other words, if your mesh is simple or regular, you might get away with
it.

Otherwise, you are probably out of luck if you do not upgrade to 6.2. The
fix for 6.2 was pretty involved and I don't think that there are any other
sneaky workarounds.

Karl

On Wed, 30 Aug 2006 22:24:25 -0700, Thomas Launey wrote:

> Dear Karl,
> Thank you very much for the update on 6.2. Unfortunately I am still on
> 6.1, with no prospect of upgrade. Any suggestion for fixing the problem
> on 6.1?
> Thanks
> Thomas
>
> Karl Schultz wrote:
>>
>> You should probably go ahead and use the type 9 entity. I fixed the
>> problem that you mentioned that I mentioned in IDL 6.2.
>>
>> I think that the MESH_SMOOTH algorithm ends up treating your mesh as a
>> triangle mesh, and so outputs it as such.
>>
>> If you supply a vertex list and a connectivity list to a type 9 DXF
>> entity, IDL will examine the connectivity list and NOT call the tessellator
>> if all polygons in the mesh are triangles (as of IDL 6.2).
>>
>> Karl
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: database access using JAVA or COM
Next Topic: Re: IDL system-defined variables

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:32:30 PDT 2025

Total time taken to generate the page: 0.00218 seconds