Hello
I have a library function that allows me to place slotted holes with a maximum center distance on parts.
I would like to have the same function but with a fixed axis and have the start and finish as a variable.
Does anyone already have these types of tools in their backpack?
I'm attaching the "between Maxi axis" library function to get an idea of what I want.
Regards.
oblong_h_ecart_maxi.sldlfp
1 Like
Hello
If I am not wrong in a function we can modify the values once the function has been inserted
bart
March 28, 2014, 11:01am
3
Hello, nothing could be easier.
Create the Vaiables:
Length = Length Rib
Start 1 = left start hill
Start 2 = straight start hill
centre distance = ( "L" -"Start1"+"Start2" ) / ( "nb" - 1 )
number (number of holes) = ( "L" - ("Start1"+"Start2") ) / ( "ent max" ) + 1.5
max centre distance = 600 (example
Sounds good to you?
1 Like
@Bart, I tried with the variables but it doesn't work. I may have designed my play badly.
I attach it
bc141187_pliage_u_1027.sldprt
bart
March 28, 2014, 12:21pm
5
Each side in your equations must be linked to a variable.
Example, for the number of holes:
number of holes (number on your drawing) = number
number (number of holes) = ( "L" - ("Start1"+"Start2") ) / ( "ent max" ) + 1.5
bart
March 28, 2014, 12:28pm
6
Export the equations file, and send it to see what's wrong.
gt22
March 28, 2014, 12:40pm
7
@ romux
I have your part and you don't have an equation you only have a repetition of the oblong extrusion function 30/12
The extrusion sketch is dimensioned and the position on the part is also dimensioned
The repetition is also dimensioned via a shift via the 1° axis of this so-called oblong
what exactly do you want
@+ ;-)
Here is the equation file.
I think it's only the number of holes that is the problem.
Not used to doing this kind of gymnastics. I already have trouble making the equation on the part so I can't even imagine to put it according to the library :-S
test_ecart_fixe_equations.txt
bart
March 28, 2014, 12:49pm
9
Afterwards, I made a fully configurable and automatic standard part.
I plan to put it on sale soon...
bart
March 28, 2014, 12:52pm
10
You have to put your equations back up,
If a row calls a variable, this variable must have been filled in beforehand.
example: you put theoretical number = ...... max centre distance
and after max center distance = .....
In this case, the two lines must be reversed.
bart
March 28, 2014, 12:52pm
11
And in these cases where there are several calculations, you must not forget to rebuild (CTRL+Q or B) several times!
I still can't do it, I can't calculate the number of holes. Anyway, I'll try later.
Thank you very much Bart
gt22
March 28, 2014, 1:45pm
13
Watch this video
https://www.youtube.com/watch?v=xXPGuVcJhpY
@+ ;-)
bart
March 28, 2014, 1:59pm
14
If you can't do it, don't hesitate to ask again, as I told you, I made several components of this kind.
You have to rack your brains but in the end it saves hours of work!!
bart
March 28, 2014, 2:04pm
15
That's what you want???
Look, do my components give that in the end?
You choose your starts (identical or different), and you give a maximum center distance.
And everything is calculated automatically.
equation.png
gt22
March 28, 2014, 2:07pm
16
See this one too
equation on a scale the number of rungs changes
https://www.youtube.com/watch?v=W6QskfI7avU
@+ ;-)