Another one... Thanks...
It's looks great.marko.
Can use this for 'DIMORDINATE' ?
Haven't checked for DIMORDINATE, but with helper lines, you can use QDIM command... Today I am feeling generous so I am posting my versions in order to express my thanks for helping me in this topic...
http://www.theswamp.org/index.php?topic=49644.0I haven't included versions where I use my sub, but as there is better version using (ssget "_F" (list p1 p2)), and they are included in zipped archive... As a side note, you can use F8 (orthomode on/off) in all custom rotated UCS but in the same plane as WCS where all 2d curves (references for this routine) lie... I've added dynbox.lsp, dynboxs.lsp, dynproj-new-new.lsp (this one is main and it's predicted to be called with dynproj command - it hides lines passing other entities from picked selection set if intersection is found, also it don't hide lines passing through entities that don't belong to selected selection set) and dynproj-new-new-all.lsp (which is to be started with dynproj-all command - this one projects lines from selected selection set without hiding lines and also like with dynproj-new-new.lsp it uses vertices from all selected 2d polylines as starting points of projections) to my acaddoc.lsp and they are working very well... Like in described animated gif, the main algorithm finds intersection points of bounding boxes that are rotated according to mouse position (using grread function) and for sides of bounding boxes that are parallel to cursor direction 2 tangent edges are projected to imaginary intersection of direction defined by cursor point and direction point normal to main direction defined by middle point of selection set and cursor point...
Also many thanks for video posted on www showing mathematical procedures for constructing inverse matrix using its determinant and also many thanks for used Stefan's sub function for determining bounding box of spline entity (this is open source, so I think it's no violation of authors rights), for the rest composing routines and testing them I have my permission to post them...
Hope you'll find those routines useful like I did...
And I hope that this rainy day in Serbia will soon be replaced with sun shiny sky without clouds...
[EDIT : ZIP archive reattached - now it includes dynproj-new-new-new.lsp and dynproj-new-new-new-all.lsp which includes intersection points between selected curves... Also all dynproj*.lsp have been changed slightly to be better... There were 25 downloads till zip was reattached...]
[EDIT : Found some lacks with vertical and horizontal lines with orthomode on... ZIP archive reattached... There were 11 downloads till reattaching again...]