sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Reading smoothed normals from a component definition

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 445 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Al HartA Offline
      Al Hart
      last edited by

      We have a routine which loads a .SKP file into the model definitions and then reads the faces from the component. However, it does not read the normal properly the first time.

      After we do something else in SketchUp, between loading the component and trying to read it, then we can read the normals properly.

      I seem to remember that there is a commend to tell SketchUp to "clean up the drawing" after you have changed if (for instance adding a component or instance) which will cause SketchUp to calculate the smoothed normals and report them properly. But I cannot remember for find the command.

      Does anyone remember how to tell SketchUp to report the normals properly.

      (I do not want to re-smooth the faces, the smoothed faces are already stored in the component .SKP file properly)

      (I can provide a sample RUBY file to demonstrate this if necessary.)

      Al Hart

      http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
      IRender nXt from Render Plus

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Buy SketchPlus
      Buy SUbD
      Buy WrapR
      Buy eBook
      Buy Modelur
      Buy Vertex Tools
      Buy SketchCuisine
      Buy FormFonts

      Advertisement