• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

relationships in the sketch.

  • Thread starter Thread starter Cast16
  • Start date Start date

Cast16

Guest
Hi.
I want to make a set bound by a sketch, but I can't set the relationships as in the figures below:b.webp
a.webpI want to make sure that when the angle a>90, the square stands as in the immg.a, and when a<90 as in the immg.b

Do you think of anything?
Thank you.
aurel.
 
the hippo is that depending on the fact that the angle is > or < 90° the top of the square to be bound is different.
what I would try to do is to create a bundle of assemblies with 2 components, in the rpimo I would win edge 1, in the second corner 2; then according to the angle between the lines I would activate one component or the other.
Alternatively you can bind both edges, manually disable a bond or the other.
I imagine that this last operation can be done with a macro, but here I stop because me and the macros (the ones still to do) are not very friends.
 
here you have to work with the notions of geometry more than with the bonds of solid edge!! !
must find the relationship that binds the position to the corner, but the casino is when the corner is at 90°.
You have to pull out a distance somewhere and link it to the corner.
Hi.
 
I would make a formula on the distance of the edge block. something like > 90 then the distance is 0 if < 90 then the distance is the thing of the angle * radius.

Hi.
 
I would make a formula on the distance of the edge block. something like > 90 then the distance is 0 if < 90 then the distance is the thing of the angle * radius.

Hi.
That's what I thought, too, but I don't know how to write the formula in the variable table.
I had also asked another question (on how to set relationships with the condition if....) but I did not have an answer or I did not understand where to look. . .
 
That's what I thought, too, but I don't know how to write the formula in the variable table.
I had also asked another question (on how to set relationships with the condition if....) but I did not have an answer or I did not understand where to look. . .
I think I have responded here on the forum at least a couple of times to this question.
=abs(a=20)*150

if a is = 20 the result of the formula will be 150, otherwise 0
=abs(angle>90)*cos(angle)*rage

if angle is greater than 90 the result of the formula will be the angle cosine multiplied by the radius otherwise 0

ciao
 
For the record.
I've been looking for the functions of myself, found them on the help and solved the problem.
So, geometric functions, a little help online and the thing is done.
Squeeze the fantasy! ! !
;)
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top