telling a story in component shapes (CSG?)

Started by samdavo, May 03, 2013, 04:33:38 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

minstrel

Quote from: samdavo on May 04, 2013, 03:57:49 AM
  I suspect that a block can't be "solid intersected" for instance, without exploding that particular block - more research yet again ..

Sam, once again the benefits of using 'retain' during block creation procedures...the originals are always left in tact for future manipulations regardless of where they are positioned or mutated already in a 'nested' block .

Minstrel

prl

Quote from: samdavo on May 04, 2013, 03:57:49 AM
I suspect that a block can't be "solid intersected" for instance

You are correct.  In DC you can't do anything with blocks except position them and use (insert or duplicate) many of them.  Meaning no slicing, adding, subtracting etc.

Had I taken the time to properly rotate the green cylinder block, I could have defined only one green cylinder and inserted it three times.   SU likes that method too. 


prl

To confuse the casual reader and NSA.  :)

In SU:  (rB^bS)-∑Gci  i = 1 to ∞
In DC (prl steps) : (rB^bS)- ((Gc1+Gc2) +Gc3)

samdavo

Quote from: minstrel on May 04, 2013, 04:28:45 AM
Sam, once again the benefits of using 'retain' during block creation procedures...the originals are always left intact for future manipulations regardless of where they are positioned or mutated already in a 'nested' block .

Minstrel
Minstrel
Yep - two things, I would still use the alternative of "Convert to Block" for the time being - but equally I will try to keep an open mind lol.  After all, I've changed my mind several times on many time-honoured traditions since I started here. cheers

prl

Sam,

I'm trying to recall when if ever I used the "intersect" command.  Apparently since I can't visualize the result, I never use it.  To produce the (rB^bS), I would have sliced the sphere six times.  The rest is easy to visualize since it consists of adding and subtracting.

Thanks for an interesting lesson.

samdavo

#20
Well, I'm learning faster than you I assure you lol.
m8 - when it comes to 3D, you've forgotten more than I know.

And checking out Boolean, "Solid Exclusive Or" suddenly makes sense.  ( I would have said one or other but not both).  Apparently Boolean is the lingo that logical people use to express themselves :)

By the way, the Solid INtersect is what I use to do those normal to the saddle shape.  I define the saddle grid as a solid, then Solid intersect with all those small magenta spheres which are linked by a line, and then "Solid Define-d" (so they work as one - for multiple "Solid INtersects" when I then find what is common to  both saddle surface and sphere.   You are left with all these zero thickness "coins" floating around - all about 4mm rad ( the radius of the sphere) - and it's dead simple to draw a 3-pointed circle on the perimeter of each.  (3 cents  :))   

I guess it's called
Coins = (pS1 + pS2 + pS3...)^ Saddle.

where pS1 = purple Sphere 1 etc
cheers

(PS It was pretty time consuming even then I have to admit).  I would only do it that way if the accuracy of the "normal line" was critical, you're right on that score.  Otherwise Lar's dp2p.d3m works fine for most planes and shapes/surfaces.

edit - I should have said yours-andLR's dl2p.d3m , thanks it will come in real handy

prl

Quote from: samdavo on May 04, 2013, 10:32:29 AM
And checking out Boolean, "Solid Exclusive Or" suddenly makes sense. 

Glad you are enjoying DC.  I do even with other more expensive toys around. Anyway, I do a fair amount of 3d work but I must admit I never use the Intersect, the Exclusive Or, or Segregate.  For some reason, I can't get my mind around the resulting objects. I seem to think like a fabricator.  Round this edge, slice off this side, drill through this, etc.    CNC machines work that way.

samdavo

#22
Herewith those Solid commands yu refer to.
Doubt that I will ever use Segregate. or Exclusive Or for that matter ...

1.Solid Add (+), a then b, is self explanatory
2.Solid Subtract (-) , a from b, ditto,
3.Solid Inter-section-common-to-both

4. Exclusive Or (exclusive to one or other, not both) = OOONB  (can't see myself using this, but stranger things have happened)
5. Segregate = everything cut into all possible options  (ditto, I prefer commands that go to the heart of the matter, 1, 2, or 3)



prl

Add to your knowledge and toolbox the section trim with "remove interior option" command.  You can take a 3d rectangular "bite" out of your 3d drawing.  Neat thing is it will do lines, multiple solids, etc. all at one "bite".

minstrel

Quote from: prl on May 05, 2013, 06:27:59 AM
Add to your knowledge and toolbox the section trim with "remove interior option" command.

I adopting that one for myself, too...thanks for that tip, Prl! 

Quote from: samdavo on May 05, 2013, 06:02:02 AM
Doubt that I will ever use Segregate...

I thought that as well, Sam, until I entered the realm of 3d Animations....yea, that is another world indeed.  Segregate is a perfect solution, especially with component 'motion' in mind...

Minstrel

samdavo

thanks prl and Minstrel -
Delete Sections was giving me trouble, so a very timely post.  I couldn't understand why stretch worked in 3D provided you unticked the option about "use 3D selection box",   but Delete Section didn't.

Next, (another seriously basic question) ,  I'm gonna assume that the best way(s) to draw a box is either set one corner and use Point Rel ( PR?)  for the opposite corner;    or  (one I stumbled on...
set one corner, lower left front, drag the rubber band up and to right (gives X and Y),  then press Cntl+Shift and continue dragging into the Z dirn.

Minstrel - OK, animations lol, I'll keep it in mind.  Strangley I was thinking of just that, last night as I walked the dog ( when I do all my best thinking ) ... how to make the moon rotate around the Earth in the Hammer and Cycle thread.  But not sure how Animation relates to Solid  Segregate?   ahhh - unless you're talking about making Youtubes.. of course the penny drops.  cheers, thanks.  (PS if there is a pause in my posts, it will because of the intray at work this week.  But I'm seriously enjoying this forum - some people have 2D crosswords, others have 3D crossed-Booleans) cheers

samdavo

#26
another thing you could add to that flowchart was planar sketches that pre-empt the solid , as well as the process of getting the solid (ps AND THIS ISN;T ABOUT THE  oops caps on but I'm in a hurry ...isn't about the detail, it's about showing this on the drawing -or finding a neat/neater say it in text I guess

For instance to draw a cheapskate bolt,  you could

{{(sketch head in section from front + W)   ^  (sketch head in plan + X)}
+ cylinder shaft no thread
+ cylinder with square thread made from sketch from front +W
+ last thread of a truncated cone
+ group
and/or block
and/or make solid - I personally wouldn't on this point etc }

prl

#27
Quote from: samdavo on May 05, 2013, 02:22:50 PM
Delete Sections was giving me trouble, so a very timely post.  I couldn't understand why stretch worked in 3D provided you unticked the option about "use 3D selection box",   but Delete Section didn't.

Hmm, section delete, aka delete section, aka section trim, aka trim section . . . . has gone through various changes, fixes (and unfixes) in addition to fiddling with the name. As for snap points defining the 3d trim "box", those should be hard points (gravity snaps or line snaps) regardless of your 3d or 2d selection mode.  FWIW I keep my selection mode at 2d always.   

A behavior you need to know for section trim is that the "bite" will occur on the layer you are on.  Example:  A blue sphere is on layer 12.  Your current active layer is layer 2 and your current active color is red.  You take a "section trim" bite out of your sphere.  The "bite" will have the red facets and those facets are on layer 2.  In other words, your sphere solid is now multi-layer, some facets on layer 12, some on layer 2. 

Another tip, if you find you've created a solid that will not allow you to select it, it is probably a multi-layer solid where some of the layers of that solid are turned off (not visible).  To select those unselectable (Nat King Cole song comes to mind . . . . ) solids, use the "unlockall.exe", see http://forum.designcad.com/index.php?topic=4761.0

samdavo

#28
as the Guinness ad says - "brilliant", thanks again

bS1 - rB2 = "bS1-rB2"
where
bS1 = blue Sphere. layer 1
rB2 = red Box, layer 2
and
they are both represented in the final result

Certainly would have confronted me sooner or later - but all logical when you think about it.

(PS it reminds me of the red paint that I used to prove that the hammer handle hit the ring, :) )

I enclose the same thing as a flowchart of sorts/
including
a) exploding the three examples ( +, - and ^)  0 so that they become planes (not grid for some reason ?   multiple layers involved with that one maybe ??)

b) selecting layer 1 only , and

c) pushapart 20%  (doh - not 120% - sorry for the misunderstanding on that one Dempsey)

samdavo

prl, BTW here are the red planes in those Boolinations (Boolean combinations) 
i.e. both red and blue became planes when exploded.