thanks a lot!
Posts made by kolem
-
Flip edge
in a quadrangular that isn't co-planar you need an edge going across it so it will create the 'face', is there any way to flip the edge, i saw in Google's API, Sandbox you can but the file is *.rbs
-
RE: Painting a quadrangular
ok it works but I don't get the problem
whats the difference between find face and add face? -
RE: Painting a quadrangular
i looked at the example, and did this:
myline=view.model.entities.add_line(p1,p2) myline.hidden=true face = entities.add_face(p1,p2)
not working, probably a syntax error.
any ideas? -
Painting a quadrangular
I took the linetool.rb and tweaked it a little to fit my needs, and that was making a line and then hide it, the use for it if you have a quadrangular that sketchup cant 'paint' you make that line which makes 2 triangles that sketchup can 'paint'.
the thing is that when i draw that missing line it doesn't paint the 2 triangles?
any ideas? -
RE: Right Click->Hide
never mind i got it working, thanks for the help
-
RE: Right Click->Hide
Ok, seems like it is going to work, now, how do i execute the tool?
window>preferences? -
RE: Right Click->Hide
thanks a lot!
well, I started off by looking at the code and I'm starting to get an idea of how things work.
i edited the linetool file and changed the class to 'hiddenlinetool', etc...
and added the line TIG wrote, however, I get an error:class/module name must be CONSTANT
with a referring to this line:
class hiddenlinetool
ideas?
-
RE: Right Click->Hide
ill try that, another issue is that i have a problem editing the code in the notepad, i get all the code in one long row, any suggestions?
-
RE: Right Click->Hide
I read the tutorials on code.google.com, but it doesn't help a lot.
I tried to look at the linetool.rb and I just got confused... -
RE: Right Click->Hide
Any existing code i can look to learn from, i have basic programming knowledge but I'm not familiar with the Ruby syntax.
-
Right Click->Hide
is there any way I can make a tool that you draw a line and it hides it automatically, instead of drawing and then right click it and "hide"?