sketchucation logo sketchucation
    • Login
    1. Home
    2. bigcatln
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now
    B
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 20
    • Groups 1

    bigcatln

    @bigcatln

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

    bigcatln Unfollow Follow
    registered-users

    Latest posts made by bigcatln

    • sign extension doesn't work

      I used to sign my extension with sketchup online tool, I did it just a few weeks ago successfully, but today I failed all the time for the same extenstion that I signed before successfully, I made a very simple plugin with starndard structure like myplugin.rb, myplugin folder, and mypluginmain.rb in the folder, but it also fail, I think the Sketchup team may altered their tool ,but I can't find any information on web. anyone knows why?
      thanks

      posted in Developers' Forum
      B
      bigcatln
    • RE: How download and apply material from html page?

      I guess you have to download the file to local disk,then apply it in your model, of course, you can use ruby to do it automaticly

      posted in Developers' Forum
      B
      bigcatln
    • Overlapping detection

      I want to know if there is any easy way to decide whether a group(or componentinstance) overloap with other group?
      I find a way using trim function of Group to decide if two group is overlapping, but if there are a lots of group, I have to iterate every group, it is not so efficient.
      so I am looking for more elegant solution.

      posted in Developers' Forum
      B
      bigcatln
    • RE: Need openssl.so

      Thanks , TIG and Dan, I have decided to install Ruby, though it seem a little complex to me

      posted in Developers' Forum
      B
      bigcatln
    • Need openssl.so

      Can anyone drop me openssl.so which is a necessary part of https.rb, used in win32 platform?
      I searched the install dir of ruby1.86,but didn't find this file, and I googled it without finding it
      thanks

      posted in Developers' Forum
      B
      bigcatln
    • RE: How to find loops edges from selection

      thanks TIG, I worked it out by classify_point and raytest

      posted in Developers' Forum
      B
      bigcatln
    • RE: How to find loops edges from selection

      Thank you very much,TIG
      It works just like what I want,I don't find any problem up to now in my application
      The "temp grouping " method is very useful trick which avoiding unwanted face being created. 😍

      I pull each face a height, and group it, then I run into another problem, I try to delete the overlap face of each group,but failed.
      test1.JPG
      I try to use raytest method, but it only work when then two loops don't connect to each other

      	grps.each{|grp|
      		killfaces=[]
      		grp.entities.each{|fa|
      			if fa.is_a? Sketchup;;Face
      			basept=fa.bounds.center.transform! grp.transformation
      			 ray = [basept, fa.normal]
      			 item = model.raytest ray
      				if item!=nil
      				dist=basept.distance item[0] 
      				if dist < mingap
      					killfaces.push fa 
      					item[1][1].parent.entities. erase_entities item[1][1] if  item[1][1].is_a? Sketchup;;Face
      				end
      				end
      			end
      		}
      		grp.entities.erase_entities killfaces
      	}
      

      any good idea?

      posted in Developers' Forum
      B
      bigcatln
    • How to find loops edges from selection

      Hi, everyone
      I got a problem in trying to get loops edges from a set of selection which may have more than one loops
      , and the loops may share common edge.

      My target is adding a face for each loops,it is a challenge for me,I worked for some time without no progress.
      test.jpg
      Can anyone give some advice?

      Thanks in advance

      posted in Developers' Forum
      B
      bigcatln
    • RE: Question about order in selection

      I am also in the same trouble
      My solution is: select firt, then press the tool button to active my tool then use the pickhelper do another select operation,press return key to finish

      It is not a nice solution,because I found it is hard to do a box crossing selection by ruby

      posted in Developers' Forum
      B
      bigcatln
    • RE: How to do a crossing box select by ruby?

      @tig said:

      Thereafter your troubles will only increase... then you need to find everything inside that 'box' [or perhaps intersecting the box] depending on whether or not the picking is left-right or right-left - just like the Select tool... Why not get the user to 'preselect' the required objects and then run your code on that selection ?

      In fact I did preselect object!
      I am making a trim tool which use a number of groups trimmed by another number of groups
      So I need select a number of groups first then select my tool ,and then select another number of groups, put return key to do the trim at last.
      that need select groups while my tool is still active. and I want the select operation just like what the select tool do.

      posted in Developers' Forum
      B
      bigcatln