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

advanced parameterization

  • Thread starter Thread starter tanticapelli
  • Start date Start date

tanticapelli

Guest
Hello everyone

as I had anticipated I ask you another question this time regarding an "advanced parameterization" that I do not know how to implement with the most classical functions of software kit.

I have already referred the question to some assistance centres and told me that this could be feasible even without the help of macro(s).

you put the axieme mentioned in the post https://www.cad3d.it/forum1/threads/disegno-assieme-problema-configurazioni.57319/where in the first sheet of the drawing as you see there are two quotas in red, x and y.

the objective is that within c009-20 tanks the same tanks were automatically distributed on the various configurations so that:

x/n ≤ 320 mm
y/n ≤ 320 mm

where n corresponds to the number of spaces that would be created, so the number of "vaschettes" to be added would always correspond to

No.

remember that the various configurations vary only to the vary of d1@schizzo1 and d2@schizzo1 of the multibody part c009-20-faced type.

How could you do something like that?

thanks to all, as always of the rest.

so many hairs
 

Attachments

Now I can't open the drawing, but I'd like to understand some things:
What does ≤ 320 mean?
Can the value be greater than 320? If yes, what happens or must happen?
What value do you want to manage: x, n, or the 320 variable?

Finally, will this parameterization not affect the solution found in the discussion on configurations?
 
Now I can't open the drawing, but I'd like to understand some things:
What does ≤ 320 mean?
Can the value be greater than 320? If yes, what happens or must happen?
What value do you want to manage: x, n, or the 320 variable?
≤ 320 means less than or equal to 320 mm
x and y are the quotas marked in red in the drawings that allego
n is the number of spaces between them congruent that are obtained by dividing x for many parts of them congruent so that each of these parts are smaller or equal to 320 mm.

the same thing happens for quota y.

in truth I have wrong in opening of the post as n will not have the same value both for x and for y, therefore in this id place n for x and m for y.

So if I'm not wrong

x/n ≤ 320
y/m≤ 320

I hope I explained. . .
Finally, will this parameterization not affect the solution found in the discussion on configurations?
I hope not, in the sense that, to the vary of configurations (and there is one for each pair of values x and y even if in reality they are derived from two other values that are l and h of the lattice) there will be something that will recalculate time at a time, as it happens for all isottoassiemi and the parts of which the configurations that we have actually added are all identical to each other but vary only thanks to the context created external references.

Clearly I don't have the answer in my pocket, otherwise I would have already solved the problem... However this can be the launch pad for some future parameters I have in mind.

I thank you in advance (let's break the brain a little bit so we don't get bored. . . )
 

Attachments

Now it's clearer.
you want to manage the number of repetitions though making sure that the spacing value never exceeds 320.
other my question, I look at the dwg and I see that x is 1320; now 1320 I can divide it by 6 and get a spacing of 220mm, but as the actual space between the trays is 130 (220-90 basin width) this means that if I make a repetition between 14 and 5 (respectively 94.3 and 264) the requirement ≤ 320 is respected in both cases. how to establish the correct value of n? how to define it?

time ago I saw that you can manage the repetitions by inserting a logical operator if. this discussion https://www.cad3d.it/forum1/threads/quote-parametriche-con-equazioni.56478/; I do not know whether it is applicable to this situation, but perhaps from some point of view.
 
Now it's clearer.
other my question, I look at the dwg and I see that x is 1320; now 1320 I can divide it by 6 and get a spacing of 220mm, but as the actual space between the trays is 130 (220-90 basin width) this means that if I make a repetition between 14 and 5 (respectively 94.3 and 264) the requirement ≤ 320 is respected in both cases. how to establish the correct value of n? how to define it?
You're right, I didn't explain myself well enough.

I talked about space but actually meant the axis distance between the trays so I don't take into account the fact that the trays are 130 mm long.

in itself should be easier.

Thank you for linking me to the if function, now I read it and hope to understand something (at least this time. . . )

Hi.
 
I talked about space but actually meant the axis distance between the trays so I don't know that the trays are 130 mm long
Okay, so if I give a value of 8 or 6 or 2 it's always fine provided it's not more than 320. I meant with my example in which I specifically carried the size to point out that any repetition denotes a value greater than 90 and less than 320 was fine.
I would like to understand: n is a value subject to a definition criterion; For example: n must have the maximum possible value to fill all of pans, or n must be an equal number and the space between one basin and the other must be at least one basin, or n and m must give as number of total basins on all sides 40.. .
 
Okay, so if I give a value of 8 or 6 or 2 it's always fine provided it's not more than 320. I meant with my example in which I specifically carried the size to point out that any repetition denotes a value greater than 90 and less than 320 was fine.
I would like to understand: n is a value subject to a definition criterion; For example: n must have the maximum possible value to fill all of pans, or n must be an equal number and the space between one basin and the other must be at least one basin, or n and m must give as number of total basins on all sides 40.. .
m and n are untied and can be different from each other.
what unites them is the fact that they must be equal or minor (or immediately lower) to 320.

for immediate lower I mean that the spaces (or better interassisted) are subdivided into the minimum possible parts such that both m and n are equal or immediately below 320 mm.

Now I'm waving on how to make a repetition with a proper iif (I read that post you linked me) but for me it's an imman... :unsures:
 
Last edited:
m and n are untied and can be different from each other.
I knew it.
are subdivided into the minimum possible parts that are equal or immediately below 320 mm.
the definition criterion of n and m is that it is the least possible number, therefore in the example of dwg n will be 5.
Now I try to think about it
 
I knew it.

the definition criterion of n and m is that it is the least possible number, therefore in the example of dwg n will be 5.
Now I try to think about it
exactly.
Unfortunately I am a little goat also with excel.. .
Sometimes I regret not studying more in my life.
 
first of all, you have to understand how to define a value n as close to reality and then try to set the if function to impose the limit of 320.
at the moment my idea is this:
divide the x value by 320 and find the actual value of repetition, as repetition must be a whole number you cannot accept a value with decimals. then you should set that you should always use the higher value, but only if it is a value with decimal
under a few examples to make me understand better, I hope:
Example 1
1320/320=4.1 (of course it is not a usable value)
4 is not good because 1320/4=330 (superior)
5 is good because 1320/5=264
example 2
1900/320=5,9
5 is not good because 1320/5=380
6 is fine because 1900/6=316.6

on the use of the if I have struggled a lot too at the time of the discussion and if you ask me to repeat it I would make it as difficult as I should ask who knows how many attempts before getting rid of me because at the time the results were more fruit of evidence for exclusion than strict reasoning that leads you to make a couple of attempts to find the right solution.
I use the same method with excel, I read the function guide then I look for on the internet discussions about it and I go to attempts as I did for the discussion of marcof these days. I've never studied much.
 
Last edited:
ok I understood what you mean, first I read that in excel there is the quotient function that makes a division ignoring the rest thus rendering an entire value.
It could always be useful as long as, if I don't miss something, there's a way to lean on an external excel sheet.
 
Maybe it should be done through an external excel sheet?
If necessary, you do it through data table, but the equation can be written directly in the quota editor.
an excel sheet could be useful to define the equation to write
 
the quotient function that makes a division ignoring the rest thus rendering a whole value.
but must always return the higher value and not round it to the nearest one.
considering the first example of the post #10 if instead of 4,1 returns you 4 is not good
 
but must always return the higher value and not round it to the nearest one.
considering the first example of the post #10 if instead of 4,1 returns you 4 is not good
This is definitely true, however I hardly think I can get there by making a sheet full of numbers with excel (I could create a sheet with for example 20 divisions made with quotient and then choose a correct value with max such that it is less than or equal to 320, then make the division between the space to divide and max value that represents the interval of the repetition and then calculate max+1 for the number of repetitions.
But I have no idea how this can be written in sldwrks...
 
I attach you excel sheet with example of data table and its formulas. I have not tried it on a practical example, but I am quite convinced that it works
 

Forum statistics

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

Members online

No members online now.
Back
Top