Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
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