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.

Trouble with bitmaps and export

Started by BPWL, September 11, 2009, 02:52:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BPWL

Recently, for my job I had to make a drawing with some imported bitmaps. I had to share this drawing with someone who doesn't work with DC (They exist  ::) ) . So I made an export file *.DWG. However, when I checked the file by importing it back, I noticed that all the scale changes where gone. Has anyone had the same experience ??

Regards


BPWL

Bob P

Scale changes?  Visual dimensioning?  Please be more specific.

BPWL

I have entered a bitmap, streched it or made it smaller until it fits in my drawing.

Saving and reopening file in DC causes no problems, exporting the drawing to dwg and importing again causes trouble

See example drawings


BPWL

Dr PR

BPWL,

DesignCAD imports bitmaps at screen resolution - one pixel of the bitmap for one pixel on the screen AT THE TIME YOU IMPORT THE BITMAP. If you import a bitmap, then zoom out and import the same bitmap again it will not be displayed at the same size as the first import. Apparently DC creates a new image when you import, scaled relative TO THE SCREEN and not relative to the drawing - this has been a design flaw since the introduction of the original ProDesign program in the 1980s.

When you edit the bitmap I think you are just messing with the displayed image - the original bitmap isn't changed. When you export the file apparently the original bitmap is saved.

There are several "defensive" measures you should take before starting a drawing that includes bitmaps.

1. On a reference layer (not used for drawing elements or bitmaps) draw a horizontal line that is wider than the drawing you intend to make. You can enable this layer and then use "Zoom Extent" to zoom out to the same zool level before importing bit maps. This will ensure that all bit maps are imported at the same scale. This is VERY important if you plan to import two or more bitmaps and overlay them to create a larger image.

2. Starting at the reference zoom (step 1) ALWAYS zoom in to the same zoom level each time before tracing over bitmaps. ALWAYS! When you zoom in/out DesignCAD redraws the visible portions of the bitmaps and the resulting image may be shifted differently at each zoom level, relative to the vector drawing elements. If you trace at different zoom levels the different tracings will be offset from each other, and may require a lot of cleanup.

3. If you need to scale or stretch a bitmap do it in a pixel editor (Photoshop, for example). DO NOT try to edit bitmaps in DesignCAD. Change the bitmap before importing it into DesignCAD.

If you follow these tips you should be able to export your drawing correctly.
DesignCAD user since 1987

BPWL

Thank a lot Dr PR

So if I get it right, I'm better of if I "prepare" my bitmaps in a way that theire size in pixels matches the size of the drawing I'm intend to make.

Is this an example of how it should work ?

I have an bitmap of a painting (original size 2048 * 2048)
I want to draw a wall (height 2500 mm, width 3000mm)  with that painting on it (1000 mm by 1000 mm).
I have to change the bitmap in another program so it becomes a bitmap with 1000 by 1000 pixels before importing?

What can I do if the units in my drawing are meters ?

BPWL




Dr PR

BPWL,

If you need to have a bitmap image with an exact size you should make that change in a pixel editing program before importing into DesignCAD.

However, DesignCAD will not necessarily import the image at any particular size. After you import the image use the Units command to define the size in millimeters - start the command and click on two corners of the bitmap to set the correct number of units. For example, if the image is 1000 mm x 1000 mm, click on the lower left and lower right corners and set the units to be 1000.

Now everything else that you draw will be created relative to the image size.

If you need to import multiple images you should scale them appropriately in a bitmap editing program before importing. Then import all bitmaps WITHOUT CHANGING THE ZOOM LEVEL. Then you can set Units, move the images and draw.

I think this will work.
DesignCAD user since 1987

BPWL

DR PR

Thank you for making things clearer, there is no manual for that !!!


regards


BPWL