Macs have shift, apple key, 3 (or 4 for specified areas) to take screenshots automatically.
Posts made by BTM
-
RE: Freeware Quickie Screenshots
-
RE: [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09
…I also have these ones though…
…I'll go with your icons for 'Merge Points', but now for Merge Points to Selection (I changed the name, because it works when selecting faces now aswell), I don't know which one to pick
Oh, by the way, they work in groups and components now too. I should have put @model.active_entities instead of @model.entities
…I've also included a cursor for 'Merge Points'. It's ugly though, so I'm changing it, and I don't know what the new one should look like.
-
RE: [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09
…these are the icons it has right now, I'll wait to see how yours turn out -
RE: [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09
@chango70 said:
- I noticed that when I press undo after a point Merge operation it does not undo the entire procedure, rather breaks it down to individual line moves.
I've got this working properly now, and it will be fixed in the next release for the tools.
@chango70 said:
- I cannot get it to work if the geometry is inside a group.
I'll try to get that fixed too, but maybe not for the next release.
@chango70 said:
Would be great if you can add a CTLR modifier to make the new mesh smooth.
…I probably won't add this, but if I do decided to, it won't be anytime soon.
Also as a side note, I'm planning on adding a toolbar for them, and am trying to figure out how to add a subfolder and a loader script. I've got the toolbar working, but not with a subfolder or loader, and having the files just sitting in the plugins folder is a bit annoying.
-
RE: [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09
Here's a little video of me trying to use the 'Merge Points to Lines' tool to do some stitching with GE terrains.
http://www.screencast.com/t/s1SkJiUjH
It's 3 minutes long, because I kept changing styles, softening, etc., and I couldn't use my toolbar due to the size of the window.steps:
• explode, unhide and unsoften 2 snapshots from google earth.
• figure out what the max range for the tool should be. (I use line tool to see how much things would have to move, then make the max about 25% bigger than that, just in case.)
• completely select one of the meshes.
• use the 'Merge Points to Lines' tool.
• Select both meshes (because sketchup doesn't connect the points together automatically for some reason), and use intersect. Select the mesh, soften it, and fix any problem areas(there shouldn't be too many)
• Repeat these steps to add other snapshots to the previous mesh.
-
RE: [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09
@jclements said:
OK,
I guess my original download of the two .rb's DID work. It was the UI that threw me off.
When I selected the Merge Points submenu option, I expected the Dialog box to appear, but none did.
1)
Only by accident did I discover I had to hit the [Enter] key to display it.Question, shouldn't the dialog appear as soon as you select Merge Points from the submenu?
Also, if that dialog or the Taskbar could include a message to "press [Enter] to change value" that would be helpful (if you don't use the script frequently, then it may take a bit of experimentation to use it properly )
2)
Regarding Merge Points to Line, it seems to do just the opposite. The dialog box appears when you first select it from the submenu, but you can't recall the dialog by pressing [Enter], you have to go back to the submenu. Can [Enter] be used to recall the appropriate dialog too?3)
Once used Undo doesn't work well. Is there a way to undo all changes performed between mouse-clicks at once?OK, I'll address some of these issues soon. I'm adding "Press Enter/ Return to set radius" in the status box for the Merge Points tool in the next release. As for the dialogue appearing as soon as you select the tool, I find it easier to use it like a normal tool with a radius, such as the smoove tool does. I want to get the VCB working later too, then it would save a lot of confusion, but that seems a bit tricky to do.
As for the 'Merge Points to Lines' tool, it affects the model upon activation, so I don't see why you'd need to open it again.
…Lastly, I think there's a method I could find somewheres that would make all the transformations into one action for undo, but I'm not sure. I'll look into it.
-
RE: Working on new scripting system.
@cphillips said:
Also I am going to add some settings to fixed joints to allow them to be "springy". Its hard to explain but kinda fun.
That's almost possible now; just move the joint fairly far away from the object that's attached to it.
-
RE: [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09
@chris fullmer said:
Hi John, I think you just need to copy those 2 .rb files into your plugins folder. They don't need to be in the subfolder - unless I'm missing something. I'll edit that out if its wrong.
Chris, you're right, they both go into the plugins folder.
@chris fullmer said:
@BTM - The reason that the class variables are not working correctly (meaning they are not keeping their value during the entire SU session) is because you are declaring the variable in your activate method. So everytime the activate the tool gets activated, it resets the
@@max_weld_distance
variable back to0.0.to_l
.I know that the variable needs to be outside of a method, but with things like
@@max_weld_distance=1.to_l if not @@max_weld_distance
it would call it an uninitialized variable, and give an error message.@chris fullmer said:
So what you want to do is declare that variable inside the class, outside of the methods. Like this:
class MergePoints @@max_weld_distance=0.0.to_l
It does work! I've been trying if functions, (so that if @@max_wld_distance doesn't have a value, it gets set to 0.0.to_l), but I kept getting error messages, and I guess that an if function isn't necessary.
-
RE: [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09
…Anyways, If the above doesn't work, which I don't know when it comes to having more than 2 snapshots, I think I know a way to make a script that would work.
@unknownuser said:
Actually, I was thinking about something like this initially, before making the scripts. It would go through the entire selection, find which points were close to each-other, then move them together.
I didn't try it though, because I would imagine that it would be extremely slow, having to find the distance between every single point that's part of the selection.
If it turns out it runs faster than I'd expect, it would do this:
• setting the 'affect radius'
• taking the selected vertices and finding the distance between each one. If the distance between 2 points is smaller then the 'affect radius', and if it's smaller than the distance between the point and any other point, find the halfway point between the 2 points and move them both there. -
RE: [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09
@chris fullmer said:
This script is really coming along nicely, good work!
As for stitching together terrains...it could work, but there is a good chance it will have overlap. That overlap wil still need to be cleaned by hand. I'd be interested in seeing a demo on that Gaieus if you get around to it.
Chris
…I don't know exactly what GE terrains look like, but you could probably overlap them, and select all geometry of one of the terrains; then you could use Merge Points to Lines, probably using endpoints, with a small enough max radius. As for the messy parts, the Merge Points tool could probably help fix them up some.
I'm saying 'probably' a lot, because I've never done it, and, as I mentioned, I don't know what GE terrains' geometry look like.
-
RE: [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09
@unknownuser said:
No possible to make this with automatic process? (Merge points)
Exploring all points!Actually, I was thinking about something like this initially, before making the scripts. It would go through the entire selection, find which points were close to each-other, then move them together.
I didn't try it though, because I would imagine that it would be extremely slow, having to find the distance between every single point that's part of the selection.
To put the amount of times it would have to find the distance between 2 points into perspective, (I think) the equation for possible lines between a number of points(a) is:
(a-1)÷2=b
ab = c = amount of equations necessary.…so if you have 60 vertices in the selection, it would need to find the distance between points 1770 times.
60 - 1 = 59
59 ÷ 2 = 29.5
29.5 x 60= 1770…So yes, it's possible, but maybe slow, unless used with a fairly low amount of vertices in the selection.
Nonetheless, I'll try it sometime soon, but first I'm going to start getting some visualizations working with the current scripts. Maybe I'll make it highlight affected points in yellow, and the point they'll move to in blue or something.
-
RE: [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09
UPDATED:
The Merge Points to Lines tool now has a feature to allow you to pick between moving the points to the closest positions on selected lines, or moving the points to the closest endpoints of selected lines. -
RE: [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09
@mitcorb said:
this appears to be able to close those tiny triangles-- is that correct?
Yes, it can, but it depends on where you click, and the range of the tool.
-
RE: [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09
OK, a video has been added for Merge Points.
-
RE: [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09
I might not have the accuracy issue fixed, but I've updated the first post, now Merge Points to Lines is available, and Merge Points has been slightly updated.
-
RE: Car renders,WIPs&videos
I agree too , though I still do like the look of having more of the matte dark-grey/ black parts too.
-
RE: [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09
...I figured out how to solve problem 2!!!
As for problem 1, Chris, the transform_entities works pretty much the same way whether you give it a transformation or a vector; the script you have down there moves the points by the vector @mouse_point, so they end up in a completely different spot. That's why I used vector_to. The only problem, is that SketchUp sees things like 3.999m as 4 meters ( Well, according to the VCB, it doesn't show up as ~4.00m, but as if it were just 4.00m), and I think it's inaccuracies like this that can mess it up sometimes.
-
RE: Scissors effect - solved
…Just click it once and it should move where it's supposed to.
-
RE: Rogue's W.I.P's!
@javixp said:
Wow I love the new body-kit! ·BTM, with this body-kit the safety features have improved
I'm not that big of a fan for the new body kit though; it seems a bit boxy.
As for the Milano, it's looking very nice!