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.

Parametric isn't paradise!

Started by magic, April 27, 2014, 05:48:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

prl

#30
Quote from: Lar on April 30, 2014, 06:39:32 AM
. . . .  makes for very exciting modeling.

At a more realistic level, exciting for me would be if DesignCAD could export a solid with a hole in it.


Edit: The power was turned back on at 8:34 PM EDT

magic

Hi Lar,

Quote from: Lar on April 30, 2014, 06:39:32 AM
Quote from: magic on April 29, 2014, 11:32:45 PM
Hi Lar,
So are you saying that I can't do this?  :)
http://www.magicsystems.com/Dynamic%20ability.htm
Magic,

I know that dcad on this side of the planet can not do dynamic solid bool operations so I'm assuming that's either some sort of video illusion or the dcad on your side of the planet is different from ours... or that's a very clever macro that you need to sell to DT&Co.

However, your video, fake or otherwise, does illustrate my point that dynamic bools makes for very exciting modeling.

Lar

It's not a fake!!!! And it's not a macro!!! And it's a standard DesignCAD 3D MAX v. 23.1!!

What I've done is this:

1) Created a 3D box.
2) Created a 3D cylinder from the center of the box and minus on the Z axis.
3) Subtracted the cylinder from the box.
4) Gone to Point Select mode (in the video).
5) Right clicked on the corner of the box to select it (in the video).
6) Selected the points of the cylinder (in the video).
7) Pointed at one point of the selected cylinder (cursor becomes a gunsight), held down the left mouse button and moved the mouse sideways (in the video).

Try the experiment for yourself!
It's a kind of magic!




magic

Hi prl,

Quote from: prl on April 30, 2014, 06:49:25 AM
Quote from: Lar on April 30, 2014, 06:39:32 AM
. . . .  makes for very exciting modeling.

At a more realistic level, exciting for me would be if DesignCAD could export a solid with a hole in it.


Edit: The power was turned back on at 8:34 PM EDT

Yes, you can: http://www.magicsystems.com/Exporting%20a%20solid%20with%20a%20hole%20in%20it.htm
It's a kind of magic!




prl

#33
Quote from: magic on April 30, 2014, 10:50:00 PM
Yes, you can:

Magic, DesignCAD can export the occasional solid with a hole in it, or in this case the partial depth hole, but will most always fail with any general solid that has multiple internal openings.  Been this way since version 16, circa 2005, unfortunately.

prl

#34
Quote from: magic on April 30, 2014, 09:35:19 PM
Try the experiment for yourself!

I did and I hereby coin a new DesignCAD term:  silly solids - internal solids geometry is moved outside the containing solid using point select mode creating solids consisting of antimagics magicmatter.

It is a hit or miss situation as to what DesignCAD will do.  In the attached graphics, the blue and red cube started from the center cube version.  I moved the recessed opening outside the main solid.  The blue is what happened in your case.  The red is a corruption if you go a different direction.  Well, I guess both are corruptions, but the blue one is a more pleasing corruption if you're longing for self-healing solids.

But you can have DC fun with this.  If you move the "hole" half way out of the containing solid, that portion of the "hole" becomes a solid, and that which is still inside is a void.  It is a form of DesignCAD antimatter. In honor of Magic having discovered this form of expanded DesignCAD physics, we'll call this new DesignCAD antimatter antimagic magicmatter?.

We'll have to ponder how to exploit this in a useful way.


Dr PR

The exporting a hole in a solid thing is a bit tricky, because DesignCAd can create holes in solids in two ways - depending upon the solid.

For example, when you create a cube with the "Box" tool DesignCAD creates a four-sided closed grid - like you get when you extrude a four-segment square vector - and then puts two square polygons on the open sides. So the cube has a polygon "top," a polygon "bottom" and a four sided grid ("sides")between them.

When you create a hole in the cube by subtracting a solid (Solid Subtract) you get different results if the hole passes through the two individual polygons, or if it passes through one or more of the grid facets.

When you export the holy cube the process creates different results if it is a perforated grid or a perforated polygon.

For more complex solids the results of "Solid Subtract" create much less predictable exports.

Phil
DesignCAD user since 1987

magic

prl, ladies & gentlemen,

Unacustomed as I am etc. etc., I should like to thank the commitee for the great hono(u)r etc. thank my mom, may she rest in one piece.....

But "antimagic"? I hope you don't mean against magic?

Reminds me of the group of young fun fair performers called "Jugglers Against the Law of Gravity".

As to the holy cube: https://www.youtube.com/watch?v=yD-ffhvefsw

There's a hole in the bucket, dear Liza, dear Liza,
There's a hole in the bucket, dear Liza, a hole.
Then mend it, dear Henry, dear Henry, dear Henry,
Then mend it, dear Henry, dear Henry, mend it.
 
With what shall I mend it, dear Liza, dear Liza?
With what shall I mend it, dear Liza, with what?
With a straw, dear Henry, dear Henry, dear Henry,
With a straw, dear Henry, dear Henry, with a straw.

The straw is too long, dear Liza, dear Liza,
The straw is too long, dear Liza, too long,
Then cut it, dear Henry, dear Henry, dear Henry,
Then cut it, dear Henry, dear Henry, cut it.

With what shall I cut it, dear Liza, dear Liza?
With what shall I cut it, dear Liza, with what?
With a knife, dear Henry, dear Henry, dear Henry,
With a knife, dear Henry, dear Henry, with a knife.

The knife is too dull, dear Liza, dear Liza,
The knife is too dull, dear Liza, too dull.
Then sharpen it, dear Henry, dear Henry, dear Henry
Then sharpen it, dear Henry, dear Henry, sharpen it.

On what shall I sharpen it, dear Liza, dear Liza?
On what shall I sharpen it, dear Liza, on what?
On a stone, dear Henry, dear Henry, dear Henry,
On a stone, dear Henry, dear Henry, a stone.

The stone is too dry, dear Liza, dear Liza,
The stone is too dry, dear Liza, too dry.
Well wet it, dear Henry, dear Henry, dear Henry,
Well wet it, dear Henry, dear Henry, wet it.

With what shall I wet it, dear Liza, dear Liza?
With what shall I wet it, dear Liza, with what?
try water, dear Henry, dear Henry, dear Henry,
try water, dear Henry, dear Henry, water.

In what shall I fetch it, dear Liza, dear Liza?
In what shall I fetch it, dear Liza, in what?
In a bucket, dear Henry, dear Henry, dear Henry,
In a bucket, dear Henry, dear Henry, a bucket.

There's a hole in my bucket, dear Liza, dear Liza,
There's a hole in my bucket, dear Liza, a hole.
Use your head, then! dear Henry, dear Henry, dear Henry,
Use your head, then! dear Henry, dear Henry, use your head!

https://www.youtube.com/watch?v=hbmPhba--No
It's a kind of magic!




prl

#37
Quote from: magic on May 01, 2014, 01:43:08 PM
But "antimagic"? I hope you don't mean against magic?

The committee will consider a better name. Negatively displayed DesignCAD magic solid is too much.  Magicmatter?

Dr PR

Lest someone take this business of moving holes out of solids too seriously, it isn't a wise idea. You know it is violating the unspoken rules of DesignCAD physics, so it is certain to come around and bite you on the posterior!

However, it does bring out some interesting peculiarities of how DesignCAD solids - and their parts - behave.

Phil
DesignCAD user since 1987

magic

Hi prl,

Magicmatter, much better, thank you.

Magicmatter, something that isn't there.

Yesterday upon the stair
I met a man, who wasn't there
He wasn't there again today
I wish that he would go away
It's a kind of magic!




prl

#40
Quote from: magic on May 01, 2014, 03:51:13 PM
Yesterday upon the stair
I met a man, who wasn't there
He wasn't there again today
I wish that he would go away

The antigonish poem.   Anti-gone-ish, yeah right, and then you Google it.   Adrift in a parametric diversion.


Edit: Since we are exploring inverse matter, in DesignCAD I've noticed that boolean solid operations on 100% invisible entities works flawlessly, even paperspace shows the results perfectly.  You probably think I'm imagicnating things.

Lar

#41
Firstly, let me say this is an awesome trick, Magic. You have lived up to your forum-name. I am sure I will find many uses for this trick.

Now, for my analytical breakdown:
Quote from: Lar on April 30, 2014, 06:39:32 AM
... so I'm assuming that's either some sort of video illusion or ...
Well, I got the "video" part wrong but the "illusion" part right.

The illusion in the video is where the viewer assumes the internal "hole" is a separate solid from the bigger solid but alas they are a single solid. The fact that the hole heals itself when removed from the bigger block is actually standard procedure for this type of situation: when parts of a surface interfere with another parts the result is a void. If a point of that void is then pulled outside of the overall shape then the external part gets shaded again. Eg: draw a rectangular plane. Add three points to the top edge (not too close together). Move the middle point downward into the body of the overall rectangle. The shading of course follows the new perimeter of the plane. Now move the point further down until it is somewhere below the bottom of the original rectangular shape. The shading picks up again where the borders of the plane cross. This same mechanism works for hatches.

In proper (there's that word again) bool operations the minor object is not a part of the major object. If it were, then you would be limited to the amount and shape of holes the solid originally came with. To add or subtract holes I would have to recreate the final solid, putting me back at square one. In proper bool operations I would be free to drop in as many solids of whatever shape in the mix. And also be free to add some, subtract some, interfere some, segregate some and exclusive or some.

Lar

prl

Interesting to watch the volume calculations for the solid as the hole becomes a whole.

prl

Regarding the volume calculations.

The red cube is a 20x20x20 with a 10x10x10 void.
The yellow cube has the 10x10x10 void volume half in and half out.
The green cube has the 10x10x10 void volume completely outside the main solid.

Reported volumes:

Red - 7000
Yellow - 295
Green - 9000

Red (and surprisingly green) are correct.

Is any of this useful? Probably not.  Just fiddling with magicmatter math.