Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't print 3-D veiw shaded 1

Status
Not open for further replies.

RTRDave

Mechanical
Sep 24, 2003
9
US
When I try to print the 3-D model or after creating a veiwport in the layout it won't print what is displayed. When I print out what should be a gourad shaded object, It comes out of the printer in the hidden line setting. The print preveiw shows it to be the hidden line setting, but the layout display and model display on the screen are gourad shaded.


What am I forgetting.
 
Replies continue below

Recommended for you

Assuming you are using ACAD 2000, you are forgetting that this cannot be done. You must apply materials to the solids, add lights, and render. If all you need is a quick shaded picture of your solids, here is what I do; I shade the drawing in AutoCad, push the "print screen" button on the key board (make sure your cross hairs are not on the oject), open MS paint, paste in the screen shot (edit, paste), enclose the object and select cut, open a new MS paint file and paste the cut object into it. This works good for presentations. Let me know if you need more info
 
I am using autocad 2002....sorry about leaving that out.

How do I do the steps you mentioned above about applying materials adding lights and rendering? Never done any of that before.
 
your best off reading the help files. V basically, type in 'rmat' select what materials you want, apply them to your objects then type in 'render'. On the 'view' menu pull down you can see where light options are (background/fog etc) and they are straight foward enough. don't forget though that alot of materials come in at 1to1 (in terms of pixels) so you may need to scale them up by using modify in the materials library.
 
I'm not aware of a way to print a drawing (2002 and earlier) with a single viewport shaded (or rendered). See the very end of this post for how I do it.
However, you can do some pretty impressive things with ACAD's native renderer. It's REALLY worth looking into. Keep posting questions as you encounter things in modeling and rendering. Lots of folks here are pretty sharp on these topics. If you just need a formatted print of your shaded image(shade works SURPRISINGLY WELL!)...2 possible aproaches that work equally well with RENDER or SHADE. I've used the second with much more success, as I find it more flexible in more situations, but both 1 & 2 will work (and 1 can be used for input into 2...)
Aproach - 1:
1. create a single viewport. Size it large enough to get the detail you want. 1 viewport on screen is usually best. then zoom to the view and amount of detail you want.
2. Set the COLOR (Notice I did NOT say Material)of your part. This is for Shade. Either change its color properties or change the color properties of its layer. Do this for each part in your assembly.
3. Set your shade preference. I use shadedge - 0 (zero)
4. Shade the Viewport. (command: Shade)
5. Satisfied with the pic? Use the "SAVEIMG" command to save it out to an external raster file. I use BMP, then convert it to JPG later if I wish. Accept the defaults for BMP for now, experiment later. You should be satisfied with the results. TIF is also ok, but I don't have much use for it UNLESS I WANT TO PLOT A POSTER-SIZED PLOT. It's great for that.
6. Import it (BMP OR JPG) into a page-maker program of your choice using import from file, and finding it in the file selector of that program, or Or OR: OPEN the BMP file IN WINDOWS PAINT, go to EDIT pull-down, and use SELECT ALL and then ^c to "copy" selected to clipboard. then ALT-TAB to target page layout program (I use Windows WORD with GREAT success) and ^v it into place. Arrange it in place, and add any titling and text desired.
Approach 2:
1. Create the viewport and shade as above.
2. Capture the entire screen using "Printscreen" button on keyboard.
3. open Windows PAINT., and ^v it. Select "yes" to re-size window (in paint).
4. Use PAINT's RECTANGULAR cut-tool on toolbar to make a window around just the image you want. then ^x and close paint. You can ^c and minimize until you're more confident.
5. shift to ANY target program. I use WORD. (if so, remember to set horiz or vert paper in File->paper set-up).
Control-V (^v) to paste it in (Standard Paste- NOT Paste Special).
To re-size your pic in WORD larger or smaller on the page, single-click in the pic, then select a corner-box and click-drag-release at the desired new size. Don't drag the cornerbox into a margin area- it messes up formatting. Re-set your margins in FILE->PAPER SETUP, to mimimums if necessary. Use WORD Text Box to add any titling or text to your slide. Regular text is ok, but careful- it might mess up formatting. The Text-box can be placed anywhere, even over your image, uses all your fonts, can be made transparent, and you can turn of the edge-line around it for Text on top of anything in your picture.

Frankly, all of this assumes you DON'T need your pic INSIDE a drawing plot. To do THAT, capture the pic as above, and re-insert it into your drawing as a seperate raster image. Use ACAD's "scale" command to re-size the pic to just the right size. In ACAD 2002 & newer, you don't have to worry about background and raster settings. Place it on a layer over the geometry, and freeze geometry layers IN THAT VIEWPORT, or place it somewhere clean, and shift that P-Space (TAB) vport to show the inserted raster image at the desired zoom. OF COURSE YOU CAN'T ROTATE THE IMAGE IN THAT VIEWPORT Unless you freeze THE RASTER IMAGE LAYER and thaw and shade the geometry beneath, but this WILL get you a static shaded raster image in the proper position for your plot. If you decide you need a different rotated position for your pic in that viewport, you'll have to make a new raster image and re-insert it according to the steps above. Cumbersome, but it works, and the results can be striking!

Good Luck EXPERIMENTING !

C. Fee
Questions?
cfee@ev1.net
 
Of course, if you upgrade to Release 2004 all your troubles will go away.
 
Works in 2004. They should have done this a long time ago.
 
3D studio max or Viz are much better rendering programs for your 3d solids and they import with no trouble. The results are 10 times more realistic.
 
I had a very simular problem in VS/2002. The print preview was gourad shaded object in paperspace but plotted in 3d hidden mode!? I had an extra problem with viewport in paperspace would not lock, even when the focus was outside or in another viewport. Took the Autocad file to another computer and printed out correctly! Traced the problem to Autocad program object module and/or Dll's. Tried purge and recover command which did not solve the problem. It is my belief that the object module or DLL's are corrupted on your PC. I had to reinstall Autocad to get rid of this problem. Good news, you do not have to reinput the code keys once Autocad is installed. Hope this helps - Merry Christmas and Happy New Year - John.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top