Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Upcoming LDCad 1.7 Beta 1
Post: RE: Upcoming LDCad 1.7 Beta 1

Hi Roland, I'm still working on the collision detection script. If there would be some "internal" support, I would really appreciate this an would like to adopt my script or completely rewrite my s...
Stefan Frenz LDraw Editors and Viewers 12 799 2023-01-18, 8:51
    Thread: LDInspector
Post: RE: LDInspector

If you can't get it running or if you have any suggestions, please let me know.
Stefan Frenz LDraw Editors and Viewers 164 92,792 2022-10-06, 12:18
    Thread: LDInspector
Post: RE: LDInspector version 0.7

Today I released version 0.7 (https://www.fam-frenz.de/stefan/ldinsp07.jar) as current version (https://www.fam-frenz.de/stefan/ldinsp.jar), main changes since 0.6 areprogress-indicator for large mode...
Stefan Frenz LDraw Editors and Viewers 164 92,792 2022-09-28, 12:05
    Thread: LDCad script integration of LDInspector's collision detection
Post: RE: LDCad script integration of LDInspector's coll...

Thank you for your examples, now there are at least three bugs less in the Lua-port.  :D  The results seem to be mathematically correct, but I'm not sure if they are what is wanted. Setting tolerance ...
Stefan Frenz LDraw Editors and Viewers 18 8,601 2022-09-03, 10:01
    Thread: LDCad script integration of LDInspector's collision detection
Post: new version: LDCad script integration of LDInspect...

Attached is a new version 0.2 of the LDInspector-Java-to-LDCad-Lua-port of the collision detection. It has at least three bugs less (thank you N.W.Perry for your example files) and should be a bit fas...
Stefan Frenz LDraw Editors and Viewers 18 8,601 2022-09-03, 9:51
    Thread: LDCad script integration of LDInspector's collision detection
Post: RE: LDCad script integration of LDInspector's coll...

one step further: some of the collisions my collision detection reports are "really existing" in LDraw but do not exist in real world, like this collision of an axle with a technic brick shown by LDIn...
Stefan Frenz LDraw Editors and Viewers 18 8,601 2022-09-02, 15:05
    Thread: LDCad script integration of LDInspector's collision detection
Post: RE: LDCad script integration of LDInspector's coll...

N. W. Perry Wrote: (2022-08-31, 23:18) -- If you want some more complicated ones to try, here are a couple of supercars that I know have some scaled parts: -- ...still testing your version of 8865 bu...
Stefan Frenz LDraw Editors and Viewers 18 8,601 2022-09-02, 8:59
    Thread: LDCad script integration of LDInspector's collision detection
Post: RE: LDCad script integration of LDInspector's coll...

Roland Melkert Wrote: (2022-09-01, 17:30) -- I have been thinking about a native collision detection feature -- This would be great! :) I would really love this feature to be integrated in LDCad! :) ...
Stefan Frenz LDraw Editors and Viewers 18 8,601 2022-09-02, 7:18
    Thread: LDCad script integration of LDInspector's collision detection
Post: RE: LDCad script integration of LDInspector's coll...

Thanks - all three show collisions in LDInspector, the LDCad-integrated implementation (naturally) is much slower and for 8865 has an output indicating something different (assumably wrong). I will ha...
Stefan Frenz LDraw Editors and Viewers 18 8,601 2022-09-01, 6:38
    Thread: LDCad script integration of LDInspector's collision detection
Post: RE: LDCad script integration of LDInspector's coll...

Thanks for the example. All collision detections (LDCad-integrated, LDInspector command line, LDInspector gui) show 0 collisions as desired. :)
Stefan Frenz LDraw Editors and Viewers 18 8,601 2022-08-31, 22:13
    Thread: LDCad script integration of LDInspector's collision detection
Post: RE: LDCad script integration of LDInspector's coll...

Jaco van der Molen Wrote: (2022-08-31, 13:15) -- Interesting. If this would be native to LDCad, I asume one can overrule it and still make it possible to have collisions. Ever so often it turns o...
Stefan Frenz LDraw Editors and Viewers 18 8,601 2022-08-31, 17:08
    Thread: LDCad script integration of LDInspector's collision detection
Post: RE: LDCad script integration of LDInspector's coll...

N. W. Perry Wrote: (2022-08-31, 14:38) -- Would this algorithm apply any transformation (i.e., scale factor) applied to the parts by their matrix, before calculating the collisions? -- As far as I ...
Stefan Frenz LDraw Editors and Viewers 18 8,601 2022-08-31, 17:06
    Thread: Collision detection
Post: RE: Collision detection

Manfred Schaefer Wrote: (2022-08-20, 19:53) -- how do you check if there is a collision in your model. I have not found anything in MLCad, LDCad I know too little, Studio is sometimes too unreliable....
Stefan Frenz LDraw Editors and Viewers 2 4,475 2022-08-31, 12:53
    Thread: LDCad script integration of LDInspector's collision detection
Post: RE: LDCad script integration of LDInspector's coll...

Thanks for looking at it and thank you for your feedback.  :) Roland Melkert Wrote: (2022-07-09, 20:18) -- What kind of crashes do you mean though, as lua scripts shouldn't be able to crash LDCad...
Stefan Frenz LDraw Editors and Viewers 18 8,601 2022-07-10, 6:00
    Thread: Idea for an LDCad script
Post: RE: Idea for an LDCad script

Thank you so much for your help, Roland. I created a new thread (https://forums.ldraw.org/thread-26550.html) for discussing the collision detection macro.
Stefan Frenz LDraw Editors and Viewers 25 6,444 2022-07-09, 7:34
    Thread: LDCad script integration of LDInspector's collision detection
Post: LDCad script integration of LDInspector's collisio...

Hi all, inspired and motivated by this (https://forums.ldraw.org/thread-25817.html) thread, I tried to port the collision detection algorithm of LDInspector to LDCad / Lua. Thanks to Roland and his...
Stefan Frenz LDraw Editors and Viewers 18 8,601 2022-07-09, 7:33
    Thread: Idea for an LDCad script
Post: RE: Idea for an LDCad script

Thank you Roland for your help and LDCad 1.7-alpha-2. The discussed "place on ground" seems to work in a first version. Also porting the collision detection from Java to LUA will take more time... At...
Stefan Frenz LDraw Editors and Viewers 25 6,444 2022-05-30, 15:30
    Thread: stud.io special line types
Post: RE: stud.io special line types

Matthew Morrison Wrote: (2022-04-02, 12:04) -- The additional values in the line type 3 are UV coordinates. -- Thank you very much! :)  As LDInspector does not support textures, I can skip them wit...
Stefan Frenz LDraw Editors and Viewers 2 1,144 2022-04-02, 13:15
    Thread: [LDCad] open Stud.io-file with correct colors
Post: RE: [LDCad] open Stud.io-file with correct colors

...ended up to write a perl script: Code: -- #!/usr/bin/perl use strict; use warnings; my $num_args = $#ARGV + 1; if ($num_args != 1) {     print "Usage: convertColors.pl inputfile\n";    ...
Stefan Frenz LDraw Editors and Viewers 7 1,697 2022-03-26, 12:05
    Thread: stud.io special line types
Post: stud.io special line types

Hi there, there are some lines in a stud.io file that I don't understand. Example for line-3-triangle: Code: -- 3 -1 12 0 10 14.345 2 10 -14.345 2 10 0.345 0.954 0.329 0.897 0.524 0.897 3 -1 ...
Stefan Frenz LDraw Editors and Viewers 2 1,144 2022-03-26, 8:59