Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Rules, parameters and rounding

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
257 Views, 2 Replies

Rules, parameters and rounding

I am trying to have a parameter round a value in the parmeter editor.

 

Do I have to create a rule to have the value created in parmeters to be rounded?

 

I want to have a varible gap between panels determined by the (Width) and number of panels.

 

I want the number of panels to be determined by the (Width) input.

 

So when you change the (Width) it fills it with panels and changes the gap between them to match the (Width) as closley as possible.

 

Only the (Width) should be changed and everything adjusts itself accordingly.

 

Here is what I have got so far, however I am to far off to be acceptable.

 

I have the (inside_width) parameter controling everythign right now. It is located in the support parameters
you would have to change the derived parts location to be able to link it again. 

2 REPLIES 2
Message 2 of 3
cadull_rb
in reply to: Anonymous

Try something like the following:

 

Spacing = floor(inside_width / panal_width) - 1 ul

Gap = panal_width + Vary / ( Spacing - 1 ul )

Vary = inside_width - panal_width * Spacing

 

Regards,

cadull

Message 3 of 3
Anonymous
in reply to: cadull_rb

Thanks! I ended up with something very close.

 

spacing = inside_width/panal_width

gap = panal_width + vary + (comp * 2 ul)

vary = panal_width/spacing

comp = vary / spacing

 

 

I needed to compensate for the end gap between the panel and the final support post.

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report