Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: zules on May 19, 2020, 09:09:31 PM

Title: Parametric sunshade
Post by: zules on May 19, 2020, 09:09:31 PM
Hello,
I would like to create sunshade that adapt to the windows "hole", with random parameters by spline (example fig 01) :
- number of blades (seems ok)
- angle of blades (seems ok)
- padding of blades (space between them)

Until now, I just created a working A2S generator with clipping spline and Extend to XY area (fig 02).

I'm facing several difficulty that I couldn't resolve :
- my segment deform while rotating
- dont know of to fill an entire spline with one type not deforming

I try to have a look on the windows shade tutorial, but couldn't solve...

Thanks ! :)

JG


Title: Re: Parametric sunshade
Post by: Rokas on May 20, 2020, 08:20:08 AM
We can take a look in Your situation only if You attached or shared (https://forum.itoosoft.com/faq/how-to-send-a-file-to-itoo-software) Your files.
Title: Re: Parametric sunshade
Post by: Dragan on May 20, 2020, 08:28:51 AM
Hi
I created a Macro for you. Maybe you could find it useful. Let me know if you need something more.
(to avoid issues, please set your Blade orientation/pivot to match my initial box/blade)
Best Regards
Title: Re: Parametric sunshade
Post by: Dragan on May 20, 2020, 12:28:12 PM
# Itoo

When I was creating this Macro I notice Transform operator is not acting as a NULL. Can you please check it for me or I`m missing something...
Thanks
 
Title: Re: Parametric sunshade
Post by: zules on May 20, 2020, 01:36:14 PM
Thanks I will have a look today !
Title: Re: Parametric sunshade
Post by: Dragan on May 20, 2020, 02:48:04 PM
Glad to help.
Please download and use BLINDS.max file.
BLINDS_NULL_ISSUE.max is just for Itoo guys to check something.
Title: Re: Parametric sunshade
Post by: zules on May 21, 2020, 01:41:45 AM
Well... this is wonderfull !

I wish I can produce this... I just use RC basically, this is really something else. Bravo !

Well, if you would like to improve it, it can be nice to have :
- % of totally close or open
- cable system on each extremities that stop to the last blade.

But like this it's already super nice !

Thank you guys, this is really cool :)
Title: Re: Parametric sunshade
Post by: Dragan on May 21, 2020, 06:47:44 AM
Hi
- % of totally close or open - DONE
Since now you can control opening by percentage (0=all close, 100=all open) there is no need for Open/Close checkbox but I decide to keep it and move it at the bottom (named Close All). Also added Rotation Off   ;)

 - cable system on each extremities that stop to the last blade
If you are referring to avoid overlapping/disappearing blinds when Max Open value is set to/near 100% - DONE.
Now you can set Open% value to 100 and Blinds will not overlap/disappear (blind will stack to the zero-padding).
You will notice for openings above 80% rotations will automatically go towards the horizontal position until the full horizontal at 100%.

note:
Since Randomise Operator (used to mix open/close) can`t be affected by some Seed operator inside Style Editor you will have to use General Random Seed for positioning Fully Closed Blinds.
 
Best Regards

 


Title: Re: Parametric sunshade
Post by: Rokas on May 21, 2020, 11:43:09 AM
# Itoo

When I was creating this Macro I notice Transform operator is not acting as a NULL. Can you please check it for me or I`m missing something...
Thanks
Yes that's a bug. Thanks!
Title: Re: Parametric sunshade
Post by: zules on May 21, 2020, 05:15:50 PM
I will have a try, thank you !!!!
Title: Re: Parametric sunshade
Post by: zules on May 21, 2020, 05:49:01 PM

 - cable system on each extremities that stop to the last blade
If you are referring to avoid overlapping/disappearing blinds when Max Open value is set to/near 100% - DONE.
Now you can set Open% value to 100 and Blinds will not overlap/disappear (blind will stack to the zero-padding).
You will notice for openings above 80% rotations will automatically go towards the horizontal position until the full horizontal at 100%.


No its more about having one cable at each extremities, that handle the blades. And this cable length adapt to the position of the last blade :

https://www.franciaflex.com/store-exterieur-sur-mesure/brise-soleil/brise-soleil-orientable-lacettes

It can be nice also to have a stack of blade at the end, like in the link below.
Title: Re: Parametric sunshade
Post by: Dragan on May 21, 2020, 06:13:35 PM
Ah, yes...
Well, I guess it would be possible but it requires a lot more calculations. It will be good if you can provide some completed model example so I have something to start with.
I can`t promise anything because this  Macro was just about 1 hour of work/testing. The complete system probably will require a lot of time to generate although it is a challenge.
So, when I`ll find some time from the deadline project I will definitely take a look.
Title: Re: Parametric sunshade
Post by: Dragan on May 21, 2020, 06:16:24 PM

No its more about having one cable at each extremities, that handle the blades. And this cable length adapt to the position of the last blade :

https://www.franciaflex.com/store-exterieur-sur-mesure/brise-soleil/brise-soleil-orientable-lacettes

It can be nice also to have a stack of blade at the end, like in the link below.

I guess this will be chalege for Itoo guys too, so Paul, Rokas fill free to step in  ;D
Title: Re: Parametric sunshade
Post by: zules on May 21, 2020, 06:18:47 PM
Yes I can imagine, the previous version is already very very very helpful !
Thank you !

By complete model, do you mean a RC one ? Or a .max still one ?
Title: Re: Parametric sunshade
Post by: Dragan on May 21, 2020, 06:33:39 PM
Something like this: https://3dsky.org/3dmodels/show/jalousie_1
But I can find it on the web, this is not a big issue.
As for the stack of blades, there are some easy/fake option to attach pre modeled stacks at the end or to go with real stacking behavior which will require heavy computing and participation of Itoo Gurus   .
Title: Re: Parametric sunshade
Post by: zules on May 21, 2020, 06:41:43 PM
Yes sure, it can be a fake one, or just a stack of 5-7 segments or so maybe ?
Title: Re: Parametric sunshade
Post by: Dragan on May 22, 2020, 11:59:46 AM
Ok. Then the fake one will be quite simple.
Although RC is powerful in computing keep in mind that manipulating with pre-prepared model components is much faster.  For instance, the present Macro is based on calculations on how each segment will be placed/rotated so it could take some time to generate if you are working on a large scale scene.
On the other hand, if you use pre-prepared segments and just use randomize/sequence/compose operators etc, RC will use the benefit of instancing and everything will be much faster and memory-efficient because generating will be based on simple "segment-stacking".

Title: Re: Parametric sunshade
Post by: Dragan on May 25, 2020, 08:33:21 PM
Hi
Here is a quick macro with stacked blades...
There is a few more option to come but I need to check something with Itoo first (bug issues).
I will open a new topic about those to keep your topic `clean`
Best Regards