If anyone can help me, any help will be appreciated.
I am looking for a function for a parametric template. I have a board that i want to split into 48 inches, but when the remainder gets smaller than 12", i want it to split into equal part. is there anyway possible to do that? I know if I would have an IF...THEN...ELSE option i would be able to.
Solved! Go to Solution.
If anyone can help me, any help will be appreciated.
I am looking for a function for a parametric template. I have a board that i want to split into 48 inches, but when the remainder gets smaller than 12", i want it to split into equal part. is there anyway possible to do that? I know if I would have an IF...THEN...ELSE option i would be able to.
Solved! Go to Solution.
Solved by KristianLaholm. Go to Solution.
there is no option for IF, THEN, ELSE
maybe you can try something the MAX(XX,XX) or the FLOOR, CEILING expression
there is no option for IF, THEN, ELSE
maybe you can try something the MAX(XX,XX) or the FLOOR, CEILING expression
Yes that is what I have seen done for similar "logic" requirements as in this Tutorial...https://www.youtube.com/watch?v=-BPcktQwIIY&ab_channel=LearnEverythingAboutDesign
Disclaimer:...I've never utilised it myself!
Yes that is what I have seen done for similar "logic" requirements as in this Tutorial...https://www.youtube.com/watch?v=-BPcktQwIIY&ab_channel=LearnEverythingAboutDesign
Disclaimer:...I've never utilised it myself!
@stiller.design wrote:
really good tutorial channel !!! not easy to find good advanced tutorials on youtube
Yep, that is because advanced tutorials often require more than 15 minutes.
@stiller.design wrote:
really good tutorial channel !!! not easy to find good advanced tutorials on youtube
Yep, that is because advanced tutorials often require more than 15 minutes.
Yes, i agree that is very good, but it does not quite give me the answer that i am looking for. Would it be possible to find an alternative to this function I will try my best to write:
Length = 100
BoardSplit = 48
Rem = Length % BoardSplit
SplitPoint = Ceil(Length/BoardSplit)
If rem < 12 then
min(Length/SplitPoint;BoardSplit)
else
BoardSplit
end if
This function applies to an Offset plane from the end.
It would be very nice if i could find anything that would work for fusion.
Thanks.
Yes, i agree that is very good, but it does not quite give me the answer that i am looking for. Would it be possible to find an alternative to this function I will try my best to write:
Length = 100
BoardSplit = 48
Rem = Length % BoardSplit
SplitPoint = Ceil(Length/BoardSplit)
If rem < 12 then
min(Length/SplitPoint;BoardSplit)
else
BoardSplit
end if
This function applies to an Offset plane from the end.
It would be very nice if i could find anything that would work for fusion.
Thanks.
Here is my suggestion:
To my knowledge there is a bug with modulus (x % y) if the parameters have units, that's why all my parameters are No Units.
Test file attached, solid/surface components are for visual checking the parameters.
Here is my suggestion:
To my knowledge there is a bug with modulus (x % y) if the parameters have units, that's why all my parameters are No Units.
Test file attached, solid/surface components are for visual checking the parameters.
Can't find what you're looking for? Ask the community or share your knowledge.