[Plugin] Point v1.2
-
Sorry, TIG, I've only just seen your response, months late.
Tried it again just now.
It downloads and installs via the SketchUcation plugin, apparently without issue.
But when I try to draw a point, the first one appears on screen, but when I try to draw another in the same session of the tool, it just hangs SU indefinitely, with no Ruby console message of any kind at any time.
Great pity.
I remember trying a quick look at the code, and so did Steve Baumgartner. He couldn't see anything amiss in the ruby code, but said it appeared to be triggering some error in an unidentifiable place, deep in the graphics driver code.
Shame - I haven't found as good or as simple an alternative.
-
Let's see if it's the add_cpoint() method making an issue first...
Easier that dabbling around in the Tool class point picking...Try this in the Ruby Console with an empty v2020 model... does it add all of the 10 cpoints at 1" x-intervals? Works OK on PC...
model=Sketchup.active_model ents=model.active_entities 0.upto(9).each{|x|ents.add_cpoint(Geom;;Point3d.new(x,0,0))}
If that works, then perhaps the Tool code is flaky ?
e.g. does it set the active_model up each time it runs, as all current models on MACs use the same SketchUp - unlike PCs ??
Advertisement