• Login
sketchucation logo sketchucation
  • Login
🔌 Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

Plugin problem in SU8

Scheduled Pinned Locked Moved Developers' Forum
4 Posts 3 Posters 373 Views 3 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.
  • K Offline
    ktkoh
    last edited by 11 Jul 2011, 18:45

    I am working on a box joint plugin and having very strange results.
    Box joints are an array of slots and fingers evenly spaced on the end of a board. To make a joint one board starts with a finger then alternates space-finger to end of board. The second board would start with a space and alternate finger-space to end of board.

    The program basically draws lines across the end of the board to create faces and these alternate between fingers(not pushed in) and spaces (push/pull to depth of finger).

    Problem the program works fine when starting with a finger. However when I try to make the second board that starts with a space (push first face in) in SU8 the program SPLATS. In Su7 both work ok as expected. By changing the starting point on line 394 to 0.002 the program runs but leaves a sliver of material on end of board. If I comment out the push/pull line (423) and manually push that first face in to make a space the model is ok. There are no error messages in the Ruby Console while running the program. The program appears to complete then SU Splats and closes.
    I have not looked at the files created by the problem as I wouldn't know what they meant but have sent report to google.

    Keith


    KK_BoxJointTool.rb


    BoxJointTest7.skp

    1 Reply Last reply Reply Quote 0
    • S Offline
      sdmitch
      last edited by 12 Jul 2011, 00:07

      ktkoh, I downloaded the plugin and model and tried it several times without a splat using SU8. Perhaps it is a conflict of some type with other plugins that are loaded.

      Nothing is worthless, it can always be used as a bad example.

      http://sdmitch.blogspot.com/

      1 Reply Last reply Reply Quote 0
      • K Offline
        kyyu
        last edited by 12 Jul 2011, 03:48

        ktkoh,

        I got the same thing you described. Worked fine in SU7, but bugsplat when starting with a space in SU8. Will let you know, if I figure anything out.

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdmitch
          last edited by 13 Jul 2011, 03:27

          Keith, I don't have a clue as to why your BoxJointTool splats but I know where it happens. I added a number of statements to print to a file then ran the program several times and in all cases it reached assentially the same place before crashing. The referenced zip file contains the output files, your modified .rb file, and my own version of a BoxJoint tool. The procedure for using mine is a little different in that instead of selecting the component then two edges, in mine, you select the component then the end face.


          BoxJoint files

          Nothing is worthless, it can always be used as a bad example.

          http://sdmitch.blogspot.com/

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

          Advertisement