sketchucation logo sketchucation
    • Login
    1. Home
    2. morph
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Groups 1

    morph

    @morph

    10
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    morph Unfollow Follow
    registered-users

    Latest posts made by morph

    • RE: [observer issue] onEraseEntities not working?

      to thomthom

      I interest to use EntitiesObserver.onElementModified or EntityObserver.onChangeEntity to check face entity has modified or not?

      But after I read the illustrate under both method from https://developers.google.com/sketchup/docs/ourdoc/entitiesobserver ("The onElementModified method is invoked whenever one or more elements in the collection are modified.") and https://developers.google.com/sketchup/docs/ourdoc/entityobserver ("The onChangeEntity method is invoked when your entity is modified.")

      I can not understand the scope of meaning of modified state of face entity. The word "modified" mean scaling, moving, reverse, split or more. I am new in programming, please suggestion.

      Hope you will understand my question?

      posted in Developers' Forum
      M
      morph
    • RE: [Plugin] ShadowProjector

      to TIG

      Next idea I think I will try to use EntitiesObserver and EntityObserver to check face after first run calculation process (which take a long time) if face is not modified it will cut off from next calculation.

      But after I read Google Developer Sketchup (https://developers.google.com/sketchup/docs/ourdoc/entitiesobserver) it warn me that "WARNING: The methods of this observer fire in such a way that making changes to the model while inside of them is dangerous. If you experience sudden crashes, it could be because of this observer. A potential workaround is to use a ToolsObserver to watch what the user is doing instead."

      Please recommend me for my idea.

      posted in Plugins
      M
      morph
    • RE: [Plugin] ShadowProjector

      to TIG

      I try to find the way to reduce the time of ShadowProjector plugin culation process after I found it take a long time when the number of calculated face up to 50 faces.

      Now, I study in master degree and try to create plugin to retrieve shadow area from all day solar vector on glass face of building. When I try to put ShadowProjector algorithm to 10 loops solar vector, the time usage graph of 10 loops are not linear. It is parabola although the time usage graph in loop which use the .raytest function is linear.

      Please suggestion.

      posted in Plugins
      M
      morph