Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create a solid that represents the shadow of an object projected by a point light source? 1

Status
Not open for further replies.

please_dont_crash

Automotive
Apr 21, 2020
25
I'm not really sure how to approach this.

My goal is to end up with a solid volume that matches an object's shadow, given an object and a location in space that represents a point light source.

Imagine a complex object, like a pineapple. Define a point above and to the side of the pineapple. This point represents a light source. How would I be able to create a solid object that matches the space encompassed by the pineapple's 3D shadow? In other words, not just the projected curve of the shadow's outline on the ground, but the actual volume of space that is not lit? Conversely, I could instead ask how to get the 3D object that represents all areas lit by the light, excluding those in shadow.

I have a feeling this is tricky and would require several intermediate steps, but I have no idea how to approach this.


Thank you!
 
Replies continue below

Recommended for you

I just noticed something called Shadow Curve. It is in your Derived Curve menu.
I have never used this it but may be what just you are looking for.
It has an "associative" toggle so you can make sure it changes when the model changes.
With the curves you should be able to create a solid.

When I have time I may play with it.

Jerry J.
UGV5-NX1884
 
Wow thank you!

I found this really clear video which goes over the options:


It looks like this is one half of what I need. So I would then ask:

Given a point and a curve on a plane, how would I trace out the surface that connects the point to every point on the curve?

Thank you!
 
It would probably help if you can show a picture of that point, curve, and plane.

Jerry J.
UGV5-NX1884
 
Unfortunately I don't have a version of NX that has the Shadow Curve feature. I have NX 11.


Any other ideas on how to achieve this? :(
 
Thanks Jerry. I have been trying to get that to work for a while now, but when I press OK it hangs and never completes the task. I think the problem is I have a mishmash of extracted surfaces from a native NX body, along with some surfaces that came from a STEP file. I'll keep trying...
 
"Given a point and a curve on a plane, how would I trace out the surface that connects the point to every point on the curve?"

"Ruled Surface" will do that:
ruled_czci9x.jpg
 
Thank you Jerry and mmauldin! Ruled surface definitely looks like part of what I need.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor