Profile Picture

How to align 1D NShape shadow when scaling X or Y up?

Posted By Jan Cruz Last Month
Author
Message
Jan Cruz
Question Posted Last Month
View Quick Profile
Junior Member

Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 8, Visits: 291
Hi Nevron Support,

How do I align shadow of a 1D shape (NRoutableConnector) when I want to scale up the shadow?
I am currently having issues when I scale my shadow up.

Here are my shadow settings:


I want to programmatically set the shadow.
I tried changing the skew values and I was able to make it align, however, I could not figure out the formula.
Do you have a better idea to solve this issue?

NOV Version used is 22.2.15.12

Thank you very much.

Nevron Support
Posted Last Month
View Quick Profile
Supreme Being

Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)

Group: Forum Members
Last Active: 5 hours ago
Posts: 3,053, Visits: 3,940
Hi Jan,

Please set the shadow's ScaleX and ScaleY to the same value. If you do that, you won't have to change the Skew values.


Best Regards,
Nevron Support Team



Jan Cruz
Posted Last Month
View Quick Profile
Junior Member

Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 8, Visits: 291
Hi Nevron Support,

Thank you for the reply.

I true that setting the X and Y scale to the same value will make the shadow align with the shape.
However, my intention was to limit the shadow within the length of the Connector only, but setting the X and Y Scale to the same value makes the shadow extend outside the connector length.


The only way I could make this work is to adjust the Skew values.

Is it possible to calculate the required skew value to limit the length of the shadow?


Nevron Support
Posted Last Month
View Quick Profile
Supreme Being

Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)

Group: Forum Members
Last Active: 5 hours ago
Posts: 3,053, Visits: 3,940
Hi Jan,

Thank you for the detailed description of your requirements.

The best way to achieve what you want is to create a custom line shape that consists of two standard line shapes glued to each other via formula expressions. We can create such shape for you as part of our custom development services. Please contact us at support@nevron.com if you are interested and we will further discuss the requirements and the implementation.


Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic