TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: knosaj on January 15, 2011, 03:06:51 PM
-
New here and to LISPs so im not sure how to find what i am looking for so ill through it out to the forum.
Ive heard there were LISPs that would generate millwork elevation drawings with a couple clicks and some data input? -anyone know?
Also, Ive heard with the same type of command you can set electrical outlets, doors, ceiling fans, etc. in a plan drawing.
this sounds too good to be true, but I thought Id ask.
ANY help would be GREATLY appreciated !!!
-
Welcome to the Swamp.
There are many lisp to do these sort of things but I don't know 0f the one you described.
I made several to place molding for someone here as well as brick work.
If you have something in particular you need post a DWG file with an example in it & we'll see if we
can teach you how to do it in LISP.
-
the attached file is a rough of what i would like a LISP for. i have heard that you can set it up so that you can plug in data of things like, counter height, upper height, number and spacing of cabinet faces, etc. -now, this is not that hard to draw, but, if it is automatic, then doing many sets is much faster, and editing i guess would be faster too.
not sure if this can be done, but again, sure woul dbe helpful.
thanks.
<eduStamped DWG removed>
-
Hey knosaj,
You should add a warning that the drawing was created with a educational version, some people like to stay away from those.
-
;;; FILE NAME: CABINET.LSP
;;; Written by: Bob Thomas
;;; Thomas Enterprises, ltd.
;;; 1030 "B" Street, Suite 201
;;; San Rafael, CA 94901
;;; 415/453-8712
;;;
;;; This file and its accompanying Release 10 drawing file, CABINET.DWG, may be
;;; freely copied provided that the two files remain together and this header
;;; remains intact, so that people know what the program does and I can get a
;;; free plug in. Thank you. Use and enjoy...
;;;
;;; Recommended LISPSTACK=40000 LISPHEAP=5000, or R10 Extended AutoLISP
;;;
;;; This file contains a parametric program that creates 2D representations of
;;; cabinet faces. All variables are local except those used to set and retain
;;; defaults, as follows (Rename these if they conflict with yours):
;;;
;;; bcw = Cabinet width (24")
;;; bch = Cabinet height (34.5")
;;; bbch = Cabinet height (34.5")
;;; (72" for linen cabinets, if no height value entered previously)
;;; oset1 = 1st offset (drawer-to-side: 1")
;;; oset2 = 2nd offset (drawer detail: 1")
;;; bth = Base trim height (4")
;;; bto = Base trim offset (1")
;;; dc = Drawer configuration (4)
;;; nd = Number of drawers (1)
;;;
;;; (All values entered become default for repeats.)
;;;
;;; AutoCAD Command Prompt Sequence:
;;;
;;; Command: CABINET
;;; Basic/Linen/Wall: (Select one)
;;; Cabinet width: <default>: (Enter)
;;; Height <default>: (Enter)
;;; Base trim height <default>: (Basic & linen cabinets)
;;; Base trim offset <default>: (Basic & linen cabinets)
;;; Base cabinet height <default>: (Linen cabinets only)
;;; 1st offset <default>: (Space btw. drawers and side)
;;; 2nd offset <default>: (Drawer detail offset)
;;; Drawer Configuration <default>: (Max. number of drawers;;; determines size)
;;; Number of drawers <default>: (Actual drawers this cabinet)
;;; Move cabinet into place. (When outline is drawn, position cabinet)
;;;
;;; The accompanying Release 9 drawing file, CABINET.DWG, illustrates the
;;; drawing parameters that correspond to these prompts.
;;;
-
wasnt aware that is would be an issue.
thanks GDF.....so do i just find a how to on the creation of a lisp and copy paste it in there?
ive never done anything like this, havent a clue when it comes to code, so i am starting from scratch.
-
Hey knosaj,
You should add a warning that the drawing was created with a educational version, some people like to stay away from those.
You mean like the warning that pops up when you try to open the drawing?
-
You mean like the warning that pops up when you try to open the drawing?
Exactly
-
You mean like the warning that pops up when you try to open the drawing?
Exactly
:-D
Just busting your chops. I always kind of chuckle when people are paranoid about opening a .edu drawing because.. well.. it warns you before it opens and you can cancel, then. :P
-
Just busting your chops. I always kind of chuckle when people are paranoid about opening a .edu drawing because.. well.. it warns you before it opens and you can cancel, then. :P
True, but some don't know the possible risks of spreading the edu stamp should they press OK at the warning...
-
I have been able to successfully save the educational drawings as .dxf and use them and never had an issue. What are the possible risks?
My teachers have even told us to pick projects that we can use in our jobs so as to create something useful. the only problem that I have seen is that dynamic blocks get stripped of their dynamic functions.
Should teachers not suggest that we create things that are usable outside of school even if we have a full license at home but have to use the edu versions at school?
-
Maybe I'm always being paranoid around the area of Educational Stamps, but, having used an Educational Version myself, I've always been warned by others of the possible dangers and damage that a single drawing can inadvertently inflict and so always err on the side of caution.
Save repeating myself: most recent discussion I can think of is here (http://www.theswamp.org/index.php?topic=36173.msg413091#msg413091) - although I do hope that others can add more experienced wisdom to clarify the issue once and for all.
Lee
-
I always thought if you clicked the educational button it made you smarter.
-
Thanks for the info Lee.
I honestly don't want to misuse the software that they provide for free.
I wonder if it is going to become more of a problem now that AutoDesk has the 3 year student license.
-
New here and to LISPs so im not sure how to find what i am looking for so ill through it out to the forum.
Ive heard there were LISPs that would generate millwork elevation drawings with a couple clicks and some data input? -anyone know?
You might take a look at this (http://www.jmhsoftware.com/index.html). (I have no connection with this company, I just know of them).
If it is the type of thing that would save you money in the long run, it could be well worth the price. I'm not sure what language these tools are programmed in and if the source code is accessible. You could at least download the trial and take a look.
It could also be the catalyst to get you started on dissecting the programming and coming up wit your own ideas and solutions.
I know that folks here would be eager and willing to help.
Also, Ive heard with the same type of command you can set electrical outlets, doors, ceiling fans, etc. in a plan drawing.
this sounds too good to be true, but I thought Id ask.
ANY help would be GREATLY appreciated !!!
These things can be easily done with dynamic blocks, unless I am misunderstanding your question.
What version of the software are you using and give more info on what your needs are.
Do you need to generate cutlists or CNC code?
You should also take a look at Smartlister (http://www.smartlister.com/index.html)software.
-
Not Millwork but some work for elevations:
http://www.theswamp.org/index.php?topic=31496.0