Jump to content

subtract 2 solids without deleting


Perseus

Recommended Posts

I am very new to 3d drawing in autocad.

 

I am constructing the plans for a bed and could use some help on an issue.

 

Where I am joining 2 solids (like plywood sitting in a dado joint), how can I have one solid be carved out where the 2nd solid overlaps it, without deleting the 2nd solid.

 

Pretty much what SUBTRACT does but without the deleting.

 

Thanks.

Scott

Link to comment
Share on other sites

Just a thought;

 

Copy parts A & B on top of itself so you have duplicates. First subtract A from B, then subtract B from A. Each operation will remove the "overlap", leaving the remainder of the original.

Link to comment
Share on other sites

Thanks for the quick replies

 

I tried the DELOBJ. And it seems to just leave behind the 2D drawing after I extrude to 3D. But the 2nd part of SUBTRACT still gets deleted, leaving the 2D part behind.

 

The COPY method works good. Maybe a little extra effort, but functional.

 

I would of thought there would be an option to NOT delete the object.

 

Again thanks

Scott

Link to comment
Share on other sites

  • 5 years later...
you could use the INTERFERENCE command

did u mean typing INTERFERENCE on a command prompt? cos the command doesn't exist, please help :( i'm using Autocad 2011

Link to comment
Share on other sites

did u mean typing INTERFERENCE on a command prompt? cos the command doesn't exist

 

That's because the command is INTERFERE, not Interference.

Link to comment
Share on other sites

Copy the solid you want to remove with a 0,0,0 base point. Use SUBTRACT to remove the solid you just copied from the solid that you want the body removed from. Paste the copied solid back to the 0,0,0 base point.

Link to comment
Share on other sites

  • 1 month later...

I was pretty sure autocad used to prompt you and ask if you would like to delete the subracted solid. but apparently this isnt the case.

 

after testing this i have found that it is a lisp routine i am running which will ask you if you wish to keep the original subtracted solid (similar to how the mirror command asks you if you want to keep or delete the original element).

 

(Defun c:sub (/ SS1 SS2 YNTST1 OS)
(setvar "cmdecho" 0)
(command "undo" "be")
(prompt "\nSUBTRACT Select objects and regions to subtract from ..")
(setq SS1 (ssget))
(prompt "\nSelect solids and regions to subtract ..")
(setq SS2 (ssget))
(if (= YNTST nil)(setq YNTST "No"))
(initget "No Yes")
(setq YNTST1 (getkword (strcat "\nDelete the objects selected to subtract ? \(Y/N\) <" YNTST "> : ")))
(if (= YNTST1 nil)(setq YNTST1 YNTST)(setq YNTST YNTST1))
(if (= YNTST1 "No")
(progn
 (setq OS (getvar "osmode"))
 (setvar "osmode" 0)
 (command "copy" SS2 "" "0,0,0" "0,0,0")
 (setvar "osmode" OS) 
)
)
(command "subtract" SS1 "" SS2 "")
(command "undo" "e")
(setvar "cmdecho" 1)
(princ)
)

 

is the routine.

 

good luck mate.

Link to comment
Share on other sites

I think Inventor asks if you want to delete the subtracted solid. I am not sure though, as it has been months since I have used Inventor to create anything :(

Link to comment
Share on other sites

  • 8 years later...

Please, you can modify the routine to subtract several solids from another group of solids, without eliminating the first and without joining the seconds. Thank you very much for the reply.

 

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...