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.

Options for a Cross-section quadrant

Started by samdavo, June 14, 2014, 03:06:34 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Dr PR

Sam,

Sorry, but what you said doesn't work for me.

If I create a cylinder on a layer and then move it to an inactive (not visible, not editable) layer, and then render (Gouraud, acceleration on) the cylinder is not visible.

Does qs2 shade objects that are on inactive layers?

Phil
DesignCAD user since 1987

samdavo

#16
Phil,
ok - I suspect my terminology was "loose" in reply #14 - but correct in replies #9 and #11 i.e. "turned off" should be "uneditable":-

Once you move the round object (whether cylindrical solid or disc grid etc ) to a new layer,
you make that layer uneditable / unselectable ( i.e. close the little padlock).
 
Hence, it won't be selected by qs2 - which as I say,  just selects things with a black selection colour (before changing back to your preferred/usual selection colours).

One thing I should add, -

Take the parabolic dome on top of the hotel roof :-
Because, with qs2, you are effectively prevented from selecting the dome, you not only lose the lines on it's facets, but you also lose the lines around the edge .   

Likewise a sphere (left intact) - if selectable -  will have all lines of longitude and latitude when you use qs2; 
or it can have none of them if not selectable.   

Reply #11 was more accurate - where I corrected the word "visible" as soon as I typed it.   
Quote from: samdavo on July 07, 2014, 05:43:19 AM
Here is the same set of drums with qs2, but with all layers visible - make that edible / selectable.

... (edit) I attach "just 2 drums" - i.e. I reduced the file size to make it post-able.
cheers
sam

samdavo

#17
prl
there's an (alternative and arguably) simpler way (easier than locking layers)

Just thinking aloud -
all you need to do (i.e. with a simplified qs2.d3m)
is to change the background ( suggest not necessary)
change the selection colour to black.  (which is a dead simple macro)

and then select all,
and then "unselect" those things that have too many facets.  (using Shift + left click)  - or right click if you prefer.

(2 cents)

prl

Quote from: samdavo on July 08, 2014, 03:51:54 AM
Just thinking aloud -

You definitely have me thinking too.  The ugly lines on curved surfaces always make me cringe.  It is one reason I use SketchUP. 

Example 1: this is DesignCAD with qs2 render.  All OK with me except for the darn lines under the curved braces.  Argh!




Example 2: So given the darn lines bug me, I export the DesignCAD model into SketchUP and get what I want.  I know these are just client concept drawings, and nobody really cares about this sort of stuff, but I do.




But notice that DesignCAD lets me add a nice phantom line at the eave timbers. Something SketchUP can't do.

samdavo

#19
well prl,
I have no problem with the DCAD version (rather than the SU one) - and easy enough to hide the unwanted facets (as already discussed, eg by the two methods of either of my two previous posts, reply #16 or 17).

edit -
here's that simpified version (called qs3   :) )

It changes the background colour, (surely optional anyway) - but doesn't bother to remember what it was (i.e. it assumes you can retrieve your preferred background)

It changes the selection colour to black ( again you would have to reset your preferred colour "later")

and it selects all. 

ok - you can then use Shift+left click to "deselect" drum-cylinders and symbol-discs.    or "Shift + right click" if you prefer.

Here's a drum and a disc to practice with :)  - should you feel so inclined. 
Note that I "deselected" the drum - but only half the symbol.



prl

Quote from: samdavo on July 08, 2014, 05:13:09 AM
here's that simpified version (called qs3   :) )

Hmm, I couldn't get your method to work for me.  I'll look at your example shortly.  But when I simply hide the offending edges, then run standard qs2.d3m that works.  Something must be different, I'm sure I tried that years ago and it didn't work.


samdavo

Quote from: prl on July 08, 2014, 05:36:04 AM
Hmm, I couldn't get your method to work for me.  I'll look at your example shortly.

prl
qs3 initially looks messy
everything is selected
but you then unselect curved things which you don't want to have all those facets showing as black lines.

Or you can reselect them etc etc. 
Or unselect everything!!  and then just select things that you want black lines on ,
or ....

All that the macro REALLY  does is set the selection colour to black :)

prl

Quote from: samdavo on July 08, 2014, 05:13:09 AM
Here's a drum and a disc to practice with :)  - should you feel so inclined. 

Thanks for the drum set.  Your drum set and qs3.d3m work as you indicate, but I'm not sure I know why.  Looks as if we may a few ways of doing this "cleaned up look", which is better than no ways.

prl

Sam,  attached is my test model.  Load it and try the normal qs2.d3m to ensure it isn't just a lucky thing on my machine.

Then try your qs3 method and save that drawing version for me.

Thanks

samdavo

#24
ok, lol -
you have two blue cones both on layer 37, and two curved brace-pieces both in layer 8.
and (after you run the qs2 or qs3 macro), some have black-selection- lines and some don't !!
(edit - reason being there are no lines there to select, lol)

So I had a look in plan, and there are cone-side-lines missing even in wireframe (is this a warped plane maybe?)  Likewise elevations are strange in the extreme. (second jpeg).

I'm guessing you have added and moved points of a polygon in point-select mode - much like that "intentionally warped plane" that I posted in another thread (of that name) (?)

prl

Sam, the manipulations with hidden edges is intentional.  You can do that with the "hide edge" command under >edit.

I think the reason I missed rechecking this method with qs2.d3m was between versions 17 and 22, when making or inserting blocks (of solids), DesignCAD would turn on the hidden edges.  I probably gave up constantly re-hiding all those edges.



samdavo

#26
thanks prl - certainly worth knowing.
I'd run into that "hide line" command, but never thought of using it here.
(I'd used it to try to hide the line you get when you cut an internal hole in a plane - eg sections through sphere with hole drilled - as per jpegs)

I seem to recall it can start by 'show line' again if you are not careful (all as you have already said) - something to check out.
(even on V22.1)

prl

#27
Sam, it is an interesting command (hide edges).  I wish I had control of edges visibility with BasiccCAD, but we don't.  For qs2 with spheres, cylinders, bolts and I guess anything round, we generally want to see just the outer most edges.  So if you manually hide the interior face edges like I did with the cone, it is highly dependent on the viewing angle, as you point out in your snapshots.  Now the wooden bracket, hiding those interior facet lines is less of a big deal with respect to view angle (provided DesignCAD doesn't turn them all back on like it used to).

samdavo

#28
prl
So I took your idea (of using Hide Edge = really means hide any element of a wireframe !!- hope I'm right there), and checked what would happen with a surface. (surface patched between 1 straight and 3 wavey edges - dead simple of course)
I find I can take out any line elements of the grid. leaving whatever pattern I want.

One  great feature of this "hidden edge" trick applied to a grid,   - where a small grid-element-line is left ending at a "T-junction" of "L-corner",  then you can select that point]  - and this is not something you can normally do with a grid ( as far as I know anyway) (edit) actually I am wrong there - turns out (I think) that you can select the intersection of two gridlines provided you are in wireframe  - not when shaded  

Sorry, the red-and-white flag is irrelevant to that argument - it was done by exploding the grid into small squarish planes, and colouring them.   (not enough stripes I suspect :)  )

At least it demonstrates that you can select all (with qs3), then unselect the red-and-white flag, leaving only the yellow flag with black selection-lines-reduced-by-the-edges-that-have-been-hidden. 


prl

So how do you think of these experiments?  Your test models are always great and always demonstrate the versatility of DesignCAD and you!