News:

Please note new Forum URL: forum.designcad.com

Main Menu
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.

pdf's and copy function

Started by paul craig, March 26, 2013, 02:06:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

paul craig

Just sent my latest re work back to the etchers for final test before production, and it brought to light a couple of niggles.

1/ is it me, or does every one get more than one copy when using the "n" command or "/" for mirror, and does this happen all the time, it seems not to me ???

2/ I finally decided on a new approach to my problems with hatch fill. after all this time, i put the surround on a lower layer, and then joined all the ends/ moved points etc. and it seems to have solved a number of problems with spiders web breakout.
It even works when I use it on the layer where I tab, mind you would be nice to have an easier way to do the work of organising the tabbing. We still have a slight problem with the "D" command, it takes longer, but it still eventually stalls and causes the programme to freeze, then I use ctrl+ alt+ delete to get out. when I re boot the programme, it generally re opens to the file. As before, I still use auto save set quite short, but if I regularly manually save, then it does not always re open. Also when it crashes, it does not become the first file in the file menu of recently opened files. Strange still.

Finally back to an interesting one. I am in the middle of finalising a book which includes drawings made in DCAD. the original writing is in a Word Document, I am using 2007. I have done the drawings to a specific scale in the print box, and output them to a pdf file, but when I use the import function for pdf's it does not seem to be the correct size. Only off by a little, but enough to be a real bore. Is this normal or am I doing something else wrong?
Paul

Dr PR

Paul,

I get only one copy with "Duplicate" (N) and "Mirror" (/).

There is too much missing from your descriptions for me to understand what you are trying to describe.

In paragraph 2, what is "tab" and "spiders web?"

A file will not be remembered in the recent files list unless DesignCAD is closed properly. Just opening or editing the file doesn't put it in the list. If the program crashes the file will not appear in the recent files list the next time the program opens.

In the last paragraph, when you say you import PDFs, what program are you talking about importing into - Word 2007 or DesignCAD? Are you saving the PDFs with the DesignCAD "File/Export" or with a PDF print output capture program like CutePDF?

You say the drawings are not the "correct size." WHERE are they not correct? On the screen? In a Word file? When a document is printed? When you import a drawing into Word it may be resized (scaled) to fit the page. Are you using the picture format function to set the desired image size?

Some printers do not print at the correct scale. I had a HP color laser printer that printed only about 99% of the desired size when I selected 1.0 scale. I had to use a scale of something like 1.049 to get the piece of junk to print at the right size. It went to the trash can and was replaced with a Samsung color laser that prints exactly 100% of the desired scale.

Phil
DesignCAD user since 1987

paul craig

HI Phil, thanks for that, I will leave the copy function till later, whilst I check it again and see how it operates.

tabs are the links between the object and its outline, so that the item will stay on the sheet after etching.
spiders webs are where hatch fill searches for the various parts of the area it is filling, and then crosses over the actual part you are outlining. you can generally only see it in the wireframe mode, or when you export to dxf or dwg. DT and I have discussed it before and it does seem to be to do with how you create the points of an object and its outline.

as for the pdf thing. I am trying to export pdf files to a word 2007 document. I have drawn an item in DCad, set the print parameters to a specific scale and a specific paper size, A4 international. printed straight to my laser printer, it comes out fine to the scale, give or take 0.5%, that I can live with. I am exporting to pdf creator by printing to it. the page size is set also to 8.27 x11.69 again A4. I then open my document in Word 2007, and use the insert objects field. set to adobe pdf format, and import the specific file. then print out and it is smaller by more than 0.5%.

I have attached a sample dcad file of the type I am working with for you to play with, if you want.

Paul

MarkX

Paul,

It seems to me there are at least 3 separate places where error could be creeping in.

If you print the PDF directly to the printer, are the dimensions right?

In Word, is there a scaling option (guessing that you right-click on the embedded PDF or some such) ?

Good luck!
Mark

paul craig

Hi mark,
my procedure so far is as follows.
I save the drawing in DCAD, obviously. I then go to the printer and set it up for a normal print. I set the page at A4 size, and set the output scale under custom. Finally I set it to print black and white in landscape for this particular file.
I save settings, and close the print dialogue box. Next I open it again and go down to pdf creator and print to that, the print dialogue box stays the same, and i print to the pdf file, and save that.
next I open my word 2007 document, and go to the inset, object, and chose adobe pdf from list, then import and place.

my assumption is that the pages stay the same?? but how do I find out if I am right or wrong?
in the past I have used WMF, but of course that is even more difficult to scale, and although there seems to be a scaling property in word 2007, it seems not to allow you to stretch to a specific input scale, only extend the box.
interestingly, looking at my object box Word 2007 suggests that it will import dcad, but frankly that seems to be bull droppings since all I get are funny lines, rather like wmf if you do not scale it properly.

Silly and expensive in time problem. ::)
Paul

MarkX

Quote from: paul craig on March 27, 2013, 08:48:51 AM
Hi mark,
my procedure so far is as follows.

But, have you tried to print the PDF directly? Trying to parse out where the error is sneaking in. So the logical next step is to see if you can print the PDF without the scaling error. If there's no error when you print the PDF, then we can eliminate DC or PDF creator as the source of your problem.

Good luck!
Mark

Rob S

#6
First, you may get more accurate results using something like Acrobat Standard, or free Cute-pdf or the like to create your pdf files from Design-cad.  Many users here rely on those, and found them to be accurate.

Then, as Mark beat me to it, to print out the resulting files, why would you not open the .pdf files directly in free acrobat reader (for which .pdf is its native file format) and print from there, it does produce very accurate results in my experience.

Word, its main purpose being a text editing and formatting program, uses various internal automatic fit-to paper rules, and does not in my experience produce an accurate scaled printout.
User since forever

Dr PR

Word does a lot of peculiar things when it imports and image. The width of the page margins in Word influence the width of an imported image IF the image is wider than the text area between the margins in Word. Other objects and text on a page also influence the picture import size.

I have had best results by using "File/Image/Save Image File" in DesignCAD to produce JPEG images. You can set the exact image size. I import the JPEGs into Word with the Place Picture (or whatever it is called in your version). After the image is placed in the Word document I right click on it and select Format Picture from the pop-up menu. There I can crop the image and scale it.

One simple way to get accurately sized images is to place a box of known dimensions around the drawing in DesignCAD. Then when you export/save/print the image you will have a size reference of known dimensions to work with in Word. If you use "File/Image/Save Image File" there will be no pixels outside this bounding box (you may get whitespace margins if you "print" or generate a PDF). Then in Word you can set the exact size of the drawing using Format Picture. Note that you can set the color of this bounding box to white and it will not be visible in Word if you work on a white background. This also gives you a known white space around the image when it is placed in Word.

My suggestion is to measure the dimensions of some part of the drawing in DesignCAD (the size you want it to print, not the actual dimension if they are different). Scale the picture in Word using Format Picture to make the image larger or smaller, and then print the page from Word. If the image is the wrong size fiddle with the scaling in Format Picture until it prints the correct size.

Having said all this, if you plan to print the book at a print shop you will have to tell them how large the image should be and go through all of this all over again. Been there, done that.

Phil
DesignCAD user since 1987

paul craig

hi guys, all valuable as usual.
Mark, it is certainly something to do with the word interface, since I can print them out in pdf using acrobat reader and they are in scale, so it is certainly when I import them to word that it goes wrong.

I am happy to print out from pdf, but what I need to do is produce the book page numbers and it would have been nice to be able to print out the whole book internals in one hit, rather than in two separate pieces.

Phil. I haven't tried  to export using the jpeg idea, I have put a scale on the drawing itself, so do you think I could re size it using a scale within the drawing itself, and if so how? or do I need to build a bounding box?

Paul

Dr PR

Paul,

In Word right click on the drawing and select "Format Picture" from the pop-open menu. Select the "Size" tab in the dialog. You can set the height, width and scale - be sure to select the "Lock Aspect Ratio" option to keep the proper horizontal/vertical scale relationship.

Print the page and measure the image. If it isn't the right size change the "Scale" options and print again.

The "Picture" tab has functions to crop the image to eliminate unwanted surrounding whitespace. This can be used to reduce  the visible part of the drawing. Then you can scale the drawing larger to make the visible portion larger on the page. This allows you to select only a small part of the image and make it as large as you want it on the page.

You can use the "Layout" tab to set the type of word wrapping around the image and the horizontal position on the page.

Phil
DesignCAD user since 1987

paul craig

Tried that Phil, and of course the problem is that in my case, with my specific details, the jpeg pictures do not come out clearly enough. Whereas the pdf output is crisp and clear, the jpeg is somewhat fuzzy, specifically with the curved lines, so sadly it does not work for me.

I will therefore have to work my way through pdf's not in the document, and then insert them later. I was truth be told, being lazy ::) in that I had hoped to make my life easier. As you will appreciate, having numbered pages within the document,
I needed to allow for the numbering the drawings pages, then print out in separate sections. But sadly, that means I have to "hand number" the drawing pages, but then why should life be easy ;D

I will just have to keep trying to figure out how I can get Word to re size properly. I think I need to add a page break, then re-size the page margins, and then insert the pdf and see if I can re-size that too.

Paul

MarkX

#11
Is this a big book? Or is it the drawing printed out with some text around it?

If its a book-type publication, why do the images have to be exactly to scale? That suggests that someone is going to be using a ruler on the contents of a book.

I think these sorts of problems are why people who regularly produce books for printing use layout software like Quark Express (?). Word wasn't meant for this heavy-duty exacting kind of task.

Mark

Edit: If you're only using Word to paginate a PDF document, you might consider other tools such as PDF-Xchange which (I think) can do pagination for you.


DrollTroll

#12
Set up a custom page size for the PDF driver, Say, 9 high by 6 wide with margins of 0.0. Then print your image (to scale) so it will fit on that PDF page (portrait orientation). After you insert the PDF page, right-click on it in Word, and use Format Object to fix the size so it's 9" high and 6" wide.
Depending on what paper size you're using in Word, and what margins, you may have to adjust the 9x6 recommendation (you're probably metric anyway), but that should give you the gist of it.
25 years with DesignCAD

paul craig

ok, guys, this gets more and more interesting.
Kevan, I have done all of that, and will attach the dcd file, and pdf, and you see whats in the files.
I believe it will show I have set both the DCAD file at 8.27x11.69. also opened in acrobat and same thing applies.
then when I import to Word, it is offset, but more importantly sizing it in word, makes it run to two pages, so what else am I doing wrong?? you all know that i am not a trained computer person, have just made it all work, by your help, and hands on just trying. question, does the origin of the drawing have any impact on how it appears on the printed page? or is that only a function of the margins?

max, to answer your question. we are producing this for a small society, so it will be the kind of thing with soft covers that some students do for their thesis. we want all the drawings to relate to each other, since the objects in them are in reality different sizes in full size. so a constant scale seems sensible. and so far my experience with wmf is not so good. still I might try that as another way of working round.
Paul

Bob P

There is a way to use DC's JPEG generation to do this.  What I would do:

Draw a temporary box around the area you want to capture.  Note its "real" size.

Capture the image, snapping to the temporary box's corners.  Use the drop-down menu to select anything but Current display.  Change the image size to something very large - even 20x the current display.

Use an image editor to "paint" white over the remaining border.  Sometimes I will increase the contrast to darken the lines and take any jpeg artifacts out.  Save with minimal compression, or even as a gif.

Now you have an image that you know the size of.  Import into Word, scaling it to what you want.

Print it out, checking the scale.  Modify if necessary.