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.

Why does this subtract destroy my solid?

Started by MarkX, May 07, 2013, 10:05:42 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

samdavo

#30
phil
thanks - something to keep an eye out for then  (I'm new to 3D :) )

But speaking as a 3D newbie, and reading the options above,  and changing the subject to what layers and colours a multiple-coloured-and-layered-and-shaped Booloperation should finally present you with ...  (and which way we would vote if we could influence the DCAD programmers) ...
 
surely a program that
a) subtracted or whatever (+.-,^)  a layer 2 red box from a layer 1 blue sphere that gives you all these colours and layers in the result...
is a goood thing (?)
b) i.e. keep the diversity alive and available , rather than turn it into a muddy stew:)
c) after all you can always change them back to all be in the same layer,  or all be same colour later,   but
d) once a stew, always a stew. 

(or rather, if you add red bits of cubed carrot , to blue bits of onion,  its great if you can taste both carrots and onions in that stew - and even find em with your spoon sorta thing.  Instead of only being able to taste the carrots   - OR the onions for that matter.) 
I enclose a jpegs of
carrots (+,-,^)  onions = both
or
carrots (+,-,^)  onions = just carrots
carrots (+,-,^)  onions = just onions
(?)

In summary, I would vote for the status quo, carrots, onions, parsnips, the works .

PS as for the difficulty in changing it to something else less "multi-faceted" AFTER the operation, it's dead simple.  (personally I just select and run a 2.dcm macro).

Turning that
bS1-rB2 
into
r(S-B)2

took all of 1 second.
where
bS1 = blue sphere , layer 1
rB2 = red box, layer 2
hopefully the rest of the code is logically worked out.

PS What was it John Bolton said ... "We don't do carrots!". :)
PS actually the stew analogy has problems lol - you can't blend layers 1 & 2, other than the way you do it now.  This becomes Hobson's choice - it's one or the other if you want to end up with uni-layer and colour  (obvious, just thought I'd correct my analogy).  Anyway time for breakfast. 

Dr PR

Sam,

I cannot go with the status quo. Having the program scatter bits of objects into layers that the user did not tell it to do is totally unacceptable.

Likewise, changing the material of parts of a solid to something other than what the user selected is unacceptable.

Having to repair the damage caused by the program is a lot of needless make-work that interferes with the drawing process. That is unacceptable.

Phil
DesignCAD user since 1987

prl

#32
OK folks.  As an initial trial balloon for consensus, I've adopted Phil's list.  I believe items 1 to 3 are very important.  I feel items 4 to 6 would be nice if they worked as Phil describes but for simplicity, they are reset to standard settings. 

Standard Rules

1.  Bool Ops: Solid 1 modifies solid 2. The result is always something new.

2.  Layers: The resulting object is on the layer of the second solid.

3.  Colors: The resulting object color(s) uses the colors of both solids with the subtracting object, solid 1,  providing the tool mark surface color for subtractions (as it does now).

4.  Material: New resulting object has DC "Default" material.

5.  Transparency: New resulting object has NO transparency.

6.  Texture mapping: New resulting object has NO texture mapping.



MultiLayer Solids (user created and managed)


For user created multilayer solids, the program unfortunately has no way of knowing the "rules", so I propose that those addition and subtractions follow the same Standard Rules for homogeneous solids. "Homogeneous" implying a standard solid resides on one layer.  When doing operations with multilayer solids, DesignCAD will use the first layer and color it finds in the entity collection comprising the "multilayer" solid.  It will undoubtedly always surprise the end user but hence is the nature of multilayer solids, since in reality they can only be created by the user selecting a homogeneous solid with the user changing individual entity settings grids and planes via the infobox or basiccad.



minstrel

#33
1-3 are imperative.

All Bool Ops, indeed, should create something new with a popup request for the user to select it's destination layer [if no selection is made it defaults to the same layer as the original solid 2].  edit - the popup request itself should also be optional and un-set as default.

4-6 are of concern only for those who final render in DCAD...which I do not.

Minstrel

edit - prl, you just added 'multilayer solids' as I was postings....same goes here as well.   When all the dust settles and changes are made internally in DCAD, will this not, in effect, destroy any and all previous macro programs?

And just to toss more 'pepper' in the mix...the 'Layer' window should be able to be kept 'locked' open and usable at all times.
This will allow the user a clear view of any and all changes made as they happen.

prl

Quote from: minstrel on May 11, 2013, 12:57:06 AM
will this not, in effect, destroy any and all previous macro programs?

Minstrel,

I don't follow you here.  Personally I've been using basiccad to fix the resulting solids so that it follows rules 1 to 2 since version 13 or so.   Can you outline an example of your concerns?

samdavo

#35
Quote from: Dr PR on May 10, 2013, 11:42:36 PM
Sam,
I cannot go with the status quo. Having the program scatter bits of objects into layers that the user did not tell it to do is totally unacceptable.
...
Having to repair the damage ... is unacceptable.
Phil
Phil,
I realise in replies #25 and #26 I say positive things about the layer0/Alements.  (They were arguably more about "making the best of a bug"... and also pointing out it can fairly easily be repaired - albeit with a macro or two, and practice - and maybe a niaively positive attitude lol)

But what I was addressing in reply #30 was more answering DT's question, which as I recall was  "what do we all want here, a simple "easily-made-reliable-by-being-simplified" Booloperation program that eg subtracts red box rB2 from blue sphere bS1, and dumps the result in one layer and one colour ? -
eg b(S-B)1  ;

or the "sophisticated" multilayered and multi-coloured  version now that "keeps diversity alive". 

And I would vote for the latter.
(I mean, for $100,  sheesh - that is surely acceptable? to all !?)   

PS.
Lol - I just notice I used the word "sophisticated" :))
I am reminded of an old friend of our family way back in the 60's - non-smoker, well-read, who wrote to Peter Stuyvesant in the old days when they used to advertise "Peter Stuyvesant, the SOPHISTICATED cigarette - and he pointed out that the definition of sophisticated was "adulterated "

they sent him a year's supply of cigarettes ( which he threw in the garbage) and soon after stopped that ad :)

magic

Hi all,

I agree with PRL and Phil on Nos. 1 - 3, but on 4 - 6 it's gotta be the "new" resulting object has the same material, transparency, and texture mapping as Solid 2.

Most of the time you use solid subtract to modify a solid by boring holes, cutting dove tail joints, and such, and if you have to redo material, transparency, and/or texture mapping every time you solid subtract, it will in most cases be a non easy-to-use hassle. Here you have to think, how it works in the real world. If you drill a hole in a plank, the plank is still made of wood.

Quote from: minstrel on May 11, 2013, 12:57:06 AMAll Bool Ops, indeed, should create something new with a popup request for the user to select it's destination layer [if no selection is made it defaults to the same layer as the original solid 2].  edit - the popup request itself should also be optional and un-set as default.

And just to toss more 'pepper' in the mix...the 'Layer' window should be able to be kept 'locked' open and usable at all times.
This will allow the user a clear view of any and all changes made as they happen.

I also strongly support Minstrel's above suggestions.
It's a kind of magic!




minstrel

Quote from: prl on May 11, 2013, 01:45:17 AM
Can you outline an example of your concerns?

Thanks prl, but this is not a concern for me...I was just looking ahead for those who use and wrote macros that were 'layer' sensitive. 

My 'basiccad' expertise will become evident someday, someday...but, not today 8)

Minstrel

prl

Quote from: magic on May 11, 2013, 01:57:33 AM
Here you have to think, how it works in the real world. If you drill a hole in a plank, the plank is still made of wood.

True but since you are talking about textures and grain patterns with applied directions, etc., I would think you wouldn't want to have DesignCAD trying to figure out what you want visually as you are still milling and mating the pieces in step 1 (boolean operations).  The "you don't apply varnish and shellac while plunge routing" thinking.  Besides, hoping to offer Dt something they can do somewhat easily.  Maybe 4 and 5 are easy too and just item 6 is reset to NO textures.

samdavo

#39
Gents I want to introduce some evidence to this discussion ...

Quote from: samdavo on May 11, 2013, 01:45:46 AM
... "making the best of a bug"... and also pointing out it can fairly easily be repaired - albeit with a macro or two, and practice - and maybe a niaively positive attitude lol)
Sorry gents , but at this point in the argument I am going to claim seniority that others would probably dispute.
but   
a) I have listened to others' comments
b) and PARTICULAR thanks to Phil and prl,

And I'm gonna claim that DCAD is better than many many programs

Let's face it, visualising

a) that sorta-conical-gravity-mesh with "normal shading" is pretty ordinary;

AND I would say that applies to BOTH / ALL of DCAD, or Sketchup !! ( I haven't tried others)...  or

b) that saddle shape (DITTO)

is/are flaming difficult !!

So exhibits A, B and C for the (prosecution/defence) argument, I enclose those as both

(i) normal DCAD shading, and
(ii) ALement (or what Phil would call AL/layer0/bug) shading.

I could ramble on ( maybe I'll post more on this) but seriously gents !!!   we are destroying a positive if we delete/stomp on the BUG !!!

And as I say, I post exhibits for my case !!!
:))

In attachment #1, the dark grey in cone #1 are Alements

and in attachment #3, again, surely you'd agree that the saddle "comes to life" with those Layer 0 ALements

(edit - btw, the fourth attachment, Exhibit D ,  was done with manual manipulation of many of those elements!! - okay, I don't want to overstate the case, but I had to change a few grid elements from white to black etc 9AS i RECALL LOL THAT WAS A WEEK AGO :))  sorry caps lock got into the act there ...

edit - If we are so far ahead of Sketchup (with the enclosed jpegs as evidence )  ...



............
- UNTIL someone posts counter-evidence !  WHY would we change?   

samdavo

#40
ok - If you want to do it manually (no pun)
(edit as the actress said to the bishop , "...I guess I might as well go home")
...
here's what it's like doing it "grid element by grid element"
I can tell you it's PAINFULL!!
and in the end you end up with - the BUG effect !!!??? So WHY did we kill (or entertain killing)  the golden ALement goose ???

How many have tried to do that ?

Anyway, as Phil alluded to, that you commonly did this in the "old days"- seriously old-fashioned until the ALement bug was available !!,  I attach the element-by-element option .   

Good luck chaps.

But I prefer the bug!!!!!!!!!!!!!!!. ]

   

( OK Phil - I concede that probably comes across as a positive endorsement,  lol)

prl

Quote from: samdavo on May 11, 2013, 03:58:47 AM
And I'm gonna claim that DCAD is better than many many programs

Is this for surface modeling or solid modeling? 

samdavo

#42
Quote from: prl on May 11, 2013, 04:41:02 AM
Is this for surface modeling or solid modeling?
well prl,  clearly you want to dispute my credentials,  and straight away - I feel vulnerable lol.
In your presents sir, I am but dirt !!!

edit - you know what the Chinese Cantonese expression for sorry is?  "doy 'm'jer" - literally translates as "next to you (doy) , I should be dead (m'jer - not live) :)  )

(edit - shinbone, I only meant SORRY for goodness sake lol !!! stuff the dead-bit OK!!! )

ok,   :) In the case of the gravity mesh , it is surface modelling;
in the case of the saddle it was solid modelling (3mm thick saddle from memory  - please refer that saddle thread if you're interested - ...

i.e. drawing a curved surface 3mm from another in DCAD ...

was a pain ITA compared to say Solidworks -, which costs seriously THOUSANDS $$$

(edit I'll gonna guess - from memory MUCH more than $5K per licence, but
DO YOUR OWN RESEARCH)

where Solidworks is an example of "other-programs-expensive !! - which-might-do-better-but-they-couldn't-illustrate-the-final-effect-as-well-thanks-to-the BUG :)

prl

Quote from: samdavo on May 11, 2013, 04:56:58 AM
which-might-do-better-but-they-couldn't-illustrate-the-final-effect-as-well-thanks-to-the BUG :)

I agree that DesignCAD is a great program because it lets you override things and also alter results.  Not many programs let the user decompose a solid and interrogate and flip surface normals, etc. on a facet by facet basis.  No other program I know of lets us "build" things and then "solid define" them, even if they are "improper" Lar or "leak" or are simply "unreal".   So in this regard, DesignCAD is great because it is so lax.  It lets us be good, bad, stupid, and brilliant.  However, the typical DC solid modeler would consider DC a somewhat pain-in-the-ass program often defying expectations.

samdavo

#44
Quote from: prl on May 11, 2013, 05:31:17 AM
1. I agree that DesignCAD is a great program ..

2. So in this regard, DesignCAD is great because it is so lax.  It lets us be good, bad, stupid, and brilliant. 

3. However, the typical DC solid modeler would consider DC a somewhat pain-in-the-ass program often defying expectations.
p,  (and I'm gonna guess paul:) )
1. agree !!! (emphatic)
2. agree !!! (seriously - WHAT ARE WE DOING if we don't own our personal goodness, badness and stupidity ?? (and I love your ... "wit-trigger" there :)  )
3.  hell, if it defies expectations, I am all ears !!

(and sorry m8, but at this point in the argument, I'm gonna remind everyone that I have presented the only evidence  re the matter before the court (other than Mark's original drawing - arguably corrupted and un-representative  ).
cheers ,
and...
as they said in the old days...
"f**k you, but ... ever your humble servant" , lol
cheers (sincerely)
sam