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.

Hiding the last solid subtract from a solid

Started by samdavo, August 02, 2014, 07:13:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo

#15
Thanks John.
I find reference there (in that TurboCAD article) to a render of the spherical knuckle shape.
And I find that DCAD (with qs3) gives the option of adding those facets or not (1.5 cents) - or the other pillow shape as well.
cheers. 

samdavo

#16
PS Offtopic, except that I started to talk about qs2 and qs3 again :)   Love that macro !! 

Then of course, you can easily modify those black-highlight lines, (not just turning off black lines in various layers - as per the last jpeg in the previous post).

I enclose two modified versions of that drawing.

One where I have deleted several wireframe lines using Edit\Hidden Edge By Section;

the other where I have added curved vectors in the other direction to get a different set of wiremesh on the corner of that green pillow.

PS Just to remind you, the third post shows the original qs3 highlighting. (2 cents)

John R

re: ...spherical knuckle shape....
I just took a Sphere and squeezed it down a bit. The Sphere had a LightWorks Grid pattern applied to it. In normal wireframe, none of that stuff is visible. Are the lines from the macros you used actual lines?

The picture shows a LightWorks Hidden Line render on the right. The two on the left are LightWorks Quality renders, with-n-without the material on the inner facet. Between LightWorks, RedSDK & OpenGL, the program seems to have too many rendering options.
John R.

samdavo

#18
John
At the risk of boring many here stupid, because I have been talking about qs2 (quick shade 2) and an offshoot qs3 for a while now...   But if YOU aren't aware of it, then others may not be as well.  And I'm not convinced we have collectively fully exploited its capabilities, possibly with small variations, eg lighting, selection options turned on and off.   

But in summary, here's a quick reply to your questions, and this is what you can do - might wet/whet your appetite  :) :- 

Quote from: John R on August 08, 2014, 10:03:20 AM
1. In normal wireframe, none of that stuff is visible.
2. Are the lines from the macros you used actual lines?
3. too many rendering options.
John,
Starting with your point 3., qs2.d3m isn't a rendering option (quite obvious) but I find it ideal for a quick 3D sketch of a machined part, and I then post that screensnap into an otherwise 2D drawing.  (PS Unlike architects, engineers wouldn't normally use shadows for instance - well not if you're old fashioned).

I believe prl initially wrote it to simulate Sketchup, and the way that black lines delineate planes.
All it does is
a) remember what your current background colour is - also your current selection colour
b) change these to light greeny-blue and black respectively
c) shade your solid, and then
d) select everything that isn't locked - with selection colour black.

2.  So the lines are only wireframe superimposed on the shaded solid.
1.  and you are looking at BOTH shaded and wireframe together.       

Note that
a. you have to have graphics accelerator on
b. you get a screensnap
c. then with qs2 (as against another macro qs3) you immediately lose your selection and return to your preferred background and selection colour .
d. unlike SKU, you can't have "black-edges-highlighted" at the same time as shadow (but you still get the effect of lights being brighter on some planes than others).

Here's prl's unveiling of this macro (back almost 2 years ago):-

http://forum.designcad.com/index.php?topic=4529.msg27991#msg27991




samdavo

#19
Sorry, my ideas just keep evolving.

I had never considered "changing the wireframe" at a rounded corner (as per reply #16, second jpeg) - until this thread.

You are right, on that occasion I have added some vectors (curved in xyz) - and these also show up as black when they are included in the selection (provided they are slightly proud of the surface).   

The other "trick" that prl twigged to was deleting wireframe lines using "Hidden Edge".  - and I also illustrate that above.  I find that   Edit\Hidden Edge By Section  is more reliable in selecting the wireframe elements I want to hide.

The other quick comment is that you can lock layers with curved facets - and they won't be selected.  This avoids having dense black lines on say a sphere or a cylinder etc.    Again, in the examples above, I have turned off the green pillow in one jpeg, so that it wasn't selected.  eg if you don't want the green pillow to have black lines, then lock that layer so that it isn't selected. (third jpeg in reply #15).

PS that old joke should be amended,  from "what was the best thing BEFORE sliced bread",  to "what was the best thing BEFORE qs2.d3m"   :)

PS This is almost on thread, because it is all about selecting parts of a solid to show as black-line-selection, (but not other parts).  - although to be honest the thread was more about making some parts of a solid invisible.  ahh , what the heck.      Cheers

PS Here's another option where I remove the top plane of the pillow, and also remove the wireframe lines from the spherical parts of the corners - just playing around with options.

samdavo

#20
ok - I find that with qs3 (PS maybe also with qs2) I can turn off graphics accelerator, and hence get
a) the more "sophisticated" shading of say material/leaves, or walnut; and also
b) shadows.

(ok, it isn't perfect - some HLR hasn't worked - hidden lines removal - because I have just click-selected the central spherical component, whilst leaving the "Leaves-rendered Pillow" unselected.  This imperfect HLR is the price of having shadows and better render).

If you look carefully at the third jpeg, you will see the selection handle where I selected a fake (extra) white sphere which is inside the original solid and slightly smaller - normally you would move this handle out of the way (distant) to get the screensnap. (2 cents)

But all I am doing there (in the final analysis) is adding the black selection lines to that fake white sphere.   Always assuming I don't want to add them to the outer pillow.   

And just to completely destroy any illusion that there is anything sophisticated going on here, the final jpeg shows  what happens when you
a) return to default selection colour  (eg purple),
b) shade with accelerator off (for shadows - obviously set lights to permit shadows) and Gerrard or Phong (to get the best from material\leaves_1, which is leaves, just changed to silver colour)
c) click on the pillow to select it,
d) move the handle (and best to have sticky handles turned off)
e) and take the same screensnap.