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.

Unclean cut with - Solids>Slice by Curved Surface - leaves remnants.

Started by DaveTK, May 05, 2014, 09:00:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DaveTK

Quote from: prl on May 08, 2014, 04:41:56 AM
(Hang around and read enough of the past posts, your eyes will bleed, your brain will gain (or drain), and you'll see I'm a fool for puns, idioms, analogies, metaphors, imagery, symbolism, blockism, groupism, layerism, oops switched gears.  ;))


prl,
I've read a lot past threads already and some make my brain bleed trying to unravel the complexity of the subjects being discussed.

I reckon I know more about the character of the characters on the forum than I know the characteristics of the program. The entertainment value alone is worth a lot. Wouldn't be surprised if someone manages to monetise the forum, float it on the stock exchange and make us all millionaires. ............ Oh dear, day dreaming again :)
David

samdavo

Quote from: DaveTK on May 07, 2014, 05:13:44 AM
Hi Samdavo,
Yup - I realise. The distinction is that the "Slice with Curved Surface" can be with a regular or irregular curve.
You used a regular curve. I am also sure that irregular curves can be generated by combining regular ones but why do that if there is a simple function to do it - always assuming it works, which Slice with Curved Surface does, albeit most unreliably.
So you are Slicing with a Grid.
A suggestion:- try converting the Grid to a Solid, and use "Solid Segregate".  Is it foolproof, (no);  i.e. does it have its own limitations? (yes) 

By the way (an aside) but I would have thought that the Help notes on Solid Segregare are confusing ...

QuoteSolid Segregate
Menu: Solids / Solid Segregate
Isolates the common volume between two solids. This command is like the Solid Exclusive Or command, but the common volume is cut out of the two solids and becomes a separate solid, rather than be subtracted from them.
Point 1: First Solid
Point 2: Second Solid
The common volume between the two solids is cut out and becomes a third solid. The only portions that remain as the two original solids are portions that were exclusive to those solids before the command was executed.
Note:  For best results, the solids should overlap rather than meet exactly at a face.
What this should say (imo) is that Solid Segregate "segregates the volumes of two intersecting solids into portions common to both, and also the remainder of each original solid".   

Anyway back to the Slicing problem , here's an example of a curved tapered extruded surface - and what happens can happen when you Solid Define the Grid, and then Solid Segregate.  ( 2 cents).
On another occasion, I had aluminium cut surfaces.   - not insurmountable either.

DaveTK

Quote from: samdavo on May 09, 2014, 06:59:38 PM

So you are Slicing with a Grid.
A suggestion:- try converting the Grid to a Solid, and use "Solid Segregate".  Is it foolproof, (no);  i.e. does it have its own limitations? (yes) 

By the way (an aside) but I would have thought that the Help notes on Solid Segregare are confusing ...

QuoteSolid Segregate
Menu: Solids / Solid Segregate
Isolates the common volume between two solids. This command is like the Solid Exclusive Or command, but the common volume is cut out of the two solids and becomes a separate solid, rather than be subtracted from them.
Point 1: First Solid
Point 2: Second Solid
The common volume between the two solids is cut out and becomes a third solid. The only portions that remain as the two original solids are portions that were exclusive to those solids before the command was executed.
Note:  For best results, the solids should overlap rather than meet exactly at a face.
What this should say (imo) is that Solid Segregate "segregates the volumes of two intersecting solids into portions common to both, and also the remainder of each original solid".   

Samdavo,
Sorry for not responding earlier, I've been to an engineering exhibition and been preoccupied -  whilst there I nearly bought a copy of Turbo Cad because of the bugs in DC but then relented. I think I got a bit caught up in the hype.

I tried your idea of converting the grid to solid and using Solid Segregate; it seems to work OK and is yet another tool in the arsenal. Although you didn't mention it in your description, I had then to explode the round solid before I could pull apart the two sliced halves before then recombining each of the solid halves. I presume that is what you did too, otherwise my software is working differently to yours.

I agree with your comment on the F1-Help files. If you notice the pictorial description is the same for both Solid Intersect and Solid Segregate – that can't be right and I did find it confusing when I first went through it. It is not only the wording that is confusing but the images also.  ???
Thanks
David

Dr PR

Dave,

You are right about the results of the "Solid Segregate." If the solid Boolean operations cut an existing solid into two parts visually - no obvious connection between the two parts - the parts will still be the same single solid.

That's why I go through all the rigamarole of using two solid subtractions to lop off the ends of the original solid and the copy. The result is two separate solids.

See the attached "complementary subtract.jpg" picture.

The "working" solid is the red cylinder - this is what I want to slice into two parts. The "working solid" is the part that remains after the subtraction.

I created the green "tool" solid, and then created the complementary blue tool solid. The "tool solid" is the sacrificial part that disappears.

The working arrangement shows how these parts fit together. For clarity I also show the equivalent arrangements for the two "Solid Subtract" operations, but in reality I use the working arrangement.

The red working solid is duplicated in place over the original part, then each of the tool solids is subtracted from a different working solid.

The result is two complementary parts of the original working solid, in the arrangement shown at the bottom.

****

This requires creating a complementary tool solid, duplicating the working solid, and performing two "Solid Subtract" operations.

It does not require cleanup of the resulting working solids, exploding the resulting work solid, separating the parts, reassembling the pieces, and redefining the parts of the two working solids with "Solid Define." However, "Solid Subtract" is sometimes perverse and scatters a few facets on layer 0 and change them to the "Aluminum" material (bug), so it may be necessary to select the part and move all the pieces back to the same layer and reset the material/color with the Info Box. Life isn't perfect!

****

I use a variation of this to join two cylinders (or any solids of the same type) at an angle at corners - see the "cylinder joining.jpg" picture..

Draw the cylinders so their center axes cross.

Draw a plane at the proper angle (half of the intersecting angle of the cylinders).

Make a copy of the plane.

Extrude one copy along the axis of one cylinder, and the extrude other plane along the axis of the other cylinder. Extrude in the direction of the part you want to remove, and continue the extrusions beyond the end of the cylinders.

Then do two "Solid Subtract" operations to cut away the unwanted parts.

****

I started doing this before the "Slice" function was introduced and made to work (mostly) correctly. So I think I have never  used "Slice."

Phil
DesignCAD user since 1987

DaveTK

Quote from: Dr PR on May 11, 2014, 01:04:58 PM

...............That's why I go through all the rigamarole of using two solid subtractions to lop off the ends of the original solid and the copy. The result is two separate solids.
Phil,
I took a little time to carefully look at your reply before getting back to you. Your example is much easier to follow pictorially. If I'm not mistaken this is what you were describing in your Reply#29. I had some difficulty following why you would do this and then realised, (hopefully not mistakenly), that your intention is to keep both halves of the cut solid. When I first started to try out the Slice by Curved Surface function for learning purposes, I assumed that one half would be discarded so couldn't understand why all your moves were necessary.

Staring at a drawing helps to focus the mind on what is going on. Staring at a set of instructions leaves my mind completely blank because by the time I get to the end of the list I've forgotten what is at the front of the list. My memory is getting worse – although I can't be sure of that. :)
David

prl

Quote from: Dr PR on May 11, 2014, 01:04:58 PM
See the attached "complementary subtract.jpg" picture.

Nice job Phil!  Also a very good tip and trick.  A solid alternative to using the slice and slice-by-curved-surface commands.  :D   

Maybe if you also attach the subtract.dcd or the "before the subtracting" file that complements the graphic for David and others, the nickle will drop more quickly. Seeing (and doing) is believing.

DaveTK

Quote from: prl on May 12, 2014, 05:00:29 AM
........................Seeing (and doing) is believing.
prl,
I already did what you suggest and drew, copied, complemented and complement cut some simpler shapes to verify.
I agree that others may benefit from Phil's more elaborate drawing.
David

prl

Phil got me thinking about this one.   I've circled back to David's original drawing. 

The below link will take you to my dropbox account.  It will download a self-playing movie. It's a DesignCAD movie.

https://db.tt/kqNXbizV

Some of the points of interest you should note. (Also I'm using the menu commands so you can see what I'm doing.)

1.  I'm extruding David's blue grid to make it a solid.
2.  I'm drag copying the new blue solid and putting the copy on top of itself.  I do this to get three copies of the blue solid.
3.  Then I'm selecting the blue solid one at a time and subtracting it from each of the sample red solids.


Dr PR

Dave,

I knew my original post might not be the clearest of descriptions, but I was pressed for time and didn't have time to do the drawing.

Glad the drawing in the second post cleared things up a bit.

One other thought. One way to get complimentary "tool" solids is to create one half, and duplicate it in place (one on top of the other). Then just draw a box that encloses the end of the "tool" solid that you want to complement. "Solid Subtract" one copy of the "tool" solid from the box, and you have the complementary "tool" solid.

Phil
DesignCAD user since 1987

DaveTK

Quote from: Dr PR on May 12, 2014, 04:37:48 PM
I knew my original post might not be the clearest of descriptions, but I was pressed for time and didn't have time to do the drawing.
Hi Phil,
Your original post was quite clear once I realised what you were intending to do. It was my understanding of what I was expecting that was foggy. When I saw your picture and studied it I realised it was me that was expecting a different outcome. Namely, one cut half and one discarded-removed half as opposed to two halves with complementary cut surfaces.
In an ideal world the thing that someone implies is the same thing that the receiver infers; I inferred incorrectly.
As they say a picture paints a thousand words. Just like prl's little video in reply #52

I reckon collectively we have all beaten the original problem to death - and in only 4 pages unless this post rolls round to #5. Now having several ways to create the correct function.
Thanks to all contributors for your help.
David

minstrel

Quote from: prl on May 12, 2014, 07:40:23 AM
The below link will take you to my dropbox account.  It will download a self-playing movie. It's a DesignCAD movie.
https://db.tt/kqNXbizV

Prl,
Not part of the current discussion [well, not directly, anyway...] but I've recently been unable to open any of your .exe files.  I've even went as far as installing 'screen2exe' software.  Still a no show.

Perhaps others have also experienced this and found a solution.  I'm using Vista and normally my work-around would be to disable  'DEP' for the program, but unfortunately it is not allow in this case.

Hope to view your vid's in the near future...it's a pity not to see them!

prl

Quote from: minstrel on May 13, 2014, 09:02:03 AM
but I've recently been unable to open any of your .exe files.

Thanks Minstrel. I didn't know.  I've been using Screen2Exe version 3.6.  Does anyone else have this problem?  If you do or if it works for you please let me know which Windows version (5, 6, 7 or 8 ) you are using. 

DaveTK

Quote from: prl on May 13, 2014, 09:07:17 AM
.............................. If you do or if it works for you please let me know which Windows version (5, 6, 7 or 8 ) you are using. 

prl,
    It worked fine for me with Win8.1. Only thing is at the first attempt I got a message saying windows had prevented the file from working to protect the system. There is a choice to ignore the warning. I thought about it and decided you were and upstanding guy and wouldn't give me any viruses - so I went ahead. Admittedly I did cross my fingers :)
David

prl

Quote from: DaveTK on May 13, 2014, 09:18:14 AM
and decided you were and upstanding guy and wouldn't give me any viruses - so I went ahead. Admittedly I did cross my fingers :)

Certainly understandable about running an *.exe.  I would always suggest downloading and running a scan before executing it.  And then you still need to trust.

Minstrel, try this version https://db.tt/VPRKUhHQ.  Made it with an older Screen2Exe version (v1.3).

For security, the MD5 checksum value for the file: 863782c2fc5b00b0cdc3f55fcd188b30



Guess the reason I use this Screen2Exe is because it is easy and it makes tiny files.  SWF, AVI, or You Tube stuff seems so bloated.

minstrel

Quote from: prl on May 13, 2014, 09:24:37 AM
Minstrel, try this version https://db.tt/VPRKUhHQ.  Made it with an older Screen2Exe version (v1.3).

Now, that one [Extruding a Grid v2] plays fine...go figure. 

Probably just another case where the 'new & improved' version falls short of the mark.

...I'm off to make some popcorn!  Thanks, Prl!