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.

Hatch covers up text

Started by DCdosuser, July 18, 2019, 08:31:04 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

DCdosuser

Windows 10,  64 bit, 3D Max 2016 (altho I also have 2019 installed but not used it).

I am trying to do a book cover.  Doing so in Word or Open Office has been too frustrating, especially when it comes to manipulating JPGs and placing lines where I want them.  So I'm using CAD.  My problem comes when I have large areas that are hatched a solid color (WIN_SOLID).  I want to place text on top of these areas, but when I do so they usually disappear under the hatch.  I don't know how I was able to get the text to read sometimes but not others.  I can't find a command to make the text come to the top.  I have tried all of my older versions of DC, but they all do the same thing.  I have tried all 3 versions of Hatch (Hatch, Hatch Line, and Hatch Fill), but the same happens with each one.  Any ideas?

REF

Select the Text, then go to
Menu: Edit / Selection Edit / Display Order / Move To Front
DesignCAD user since 1990

Rob S

After moving the hatch to the back, it also might help to place the hatch on a separate layer, and turn off editing for that layer

Otherwise everytime you select the hatch, accidentally or on purpose, it will pop to the front again.

At least that is how it works with embedded images.
User since forever

DCdosuser

I tried solution proposed by REF.  My options were:
Move to Top
Move to Back
Move in Front of...
Move After...
I tried both Move to Top and Move in Front of... If I selected Move in Front of..., the cursor turned into a pointing hand.  I used the cursor to point to the hatch area and left clicked.  The cursor then turned back into the normal selection cursor and the text remained selected and visible.  However, once I clicked elsewhere or selected another entity, the text became hidden again.
I then tried Move to Top with the same result except the cursor did not change to a pointing hand.  Again, the text became hidden.
Haven't tried suggestion by Rob S yet.

Rob S

Select the text first, then run the command, no left click after
User since forever

Adrian 2.0

Move to top and move to back are so important to me that I have assigned the up and down arrow keys to do the job.
Remember it is the selected item you are moving so to move the text on top, select it and hit the up arrow. Job done!

While we are discussing using solid hatch to obscure something deliberately, it's useful to know that you can assign 'paper colour' to a hatch which effectively makes it disappear. It also makes whatever entities under it disappear too which is a good trick to know.
I use that often. If for instance I've hatched a floor pattern in a room and i then place a piece of furniture on it I don't want to see the hatch under the furniture so I place another solid hatch the same shape as the furniture under it but over the floor pattern.
The typically weird DCad method to do that is that you can't assign 'paper colour' to a hatch before drawing it - you have to draw it in another colour and then change it in the info box. You also cannot batch convert to 'paper colour', you have to select them one by one!

Adrian

DCdosuser

Rob S - I have done that (both with Move to Top and with Move in Front of... Text is still hidden.

adriank - Not sure what you mean by "hit the up arrow".  If I select the text and hit the up arrow on the key pad, nothing happens.  I don't have either Move to Top or Move in Front of... assigned to any keys.  If I click the up arrow in the layer box, it just switches the order of my layers.  I just select the text/ Edit/ Selection Edit/ Display Order/ Move to Top (or Move in Front of...). I have tried the reverse also, by selecting the hatch/ Edit/ Selection Edit/ Display Order/ Move to Back.  This doesn't work either.

Rob S

Care to post the file you are working on (or a sample of the problem) for us to see what is going on??
User since forever

bdeck

#8
Hello DCdosuser,

After doing a MoveToTop or MoveToBottom occassionally the change will not be immediately reflected on screen.

In that case,  regen, zoom, or zoom window, or even a mouse click may render it correctly.

I like adriank's idea of assigning a keyboard shortcut to move text to top or bottom.

Instead of a keyboard shortcut, I execute one of the following macros labeled "bb.d3m" and "tt.d3m" from the command line, after selecting the entity I want to move.

The macros may also be helpful when images and drawn line entities overlap  (especially if one has not yet set the 'Display Geometry On Top Of Images' option, as adriank previously suggested).

'''  tt.d3m    macro to move selected entites to top of display order
>MoveToTop
{
  }


'''  bb.d3m    macro to move selected entites to bottom of display order
>MoveToBack
{
  }


Here is a link to a discussion of how to save and use a macro.
http://forum.designcad.com/index.php?topic=1047.msg10817#msg10817

See attached image for other ideas.

Adrian 2.0

Sorry if I confused you.
I have assigned the up and down arrows to move the display order, I can't tell you what the default assignment is for those commands because I've over-written all the standard assignments.
If you go to options/keyboard & select the 'edit' category the move to top & move to back commands are about 1/2 way down the list.
When you select any command it displays the default keys in the 'current keys' window.

If there is none it'll be blank but you can assign any key you like by selecting it in the dropdown list to the right.
Don't forget to 'save as default' before you exit or the assignment won't work.

As Rob suggests, post a file up for us to look at.
Rob also suggested you disable the layer with the hatch in it after you get it to display where you want it - that's a good idea because it's easy to select a background hatch by mistake if you wander too far from the entity you are trying to select, and when it's selected it will always display on top of everything.
A side note - if you do select and delete the hatch by mistake, and then undo the mistake the hatch reappears on top regardless of where you had set it to display, so you need to re-set the display order again.
What colours have you got for the hatch pattern and text? (and what colour is your background set as?)
White text on a white background will display black, so if your hatch is black the white text will still display black and 'disappear' even if it is on top. To solve that one I would set the text as a very pale grey - you need to be a couple of graduations off the background colour before it will display true colour over your hatch.

DCdosuser

adriank has a solution for me.  Normally I use a black background.  For the colors to work when I print a PDF I had to go to a white background.  In areas that needed to be black I used a black hatch (WIN_SOLID).  I was trying to put a white text in the areas of black hatch.  Just as adriank said, the text appeared black.  After changing to a gray (R:250, G:250, B:250) the text showed up.  Anything closer to white, 251 for example, would not show up in the black field.  Thanks to everyone.  I will incorporate the other suggestions, as they are all good. Thanks again.

John M

Hi

I recently ran into what appears to be a variation of the same problem. I use design DesignCAD for preparing artwork for photo engraving and ran into a problem printing & reproducing text drawn on a hatched background.

In this case the text drawn in black (L2) is visible against a red hatched background (L4) in both a Design CAD and dwg. format but does not appear when printed from Design CAD or in the photo engraved output.

The text and hatching drawn on different layers using a colour coded system, basically black for the material to remain, red to be engraved on one side. Curiously there is no problem in printing or engraving text drawn on L4.

John

Dr PR

In some cases layers are drawn successively, from L0 through whatever. Consequently, higher numbered layers appear on top. Try moving the text to a layer number larger than the hatch (just open the Layers Dialog, select the text layer, and move it with the arrows on the right side of the dialog).

Some work has been done in recent versions to get things to display correctly in the displayed image, but often the same changes are not made to "Image/Image Save" and "Print."

Also, even though this makes no sense, often what you get with "Image Save" and "Print" depends upon what display mode (Wireframe, GDI shaded, OpenGL shaded) is in effect on the screen.

Phil
DesignCAD user since 1987

Lar

#13
Dcdosuser, John M, 


Check 'Print by Layer Order' (it's in the Print Preview dialog, S button... and somewhere else I can never remember, maybe someone else knows). With it activated I think the higher the layer the more top things are (so everything else has to be in order). Drag the layers like Phil says.

For screen display check 'Display drawing backwards' in the Options dialog, View tab. With it activated everything displays in reverse order.

If all else fails you can put things literally in front of each other by using 3D mode, shaded, with a front view. Win_Solid is usually not solid in shaded 3D but if you explode them they turn into Planes. Just keep everything flat (facing front) so the colors stay true (don't darken or lighten depending on how light hits angled surfaces). For white stuff don't use 255 white, make one of the numbers 250 (there's also a way to turn off  white printing as gray in one of the ini files).

Lar

DCdosuser

I am putting together a book of photographs, some of which have been radically modified.  Because word processing was too frustrating when dealing with JPGs, I decided to use CAD.  My cover design worked out great.  However, my typical page design has been a huge problem.  I posted earlier on this issue, and thought it was solved.  My "white" text was disappearing behind the black background (WIN_SOLID).  I now use very light gray text (250, 250, 250).  I also set the hatch to be on level 18 with the text on level 1 and also set all text to be on top.  After setting it to be on top it has never reverted.  Except that is, until I print.  I have tried switching the hatch to level 1 with the text on level 18, but that didn't help.  I have tried Plot by Layer Order and Optimize Plot with Color Sorting.  Nothing worked.  My prints all came out with the text hidden behind the solid hatch.  I tried different PDF makers including Foxit Reader, PDFill, Microsoft Print to PDF, CutePDF Writer,  and Able2Extract Professional.  PrimoPDF is what I usually use.  Some PDF creators would not let me to print to 12" x 12".  When I used Foxit it produced a very grainy print (not good for a photography book).  Increasing the resolution crashed the computer.  I have tried almost every variation of PDF printer and Print, Print Section, Save As, selecting vs not selecting prior to printing, etc. that I can think of. 

Finally I stumbled on Export.  I can export to PDF and the text comes out exactly the way it is supposed to.  The problem now seems to be that there is an extra band of paper around the drawing (page).  I don't know how wide this band is because I haven't taken it to a printer yet.  But there seems to be no way to control the width of this band or eliminate it entirely.  I am going to try to post a couple of examples, one where the text shows up but there is an extra band, and one where the page size is correct (with an extra 1/8" all around, which the printer says is necessary so they can trim it) the text is hidden.  I will also send the actual CAD file if that is possible.

Thanks for any help you can provide.  I am having trouble attaching files.  I will try again after sending this with no attachments