I'm afraid that you cannot override or subclass the existing tools. You would have the create all the functionality in your own custom tool.
http://www.sketchup.com/intl/en/developer/docs/ourdoc/tool.php
I'm afraid that you cannot override or subclass the existing tools. You would have the create all the functionality in your own custom tool.
http://www.sketchup.com/intl/en/developer/docs/ourdoc/tool.php
Did you have an old version of TT_Lib2 installed?
Do you have files that have gotten stuck in the VirtualStore?
You can collect all the separate loop-segments from the selection and then treat them separately.
If you made the assumption that the user only selected one edge in each of the loops he/she wants selected then it's easier - as you just need to iterate each edge in selection and build a loop for each one.
But it could be that the user selected multiple segments of a loop, in which you would have to detect this as well. Or, thinking of it, you could just ignore the fact that some are connected, just build the loop anyway and make sure you don't process an edge that's already in a generated loop.
blink -- me neither! I guess I always just skipped over that method...
I'm not familiar with the old C++ SDK, but you are aware that will be deprecated and removed, yes?
@anton_s said:
Currently on MS Windows web-dialogs use Internet Explorer Server, I don't know about Macs. It would be nice to have the user to decide which browser server should the WebDialog use when they create their own WebDialog. For instance, the chrome server, opera server, or internet explorer server (default).
I'm afraid it is not possible to let the user decide. To use other engines we would have to bundle frameworks for them. We cannot just pick up whatever the user has installed.
Mind describing what you are trying to achieve on a more abstract level?
Good news is that I got the SLAPI example compiling under OSX. I need to test on Windows and clean up the extconf.rb file a little.
@tig said:
If I don't have UAC active everything thing works fine for me and ALL files are updated as the RBZ installs.
I suspect that if you have UAC active this breaks things as you can't then replace the .so and subsequent changes are not effected.
Is the .so file loaded then? I don't think you can update a loaded .so file regardless of UAC...
Hi Dale
I looked into this and found that you cannot use Visual Studio's nmake for this as it's C89 - and the SLAPI is written in C99.
It would work if you install the DevKit at Ruby Windows Installer - though I'm still working out some minor quirks. We're preparing some Hello World examples to get started with Ruby C Extensions. Can you hang in there a little bit more?
@furniture50 said:
WOW this would definitely be awesome, too long a distance from Scandinavia though
The 15 hours flight is worth it! I promise! BaseCamp 2012 was awesome!
Ah! Yes. .so and .bundles that are loaded by SU cannot be updated or erased.
I have this same problem with my own plugins. I'm just about to complete a class that will take care of this.
In essence I'm moving to distributing extensions with C extensions in a manner where I place the .so/.bundle files in a "stage" folder and upon load I will copy them to a new folder given then name of the current plugin version. This should ensure files can be loaded and deleted even if the extensions are loaded.
The only thing left is to ensure that this works when UAC is enabled.
Draw "class"? or did you mean method?
Are you calculating the draw data in the draw method itself? If you are, then I'd recommend you cache it and rebuild the cache only when the data changes.
I created a cache class for this: https://bitbucket.org/thomthom/tt-library-2/src/2bb264f27d9bc00c1b1f9a969e481c19385042ad/TT_Lib2/draw_cache.rb?at=Version%202.9
hm... it might not do exactly what you want. If you have a horizontal face you can right click it and in the context menu you can select more faces in the same direction or perpendicular.
...though I did imagine there was already a plugin to select Vertical, Horisontal faces...
Have you profiles your code and found what consumes the most time?
@numerobis said:
Is there a plugin that allows to filter a selection to select only horizontal and vertical faces? And their outer lines? (the second part is not so important, because it can be done by grouping and ungrouping the selection)
Selection Toys let you do that: http://extensions.sketchup.com/en/content/selection-toys
What kind of operations do you need to do? Calculations?
@garry k said:
Sorry - bad terminology. I was talking read and write access.
the only write access we have is mesh.add_point.
PolygonMesh.set_point
http://www.sketchup.com/intl/en/developer/docs/ourdoc/polygonmesh.php#set_point
@garry k said:
I think that we gain performance in the actual transform but may loose it accessing the points in the mesh.
Geom::PolygonMesh.points? http://www.sketchup.com/intl/en/developer/docs/ourdoc/polygonmesh.php#points