Jump to content

An Open-source TIN entity


Recommended Posts

Posted

Just having some fun… A custom object that does triangulation and contours. Its very fast (I think)

I’ve only tested on one drawing;

 

Binaries are in the release folder here  (AutoCAD 2025-2026, ZwCAD 2025-2026, GstarCAD 2026)

https://github.com/CEXT-Dan/ArxTin

 

Command: TINNER

Select objects: Specify opposite corner: 41769 found

Select objects:

Enter a major contour interval: 100

Enter a minor contour interval: 10

CArxTinUIApp::CArxTinUIApp_tinner Done , 0.000235 seconds

 

Command: LIST

Select objects:

                  CEXTDBTIN  Layer: "tin"

                   Space: Model space

                   Color: BYLAYER    Linetype: "Continuous"

                   Handle = cb4cf

Number of points:     41769

Number of triangles:  82720

Minimum elevation:    5503.992569

Maximum elevation:    7060.996567

          2D area:    37224000.000000

          3D area:    47335595.172935

 

 

tin.thumb.png.2775883869db4d0fc2242567f9cfd6a5.png

  • Like 1
  • Thanks 1
Posted

There’s a sample point drawing on github

TIN, Major and Minor and have transparency, but they are currently hard coded to TIN 50%, Minor 50%, Major %100

 

Posted (edited)

Oh, explode will create polylines and faces

Edited by Danielm103
Posted

Looks good,  next option would be "Add breaklines" to make the TIN take into account edges. 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...