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

    Topics

    • voljankoV

      Rule no.1 in Sketchup for 3d printing

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp for 3D Printing sketchup
      8
      0 Votes
      8 Posts
      9k Views
      voljankoV
      @Ellipser You are right ,everything must be solid, but that is Rule no.0
    • voljankoV

      Face or line or vertex inside a solid

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      136 Views
      voljankoV
      Hello Tig, I have also thought about rays. What do you think about this solution: If the tested object and a solid are not intersecting. If a ray from a tested object hits faces of a solid odd number of times ,the tested object is inside the solid. If the ray hits an edge or a vertex,repeat the ray test in other direction. David
    • voljankoV

      [Plugin] SuSolid for 3d Printing (updated April 2014 )

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      43
      0 Votes
      43 Posts
      23k Views
      M
      hello, i just purchased the plugin .. and im hoping i get it at the earliest. i used the paypal acount with the nick used here. please send me the plugin asap, im in somewhat of a hurry
    • voljankoV

      Geom.intersect_line_plane = point3d?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      207 Views
      Dan RathbunD
      @voljanko said: I can not set my browser (chrome) to show the comments. You are seeing the localized language version of the API page. Somehow you must try to set Chrome to English, so you can see the main English pages that have the comments. This is a known issue with the API Doc pages, and complaints have been logged with Google.
    • voljankoV

      Messed up model

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      163 Views
      TIGT
      If you erase a long edge and draw another one there is no new face, if you erase a short edge and draw another one there is a new face. This s is a common issue with manually drawn faces where tiny tolerances cause issues, BUT the edges are coplanar enough to keep a face!
    • voljankoV

      Self intersect

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      8
      0 Votes
      8 Posts
      254 Views
      voljankoV
      Grrr,I hate the "smart" pages. There are no comments on my API pages.I will try to change setting in my browser. @unknownuser said: But using the 'group.transformation' for both required transformations to ensure that the group's geometry intersects with itself, and it returns the intersection geometry in the same location should work ? Perhaps not if the group has been moved ?? I have tested it... and it is only ok, if both the transformations are "new".
    • voljankoV

      Entities.add_group bug?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      17
      0 Votes
      17 Posts
      681 Views
      TIGT
      As I suspected then... Using ents.add_group(ent_array) only works safely if ents==model.active_entities So use my cloning tips...
    • voljankoV

      Which face is closest?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      228 Views
      voljankoV
      @tig said: If you want to know the orientation of a face relative to its edge, then use this http://code.google.com/apis/sketchup/docs/ourdoc/edge.html#reversed_in? You can then compare the three faces sharing a common edge and if one is 'backwards' used face.reverse! OR use face.normal.reverse in the testing ??? This could be exactly what I need,have to test first. Thanks.
    • voljankoV

      Double bounding box

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      396 Views
      Dan RathbunD
      @voljanko said: @dan rathbun said: group.local_bounds() Yes,it is working,I have test it....BUT,it is only available for groups,not components. This is because .definition() is exposed to ComponentInstance objects, so: def get_local_bounds(obj) case obj when Sketchup;;Group obj.local_bounds() when Sketchup;;ComponentInstance obj.definition.bounds() else obj.bounds() end end
    • voljankoV

      Draw on face

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      245 Views
      TIGT
      A line added in code will NOT split a face/edges unless you call some sort of entities.intersect_with() method... If the line is being added in in code you can check the picked points with a pick_helper to see if a face is picked under the point. Then you know the face is under a point, what the face is and then check that both points are on the same face ? http://code.google.com/apis/sketchup/docs/ourdoc/pickhelper.html#picked_face
    • voljankoV

      Unicode characters problem

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      9
      0 Votes
      9 Posts
      265 Views
      voljankoV
      The problem was in the file,not in the code. I have saved the file in notepad as UFT-8 ,so I can "unpack" the character. I have tried to save the file in other formats (unicode,ANSI,unicode big endian) and is always giving me errors. So only UFT-8 is ok. Problem solved
    • voljankoV

      Bug Splat on erase!

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      418 Views
      voljankoV
      But also Dan's suggestions have positive results: In the activate method of the tool I have put the Sketchup.active_model.start_operation "myTool",true,true,false And I have put the Sketchup.active_model.abort_operation in the deactivate method of the tool and in the onPreSaveModel model observer. Now the group is disappear before saving the model. Thank you both.
    • voljankoV

      Model observer problem

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      223 Views
      voljankoV
      Yes,I have thought about this right after sending my post,but want to test first. Now it is working ok and sorry for blaming observer for this problem. So this is the working code: class MyModelObserver < Sketchup;;ModelObserver def onPreSaveModel(model) UI.messagebox("onPreSaveModel; " + model.to_s) end end # Attach the observer. Sketchup.active_model.add_observer(MyModelObserver.new) class MyAppObserver < Sketchup;;AppObserver def onNewModel(model) UI.messagebox("onNewModel; " + model.to_s) Sketchup.active_model.add_observer(MyModelObserver.new) # Here is where one might attach other observers to the new model. end def onOpenModel(model) UI.messagebox("onOpenModel; " + model.to_s) Sketchup.active_model.add_observer(MyModelObserver.new) # Here is where one might attach other observers to the new model. end end # Attach the observer Sketchup.add_observer(MyAppObserver.new)
    • voljankoV

      Parent instance of a component

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      13
      0 Votes
      13 Posts
      1k Views
      voljankoV
      My intention was to write and read some attributes to some groups and components. After writing it to components (instances) ,it was impossible to read the attribute of the parent component(or group). To resolve it,I have decide to write and read only to definitions of the components. Now,before I write or read to entities, I check if the entity is group or component. If it is a group,I read and write to this entity,if it is a component,I read and write to the definition of this component.In this way,I don't need to know the exact parent instance of the component,because all the instances have the same attributes. So the problem is resolved
    • voljankoV

      How to detect the closed body?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      203 Views
      voljankoV
      Ok,I like this definition:If all the edges in the geometry have 2 faces ,it is a solid. Maybe I have complicated a little
    • voljankoV

      [Plugin] Solids Penetration Check

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      23
      0 Votes
      23 Posts
      14k Views
      M
      Aaaar it does not work with free versions... Can you do something? @unknownuser said: Error: #<ArgumentError: 'intersect' is a Pro only feature.> C:/Program Files/Google/Google SketchUp 8/Plugins/solids_penetration_check.rb:141:in intersect' C:/Program Files/Google/Google SketchUp 8/Plugins/solids_penetration_check.rb:141:in check_penetrations' C:/Program Files/Google/Google SketchUp 8/Plugins/solids_penetration_check.rb:32:in activate' C:/Program Files/Google/Google SketchUp 8/Plugins/solids_penetration_check.rb:159:in select_tool' C:/Program Files/Google/Google SketchUp 8/Plugins/solids_penetration_check.rb:159:in `penetrationcheck' C:/Program Files/Google/Google SketchUp 8/Plugins/solids_penetration_check.rb:13
    • voljankoV

      Solids Penetration Check plugin

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      228 Views
      voljankoV
      Here it is,my first public plugin In some cases the intersections between solids can be considered as mistakes. Just select some SOLIDS and click the Solids Penetration Check from the Tools menu. The intersections between solids will be highlighted (selected) and colored red. What do you think about it?
    • voljankoV

      How to unhide &quot;lost&quot; group

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      6
      0 Votes
      6 Posts
      10k Views
      H
      Thank you so much!
    • voljankoV

      Volume attribute in DC

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      1
      0 Votes
      1 Posts
      104 Views
      No one has replied
    • voljankoV

      Solid-trim-solid = solid+non solid

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      6
      0 Votes
      6 Posts
      1k Views
      voljankoV
      Here is my solution to this problem: -change units from mm to meters -resize the model with the measure type tool (1mm = 1m) -apply trim to the solids (and also all other operations till finished the model) -change units back to mm -resize back the model with the measure type tool (1m = 1mm) I'm sure that there are other problems related to the size of the model, that can be overcome in this way.
    • 1
    • 2
    • 1 / 2