johnnybean Posted November 18, 2009 Posted November 18, 2009 Hello . I`ve managed to create my cabinet doors as a solid then saving as .3ds and reinserting it gave me the ability to stretch to the many door sizes i need for my model however these doors look terrible in both hidden and rendered views . Can I now re-convert them to a solid ?? I`ve tried the DISPSILH variables and FACETRES but there are ugly lines around the mouldings . Looking for some expertise guidance for converting back to a solid . Thanks Quote
SEANT Posted November 18, 2009 Posted November 18, 2009 At this stage I think your best bet would be to recreate the solid (Unless the original is still available in some backup file). I believe there are some Lisp routines available that will perform a mesh to a solid conversion, but the solid would still have the same faceting - and still would not stretch particularly well. Quote
johnnybean Posted November 19, 2009 Author Posted November 19, 2009 The only think is this is something I do regularily . I have the original , I am just trying to save a ton of time . I model 3D kitchens and create the 5 piece raised panel door and the thing is there are sometimes 30 to 50 differant size doors and to sit there and slice and extrude and union all the differant sizes takes soooooooo long . I`ve never run or loaded a lisp routine , not even sure how its done to be honest. Quote
shift1313 Posted November 19, 2009 Posted November 19, 2009 lisp routines are simple to use and there is a nice lisp forum on here. However I dont think converting it back to a solid will give you the results you want. Just as seant said it will still be faceted. It sounds like what you need is a parametric software setup like Inventor. It will let you drive your designs very easily. There are options for you. If you can create a lisp routine or script file that mimics how you created the door but prompts you for user input for dimensions it should be relatively fast. You need to talk to one of these lisp guys though. Quote
ReMark Posted November 19, 2009 Posted November 19, 2009 AutoCAD 2010 has a new parametric feature. Not sure how good it is as I haven't used it. I wonder if besides using it in 2D it can be used in 3D as well. Anybody know? Quote
David Bethel Posted November 19, 2009 Posted November 19, 2009 Here is how I make a simple raised panel doors with 3DFACES: (defun rpd_con (x y z s u b / hx hz) (setq hx (* x 0.5) hz (* z 0.5)) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (- (+ hx) s) y (- (+ hz) u)))(cons 11 (list (+ (- hx) s) y (- (+ hz) u)))(cons 12 (list (- hx) y (+ hz)))(cons 13 (list (+ hx) y (+ hz)))(cons 70 15))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (- (+ hx) s) y (- (+ hz) u)))(cons 11 (list (- (+ hx) s) y (+ (- hz) b)))(cons 12 (list (+ hx) y (- hz)))(cons 13 (list (+ hx) y (+ hz)))(cons 70 15))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (+ (- hx) s) y (+ (- hz) b)))(cons 11 (list (+ (- hx) s) y (- (+ hz) u)))(cons 12 (list (- hx) y (+ hz)))(cons 13 (list (- hx) y (- hz)))(cons 70 15))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (- (+ hx) s) y (+ (- hz) b)))(cons 11 (list (+ (- hx) s) y (+ (- hz) b)))(cons 12 (list (- hx) y (- hz)))(cons 13 (list (+ hx) y (- hz)))(cons 70 15))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (- (+ hx) s) (- y 1) (+ (- hz) b)))(cons 11 (list (- (+ hx) s) y (+ (- hz) b)))(cons 12 (list (+ (- hx) s) y (+ (- hz) b)))(cons 13 (list (+ (- hx) s) (- y 1) (+ (- hz) b))))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (- (+ hx) s) (- y 1) (- (+ hz) u)))(cons 11 (list (- (+ hx) s) y (- (+ hz) u)))(cons 12 (list (- (+ hx) s) y (+ (- hz) b)))(cons 13 (list (- (+ hx) s) (- y 1) (+ (- hz) b))))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (+ (- hx) s) (- y 1) (- (+ hz) u)))(cons 11 (list (+ (- hx) s) y (- (+ hz) u)))(cons 12 (list (- (+ hx) s) y (- (+ hz) u)))(cons 13 (list (- (+ hx) s) (- y 1) (- (+ hz) u))))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (+ (- hx) s) (- y 1) (+ (- hz) b)))(cons 11 (list (+ (- hx) s) y (+ (- hz) b)))(cons 12 (list (+ (- hx) s) y (- (+ hz) u)))(cons 13 (list (+ (- hx) s) (- y 1) (- (+ hz) u))))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (- (+ hx) s) (- y 1) (- (+ hz) u)))(cons 11 (list (+ (- hx) s) (- y 1) (- (+ hz) u)))(cons 12 (list (+ (- hx) s 2) y (- (+ hz) u 2)))(cons 13 (list (- (+ hx) s 2) y (- (+ hz) u 2)))(cons 70 5))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (- (+ hx) s) (- y 1) (- (+ hz) u)))(cons 11 (list (- (+ hx) s) (- y 1) (+ (- hz) b)))(cons 12 (list (- (+ hx) s 2) y (+ (- hz) b 2)))(cons 13 (list (- (+ hx) s 2) y (- (+ hz) u 2)))(cons 70 5))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (+ (- hx) s) (- y 1) (+ (- hz) b)))(cons 11 (list (+ (- hx) s) (- y 1) (- (+ hz) u)))(cons 12 (list (+ (- hx) s 2) y (- (+ hz) u 2)))(cons 13 (list (+ (- hx) s 2) y (+ (- hz) b 2)))(cons 70 5))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (- (+ hx) s) (- y 1) (+ (- hz) b)))(cons 11 (list (+ (- hx) s) (- y 1) (+ (- hz) b)))(cons 12 (list (+ (- hx) s 2) y (+ (- hz) b 2)))(cons 13 (list (- (+ hx) s 2) y (+ (- hz) b 2)))(cons 70 5))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (+ hx) 0 (+ hz)))(cons 11 (list (+ hx) y (+ hz)))(cons 12 (list (+ hx) y (- hz)))(cons 13 (list (+ hx) 0 (- hz))))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (- hx) 0 (- hz)))(cons 11 (list (- hx) y (- hz)))(cons 12 (list (- hx) y (+ hz)))(cons 13 (list (- hx) 0 (+ hz))))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (+ hx) 0 (- hz)))(cons 11 (list (+ hx) y (- hz)))(cons 12 (list (- hx) y (- hz)))(cons 13 (list (- hx) 0 (- hz))))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (- (+ hx) s 2) y (+ (- hz) b 2)))(cons 11 (list (+ (- hx) s 2) y (+ (- hz) b 2)))(cons 12 (list (+ (- hx) s 2) y (- (+ hz) u 2)))(cons 13 (list (- (+ hx) s 2) y (- (+ hz) u 2))))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (+ hx) 0 (- hz)))(cons 11 (list (- hx) 0 (- hz)))(cons 12 (list (- hx) 0 (+ hz)))(cons 13 (list (+ hx) 0 (+ hz))))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (- hx) 0 (+ hz)))(cons 11 (list (- hx) y (+ hz)))(cons 12 (list (+ hx) y (+ hz)))(cons 13 (list (+ hx) 0 (+ hz))))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (- (+ hx) s 2) y (+ (- hz) b 2)))(cons 11 (list (- (+ hx) s 2) y (+ (- hz) b 2)))(cons 12 (list (+ (- hx) s 2) y (+ (- hz) b 2)))(cons 13 (list (+ (- hx) s 2) y (+ (- hz) b 2))))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (+ (- hx) s 2) y (+ (- hz) b 2)))(cons 11 (list (+ (- hx) s 2) y (+ (- hz) b 2)))(cons 12 (list (+ (- hx) s 2) y (- (+ hz) u 2)))(cons 13 (list (+ (- hx) s 2) y (- (+ hz) u 2))))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (+ (- hx) s 2) y (- (+ hz) u 2)))(cons 11 (list (+ (- hx) s 2) y (- (+ hz) u 2)))(cons 12 (list (- (+ hx) s 2) y (- (+ hz) u 2)))(cons 13 (list (- (+ hx) s 2) y (- (+ hz) u 2))))) (entmake (list (cons 0 "3DFACE")(cons 8 "3D")(cons 10 (list (- (+ hx) s 2) y (- (+ hz) u 2)))(cons 11 (list (- (+ hx) s 2) y (- (+ hz) u 2)))(cons 12 (list (- (+ hx) s 2) y (+ (- hz) b 2)))(cons 13 (list (- (+ hx) s 2) y (+ (- hz) b 2))))) (prin1)) ;++++++++++++ Get Block Info +++++++++++++++++++++++++++++++++++++ (defun rpd_get () (initget 7) (setq wid (getdist "\nDoor Width S-S: ")) (initget 7) (setq dep (getdist "\nDoor Thickness F-B: ")) (initget 7) (setq hgt (getdist "\nDoor Height T-B: ")) (initget 7) (setq sid (getdist "\nSide Stile Width S-S: ")) (initget 7) (setq top (getdist "\nTop Stile Width T-B: ")) (initget 7) (setq bot (getdist "\nBottom Stile Width T-B: ")) (prin1)) ;************ Main Program *************************************** (rpd_get) (rpd_con wid dep hgt sid top bot) Automating solid models in AutoCAD is a royal pain if not damn near impossible. I understand that this Solidworks / Inventors forte. -David Quote
johnnybean Posted November 20, 2009 Author Posted November 20, 2009 Hey ReMark , The engineer in our office said that 2010 has parametrics but for 2D only . Anybody care to explain how to take a lisp routine and enter it into Cad . And once entered I presume it can quickly be called upon ?? Quote
Cad64 Posted November 20, 2009 Posted November 20, 2009 Anybody care to explain how to take a lisp routine and enter it into Cad . And once entered I presume it can quickly be called upon ?? See here: http://www.cadtutor.net/faq/questions/28/How+do+I+use+an+AutoLISP+routine%3F Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.