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.

Hidden Lines as Dash in Paperspace

Started by magic, May 18, 2013, 02:44:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

magic

Hi all,

Could we please have Hidden Lines as Dash as an option for Hidden Lines views in Paperspace?

Thank you very much.
It's a kind of magic!




samdavo

Magic
Here's a dcd drawing to illustrate.  House with chimney.
But even the current "draw with hidden lines shown dotted ( available in Model Space)  appears to be a bit dicky.
Unless I'm doing something wrong.

I notice for instance that the scale of the dashed lines is a bit stubborn to change. ahh - UNLESS you use Graphics acceleration :)

Also lines that are visible appear to both dashed and solid, whilst those that are hidden are dashed.  UNLESS you use Graphics acceleration :)

Moral of the story is to use Graphics Acceleration with "draw with hidden lines shown dotted"

But that's not solving the question of getting it in paperspace.
The only way I can see at the moment is to do a screensnip and paste it onto a "bounding box/cube" the same size as the object - which would show up in Paperspace.


samdavo

#2
Quote from: samdavo on May 18, 2013, 07:15:04 PM
The only way I can see at the moment is to do a screensnip and paste it onto a "bounding box/cube" the same size as the object - which would show up in Paperspace.
Here's what I meant there ... two tyres, one behind the other.
both transparency and the dashed-hidden-lines are shown.

Note that I have "texture/box-mapped" a screensnip onto a mimicked bounding box beside the objects themselves, and the jpeg I use is what you see with "hidden'lines-shown-dashed".

Note that meshes associated with cylinders etc (eg these tyres/torus'es) end up a bit messy because all the wiremesh lines end up as dashed lines.   But the house above would be more typical I believe - and this feature would still be a great addition to DCAD ifthe programmers can find the time.

JJG

Sam,

It's OK, but ... what Magic is asking for, it's not the view on screen (you're showing), but the representation in paper-space, what's not "exactly" the same thing ...
I follow him totally in this way.
;)

samdavo

#4
JJG
I also agree totally with the request, i.e. please programmers change this in the future.

But in the meantime...

This didn't take too long.
The bold lines between the views probably give it away... I simply did a screensnip back in Model Space.   Saved it as a jpeg...

Then went to Paperspace, and pasted the jpeg.
But I hear you, ( and magic) :)   

PS don't forget to use "graph acceleration" on to get sensible dotted lines, even in Model Space (2 cents)

samdavo

#5
Incidentally, and this involves just drawing with "hidden lines dashed" chosen,  nothing to do with Paperspace...

I enclose a screensnip of the three views in Model Space.  Imagine that roof is really an Egyptian Pyramid, with a small conical tunnel for a ray of light from the sun once every year ( or whatever).   Then ,  I have added the sun shining down that tunnel.   

2 things, 
a) as a minor negative,  all the wireframe lines of the cone are drawn as dashed - and  don't work as well as the rectangular and more planar blocks,  but

b) as a  REAL PLUS ( to my eyes anyway) - but it seems to be very convenient in a small drawing to have this setting (i.e hidden line shown as dotted) as "standard moduls operandi"

i.e. I draw that cone - IMMEDIATELY it shows dotted lines.   No more guessing which way a cube is facing (in isometric).    Anyway, Maybe no-one else will try it, but I find it quite ... promising :). 

Furthermore, it seems to stay constant (some exceptions, see below) without defaulting to
a)wireframe or
b)hidden lines completely removed.

One thing that seems to SOMETIMES default to the latter is if you add a solid that hides some of the drawing - then you have to turn on "hidden line dashed" again.   But such huccups are rare - It's really quite stable.  surprisingly so. :))     

cheers

samdavo

#6
JJG
and another version with 4 views...
(again, a screensnip jpeg simply pasted into paperspace,  but some tricks in choosing the size of the windows in Model space - particularly the low left corner ( front elevation).  You'll know what I mean if you give it a go.  After all, I'm trying to get the 3 views to be the same scale in the fake Paperspace.   - I don't know what the scale is, but I believe these are pretty much to the same scale in each of those main views ( top, front , and side).

As Winston Churchill used to say ,,, do what you can, now, with what you've got :)
cheers
sam

JJG

Sam,

I know this problem due to non-rectangular surface very good : and prl resumes it as well in this topic :  http://forum.designcad.com/index.php?topic=5049.msg32777#new

It's due in large part that DesignCAD does not use Acis graphics engine, but its own graphics engine (this is also thanks to this that DesignCAD is so cheap! ...) and therefore, DesignCAD does not "know" not the famous "curved surface" as Acis graphics engine does it as well, and that is why, in DesignCAD, the drawings in "hidden mode" are "poluted" by all the facets, furthermore useless for the reading of the 2D drawings.

samdavo

#8
JJG , thanks for the explanation.   Yep, the price is unbelievably cheap for  what it can do.  Fortunately I rarely draw cones, although I use heaps of cylinders, - It might be better / clearer (talking only my drawings) to use fewer facets in future -  12 facets at 30 degrees  for instance is usually more than enough.

The other option is 24 facets at 15 degrees, which provided it's drawn carefully, provides handles for  30 degree and 45 degree rotation purposes). 

ps. I show the house with those 4 views, (same scale - fairly easy after all - just make the views the same height or width as applic) -  including that Egyptian skylight that only works once a year. Must be pretty dark in there.   Again, this could be pasted as a jpeg into paperspace. - albeit I think it's called Heath Robinson.  cheers

samdavo

Here's the dcd - but lol I realise (too late) that what I have set up with those views is irrelevant, and "view shapes and sizes" isn't saved with a file ( as far as I can see anyway).

And once more, where I add the "bounding "diaboxes" to show/check/prove that the views are aligned

cheers

samdavo

#10
Magic
Just playing around with this some more
in particular , trying to get decent width dotted lines, I have come up with another Heath Robinson option ...

WHAT I DON'T achieve ...  automatic Paperspace dotted lines in 3D.
WHAT I DO ... a pseudo "Isometric/Perspective" with dotted lines in either 2D or 3D/Paperspace

I draw a sphere and a cube (each about a vertical orthogonal axis/axes)
I rotate them to get a pseudo 3D effect, 10 degrees about Y axis,  about 30deg (at least for the sphere) about X axis...
You'll see in the 3D screen dump with HLD (hidden lines dotted) I have dotted lines ON SCREEN, but those lines are anaemic, and don't print in any case.
I then flatten a copy of the sphere (and cube) against z=0 plane.
(edit I then vc = vector convert, and also "|" break lines into components - otherwise you have lines of latitude and longitude for instance as single continuous semicircles / circles)
and manually change hidden lines to dotted and layer=6.
And then manipulate widths ( dotted = 0.3mm and solid lines = 0.5mm from memory)
I can then print in 2D -
or (as per screendump) in Paperspace

Re that final attachment the lower half is front view, the top is Perspective approaching isometric, hidden lines removed (edit - in both of these viewframes)...

Note that dotted lines show in front view , and also in the "flattened-and-manipulated-parts of the Perspective" as well - albeit distorted for the sphere - i.e. you are looking at a plate , not a ball (edit - easily evident when you look at the top viewframe) .

On thinking about it, the flattening is probably optional, but would be necessary if you wanted to show more than one view , i.e. dotted lines in plan will be different to those in elevation, or in isometric etc - where you would need flattening against various planes as appropriate.

Still pretty amateurish, but it seems to be possible "in a fashion" ( a fashion like stovepipe trousers for instance).

(EDIT - I am proposing that only the front view would be used, - in general - and only the dotted line vc'ed version - all as per that closeup.   And that could be in a 2D drawing, or in paperspace)

(PS EDIT... Just for completeness, I add this bit of trivia ... There was one final thing I had to do with that sphere after I manually changed those lines to dotted  - and that was to "move the purple lines to front" - which is code for moving them to the back,  so that they cross behind the black "visible" lines, 2 cents)