Jump to content

Need Help for Parametric drive


cborer

Recommended Posts

This is the ground of a box with 5 Feet (Blocks)

I want the blocks in equal distance from each other depending on the Length of the box

Need a formula

Something like this:

Length Ground +6cm – Width Block / Number*Distance + Number*With Block

 Number/Amount here = 4

 4*Distance + 4*With Block

 

Any help is apreciated.

Parameters-Blocks.jpg

Box-BodenP2.ics

Link to comment
Share on other sites

Hi Carlo,

I couldn't understand your request

55 minutes ago, cborer said:

I would like to say 4 or 5 or 6 blocks with the width of 10 cm or 20 cm...

Can you give us more information what do you want to achieve? I need two pictures, 4 block with the width of what and 6 block with the width of what.

I will try to solve it :D

 

Kim

Link to comment
Share on other sites

7 hours ago, cborer said:

Dear Kim

Thank you

I would like finally to be free to:

1. the amount of Blocks  3 or 4 or 5 aso.

2.the size of the block (width Block)

 

Hi Carlo,

I'm not sure this is what you want.

Box-BodenP22.ics

 

 

Kim

Link to comment
Share on other sites

The way I would set that up is to first decide (hardcode) a maximum distance between blocks, use that (rather the block centres) to determine the number of blocks, then divide the total length by the number of blocks +/- 1 depending on how you want to set the end blocks. So


Num Blocks = Modulus(Length/[max distance])                            //Modulus to ensure rounded down integer

Block Centre distance = (Length - Block Width + 6cm)/Num Blocks       //This will have the blocks overhanging 3cm each side if centred

 

I should mention that there are a few details that would need to be changed depending on how you implemented the blocks.

Edited by ASPEER
clarification
Link to comment
Share on other sites

Thank you both so much!

Kim you are a genious! Thank you so much!

PS The distance between the blocks is variable depending on the amount of the blocks.(which I simply put in the field for it? (must try)

Thank you Asper ....I try to understand.....

My first expierience with Parametrics in IC

Not first.....Grasshopper, I learned a bit.

Best & 1000 thanks

Carlo

 

Link to comment
Share on other sites

Hi Iron Cad

It would be nice to have a Drive Box in the Scene where I could drive something connected to the parameter Box

Lets say here: the amount of Boxes. (Put in a Number)

ER: Right Click on a Parameter / Create a Drive Box / Numbers

Similar to Grasshoper

Link to comment
Share on other sites

NIce Carlo!

 

Is it a packaging box?

Here is a good packaging box sample with Push & Pull parametric. Watch it if you are interested. :D

https://ironcad.academy/tutorial/push-pull-parametric-design-intelligence

 

Kim

  • Like 1
Link to comment
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...