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.

Shaded drawing and showing edges as solid lines - Is there a way?

Started by Flatron, July 12, 2010, 12:30:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Flatron

Hello,

I'm using DesignCad 3d V15 and I'm struggling to find a way of showing an outline of a shaded drawing – example would be a 3d box with the outer edges shown as solid lines when the drawing is shaded.

Is there an easy way in V15 or is this feature available in more recent versions (like V20).

Cheers

Ron

Rob S

Doesn't work very well for me either. 

In theory you should be able to draw a black line around the edge of a light colored shaded object, and it should display, if you have the "line" option checked under type in the print dialog, but it doesn't at outer edges. 

In three-D mode it seems to disregard pen weights and fixed line widths, so not possible to darken the line.

You could maybe try two passes through the printer, one as shaded, and one as hidden line, or you could paste the image of the shaded view into a 2d drawing, or you could fix it in a paint program.
User since forever

Rick V.

Flatron,

I'm not sure if this is what you're after.

The wire frame for the first model was initially created with planes, which were copied to another layer and Vector Converted to create the wire frame. I use the wire frame for orientation purposes mostly.

To do the box with an outline, you might try:
1. Doing a select copy of the box off to the side.

2. Explode the solid (of the copy).

3. Vector Convert the planes of the exploded solid to create a wire frame (make sure you make it a different color than the original solid).

4. Enlarge it slightly using Selection Zoom.

5. Group the Vector Converted box (for easier manipulation).

6. Set a handle at a corner and move it back over to the solid box (snap to the same corner).

7. Find an opposite corner, find the distance between the solid box and the wire frame, split the difference and move the wire frame until it's centered over the solid or... just draw a line corner to corner on each box and align the centers.

Basically, the wire frame needs to be just slightly larger than the solid, so it'll show when things are shaded.

Adrian 2.0

I wondered whether 'print by layer' option in the print menu may help sort the problem, so I created a 3D cube (in yellow) - copied it, vector converted it (red) and put the vectors in layer 2.
I then tried to print to PDF, checked the 'print by layer' thinking - layer 2 - print 2nd, should be visible, right?
An hour and a half later the print job was 60% complete - this was a 32kb file - how long does it take with a real drawing?

Does anyone else have experience with 'print by layer'?

Flatron

Thanks for replies. I had tried copy original, vector convert etc method with a bit of success.

The job I'm on at the moment is the assembly instructions to accompany a self assembly desktop bookcase. Unfortunately there are some curved elements and the hidden line shading leaves all those unwanted lines on the curves and circular elements, which looks a bit untidy. If there isn't a way in DesignCad then I suppose I could print (Hidden Line) to pdf, copy image to clipboard and remove any unwanted lines in an image processor.

Any other ideas?

Cheers

Dr PR

Flatron,

One way to clean up hidden line drawings is to create a new file with "File/Save As" and check the "Save 2D Projection" box. This will save a 2D projection image of the 3D object in an ordinary 2D DesignCAD file. Then you can edit this file to remove unwanted lines, etc. Experiment with "Hidden Line Removal" and "Hidden Line Cleanup" to see what works best. These functions often are a bit too zealous in removing lines, sometimes removing line you want.

I find it is usually easier to put the 2D image on one layer and then trace over the lines I want on another layer using gravity snap. Then I can delete the original 2D projection image to get rid of unwanted garbage from the 2D projection file.

You can also use this technique to produce the shaded image with visible bounding lines. First save a shaded image with "File/Image/Save Image." Then save a hidden line 2D file (as described above) using the exact same view orientation as the image file. Open the 2D projection hidden line file and then import the bitmap image saved with the Image Save operation. Move the 2D vector layer to a higher layer than the bitmap image. Edit the 2D projection to remove unwanted lines (or trace only the wanted lines on another layer). Then set the line width as desired.  You may have to play with the scale of the 2D projection vector drawing to match the size of the bitmap image. Be sure to move the bitmap image to the rear with "Edit/Selection Edit/Display Order/Move to Back."

Now you can use "File/Image/Image Save" to save a new bitmap image with the bold lines around the edges of the shaded image.
DesignCAD user since 1987

Flatron

Brilliant Dr PR. Thanks. Works really well. I can see that I'm not alone in this and your expertise is much appreciated.

In fact using your method for generally outputting a drawing in "Hidden line removal" mode works far better than just using the "Hidden Line Removal" function in 3D mode and printing or whatever the chosen output is thereafter. The result is far cleaner even if there are a few odd lines missing (easy to bung back in) and there's the chance to change line style etc.

Shaded image with visible bounding lines technique is a notch up for me at the moment, but I'm sure that I'll find a use for it shortly.


Many thanks

Ron