Jump to content

How to angle between patterned features?


---
 Share

Recommended Posts

I have what is essentially a gear. It is dimensioned with something like 60X6° between teeth.

Is there a way to call this as just one characteristic in the program?

i.e. something like

Angle between features
with
Feature1:
Symmetry Point2(*)
Feature2:
Symmetry Point2(*+1)

And somehow tell it to loop that 60 times?



Or am I stuck with 60X separate characteristics?
Link to comment
Share on other sites

No need for PCM.

You can use a loop in a group, for the creation of the features as well as for the characteristics.

If you need the angles between features, you can either do them 59 times with Feature n to Feature n+1 and one with Feature n+x to Feature 1 or you make a loop going 60 times using a modulo division to go around after 59 features.

Have done this many times, works very well. Unfortunately, I can't get into the details, because I don't have a Calypso machine available right now.
Link to comment
Share on other sites

I have the answer!

The solution is when you select the patterned feature (the one with (*) at the end), you right click on the feature name in the list and click index exchange and insert a 1,60,1 loop. Then do the same for the second feature using the same patterned feature and insert it as 2,60,1 loop.

So it ends up looking like:
Angle between features
with
Feature1:
Symmetry Point2(1,60,1)
Feature2:
Symmetry Point2(2,60,1)

Or you could just type those in as shown manually I suppose.

Then you just need to make a 60 to 1 angle separately as well.
Link to comment
Share on other sites

Please sign in to view this quote.

Yep, this is how I'd probably solve this problem using a Result Element..

arccos(getParameterNamed(getActual("Symmetry Point2",LOOP1).vector.norm*getActual("Symmetry Point2",mod(LOOP1,60)+1).vector.norm).asArray.sum)
Link to comment
Share on other sites

 Share

×
×
  • Create New...