Solidworks linear repeater the last one must be <300mm mais="">100mm otherwise don't do</300mm> it

Hello, I need your help

I have a part that is not constrained in height, (it will be constrained in an assembly with an envelope that will be configured according to our development project)  I want this part to make a 300mm linear repetition of a function but in the end I want it to be  able to make a repetition by configuring it so that even if it is not possible to do so.There is no more room to do a  last 300mm one than she makes me one anyway if there is more than 100mm left (so the last  one must be <300mm but >100mm otherwise don't do the last rep) and I don't know how to go about it! (see photo for more info)

P.S forget the 0 rating from the bottom it's not good my repetition has to start from the top and I remind you that the length will vary so I can't put a dimension for the last one, I want it to adjust automatically if I ''stretch'' my piece.

 

Thank you for your answers!


20180103_112531.jpg

Hello

why not do your 300 repetition and then repeat the last repetition 1x at 100 and 1x at 300 so you can activate or deactivate one or the other depending on the need...

2 Likes

Why not put the height dimension in piloted and then do a 1st repetition with an equation according to the piloted height. Then do a 2nd repetition which starts from the total height H minus the last repetition and this last repetition is always controlled for an equation and depending on the values of the 1st it is activated or deleted.

All this to say that with equations you should be able to find your happiness, and apply it to your case.

5 Likes

You have to use the sketch repeat function, I think

2 Likes

Boinsoir

I was looking at what I could do if I had the problem to solve and to go in the direction of what CAD Trainer recommends http://help.solidworks.com/2012/french/Solidworks/sldworks/HIDD_PATTERN_BY_SKETCH.htm

I suggest you also look at the following different possibilities, it would be the devil if none of them corresponded to your problem (if I understood it correctly because not very clear to me  ;-)   hihihi )

http://help.solidworks.com/2012/french/Solidworks/sldworks/Geometry_Pattern.htm

http://help.solidworks.com/2012/french/Solidworks/sldworks/HIDD_DVE_AREA_FILL_PATTERN.htm

http://help.solidworks.com/2012/french/Solidworks/sldworks/HIDD_PATTERN_TABLE.htm

Kind regards

 

Hello 

Why not use a conditional formula?

Watch the video if it can help you.


2018-01-11_at_11-19-12.mp4
2 Likes

I would do 2 repetitions:
- the basic repetition in 300 steps;
- a repetition of the first function with a step calculated by playing with formulas (this must be in line with A.Leblanc's idea).

2 Likes