DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

What does "zoom to original size" actually do?

Started by Sequim, December 01, 2011, 08:38:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sequim

I just stumbled on the "zoom to original size" command; never noticed it before.  It reduces my unitless drawing to a tiny image at the screen center, and proclaims its zoom view as 100%.

If I zoom to fit window, the zoom view is 365%.

How was the original size established?  When I begin I just start drawing without a thought as to an original size.

Is there a way to make zoom to fit window be the 100% original size?


Thanks


Pete






Rob S

I never used it before either, but on my system, original size is not the same as a new blank drawing.

You can test this by drawing a diagonal line from corner to corner, and then do the command, it scales your drawing down some.

To do what you want, start your drawing, do "Zoom to original" then use the units command to set the size of screen you want for your drawing.  (Type U, set points at opposite edges, and enter what distance you want that to be.)

Then DCAD seems to remember that particular screen view as the "original size"
User since forever

Sequim

I tinkered with this a while, but learned nothing worthwhile about it.  As you mentioned starting with a blank page at 100%, adding the longest possible corner-to-corner vector, then zoom to fit window yields about 94% zoom.  Perhaps this is intended to keep a small buffer zone from the window edge to the outermost points.

As one might expect, this changes as scroll bars or other border obstacles are added or removed.

I also tinkered with the "Zoom Factor" command and its "Reset Drawing Size" checkbox.  I was able to really screw things up with this combination, but not in any way I could understand.

I was hoping to use the "Zoom to Original Size" feature to fill the screen with my full drawing (all layers in view) so I have a dependable reference zoom for extracting images that will register perfectly as layers in Photoshop.


MarkX

#3
This might work. Should work.

Maximize your DC window. Maximize your view window. Set up your layers and view the way you want.

Now use the "P" plane tool to draw an approximate rectangle around your subject. You won't be able to use the other plane drawing tools because they insist on XYZ planes.

Keep this rectangle for all eternity.

Select the rectangle and then use View/Zoom/Zoom to Selection.

Now you have a little window frame, and no matter which layers you turn off/on, or how you zoom in and out. when you want your main view just select the "frame" and zoom to selection. Use two corners of the "frame" when defining your image export so the exports will be identical.

Actually, this kind of problem is what paper-space should fix for you. I'm not sure though if you can export an image from paperspace, and/or if there is a print driver available that will print directly to a jpg. Paperspace would be the way to go if it works, because it encapsulates everything about your view set-up including layers, zoom, perspective. Saving you lots of time down the road.

HTH
Mark

Edit: You'll probably need to break the "frame" into a vector if you are rendering the image.

Sequim

Thanks Mark for the suggestion.  I've fiddled with this a bit, but being a 3D drawing I'm having a little trouble getting a suitable rectangle in place.  Its made a little more difficult by the gradient fill I now have in the background.

I'll try some more tomorrow, and also start investigating paperspace.  I've never tried to use it.

I need a faster faster graphic controller. The extracted images are 2539 x 1483 pixels. It takes about 5 seconds to shade that gradient fill alone.  When most of the greenhouse parts are in view (probably 80% are transparent) I catch up on my internet browsing during the redraws.




Pete

Dr PR

Pete,

It is an unfortunate side effect that transparency greatly increases rendering time.

When you experiment with transparent materials be sure to set the Specular Reflection high to make the material shiny.

You should also set all of the "Options/Light Source" "Intensity" option sliders to maximum (Ambient, Diffuse and Specular) in order for the material properties to work correctly.

I know little about Paperspace, but I suspect you can assign the gradient fill to the background of a paperspace window, separate from the image in the window. Maybe some of the papaperspace gurus on the forum can provide advice.

Phil
DesignCAD user since 1987

MarkX

Quote from: Sequim on December 04, 2011, 09:27:39 PM
Thanks Mark for the suggestion.  I've fiddled with this a bit, but being a 3D drawing I'm having a little trouble getting a suitable rectangle in place.  Its made a little more difficult by the gradient fill I now have in the background.

Hide the gradient on a separate layer while you make the rectangle.

Make sure orthogonal and snap modes are off while you make the rectangle. Snapping will drag your pointer away from where you want to be.

The rectangle won't be a true "rectangle" unless you have nerves of steel, but that doesn't matter for your purposes. It just forms a frame that guarantees the size of your output as long as everything else is the same (same maximized screen set up).

HTH
Mark

Lar

#7
Quote from: Dr PR on December 04, 2011, 10:24:22 PM
I know little about Paperspace, but I suspect you can assign the gradient fill to the background of a paperspace window, separate from the image in the window.

This may not work because each view frame you create on top of the background would have its own background, since view frames are not transparent.

If using photoshop I would suggest creating the gradient background there, in the 'background' layer and erasing the background color off of the imported bitmap images on the layers above it, using photoshop's 'magic wand'. If you use a unique color as dcad's background ('color' tab in the Options dialog) you can set the wand's tolerance to 0 and activate 'contiguous' to minimize unwanted selections.

One way of capturing synchronized images from dcad is to utilize the save/load 'screen configuration' features (file menu). Saving captures all the view data of each opened window to an external file, which can be later restored by 'loading'. In 2d you can place 2 very tiny pointmarks to snap at for the opposite corners of the bitmap. This is not so easy in 3d but you can possibly shape the window to match the aspect ratio of the photoshop image. When capturing the image in dcad, instead of setting two points for the image boundary just press enter to capture the whole window (ie, one of dcad's windows in a muti-window setup... not a maximized window). The dialog box will show the image sizes and you can use this as a gauge to get the correct proportions of the dcad window.

If you are likely to move the dcad's origin at any time you should maybe put a pointmark at 0,0,0 so you can restore it before loading a screen configuration. I've never confirmed that this is unnecessary but I would do it for safety. You never know what the future will bring.

Lar

Dr PR

If you create a unique color for the background in DesignCAD you can use the Magic Eraser Tool in Photoshop to erase all of that color from the image, leaving a transparent background. For example, in a black and white line drawing you can click on the white background and it disappears, leaving a black line drawing with a transparent background.

Phil
DesignCAD user since 1987

Lar

Magic Eraser sounds easier but I would not use it with multicolored shaded images since there's a good chance the background color would show up here in there in the shading. With magic wand I have a chance to review the selection and maybe get rid of bits before I erase. It also allows me to feather the selection to minimize jagged outlines.

Lar

JJG

I would add to Lar's and Dr PR's replies that in case you will use Photoshop to re-work your picture, the best way is to store it as .png-file.
This way, the colors are better defined in terms of pixels, and it will be also much easier to select the background color.

Lar

I normally edit and save in photoshop's native psd format (despite the gigantic file sizes), to preserve the photoshop layers. This way you can turn layers off or deactivate 'use all layers" to control the selection. Once done I save down to jpg or another (flat) file format to email or whatever.

Lar

Lar

Quote from: MarkX on December 02, 2011, 12:39:45 PM
Actually, this kind of problem is what paper-space should fix for you. I'm not sure though if you can export an image from paperspace, and/or if there is a print driver available that will print directly to a jpg. Paperspace would be the way to go if it works, because it encapsulates everything about your view set-up including layers, zoom, perspective. Saving you lots of time down the road.

This can work if printing to pdf from paperspace. I'm not sure how to then convert the pdf to a good image, though I remember it being discussed before on this forum.

Lar

Dr PR

Lar,

If you use the CutePDF printer driver to capture print output in a PDF file you can get very high resolution images by selecting a large page size and high dpi settings in CutePDF.

You can open the PDFs in Photoshop for further image processing.

Phil
DesignCAD user since 1987

JJG

Quote from: Lar on December 05, 2011, 12:19:24 PM
I normally edit and save in photoshop's native psd format (despite the gigantic file sizes), to preserve the photoshop layers. This way you can turn layers off or deactivate 'use all layers" to control the selection. Once done I save down to jpg or another (flat) file format to email or whatever.

Lar
I meant that I save the images in DesignCAD as .png-files,  in order to rework them in photoshop.
.png from Designcad are very little size, and the colors are better defined in terms of pixels (that is to say exactly the sames as it looks at screen), and it will be also much easier to select the background color.