💡 LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
Need help debugging
-
In my script jsAlign (http://www.pixero.com) odd things happen if you align edges/vertices inside a group.
The face gets somehow outside the group and at the origo.
See example file.Anyone knows why and how to fix it?
-
I think that
Sketchup.active_model.entities.transform_entities(t,v);
should be
Sketchup.active_model.active_entities.transform_entities(t,v);
You might also need to apply a transformation to these any entities equivalent to the original group's transformation...
Something like...## set their 'point'... t1=ORIGIN-group.transformation.origin t2=Geom;;Transformation.new(point) ## re-set for be new stuff - 'gp' here is a group... gp.transform!(t1) gp.transform!(t2)
... Hope this helps...
-
Thanks, that seem to work. (I didnt have to use that last part.)
Advertisement