News:

When replying to a specific statement be sure to quote the previous post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Does PartTree cause strange behavior?

Started by John Kohlmeyer, April 19, 2022, 08:33:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

John Kohlmeyer

I was going through Don Cheke's Gumball Machine tutorial for a second time and ran into a couple things that had me puzzled for a long time.  I was using Simple Extrude to fill in a ring with a disk.  When I went to 3D Add I got the "Operation Unsuccessful" warning followed by a question asking me if I wanted to create a History Tree node.  After replying 'no' to that question I got a message stating "The resultant ACIS Solid is degenerated.  The boolean operation is discarded".

All that raised a couple additional questions on the way to my initial question, which I'll get to in a minute. Should I have said 'yes' to creating a History Tree node?  I am still quite new to TC Platinum and have ZERO experience with PartTree. The other question concerns the message about the ACIS solid being degenerated.  Does that mean it has been damaged and I need to redraw it or is it just referring to what would happen to it if it completed the 3D Add?

A little further on in the tutorial I was attempting to use the Fillet Edges tool.  It would accept some edges and reject others.  Fiddling with the start radius, I was able to get it to accept a few of the rejected edges but not all of them, giving me the same "Operation Unsuccessful" and 'create History Tree node' messages.

With all the messages referring to the PartTree and the fact that Don espouses the non-use of PartTree, citing Rubber Stamp problems with it engaged, I wondered if PartTree could possibly be the problem.  I turned it off and, voila, everything worked as it was supposed to.  It was no issue my first time through the tutorial bacause I had it turned off, per Don's instruction.

Has anyone else experienced PartTree issues like these?  Can creation of PartTree be turned off for operations like these and then resumed for the rest of the drawing with no ramifications?  It seemed like it could be a very useful tool so I had it on, thinking I would eventually learn about it and put it to good use.  Or should I just leave it off for now?

John
TurboCAD 2021 Platinum, v28.0 build 81.1
Windows 10 Home
Intel Core i7-9700 3.00 GHz
32 GB RAM
NVIDIA GeForce RTX 2070 SUPER

AussieBloke

Hey John, I use the Parttree on occasions when I need to edit components if there is the possibility of needing to make changes before finalising the design.

Once the part is complete I mostly convert it back to an ACIS object.

Some functions can fussy when using the parttree, so turn it on and off to suit your needs.

Andy H

#2
A slightly longer reply.  ;)

I have not done Don's Gunball tutorial, so obviously cannot comment on your specific case.

RE = Should I have said 'yes' to creating a History Tree node?
I'd say NO.  Storing the error in the part tree, may be good if the programmers are going to look at the file.  But from a users standpoint, we really want to know why it failed, and correct the error.

There are rare times when it could be be answered yes.  For example, one is tired, but needed to finish work on a different aspect of the part.  Saying yes, will store the fault in the tree, and hide the faulty part.  So one can come back to it with a fresh mind the next day. When TC re-opens the file, it will recreate the object from the part tree, and its quite possible the part will be recreated without error.  The same way copy/pasting into a new file can resolve errors.

However, whilst that may sound good, it not always. The resultant part may have been created, but it may contain flaws.  which could come back to bite you at a later date. See Attached.

RE - A little further on in the tutorial I was attempting to use the Fillet Edges tool.  It would accept some edges and reject others.

Hmm.  Fillets can be a bit funny sometimes,  Indeed occasionally, just doing them in a different order, can make failed attempts work just fine.  As can turning off rounded  vertices.  But going back to the point mentioned above, about TC self repairing the part when opening  the file.  The flaws created can prevent fillet from working correctly, and make it impossible to create the fillet.  In the attached image. Even if the part tree was turned off from the start, and the part added without degenerative error. The part would not fillet fully, because the flaws would prevent fillet from working. 

But. there are times TC just struggles to create the size of fillet the user would like. I won't begin to guess, as to what is going on inside TC when that happens.  Sorry.

RE -  Can creation of Part Tree be turned off for operations like these and then resumed for the rest of the drawing with no ramifications?

Yes and No.  If one draws a part with the part tree,  then turns it off to do one or two a Booleans,  The result with be an ACIS solid with no history.  If the part tree was then turned back on.  All information prior to turning it off is lost. The history will then continue from that point onwards.

The part tree can be very useful. and frustrating. and for some operation vital.  Example.
1). Holes  Creating a hole using a point and the hole tool, with part tree turned on. allows the hole to be quicly adjusted in size and position.  Turned off, one would have to cut a new hole, or fill it in and start again.  Or one may get away with quick pull.

2) Patterns. Using the part tree with patterns can also be useful.  If one draws a metal plate, and cuts 50 rectangular holes in it (using subtracted box array).  With part tree turned on, one can simply adjust one box and all the holes will adjust accordingly.  With part tree off, you'd be better starting again.

The problem is knowing when best to use it.  Some operations will destroy the history, and leave just an ACIS solid object. which is not a terrible thing. But does mean one has instantly lost all advantage of using the part tree.

Unfortunately, there are so many variables, on using the part tree or not.  It's really down to ones own preferences, and experimentation, as to what works well in any given drawing.  Personally.  I generally leave it turned off, unless I'm drawing something, Where the part tree would be helpful.

Alvin Gregorio

Nice Reply Andy.
____
Additionally, John-- Having Part Tree on, even if just temporarily, for Bend and related (Unfold, Flange, etc.) operations can also be very useful further along in a drawing's modeling process.  Likewise for Fillet(s) and Imprint.
Note also that one can use the Quick Pull Tool, with Part Tree on, after activating the Tool but before implementing it, untick the Local Menu option "Always create ACIS Solid" (or similarly worded).

On Fillets:  Sometimes it's best to fillet an object's edges one or a few at a time.  Using our own brains to figure out what will work, in what order-- rather than forcing TurboCAD's Genie to.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

#4
Part tree is how TC creates history-based models which have persistent associations that can be accessed from any point in a part's creation.  TC also has "direct edit" tools for dealing with so-called "dumb solids", usually imports from other modellers, there are no file formats for sharing between different apps that carry active associations, ie there is no history sharing between programs.  When you explode a part tree model, you dumb it down.  Direct edit tools work with "analytical" features, planes, cylindrical/conical surface sections, ellipsoidal sections, "mechanical" features, but they're stumped by freeform or NURBs surfaces, lofts etc, which can be edited in isolation through part tree, even if the exotic surface has been incorporated into a more complex part.
When you have a network of fillets, for example, that will work if they're done sequentially in a particular order, but fail in another order, that's because they're dependent on the preceding feature, and that's where history-based modelling is useful, because you can jump into the part tree and edit the earlier feature without having to undo and redo everything subsequent to it, which can be very complicated.  It might not be widely known that you can do multiple edges with different radii, even tapered fillets and with a mix of mitred or rounded terminations, in the one operation, if you check them sequentially, then change the parameter and check the next before finishing them all together, and often TC will do it together while individual fillets might fail.   Maybe a year or two back, someone posted a motorcycle engine sidecover model on the forum, asking how to make its skirt deeper.  I'd just taken up 2020 Plat and compared it with 2016 for defeaturing and rebuilding, and I found 2020 clearly improved.  That part's complexity showed very clearly how you can't just stab at any random face and delete it, you have to select ALL of the faces in a network and delete them in the one operation, in the same way that, if you use mitred or rounded ends to terminate fillets incorrectly, the operation will fail.   
Another thing to bear in mind is that fillets will work on edges within a range of radii, not on every radius, similar to how successful shelling is dependent on the range of workable thickness at the tightest local curvature of the surface. 
We've referred to TC's "genie" for decades, but this is about logic, not magic.  We talk about Booleans, but how many of us have read George Boole's "The Laws of Thought"?   Many of us probably used logic circuits in electronics, but how many have correlated the and/or, nand/nor of those to the interaction of solids in virtual models?  Don's sometimes said that certain "TC Booleans break associations".  Some tools do, especially the direct edit tools, but those that do warn of the consequence, and there've been attempts to integrate direct edit with the part tree, like the "imprint" features from quick pull.  I think that the outcome of some orders of operation are different from using the same sequence in other programs, which might lead to that conclusion.

AussieBloke

Best description ever Murray, Ive forgotten more than I can remember but using nand, and, nor, or, xor does ring a bell or too from writing assembly language many years ago.  ;D

John Kohlmeyer

Thanks, everyone for the thoughtful, extensive, and quite helpful answers.  No one addressed my question, though, about the message about the resultant ACIS solid being degenerated.  What is that supposed to mean to me, the user?  Does that mean that what remains in front of me is now somehow damaged?  Do I need to redraw that piece or can I continue on with what's still there?  The part about "the boolean operation is discarded" is pretty self-explanatory.  It just didn't happen.

John
TurboCAD 2021 Platinum, v28.0 build 81.1
Windows 10 Home
Intel Core i7-9700 3.00 GHz
32 GB RAM
NVIDIA GeForce RTX 2070 SUPER

Andy H

Quote from: John Kohlmeyer on April 21, 2022, 08:46:06 AMNo one addressed my question, though, about the message about the resultant ACIS solid being degenerated.  What is that supposed to mean to me, the user? 

Unfortunately John.  That It is not an easy question to answer.  Because it will differ depending on the circumstance, and probably differ in every drawing. Essentially it means ACIS cannot perform the operation because it will result in a 'Bad' object.  ACIS is usually pretty good at creating the objects, But very occasionally the geometry of the finished object simply cannot be created.

As to whether to carry on or redraw the object, Depends on why it failed. For example, taking the image I posted above.  The reason it failed was because I deliberately gave the red box a tiny 0.0001 degree angle, and snapped the bottom corner into place, to make it fail.  Which basically would have produced a tiny 'crack' inside the object (not good).  There is nothing wrong with the first object, So no redraw would not be necessary. I would just have needed to correct the red box, and it would have added without problem.

Sadly, it is almost impossible to give a definitive answer as to why your objects produced the error. Certainly without seeing the file, end even with the file there are no guarantees. One can do an ACIS audit, Selection Palette - Options - Audit - ACIS 3d, About a third way down on this help file page Audit system  If that shows any bad geometry, then a redraw may be needed.  If no bad geometry, then it narrows down where the problem may be. (Always turn off ACIS 3d audit after use, or it will slow down TC).

murray dickinson

#8
Degeneration is the tech term for coincident geometry, either multiple objects that have points, edges, faces in the same spatial position, or something like a loft with profiles that terminate at the same point.  I haven't seen Don's tute, but if the ring you describe is essentially a shallow shelled cylinder, and you're trying to fill the centre with a cylinder that shares a face with the ring's inner face, they're coincident, degenerative.  Making the internal cylinder slightly larger diameter so that the volumes overlap should enable the operation.
And...if the ends of the cylinders are also on the same plane, coincident, I think that the answer to that is that kernels like ACIS or Parasolid have routines that "recognise" what you're trying to do and can accomodate degeneracy, but not always, and circular or cylindrical objects involve irrational pi, which I think makes it a little more difficult. 

Alvin Gregorio

" When I went to 3D Add I got the "Operation Unsuccessful" warning followed by a question asking me if I wanted to create a History Tree node.  After replying 'no' to that question I got a message stating "The resultant ACIS Solid is degenerated.  The boolean operation is discarded"." -- John K.
____
I think it's useful to note:  You probably would have gotten that "Operation Unsuccessful" message followed by (or including) the "degenerated" message even if you had ACIS History (Part Tree) Off (full time, this drawing; or temporarily, at the moment of the action).
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

sauerkraut2018

Hello,

here is a picture that might help answer the question.
#-----
Very low knowledge of English - I ask for indulgence - Thanks
Currently installed
TurboCAD Professional 32-bit V.17.2.77.1
TurboCAD 2016 ProPlatinum 64-bit V23.2-61.2 engl.
TurboCAD 2021 Platinum 64-bit V28.0 B.82.3 de.
#-----

murray dickinson

#11
If you have decided that part tree is the devil's work, facet editor will delete the inner face of a shelled, open-ended cylinder.  If you do create a part tree node, it's likely that, if you give the disc a larger, or smaller, diameter, either with an associative profile or parametrically from a primitive, the operation will succeed retroactively.  Something to consider is that TC, unlike its IMSI stablemate PunchCAD, will add solids or surfaces that aren't connected in space, ie discrete watertight volumes.  So, even if the disc "filler" that John describes is smaller than the ring it's inserted into, the two volumes are treated as one solid and its physical metrics are computed as one (I'd probably want to double check those rather than relying on TC/ACIS maths.  Not to say that it will be wrong, just that it could be).
Degeneration causing the operation to fail is, I think, entirely to do with the mathematical conflict of coincident surfaces, but the part tree rebuilds the part when the file is reopened or recalculated, so if the conflict is resolved with either or both of the surfaces separated from the other with a change of radius, the addition will proceed without issue.   

Alvin Gregorio

John K-- You can always reach out to Don Cheke with the issue at that point in the tutorial.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)