Author Topic: Triangulation (re-visited)  (Read 247048 times)

0 Members and 1 Guest are viewing this topic.

ribarm

  • Gator
  • Posts: 2784
  • Marko Ribar, architect
Re: Triangulation (re-visited)
« Reply #705 on: November 21, 2016, 01:48:37 PM »
Marko,

Everything is fine with me, just been away from CAD for the past 5 or 6 months.

Still doing renovation.

Sorry about the lack of progress.

ymg

Yeah, damn you ymg...

Welcome back...
M.R.
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

pedroantonio

  • Guest
Re: Triangulation (re-visited)
« Reply #706 on: November 21, 2016, 03:20:52 PM »
Welcome back ymg.  :-D

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 22 Ultimate
Re: Triangulation (re-visited)
« Reply #707 on: November 21, 2016, 04:38:45 PM »
I don't think hes back, just letting all know he's still breathing !

Sounds like hes enjoying the renovation projects on his house....

pedroantonio

  • Guest
Re: Triangulation (re-visited)
« Reply #708 on: January 15, 2017, 05:27:40 PM »
Any new update?

aeo000000

  • Mosquito
  • Posts: 1
Re: Triangulation (re-visited)
« Reply #709 on: February 08, 2017, 02:12:18 AM »
it's whrong sometime.
sorry for my poor english

I post on , 9# :
http://bbs.mjtd.com/forum.php?mod=viewthread&tid=173392&pid=790172&page=1&extra=#pid790172


 (defun triangulate 
.......
; This triangle inactive. We store it's 3 vertex in tl      ;
        ; We also maintains a separate list of Circles Centers      ;
        ((< (car tr) (car p)) (setq tl (cons (cadddr tr) tl)
                                    cl (cons (cadr tr) cl)
                              )
        )
......
Nobody ever proved it.

pawcyk

  • Mosquito
  • Posts: 9
Re: Triangulation (re-visited)
« Reply #710 on: February 11, 2017, 03:44:27 AM »
Helo everyone.
Does anyone checkd this program in GstarCAD or ZWCad?? In my Gstarcad 2016 TIN works but not good. I have problem with:
- vl-times (I think, I dont need to know how fast this program is),
- there is no dcl window,
- no other function doesn't work,
- and the most important: I can't add breaklines to the TIN.

Is the any possibility to do the lisp which will  change the edges of two triangles??

Sorry for my english.

ribarm

  • Gator
  • Posts: 2784
  • Marko Ribar, architect
Re: Triangulation (re-visited)
« Reply #711 on: February 11, 2017, 04:47:09 AM »
@pawcyk, look into attached picture...
M.R.
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

pawcyk

  • Mosquito
  • Posts: 9
Re: Triangulation (re-visited)
« Reply #712 on: February 11, 2017, 12:45:03 PM »
You mean that it isn't correct for Delaunay but it is correct for me.  Thats why I use breaklines.
Maybe it wasn't good example . I'll try to find better example in my projects (I need more time).

About that lisp: I need something like breaklines but by picking two triangels.

Autodesk Civil 3d have that function.

rw2691

  • Newt
  • Posts: 125
Re: Triangulation (re-visited)
« Reply #713 on: February 11, 2017, 02:01:57 PM »
pawcyk,

Picking two triangles to build breaklines would be a wrong method. Breaklines are allowed for overriding Delaunay triangles.

Rick
« Last Edit: February 11, 2017, 02:05:39 PM by rw2691 »
Hippocrates (400BC), "Life is short, craft long, opportunity fleeting, experiment treacherous, judgment difficult."

pawcyk

  • Mosquito
  • Posts: 9
Re: Triangulation (re-visited)
« Reply #714 on: February 13, 2017, 11:50:26 AM »
Helo.
If anyone whants to this lisp do the job in the gstarcad, he have to delete the parts with:
function pragma
vl-times
acet-ui-progress
I don't know if I may attach the lisp with this changes...

pawcyk

  • Mosquito
  • Posts: 9
Re: Triangulation (re-visited)
« Reply #715 on: February 13, 2017, 12:35:46 PM »
...to fast. There is still problem with function PROF.
Gstarcad prompt: Error: no function definition ACET-SS-ZOOM-EXTENTS

Can someone change this piece of code?

pawcyk

  • Mosquito
  • Posts: 9
Re: Triangulation (re-visited)
« Reply #716 on: February 21, 2017, 11:56:15 AM »
Hello again.
Thanks to Lee Mac from forum:
http://www.cadtutor.net/forum/showthread.php?99825-Problem-with-function-ACET-.......&p=679258
the code is working in GStarcad.
Some changes in code are mine. For example:

 (defun time () (/ (car (_vl-times)) 1000.))              =>      (defun time () (/ 1000 1))
I know... , but its working :)
And here is all code:

pedroantonio

  • Guest
Re: Triangulation (re-visited)
« Reply #717 on: February 26, 2017, 10:46:26 AM »
Hi ymg any updates?

TopoWAR

  • Newt
  • Posts: 135
Re: Triangulation (re-visited)
« Reply #718 on: March 01, 2017, 02:50:32 PM »
Hello, there are not many updates, checking the current functions I have realized that many of the functions only run when using TIN, if one closes the drawing can no longer use other functions, since many of them use variables that when closing the Drawing left in NIL or empty, an example of TL variable, ie a function like DEMOZ does not work if not used TIN, every time we use DEMOZ we must use TIN again, it would be nice to be able to solve this, thanks
Thanks for help

ribarm

  • Gator
  • Posts: 2784
  • Marko Ribar, architect
Re: Triangulation (re-visited)
« Reply #719 on: March 02, 2017, 05:17:39 AM »
Hello, there are not many updates, checking the current functions I have realized that many of the functions only run when using TIN, if one closes the drawing can no longer use other functions, since many of them use variables that when closing the Drawing left in NIL or empty, an example of TL variable, ie a function like DEMOZ does not work if not used TIN, every time we use DEMOZ we must use TIN again, it would be nice to be able to solve this, thanks

Why don't you use my "Triangulation routines by MR.zip" - it's composed from separate command functions - but they assume you firstly created TIN of 3DFACEs and work with tin after you select those 3DFACEs... I'll attach it again, since I've made slight mods. to triangulate-UCS.lsp... Still on some DWGs like irot's one it won't create TIN... It's about supertriangle - with ymg's version it works however - he removed duplicates during routine execution and used smaller supertriangle than mine... My version is exact and you must overkill-pts-average-z-rem-collinearity.lsp to be sure and possible to triangulate and with complex DWGs, but in fact the reason for bigger supertriangle is that I wanted to be sure triangulation is convex which will enable creation of 3DSOLID terrain model with my (c:terrain)... Unfortunately irot's DWG is too complex for my version of triangulation, but if you want to play I've put it inside reattached *.zip... Regards, M.R. (there were 8 downloads till I reattached file again...)
« Last Edit: March 05, 2017, 11:39:07 AM by ribarm »
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube