KirkKelsey
Member
I have recently begun using the Alibre SketchUp Add-on to export my Alibre models to SketchUp for Architectural type renderings and simple animations. I have also been using SketchUp as a portal to more sophisticated third party rendering, including the free Kerkythea. What I like about doing rendering in SketchUp is the straight forward manner in which I can apply textures, verses the often complicated and non-standard interface of most rendering programs.
The one fly in the ointment, is that the Alibre models are created in the exported SketchUp file laying on their back due to a difference in opinion between the two programs as which axis should be oriented Up, toward the Top of the Model. It would be nice if pressing the Top orientation button in either program would result in a model orientation with the designed Top of the model as the view, and the same for all other views. Not too big a deal to solve, as one only has to rotate the model 90degrees in the SketchUp to correct the orientation mismatch.
David MacGillivray has come to the rescue with a SketchUp Ruby script that he created in response to my post in the Alibre Add-on forum about the discontinuity between the Alibre and SketchUp orientation. His "Orient and Place" Ruby script (when installed to the C:\Program Files\Google\Google SketchUp 6\Plugins\ folder) provides a simple and quick method that will take the Alibre Add-On exported .skp file (once opened in SketchUp) and Orient it consistantly with the Alibre orientation and shift the models lower left corner to the Origin. A simple selection of this script from the Plug-Ins menu in SketchUp will Orient and Place the entire contents of the file. This works quite well for my woodworking parts and assemblies for their eventual use in SketchUp room layouts.
The script is well commented, and with a little study could be modified to remove the Place transformation, should that not be desired.
Thank you David for your useful script and your permission to share this script with others via this post to the Alibre forum.
The one fly in the ointment, is that the Alibre models are created in the exported SketchUp file laying on their back due to a difference in opinion between the two programs as which axis should be oriented Up, toward the Top of the Model. It would be nice if pressing the Top orientation button in either program would result in a model orientation with the designed Top of the model as the view, and the same for all other views. Not too big a deal to solve, as one only has to rotate the model 90degrees in the SketchUp to correct the orientation mismatch.
David MacGillivray has come to the rescue with a SketchUp Ruby script that he created in response to my post in the Alibre Add-on forum about the discontinuity between the Alibre and SketchUp orientation. His "Orient and Place" Ruby script (when installed to the C:\Program Files\Google\Google SketchUp 6\Plugins\ folder) provides a simple and quick method that will take the Alibre Add-On exported .skp file (once opened in SketchUp) and Orient it consistantly with the Alibre orientation and shift the models lower left corner to the Origin. A simple selection of this script from the Plug-Ins menu in SketchUp will Orient and Place the entire contents of the file. This works quite well for my woodworking parts and assemblies for their eventual use in SketchUp room layouts.
The script is well commented, and with a little study could be modified to remove the Place transformation, should that not be desired.
Thank you David for your useful script and your permission to share this script with others via this post to the Alibre forum.