[Plugin] ShadowProjector
-
Hello,
Is it possible to export result (text element : pourcentage, area...) in a .txt or .csv file?
Thank you for advance -
@max8167 said:
Hello,
Is it possible to export result (text element : pourcentage, area...) in a .txt or .csv file?
Thank you for advance
Not at the moment.
They are not saved with the group as attributes so they are not extractable later on.
However, I'll look at adding that functionality to the tool... -
An updated version, v1.3, is now in the PluginStore http://sketchucation.com/pluginstore?pln=TIG_shadowProjector
The 'Shadow' groups now get 'ShadowProjector' attributes covering the areas of their face[s] and shadows, its % and the reported units.
To view this select likely 'Shadow' group[s] - with no current selection the whole active context is considered.
To see the data, type into the Ruby Console:
TIG.shadowReport
All of the Shadows groups' attribute data is printed out, formated for copying into another document... -
Hi,
Your plugin it's very usefulDo you think it is possible to change script in order to have result during a time period and not at a given time? Have you avenues of work and reflection?
Thank you for advance
-
@max8167 said:
Hi,
Your plugin it's very usefulDo you think it is possible to change script in order to have result during a time period and not at a given time? Have you avenues of work and reflection?
Thank you for advance
Just do several shadows over a series of scenes with different times ?
It cannot cope with reflections, if that's what you meant ?? -
Updated version v1.4 is now available.
It has an additional option that can be typed into the Ruby Console:
TIG.shadowReport **true**
to choose a file and write the shadow report directly into it...
http://sketchucation.com/pluginstore?pln=TIG_shadowProjector -
Hello TIG,
Your plugin is very useful
The face name is automatically create in the report ! Is it possible to change it ? In order to have more convenient name.Thank you
-
Dear TIG,
Your plugin looks like just what I need - to export vector (dwg or dxf) with shadows. I am drawing technical illustrations with fine lines and shadows. When I export them as a jpg or tiff and shrink them down, the lines get broken and don't print well. But, I can't figure out how to use your plugin. I keep getting this message even when I select a face. "You must Pre Select at least ONE Suitably Oriented Face!" I haven' projected a shadow yet. I even tried with some very simple models, but...
Can you please help me?
DJH -
-
Thank you very much, Driven and TIG. Also, I exploded all the components and groups. It works wonderfully.
-
You don't need to explode everything.
But you do need to select the face[s] to receive the shadow outlines.
This means they do need to be in the same context, but then you could edit the container and select the face ? -
This means they do need to be in the same context, but then you could edit the container and select the face ?[/quote]
What does it mean "in the same context"?
-
-
Thanks ofr the example SKP.
I do agree that it fails.
But the info I get from the Ruby Console is helpful to see what is wrong.
I'll look at how it might be recoded to resolve the issue.Incidentally, you model contains some reversed faces inside the grouped 'walls' and several bits of hidden geometry [View > Hidden Geometry > ON] around the tops/ends of some walls.
Although they shouldn't cause issues it's good practice to tidy your model as you go.
With them gone it still fails, so they're not the cause of the issue...
I will fix it.Watch for updates/announcements...
-
Here's v1.5 http://sketchucation.com/pluginstore?pln=TIG_shadowProjector It fixes a problem which resulted from instances [groups/components] sat directly 'on' a shaded-face, and sometimes not casting a shadow below them.
It should now be more robust and cope with raw geometry, groups and components placed directly on top of the shaded-face.
It works properly with @djh's example SKP ! -
Thanks for the update. I'm still getting unexpected results. See the attached screen shot. The edges of the projected "shadow" are 500 meters long and extend down below the face on the ground plane and away from the sun.
-
Thanks Dave, I too have seem some issues and I'm working on a fix...
The face should be 1km long NOT 500m !! -
Half is better than none.
-
TIG, thanks for the advice to clean up the model.
I'm sorry, I still got the same results. I don't know how you were able to do it with the same model. Also, you mentioned before, "This means they do need to be in the same context, but then you could edit the container and select the face?" What does it mean "in the same context"?
-
I'm working on a fix...
Advertisement