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.

Slice by curved surface

Started by roger_c130, June 24, 2014, 12:47:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo

#15
prl
I agree with you (belatedly), albeit I'm surprised. I always thought that a multilayer solid would not display planes in one layer without being exploded into planes.

My bad ( again !)
cheers

ps I  once proved that the handle of the hammer left the paint mark - :) but never went on to show that the red layer (2) could display by itself. - again added at the high risk of confusing everyone.   

prl

#16
Quote from: samdavo on June 25, 2014, 03:37:16 AM
I always thought that a multilayer solid would not display planes in one layer without being exploded into planes.

If only layer 2 is on, you can see it (portions of the mulitlayer solid) but it becomes one of those "unselectable" solids.  Somewhere Phil, myself, etc. talk about "locked" solids.  I have some "unlock" routines and OLE's posted.

I like your "paint mark" description.  Also can be thought of as a "tool mark".

samdavo

#17
Quote from: prl on June 25, 2014, 03:43:02 AM
If only layer 2 is on, you can see it (portions of the mulitlayer solid) but it becomes one of those "unselectable" solids.  Somewhere Phil, myself, etc. talk about "locked" solids.  I have some "unlock" routines and OLE's posted.

I like your "paint mark" description.  Also can be thought of as a "tool mark".
Yep, I confirm that I can't select the conforming parts of the solid. (edit) although I can hide various layers of the same solid , which is interesting - ... not sure I can think of a use for it just now lol, but it's interesting nonetheless.

BTW, that "hammer and bent ring" example was drawn with DCAD's hammer command (impacting the torus / ring), including a large radius of influence of the hammer-blow ;   also you will see some Aluminium (layer 0) - but that is changing topic yet again;   at least the red paint remained.  :)
cheers

prl

Roger, if I may ask.  What is the original source of your model?   I noticed many non-DesignCAD materials suggesting something else created this file initially.

Dr PR

When parts of a solid are on hidden layers, making it impossible to select the solid, open the Layers Dialog and click "Unlock All." This unlocks the parts that are on the hidden layers, allowing you to select the solid, including the hidden parts.

This is useful if you have a lot of layers and don't remmeber which layers the hidden parts are on.

Phil
DesignCAD user since 1987

samdavo

#20
Thanks Phil - that makes sense.
I have yet to imagine a situation where part of a solid would be hidden, and other parts visible - but then again, my mind is being stretched in new directions every day.   
PS Also, I don't draw too many ships.  Someone asked me to draw a ship once , and I said frigate (question), and they assumed I wasn't interested. :)
 
prl
One thing I never realised,   
Your red shoe horn ( layer 10) has been reduced by solid subtracting a blue solid (layer 2).
Now,  if you set layer selection at ONLY 2 (the original shoehorn), (PS and "select all" Ctrl+A)) - then it selects nothing.
But if you set layer selection at ONLY 10 (the new blue areas of the solid), then it selects them.

So there seems to be a difference between the parts of a solid with seniority, and the new surfaces just formed with solid-subtract. (?)

At the risk of confusing,  I swap the colours around somewhat (to what I'm more familiar with ) :) ...
THE ATTACHED has Red layer 2, and Blue Layer 7  -
If you open the dcd file, make layer 2 (red) the only active layer, press Ctrl+A (select all),  you select nothing.

However if you make 7 (blue) the only active layer, then Ctrl+A selects the blue scallop.   I then copy this using hotkey N (as per the third jpeg) to prove it.  (and infobox tells me that floating cup-shape is also a solid).     
You cannot copy the red part of the solid in this way ( hope I'm right finally). 

On a completely different matter, before running qs2.d3m, you need to have all relevant layers editable. - otherwise they don;t get black border-lines, because they aren;t selected ( 2 cents)

samdavo

#21
Quote from: samdavo on June 26, 2014, 01:52:53 AM
On a completely different matter, but before running qs2.d3m, you need to have all relevant layers editable. - otherwise they don't get black border-lines, because they aren't selected ( 2 cents)
Just exploring that distraction a bit more, but qs2.d3m can add black lines to some layers but not others if that is what you want.   i.e. Here are examples of qs2 with

a) spherical parts with all gridlines visible/added, (i.e. both green layer 4,  and blue layer 7)  and likewise
b) with them "not added" for layer 7 ( because that layer is not editable and hence not selected by qs2 for adding lines)

Note the grid lines in the first jpeg's blue cup (part of the solid),  but not in the second case.

prl

Quote from: samdavo on June 26, 2014, 01:52:53 AM
If you open the dcd file, make layer 2 (red) the only active layer, press Ctrl+A (select all),  you select nothing.

Never tried the "select all".  So if layer 7 is only active,  I can't select it individually but yes, the "select all" does. How do you find these things Sam, TV must really stink where you live?   :) (Well it stinks here too, IMO). 

Another trick/useful routine.  After a solid subtract or addition, provided you haven't drawn or added more entities, even with portions of your solid hidden, you can use the slast.d3m routine to select it.  Then you can use the infobox or drag move/copy etc.  The hidden portions will tag (or drag) along.

samdavo

#23
Quote from: prl on June 26, 2014, 04:13:45 AM
Never tried the "select all".  So if layer 7 is only active,  I can't select it individually but yes, the "select all" does. How do you find these things Sam, TV must really stink where you live?   :)

... you can use the slast.d3m routine to select it.  Then you can use the infobox or drag move/copy etc.  The hidden portions will tag (or drag) along.

Yep that "select all" had me confused for a while -  it worked;  then (next time)selection didn't work (using drag select), then ... finally the penny dropped.
TV? just the bludy tennis, chewing gum for the eyes.  The missus loves it.  I'd prefer Geena Davis on the other channel in "The Long Kiss GOOOdnight"  ... you know the one ...  "chef's do that!" :)   But outvoted again.

Good point about select last, although I am still looking for an application where I would hide part of a solid and show the rest.   - Other than the waist line maybe :)

prl

Quote from: samdavo on June 26, 2014, 04:56:26 AM
TV? just the bludy tennis

A brief wander.  Recently watched the Australian "Rake" series. Trying to learn your language.  (Had subtitles ON).

prl

Quote from: samdavo on June 26, 2014, 04:56:26 AM
Good point about select last, although I am still looking for an application where I would hide part of a solid and show the rest.

I use it mostly to help "rescue" solids that DesignCAD has decided to scatter among various layers that may happen to be off.

Dr PR

Sam,

I too have always thought the idea of a solid scattered across multiple layers was pretty goofy. I tend to think in real world terms when creating virtual worlds in CAD, and in the real world objects are not partially invisible. So I carefully avoid splitting solids across layers.

But if you have learned anything from this Forum it is that no two people use DesignCAD in the same way, so I am open to the idea that solids are not single entities but just collections of objects, like groups , blocks and symbols. Clearly the program treats solids as just another type of group.

Phil
DesignCAD user since 1987