CadTools and xTurn (Vehicle Turning Software) Forum

CadTools General Category => CadTools General => Topic started by: payre on May 10, 2011, 01:26:18 PM

Title: Issue Creating Surface with 3D Polylines
Post by: payre on May 10, 2011, 01:26:18 PM
Lars,

I recently tried to create a trianglulated surface using a combination of points and 3D Polylines. Everything appeared to work fine, except that I noticed it produced additional 3D Faces that connected points that where clearly not adjacent, hence these additional faces crossed over the trues TIN.

The additional faces all tend to be oriented in the same direction. All connect points on 3D polylines. I've coloured the additional faces in green on attached image.

I've never seen this before, would you know why it's happening?

Regards
Title: Re: Issue Creating Surface with 3D Polylines
Post by: Lars on May 10, 2011, 03:45:56 PM
Hi!
What CadTools version (Build) are you using?
Title: Re: Issue Creating Surface with 3D Polylines
Post by: payre on May 18, 2011, 02:18:51 PM
Build 631
Title: Re: Issue Creating Surface with 3D Polylines
Post by: payre on May 19, 2011, 08:03:46 AM
Lars, if you are not sure what is causing this then don't spend your time on it, I'll play around myself and see if there are any special settings that are causing it and try to narrow down the cause for you first.
Title: Re: Issue Creating Surface with 3D Polylines
Post by: Lars on May 19, 2011, 01:50:05 PM
ok.

Before you try to pin down the problem update to the latest version. I know there where some problems when I speeded up triangulations. You'll find the revison history of previous version in the bottom of CadTools page.

/Lars
Title: Re: Issue Creating Surface with 3D Polylines
Post by: cr_raul on May 23, 2011, 01:27:26 PM
hello,

while working on some volume calculation I found out that when using 3dpolylines to make triangulations you have to use open 3dpolys or if they are closed you must be sure that the last segment is drawn manually. what that means is that if you have a 3dpoly with 3 segments and you close it just by setting the "closed" property to yes, cadtools won't recognize that last segment as breakline and you get a faulty triangulation. the solution is to always close the 3dpoly by entering the last point on the first point.
this might explain some bad triangles...