logo
NOTICE:  This is the new PunchCAD forum. You should have received an email with your new password around August 27, 2014. If you did not, or would like it reset, simply use the Lost Password feature, and enter Answer as the security answer.
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages12>
Options
Go to last post Go to first unread
bradcan  
#1 Posted : Thursday, September 25, 2008 6:02:54 AM(UTC)
bradcan

Rank: Member

Joined: 8/3/2008(UTC)
Posts: 55

This post is intended to provoke discussion on the thorny subject of blending. Let me first say that of the modelers I have used ViaCAD is proving to be one of the the least frustrating in this respect. That said, there are some caveats!

Attached is an incomplete model of a real casting, these were made in Germany in the 1940s and 50s. The purpose of my model is to scale down to 5 and 7 1/4 inch gauge and to produce accurate patterns for the scaled down castings. The point here is that more than 50 years ago a pattern maker made and BLENDED patterns from which beautiful accurate castings were actually made. The model is derived from the ORIGINAL drawings.

As with all pattern making there is always a certain amount license in what the drawing means when specifying blend radii. An example is that the 60mm rad cannot be extended to apply all the way up under the top flange because the resultant blend would then continue right up onto the top, where the blend is specified as 10mm. Ok, so the pattern maker would start with 60mm at the bottom and continue up with an equivalent, probably, constant width (approximately 20mm), because this looks right. So far so good, I can do this with ViaCAD.

As in the excellent tutorial (elsewhere) I blend the corners at right angles to obtain tangency then chain. In my case constant width up the two sides followed by 10mm radial around under the top flange. This latter aught to be constant width also (about 14mm) because it's going to run out into the acute angle between the flange and the horizontal body. Again this kind of works in ViaCAD, but takes forever, effectively breaking my model.

Note I want two fixed width blends at right angles to each other. This kills my computer which goes into 98% processor bound for ViaCAD, nothing else running except the system monitor at 2%. I have had this work, but takes hours! I'm running on a 700Mhz Mac G4 under OS X 10.4.11. If I save the resultant file and attempt to re-load then I observe a similar processor bind while re-calculating curves during the load.

Just to be bloody minded I even tried a third constant width blend between the top flange and the horizontal part of the body (should be 10mm). I've no idea how long this might take. I don't have the patience!

My solution (workaround) is to avoid constant width all together. Going completely against my experience, I come up with the result as shown in the attachment. First SINGLE edges under the flange using fixed radii, 10mm and guess at 5.5mm followed by 'By position' up the sides (simulating fixed width) and finally 10mm fixed at the front. The final result is not entirely satisfactory because there is an un-blended edge remaining under the flange which I can't get rid of without introducing nasty cusps. Incidentally the check box in options dialog to de-select chaining should be modal (thats what a check box is), not have to be un-checked every time a single edge is required. This throws me for every time.

Questions:

Is the exponentially increasing computation time when using constant width blends at right angles to each other a bug or a feature?

It often doesn't work blending mutually perpendicular edges in a particular order because acis refuses to cap or complains about radius. Error messages, in this respect seem, to me, almost random! I can often put an arbitrarily smaller radius where I'm sure a larger one would work, but acis says I can't! Is there some obscure acis rule? The pattern makers test would be 'can I roll a ball of the specified radius around the in internal corner without the ball jambing between the tangent faces'. The equivalent for an external corner would be a virtual ball rolling around inside the material.

As for capping, the most astonishing things seem to work while something simple to the eye gets rejected. Again, what are the rules? In my example the 'by position' blend which runs into the blend under the flange amazes me:eek:. I tried a fixed width here, but that failed, acis saying the blend radius may be too big. Well it isn't because I can do a it manually by position. Whats more it takes no time and looks right!

What then is the difference between constant width and by position. If only I had a computer and enough time, patience and geometry I could calculate enough points to give me constant width using by position :rolleyes:

Added:
What about the second example ... graphics_crash. This has the two 'fixed width' blends and appears to work at a reasonable speed until I select a shaded view. Now my graphics crashes. A bug here I think :eek:
File Attachment(s):
difficult_blend.vc3 (369kb) downloaded 5 time(s).
difficult_blend_graphics_crash.vc3 (338kb) downloaded 5 time(s).

You cannot view/download attachments. Try to login or register.
jdi000  
#2 Posted : Thursday, September 25, 2008 8:01:26 PM(UTC)
jdi000

Rank: Administration

Joined: 7/29/2007(UTC)
Posts: 1,862
United States

Thanks: 1 times
Was thanked: 87 time(s) in 81 post(s)
bradcan

See attached file I was trying to create what you were describing. Are you trying to get a constant blend up the sides and the intersection of the flange and body?

Regards
Jason
File Attachment(s):
dblend.vc3 (1,677kb) downloaded 5 time(s).

You cannot view/download attachments. Try to login or register.
Windows 11, 10
bradcan  
#3 Posted : Friday, September 26, 2008 12:55:37 AM(UTC)
bradcan

Rank: Member

Joined: 8/3/2008(UTC)
Posts: 55

Hi jdi
Not exactly but close. Using constant radii works fine for me too.

The 60mm radius up the sides should be something like 20mm wide and the 14 rad under the flange 14 wide, this should produce 10 rad under the flange.

What happens if you try to use fixed width blends? When I try it takes forever to do the second (14 wide), the 3rd (10mm rad in your model) just won't compute if I the others are constant width!

I note that you are doing the blends in a different order. The order chosen seems to have much influence on the ability of acsis to compute!
unique  
#4 Posted : Friday, September 26, 2008 1:28:01 AM(UTC)
unique

Rank: Senior Member

Joined: 6/24/2008(UTC)
Posts: 591

Hi Brad,

Nice to see another user in the UK ;)

Take a look at the attached and the feature tree...does that do it for you. This method was very quick and painless if it helps ?

I suspect the crash file you uploaded on your post is corrupt as im constantly getting error mssg "failed to obtain all derivatives requested:Fillet_21555".

HTH
File Attachment(s):
dblend-ph.vc3 (755kb) downloaded 7 time(s).

You cannot view/download attachments. Try to login or register.
Tim Olson  
#5 Posted : Friday, September 26, 2008 2:23:35 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,447
United States

Was thanked: 502 time(s) in 353 post(s)
>>The order chosen seems to have much influence
>>on the ability of acsis to compute!

Yes, not just for ACIS though.

Blend large radius before small radius especially when doing variable radius blends.

Constant radius blends automatically use blend reordering to deal with the above.

I've requested Spatial add reordering to variable radius blends.



Tim
Tim Olson
IMSI Design/Encore
bradcan  
#6 Posted : Saturday, September 27, 2008 3:13:57 AM(UTC)
bradcan

Rank: Member

Joined: 8/3/2008(UTC)
Posts: 55

Tim said

>> Blend large radius before small radius especially when doing variable radius blends.

What?

To get an internal corner blend to go around an external corner one has to use an arbitrarily small radius first. See smooth_blend.vc3, attached, in which the RH vertical corner has a 0.001 radius and the LH not. Of course, I might want either style.

This example clearly demonstrates the impossibility of chaining around non-tangent corners. If I select, using shift, the two 0.5 blend edges my system often crashes (sometimes without an error message). In this case, complaining of too complex topology. My point is that the error is 'Can't blend non-tangent edges stupid':rolleyes: Too complex topology, I don't think so, cos.. I can do it manually.

The phantom 0.001 rad in this example is pragmatic. In other, more complex, situations it might be impossible.

To ACIS is say it is possible because I, the pattern maker, can! :cool:

Tim I will post a crasher next time I get one.
File Attachment(s):
smooth_blend.vc3 (51kb) downloaded 6 time(s).

You cannot view/download attachments. Try to login or register.
bradcan  
#7 Posted : Saturday, September 27, 2008 3:33:47 AM(UTC)
bradcan

Rank: Member

Joined: 8/3/2008(UTC)
Posts: 55

Originally Posted by: unique Go to Quoted Post


I suspect the crash file you uploaded on your post is corrupt as im constantly getting error mssg "failed to obtain all derivatives requested:Fillet_21555".

HTH


Hi Paul

No the file is not CORRUPT, just broken:eek: I you select 'display in wireframe' before opening it, it will load.

If you then try to display with shading or hidden line it will blow.

>>>>>>>>> The file is BUGGY
Brad
Steve.M  
#8 Posted : Saturday, September 27, 2008 11:34:32 AM(UTC)
Steve.M

Rank: Senior Member

Joined: 6/18/2008(UTC)
Posts: 978

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: bradcan Go to Quoted Post
This example clearly demonstrates the impossibility of chaining around non-tangent corners. If I select, using shift, the two 0.5 blend edges my system often crashes (sometimes without an error message).


There is a bug there. This happens when selecting 2 (or more) internal edges (as you mention) and the "options~ automatic chain select of shared edges" is enabled.
unique  
#9 Posted : Sunday, September 28, 2008 5:37:22 AM(UTC)
unique

Rank: Senior Member

Joined: 6/24/2008(UTC)
Posts: 591

Originally Posted by: Steve.M Go to Quoted Post
There is a bug there. This happens when selecting 2 (or more) internal edges (as you mention) and the "options~ automatic chain select of shared edges" is enabled.


Hi Steve,

Correct me if I am wrong but doesnt VC quote that 'shared' edges are supposed to be G1 in any case (see manual) ?. In Rhino one can select edges by position, tangency, curvature.....this is how i would hope VC to be.
Steve.M  
#10 Posted : Sunday, September 28, 2008 9:22:11 AM(UTC)
Steve.M

Rank: Senior Member

Joined: 6/18/2008(UTC)
Posts: 978

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: unique Go to Quoted Post
Hi Steve,

Correct me if I am wrong but doesnt VC quote that 'shared' edges are supposed to be G1 in any case (see manual) ?. In Rhino one can select edges by position, tangency, curvature.....this is how i would hope VC to be.


Hi Paul,

There are limitations within VC (Acis), but would not expect VC to crash simply because of a possible incorrect input of selected edges.
As for the example, if I disable the "options~ automatic chain select of shared edges" I can then select the 2 (or more) edges and fillet without error.

If instead of using the constant blend tool, I use the Variable blend on a fixed width, then that will work OK even with automatic chain select of shared edges" selected.

I have just looked again, and this time I could select 2 internal edges and fillet with the constant blend tool, I then made undo and selected 3 internal edges, this then gave an Acis error, on selecting OK VC then crashed with a Visual c++ runtime error (attached)



- Steve
Steve.M attached the following image(s):
error.jpg (27kb) downloaded 5 time(s).

You cannot view/download attachments. Try to login or register.
jdi000  
#11 Posted : Sunday, September 28, 2008 11:26:39 AM(UTC)
jdi000

Rank: Administration

Joined: 7/29/2007(UTC)
Posts: 1,862
United States

Thanks: 1 times
Was thanked: 87 time(s) in 81 post(s)
Funny thing I cannot get the error to repeat in Windows Vista. I can fillet 2,3, or all 4 edges with the automatic chain... option selected and no problem on any.



Jason
ViaCAD v6b810
Windows 11, 10
Steve.M  
#12 Posted : Sunday, September 28, 2008 12:09:07 PM(UTC)
Steve.M

Rank: Senior Member

Joined: 6/18/2008(UTC)
Posts: 978

Was thanked: 1 time(s) in 1 post(s)
Hi Jason,

The problem is repeatable on XP pro, I have checked on 2 setups.

It is not a problem I have seen before as I would not normally select/blend the internal edges as I have (only looked at this due to the OP post).

Another point is that sometimes VC simply exits/closes rather than showing an error or completing the task.

Maybe I should put together some sample files and dumps created and post them to Tim?


- Steve
Tim Olson  
#13 Posted : Sunday, September 28, 2008 10:30:37 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,447
United States

Was thanked: 502 time(s) in 353 post(s)
>> This example clearly demonstrates the impossibility of chaining around >>non-tangent corners.

How about the linked movie below? I'm selecting an edge to roll about plus a face connected to the vertex to create what ACIS calls a vertex roll blend.

http://www.csi-concepts.com/Dem...ages/VertexRollBlend.mov


Tim
Tim Olson
IMSI Design/Encore
Steve.M  
#14 Posted : Sunday, September 28, 2008 11:44:28 PM(UTC)
Steve.M

Rank: Senior Member

Joined: 6/18/2008(UTC)
Posts: 978

Was thanked: 1 time(s) in 1 post(s)
Hi Tim,

Thanks for the movie.

I admit I am still in the early learning process with VC/Acis, but do find your method and the need for such a method a little long winded for what I would normally do in selecting a rad size then 4 mouse clicks.

What as in the example you shown, the boss was 5 sided or 7 or 15 sided etc, then there would be a need to split the model for all sides? There is also the point that what you show is not actual chaining, but a surface/edge blend and with a limitation of selection to~ all edges/ 1 edge and 1 face, or 2 faces.

Is this all down to Acis limitation? (I am just trying to get a better understanding)

Please also advise on the crashes I see as mentioned above.


Regards,

- Steve
Tim Olson  
#15 Posted : Monday, September 29, 2008 10:18:39 AM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,447
United States

Was thanked: 502 time(s) in 353 post(s)
>>I admit I am still in the early learning process with VC/Acis, but do find >>your method and the need for such a method a little long winded for >>what I would normally do in selecting a rad size then 4 mouse clicks.

Yup:) First time someone has brought up a rolling blend since I started development. If rolling blends are something folks want, we can certainly improve the UI.

>>What as in the example you shown, the boss was 5 sided or 7 or 15 sided >>etc, then there would be a need to split the model for all sides?

That would be a problem as the current implementation for rolling blends is very limited. I got around the limit by splitting in the case of four sides.

>>Is this all down to Acis limitation?

No, I think I can come up with a better user interface to support rolling blends if this is useful.

>>Please also advise on the crashes I see as mentioned above.

Those were crashes inside ACIS which I will need to report to Spatial.


Tim
Tim Olson
IMSI Design/Encore
bradcan  
#16 Posted : Monday, September 29, 2008 10:19:56 AM(UTC)
bradcan

Rank: Member

Joined: 8/3/2008(UTC)
Posts: 55

Originally Posted by: unique Go to Quoted Post
Correct me if I am wrong but doesnt VC quote that 'shared' edges are supposed to be G1 in any case (see manual) ?


Very interesting:confused: Since G1, as apposed to G0, G2 or even G3, continuity is a requirement of successful blending, could you point us at a reference which provides a definition?
Tim Olson  
#17 Posted : Monday, September 29, 2008 10:37:52 AM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,447
United States

Was thanked: 502 time(s) in 353 post(s)
Originally Posted by: bradcan Go to Quoted Post
Very interesting:confused: Since G1, as apposed to G0, G2 or even G3, continuity is a requirement of successful blending, could an you point us at a reference which provides a definition?



ACIS can blend across different continuities. Where it can have a problem though is blending across nearly G1. This is true for booleans and shelling as well.


Tim
Tim Olson
IMSI Design/Encore
bradcan  
#18 Posted : Monday, September 29, 2008 10:54:02 AM(UTC)
bradcan

Rank: Member

Joined: 8/3/2008(UTC)
Posts: 55

Originally Posted by: Tim Olson Go to Quoted Post
>>How about the linked movie below? I'm selecting an edge to roll about plus a face connected to the vertex to create what ACIS calls a vertex roll blend.
http://www.csi-concepts.com/Dem...ages/VertexRollBlend.mov


Tim

That's exceptional! How do you, I mean we, know that? Nothing in the manual!

The Mac version demands that I de-select Automatic chaining, err.. obviously. Shouldn't this be modal? I didn't see the de-select in your movie!
bradcan  
#19 Posted : Monday, September 29, 2008 11:11:58 AM(UTC)
bradcan

Rank: Member

Joined: 8/3/2008(UTC)
Posts: 55

Originally Posted by: Tim Olson Go to Quoted Post
>> Yup:) First time someone has brought up a rolling blend since I started development. If rolling blends are something folks want, we can certainly improve the UI.


Rolling blends are essential lost wax pattern making for complex castings. The corners produced, otherwise, often prevent easy extraction of the wax from the die. Also they just don't look right.
jol  
#20 Posted : Monday, September 29, 2008 1:24:26 PM(UTC)
jol

Rank: Senior Member

Joined: 2/26/2007(UTC)
Posts: 2,156

Was thanked: 1 time(s) in 1 post(s)
I don't understand what you did there Tim
Users browsing this topic
Guest (5)
2 Pages12>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.