CadTools and xTurn (Vehicle Turning Software) Forum
CadTools General Category => CadTools Tips and Tricks => Topic started by: Anthony8 on September 16, 2021, 02:46:10 AM
-
Hi,
I've recently downloaded this toolset and it's wonderful!
One thing, when I use the 'Create Surface (Triangulate)' tool I end up with 'steps' at the contour lines where triangles are formed using three points that are all on the same RL. (see attached image)
Is there a way to prevent this?
-
Hi,
Triangulate contours might give you odd results. You need to prevent the creation of triangles that have same elevation on all three vertices. Since there is no such option in CadTools you need provide som extra lines that might force the triangulation to get only two vertices with same elevation.
- Try to generate perpendicular lines between contours by using "Lines, Transverse Lines Between Polylines".
- Set Minor Tick Size to 100% and a relative small Horizontal interval, a value smaller than the distance between vertices in any contour line.
- When you triangulate be sure to set "Use lines as breaklines" to All Active Layers (DropDown). Set triangle output to "Drawing".
You can edit any triangle in the drawing manually as long you don't flip them (all triangles must have same point order, clockwise or anticlockwise). After editing you can select by crossing and save them to file (Saving to file is available in File menu in booth "Create Surface" and "Edit/View Surface"
/Lars
-
Hi,
Thank you for your response, those are some great tips, I'll be sure to use them next time :).