TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Andrea on February 17, 2009, 10:09:25 PM
-
:-)
Hi all..
its me again.
After using some infographic software...
I've decided to try to create something similar with AutoCAD..
ther is my First release of:
DLMO v.1.0
Dynamic Line Modeler
How it work:
First I was trying to know a good way to modify some entity without picking, selecting, removing, filtering...entity. so i've decided to use circle as MODELER. this modeler can be resize easely with + or - key
it will change color from cyan to red when it detect entity that it can Edit.
When ready to edit, press the TAB key to switch Modeling Method. Pick and move your mouse !
It will create and modify your entity Dynamicly !
For Now, I have make these Kind of edition:
"TRIM" "PICKER" "WAVE" "BUBBLE" "TRAPEZE" "SQUARE" "ROUNDED" "TWISTED" "SMOOTHTWISTED" "CANDLE"
If you have any idea to create some other kind...please let me know or feel free to add it ! :-)
Tested on LINE, POLYLINE, ARC, SPLINE,.
Need to check the closed entity.
Note: by Modeling the end point of entity, this allow you to extend it.
Let me know what you think of.
Thanks. :angel:
Some pics...
(http://www.theswamp.org/screens/Andrea/DLMO0.gif)
(http://www.theswamp.org/screens/Andrea/DLMO1.gif)
(http://www.theswamp.org/screens/Andrea/DLMO2.gif)
(http://www.theswamp.org/screens/Andrea/DLMO3.gif)
(http://www.theswamp.org/screens/Andrea/DLMO4.gif)
-
Very cool. I'm envious!
-
Definitely SMOOTH!
and Twisted!
-
:-o :-o
wowza
-
That is just too awesome.
Your creativity and skill in execution is superb.
-
Andrea
I could not get it to work.
Command: dlmo
Current Mode -> TRIM
Setect Line... nil
Nothing happens.
Gary
-
Andrea
I could not get it to work.
Command: dlmo
Current Mode -> TRIM
Setect Line... nil
Nothing happens.
Thanks all...
Gary...
this was tested on Line Pline ARC and SPLINE..
is that what you have selected ? I'm curious to see.. please let me know.
thanks.
:-)
New version 1.1 here
-
Andrea
Command:
Command: (LOAD "E:/Arch_WorkOn/Code/dlmo1.1[1].LSP")
Press DLMO to start.CLEANDLMODELVAR
Command: dlmo
Current Mode -> TRIM
Setect Line... nil
Nothing continues to happen..the routine booms out.
Gary
-
Andrea
Command:
Command: (LOAD "E:/Arch_WorkOn/Code/dlmo1.1[1].LSP")
Press DLMO to start.CLEANDLMODELVAR
Command: dlmo
Current Mode -> TRIM
Setect Line... nil
Nothing continues to happen..the routine booms out.
Gary
Gary,..I can't reproduce this error.
Please check your PM i'll try to help you.
thanks.
Andrea.
-
Andrea
Load your routine and enter in the command : DLMO
What should appear on the command line?
I get the following:
Command:
DLMO
Current Mode -> TRIM
Setect Line... nil
Command:
The routine does nothing...why do I get TRIM?
Gary
-
OK..
I got only an Invalid Point but the program work.
the message is because I use BREAK command with select entity.
The code below show this message.....but still work.
(setq i (car(entsel)))
(setq a (getpoint))
(setq b (getpoint))
(vl-cmdf "._break" i "_F" a b "")
The code below don't show the message but not working.
(setq i (car(entsel)))
(setq a (getpoint))
(setq b (getpoint))
(vl-cmdf "._break" i a b "")
the question....
why ? :?
-
AutoCAD version added/removed some extra option?
Drawing variable interfering?
Maybe do list of variables in a file that it works in and compare to one that doesn't?
-
I just tested on acad 2000, it got error and computer hang, why ?
OK..
I got only an Invalid Point but the program work.
the message is because I use BREAK command with select entity.
The code below show this message.....but still work.
(setq i (car(entsel)))
(setq a (getpoint))
(setq b (getpoint))
(vl-cmdf "._break" i "_F" a b "")
The code below don't show the message but not working.
(setq i (car(entsel)))
(setq a (getpoint))
(setq b (getpoint))
(vl-cmdf "._break" i a b "")
the question....
why ? :?
-
I found it... !
with using command against vl-cmdf
(setq i (car(entsel)))
(setq a (getpoint))
(setq b (getpoint))
(command "._break" i a b)
Here it is....DLMO v. 1.2
-
Hi all..
I have fixed and add some options
DLMO v.1.3
Dynamic Line Modeler
New Options:
"NODE1" "NODE2" "DBLNODE"
enjoy !
-
I'm interested to know what type of work these 'dynamic' applications are being used for ...
I'd guess they'd be great for horticultural type work ...
please note that this is not intended to be a denigration of the code, just a legitimate interest in it's potential use.
-
well...to be honest...
I don't realy know.. :laugh:
maybe some specific block creation.
but I think it is a good exercise on what we can do with grread.
;-)
-
A little off topic, I really love this tool regardless of its use, the function is great.
What are you guys using to make those gif files?
-
CamTasia Studio (http://www.techsmith.com/camtasia.asp)
-
Thanks Andrea, I have the program, just wondered if it was the same. :-)
-
I don't know what I'd use it for, but that is yet another impressive dynamic tool, Andrea! Great work! :)
-
Hi Andrea,
I am trying to do this (http://www.theswamp.org/index.php?topic=27734.0)and CAB suggested your routine. I got it to work on the pline. It was getting confuse with hatch residing inside the pline. My new question is can osnap be used? Right now your routing is turning off running osnaps and the routine exits when select an osnap.
I would like use the picker option and snap to another pline.
-
I have to say that it was a great tool,Andrea!