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

Hi All,
I have been unsuccessful in creating a clean cut between curved solids and curved surface when using the, "Solids>Slice by Curved Surface", function. I get all kinds of remnants and artefacts of both the cutting surface and the solid being cut. The situation is less problematic if the solid is rectangular although I haven't spent a lot of time identifying combinations of surface/solid types that cause an issue.

I have used surface patches and extruded circles for the curved surface doing the cutting, both have a problem.
I haven't found any help in previous threads. Is this a known issue or a new one in V23.0 or just me?
Attached are *png and *dcd  file showing the problem.
Thanks
David.

Lar

Looking at your image you may need to extend the curve beyond the edges of the surfaces to be sliced (ie, do not end the curve exactly on the surface to be sliced, always go a little way beyond). ...sorry looking at your dcd files shows this is not the case.

This is a long standing issue. Go to the 'members' section of the forum, find 'DrPR' and search his posts. He has lots of discussion on this topic.

It may boil down to you having to explode the resultant solid, delete the remnants and re-solid define (it may be better to move it away from the rest of your work, do the fix, then move back). Sometimes surfaces that should have been deleted remain and some that should remain got deleted.

In my own experience this problem happens with planes in the solid have points that are not 100% flat in relation to each other, and with grid surfaces in the solid being twisted so they don't directly convert to planes when operated on with booles. Such entities may be moved to layer zero and colored black. If none of the original entities were on layer zero and you now can't select the solid then that means some stuff ended up on layer zero and it is off or locked.

Lar

DrollTroll

Unfortunately it does happen from time to time. My suspicion is that there are some numerical tolerance issues in the "left side/right side" calculations that occasionally result in a wrong decision.

Do you have a "before the slice" version of the drawing that you can post?
25 years with DesignCAD

prl

Good suggestion by DT, the "before the slice" drawing.

Regarding something Lar mentioned, if after you do a solid addition/subtraction, etc. and  have an unselectable new solid creation, the slast.d3m routine may help. http://forum.designcad.com/index.php?topic=5029

Also look into the various "Unlock" topics and routines.


Lar

There is another issue that brings about this situation that I did not mention in my previous post and upon opening your file I see signs of it:
   When the original solid is not a 'proper solid' (my term) then dcad produces 'unexpected' results. By this I mean if there are any gaps or overlapping surfaces then the resultant solid may not look like how you expected it look.

Example:
Solid explode your center cylinder (on the left). There are 4 extended bits...3 of them extend from the unsliced end of the cylinder and the other starts from the slice. Select this piece and turn on point select mode. If you zoom in very close to the end at the slice you would see an extra point between the two corner points. This is a sure sign that dcad had to 'juggle the books' (like how accountants juggle the books when things are wrong). Now look to the surfaces to the left of the slice... two of the surfaces overlap (select it and go about moving it to see what I mean... esc to abort the move then do this for the other surface). This is an example of an 'improper solid' that generates 'unexpected results'.

I did not mention this in my previous post since I was assuming your cylinders were 'proper' solids (eg, generated by the cylinder command and therefor 'proper').

Another thing that may cause problems is when facets of the slicing-solid does not coincide with the facets of the solid-to-be-sliced and small bits and pieces result. Some of your sliced surface has skinny bits that look like lines but are planes.

Lar

prl

You have to love Lar and his terms (juggle the books).  I think this is why Dt was asking for the "before the slice" drawing.  Yes, when DC encounters an odd situation, bits and pieces end up on layer 0 and it does some DC magic to finish the solid operation.  Isn't always pretty or correct.

DaveTK

Quote from: DrollTroll on May 05, 2014, 10:09:02 AM
.............................Do you have a "before the slice" version of the drawing that you can post?

Lar, DT and Prl,

Thanks for the feedback. Now I know it's not just me, I shall avoid the function where possible. I find that repairing drawings takes much longer than creating a new one by other means.

I didn't have the pre-cut drawing so I have created another set with before and after versions.
It would be nice to have a true fix but I expect if there is one it will be in V23+N.

David


prl

Thanks David. 

I like your term, we must be rubbing off on you.  There is always tomorrow N.

Lar

Quote from: DaveTK on May 05, 2014, 10:51:50 AM
I shall avoid the function where possible.
...Oh, that's the other bit of information I neglected to put I my previous posts...

Quote from: prl on May 05, 2014, 10:47:41 AM
You have to love Lar and his terms (juggle the books).
This is truly a grand honor, coming from Prl, the Master Wordologist.

Lar

DaveTK

Quote from: Lar on May 05, 2014, 10:41:29 AM

................Example:
Solid explode your center cylinder (on the left). There are 4 extended bits...3 of them extend from the unsliced end of the cylinder and the other starts from the slice. ......................................

.....................I did not mention this in my previous post since I was assuming your cylinders were 'proper' solids (eg, generated by the cylinder command and therefor 'proper').

Lar,
I tried to follow your post but wonder did you mean (on the right) rather than (on the left). Perhaps you rotated my original drawing 180deg. I see 5 entities not 4, 3 originating at the cut face and 2 from the uncut end. The three from the cut face being separated from the other part of the solid on the opposite side of the cutting face. I'm wondering now if your copy of DCAD is showing a slightly different view to mine. Although the *.png file should be the same.
No matter though. I did in fact produce the cut shape using the solid cylinder function. It was the cutting surface I extruded in a previous attempt, not shown in my posted example. So the solid should be, "proper", using your terminology.
David

prl

Quote from: Lar on May 05, 2014, 11:02:42 AM
coming from Prl, the Master Wordologist.

:)
 
I looked at David's virgin drawing.  Seems to me DesignCAD can't do the cylinders, and they appear to be proper solids.  Every version since 15.3 will create the remnants with incorrect facets, extra rings, etc.

We'll have to wait for the Lartopsy to confirm.

Lar

Quote from: DaveTK on May 05, 2014, 11:20:55 AM
Lar,
I tried to follow your post but wonder did you mean (on the right) rather than (on the left). Perhaps you rotated my original drawing 180deg.
Dave, you are right on all counts (I was conscious that I might have done this but neglected to check). This is a side effect of 'posting when one should be drawing', a side effect of being 'self employed'.

Quote from: DaveTK on May 05, 2014, 11:20:55 AM
... 3 originating at the cut face and 2 from the uncut end.
I see 3 from the uncut (straight) end and 2 from the cut face (curved)...

The overlap I was talking about is near the bottom of the upper remanant extending from the slice.

Lar

DaveTK

Quote from: Lar on May 05, 2014, 11:53:48 AM

...............................This is a side effect of 'posting when one should be drawing', a side effect of being 'self employed'.

...............The overlap I was talking about is near the bottom of the upper remanant extending from the slice.

Lar,
Please don't let my little problems distract you from doing your work, that is far more important in the scheme of things. I do though very much appreciate your help, but my thanks doesn't put food on your table.

I see what you mean about the remnant extending from the slice but I don't think it is from anything I did other than by wilfully using DCAD as it was intended. :)

David


Lar

Quote from: DaveTK on May 05, 2014, 12:53:35 PM
Lar,
Please don't let my little problems distract you from doing your work
David
Please don't feel guilty, Dave.

I have learnt many a thing from the problems of other (many times totally unrelated to the topic but just casually mentioned by a contributor) that I now implement in my workflow and has made working in dcad more efficient and a greater pleasure. Also, the macro contributions of the forum members are absolutely priceless. These things gives more time do work on more projects.

So, contrary to popular belief, helping others on this forum actually does put bread on my table.

Lar

minstrel

Quote from: DaveTK on May 05, 2014, 09:00:40 AM
I have been unsuccessful in creating a clean cut between curved solids and curved surface when using the, "Solids>Slice by Curved Surface", function. I get all kinds of remnants and artefacts of both the cutting surface and the solid being cut.

Have you tried reducing the "grid points" prior to performing the Slice by Curved Surface
command?  Works for me 8)