[Plugin] Superglue
-
@honoluludesktop said:
Very clever tool. Didn't try it myself, and the illustration looks like it cuts a hole in the face. How about a wall made up of two faces? Don't program much, but can the api provide a way to find all the faces that a component intersects?
All it does it glue/unglue existing glueto components. In the examples given that happened to also be cutout components.
-
Also haven't tried this myself either. But, how about equalizing the hight of components placed. Like if you have windows and their everywhere, just enter a hight or chose a component that you want to be adjacent to the others?
-
It would be a different plugin, but it would be an interesting way for bulk adjustments.
An align tool, where you specify bottom/center/top etc. and then just make a sweep across the comps/groups you want to adjust.I do like this way of choosing entities - I want to explore further ways other than the traditional pre-select or click-click-click select.
-
I (think) I always wanted something like this; downloading it now!
-
@unknownuser said:
About the glue
LOL!!! ultimate man..TINTIN IS ONE OF MY FAVOURITE CARTOON SERIES..used to watch it everyday on cartoon network when i was in class VI
-
I have find a use of Super Glue
and at last understood the use
-
@gaieus said:
@thomthom said:
@unknownuser said:
HAve you a little animation of what must the glue's pot must do?
A video of the plugin in use? Yes I'll make one once I make v1.1.0.
Here you go sir (especially, with the annotations it is pretty fast so pause it when needed):
OH! Thanks so much Gaius, I was very confused what the point of this plugin was... so now, when I copy lights on the ceiling and they don't cut the opening in the face, the "Superglue" will "fix" it so that they DO cut the opening... BRILLIANT!
Thanks for sharing, ThomThom!
-
@fletch said:
OH! Thanks so much Gaius, I was very confused what the point of this plugin was... so now, when I copy lights on the ceiling and they don't cut the opening in the face, the "Superglue" will "fix" it so that they DO cut the opening... BRILLIANT!
Provided that the axes are correct for the component you try to glue on - if the axis isn't aligned to match the face you try to glue on it won't do anything.
-
No more need glue for the plug Component Punch!!!
Tig found just add a # at the line 186 and all works fine!My bottle of glue will be full at the end of the week
Sorry Thomthom
Edit Ah damned , this modify works only on the same face!My bottle of glue will be empty at the end of the week
-
Edit Curious this morning all works fine!
-
hey thom thom just tried this ruby and works great. thanx alot
-
Sean!
Long time no see. How are you?
What have you been up to? Are you completely Max person now? Got some new work to show off? -
Im good, you? and nope, i speak max and sketchup sketchups just too easy to completely throw out of ones workflow.
check out the company blog http://www.constructmedia.co.uk/news will post some new stuff soon
-
i dont understand how to use it, can anyone help explain to me?
-
Hi Ellen,
Here is a short video with captions:
YouTube - Superglue Plugin for SketchUp by ThomThom
[flash=480,385:22ve9z34]http://www.youtube.com/v/VS8-tjYTPXM?fs=1&hl=hu_HU[/flash:22ve9z34] -
It seems to not work for me
I made a component that makes a hole in a face, when I take the component from Components window, it cuts hole, if I copy it from model ( + Ctrl), it doesn't cut hole. I used Superglue on it, it doesn't cut hole. Am I misusing the plugin? Why that components don't cut hole when I copy them?
-
@unknownuser said:
It seems to not work for me
I made a component that makes a hole in a face, when I take the component from Components window, it cuts hole, if I copy it from model ( + Ctrl), it doesn't cut hole. I used Superglue on it, it doesn't cut hole. Am I misusing the plugin? Why that components don't cut hole when I copy them?
Can you post sample model?
-
can't explain myself. I saved the model as new file, it worked there. In the original one doesn't want. I copied the model in a new sketchup window, it doesn't work.
It looks like is a sketchup glitch, rather than model-related. -
Are you trying to clue the component onto a face directly, or is the face wrapped in a group/component?
-
When you place a component from the Component-Browser it is put onto your cursor at that component's origin, this is necessary because the origin [axes] must be put down snapped onto a face so that the instance will be assigned that face which it can then 'glue' and 'cut'.
If you copy an already placed instance using Move+Ctrl you need to pick a point on the face that the instance is glued to [or a corner of the instance that is on that face]; then when you pick a new face the component will again find a face to glue/cut. BUT if you pick a point that's off the original's glued face then you won't be able to snap the copy onto another face because it'll always be placed non-planar to a face.
Similarly, if your cutting component has geometry [like a frame/surround or a projecting-sill] that projects in front of the plane of the wall face [and therefore the cut hole] when you use Edit>Copy and then Edit>Paste the cursor that's locked on to the copy is placed NOT always at the copy's 'origin' BUT sometimes at its bounding-box minimum extents, which isn't then going to be the component's 'origin' [especially if the source instance is itself not glued to a face] - so when you snap it onto a face it will not find any face that is coincident with its origin, so there's no gluing and therefore no cut. I suspect that SuperGlue - like other '[re]gluing' tools - looks for a face below the instance's origin and if it can't then find one then there's no gluing and therefore no cutting. A component that's located with its origin a few mm away a face is just as 'unconnected' to that face as if it were placed meters away in empty space.
Conversely, if you have a 'flush' cutting component with no projections in front of the wall face it will Copy/Paste quite satisfactorily, as in this case the cursor will be in the same plane as the component's origin [even if it's perhaps not on the origin itself] and so subsequent snapping of it onto a face will this time find that face coincident with the origin, and which it can then use to glue/cut...
Hence you can get seemingly odd behavior across different types of gluing/cutting components when they are copied, IF you fail to appreciate what is happening with the object's geometry and the cursor...
To see it in action try making a completely flush cutting component and also another version with very large projecting sill [500mm!], use the Component-Browser to place instances of both into a wall and then watch where the cursor is located during subsequent copy/paste operations and the success/failure to glue/cut for the copies, and copies of copies, or copies of non-glued instances etc
Advertisement