PDA

View Full Version : "Shell" Command...


BoKirra
2008-12-16, 11:23 AM
Hi ALL,

Supposed I am going to draw a piece of 3D pipe.
I know that "subtract" can make a hollow.

But now I wish to learn to use the "SHELL" command.
I've tried but it didn't work.

Could anyone tell me what is the "SHELL" command statement looks like.

Your help would be much appreciated.

ccowgill
2008-12-16, 02:12 PM
the shell command activates DOS, or the command prompt (windows/accessories/command prompt) to call other programs. I use the shell command to run a bat file that recreates mapped drives if they somehow get disconnected. At least in Vanilla AutoCAD that is what the command does. I havent gotten into it that far, like how to answer questions that may show up, or provide additional information to the command prompt. But I dont think it is what you are looking for.

hofcad
2008-12-16, 04:31 PM
Hi ALL,

Supposed I am going to draw a piece of 3D pipe.
I know that "subtract" can make a hollow.

But now I wish to learn to use the "SHELL" command.
I've tried but it didn't work.

Could anyone tell me what is the "SHELL" command statement looks like.

Your help would be much appreciated.


Dear BoKirra.

Command: solidedit
Solids editing automatic checking: SOLIDCHECK=1
Enter a solids editing option [Face/Edge/Body/Undo/eXit] <eXit>: B
Enter a body editing option
[Imprint/seParate solids/Shell/cLean/Check/Undo/eXit] <eXit>: S
Select a 3D solid:
Remove faces or [Undo/Add/ALL]:
Enter the shell offset distance: 2
Solid validation started.
Solid validation completed.
Enter a body editing option
[Imprint/seParate solids/Shell/cLean/Check/Undo/eXit] <eXit>:
Solids editing automatic checking: SOLIDCHECK=1
Enter a solids editing option [Face/Edge/Body/Undo/eXit] <eXit>:

See also:
http://www.caddigest.com/subjects/autocad/tutorials/select/092203_parsai_shell_solids.htm
Regards HofCAD CSI

BoKirra
2008-12-16, 10:48 PM
the shell command activates DOS, or the command prompt (windows/accessories/command prompt) to call other programs. I use the shell command to run a bat file that recreates mapped drives if they somehow get disconnected. At least in Vanilla AutoCAD that is what the command does. I havent gotten into it that far, like how to answer questions that may show up, or provide additional information to the command prompt. But I dont think it is what you are looking for.

Sorry, the actual name of the command is not "SHELL".
It is a buttom, with a hollowed cube image, called "SHELL" in SOLIDEDIT toolbar.
Press the buttom will lead you to command:
SOILDEDIT -> body -> SHELL
There is no any relation to the one linking to window "shell" command.

BoKirra
2008-12-16, 10:57 PM
Dear BoKirra.

Command: solidedit
Solids editing automatic checking: SOLIDCHECK=1
Enter a solids editing option [Face/Edge/Body/Undo/eXit] <eXit>: B
Enter a body editing option
[Imprint/seParate solids/Shell/cLean/Check/Undo/eXit] <eXit>: S
Select a 3D solid:
Remove faces or [Undo/Add/ALL]:
Enter the shell offset distance: 2
Solid validation started.
Solid validation completed.
Enter a body editing option
[Imprint/seParate solids/Shell/cLean/Check/Undo/eXit] <eXit>:
Solids editing automatic checking: SOLIDCHECK=1
Enter a solids editing option [Face/Edge/Body/Undo/eXit] <eXit>:

See also:
http://www.caddigest.com/subjects/autocad/tutorials/select/092203_parsai_shell_solids.htm
Regards HofCAD CSI

Thanks for your help with a rich details.
But my question is that how to remove the solid faces when performing the "SHELL" statement in LISP. My trial is:

(command "solidedit" "body" "_shell" LastSolidCreated ...)

Could you help me to complete this code?
Thanks.

BoKirra
2008-12-17, 06:10 AM
The problem is that I can't make face selection & can't remove 2 end faces of the pipe.

(command "solidedit" "body" "_shell" LastSolidCreated ...)

'gile'
2008-12-17, 10:47 AM
Hi,

As you said using "solidedit" programatically is quite difficult because it needs user selection.

I think an easier way is to use "subtract" on 3 solids or regions before extruding.

Look at the attacherd file, it allows to create pipes along selected axis specifying a diameter and a width

BoKirra
2008-12-17, 11:01 PM
Hi,

As you said using "solidedit" programatically is quite difficult because it needs user selection.

I think an easier way is to use "subtract" on 3 solids or regions before extruding.

Look at the attacherd file, it allows to create pipes along selected axis specifying a diameter and a width
Yes, I know what you say.
Thanks.
I was wondering that how to make selection(s) while a command is running, like this one.
As I said, I wanted to learn & to compare the methods of "subtract" & "shell" when drawing 3D pipe or the like.
Thanks again.