<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>[as] &#187; AEC CAD</title>
	<atom:link href="http://www.alexschreyer.net/category/cad/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alexschreyer.net</link>
	<description>AEC CAD, Timber Engineering and more...</description>
	<lastBuildDate>Thu, 02 Sep 2010 02:40:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>SketchUp 8 is out</title>
		<link>http://www.alexschreyer.net/cad/sketchup-8-is-out/</link>
		<comments>http://www.alexschreyer.net/cad/sketchup-8-is-out/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 20:03:52 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[AEC CAD]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Earth]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[SketchUp]]></category>

		<guid isPermaLink="false">http://www.alexschreyer.net/?p=2453</guid>
		<description><![CDATA[Just in time for today&#8217;s beginning of Google&#8217;s Basecamp user meeting (an &#8220;unconference&#8221; in their words), Google released the eighth iteration of SketchUp, their hugely popular 3D modeling application.

This version comes with a few enhancements to satisfy both user bases: Geo-modelers (who create buildings and objects for Google Earth) and planners/designers (who model all kinds [...]]]></description>
			<content:encoded><![CDATA[<p>Just in time for today&#8217;s beginning of Google&#8217;s <a title="Basecamp" href="http://sites.google.com/site/3dbasecamp2010/">Basecamp</a> user meeting (an &#8220;unconference&#8221; in their words), Google released the eighth iteration of <a title="SketchUp" href="http://sketchup.google.com/">SketchUp</a>, their hugely popular 3D modeling application.</p>
<p><img class="alignnone size-medium wp-image-2458" title="gsu8-hp" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/09/gsu8-hp-440x140.jpg" alt="" width="440" height="140" /></p>
<p>This version comes with a few enhancements to satisfy both user bases: Geo-modelers (who create buildings and objects for Google Earth) and planners/designers (who model all kinds of objects in 3D). Here is a brief list of new features:</p>
<ul>
<li>The following features integrate already existing Google data and services closer into SketchUp. This will aid nicely in creating and refining geo-located buildings.
<ul>
<li><strong>Model geo-location with Google Maps</strong></li>
<li><strong>Color imagery and more accurate terrain</strong></li>
<li><strong>Match Photo improvements</strong></li>
<li><strong>Building Maker</strong></li>
</ul>
</li>
<li><strong>Solid Tools</strong> &#8211; Although it should be noted that SketchUp does <em>not </em>include &#8220;solids&#8221; in a classic CAD sense now (it is still &#8220;only&#8221; a surface modeler), this set of tools adds a variety of boolean operations (union, subtract, intersect etc.) to the SketchUp toolset. The only downside: while this is an exciting addition, it is only available for Pro users.<br />
 <img class="alignnone size-full wp-image-2467" title="SU_solid_tools" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/09/SU_solid_tools.png" alt="" width="200" height="59" /> </li>
<li><span id="more-2453"></span>A feature that should make users happy is that now <strong>toolbar locations can be saved and restored</strong>. This does not fix the nagging toolbar reshuffling that happens occasionally but it offers a fix for when it happens.</li>
<li><strong>Outer Shell </strong>- This feature discards all internal geometry of a shape. It will be very useful for reducing geometry for geo-modeling (and Google Earth upload) as well as 3D printing.</li>
<li>A new toolbar to facilitate setting the <strong>north angle</strong> (the image also shows the new &#8220;face&#8221; of version 8: Susan!<br />
 <a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/09/SU_North_Angle.png"  class="thickbox"><img class="alignnone size-full wp-image-2465" title="SU_North_Angle" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/09/SU_North_Angle.png" alt="" width="427" height="372" /></a> </li>
<li><strong>Updated DWG/DXF 2010 import/export</strong> &#8211; Another Pro-only feature (remember that this was removed from the free version with the 7.1 release).</li>
<li>And some nice-to-have additions:
<ul>
<li><strong>Scene Thumbnails</strong> &#8211; This makes reorganizing scenes much easier</li>
<li><strong>Back Edges</strong> &#8211; These can now be shown dashed right in SketchUp</li>
<li><strong>Push/Pull pre-selected faces</strong> &#8211; This makes the Push-pull tool behave more like the other editing tools</li>
<li><strong>Calculate volumes </strong>- This comes with the new solid (&#8220;manifold geometry&#8221;) tools. Should be useful for calculating concrete volume etc.</li>
</ul>
</li>
<li><strong>LayOut</strong> also got some new features:
<ul>
<li>Angular Dimensions &#8211; To complete the available dimensioning tools</li>
<li>Dashed Lines are configurable</li>
<li>Precise Move</li>
</ul>
</li>
<li>The <strong>SketchUp Ruby API</strong> got enhanced with several new methods that deal with the new manifold geometry (&#8220;solid&#8221;) tools. It should also be noted that the Ruby engine that drives many plugins got updated. More on that should be on <a href="http://code.google.com/apis/sketchup/docs/releases.html">this page</a> soon.
<ul>
</ul>
</li>
</ul>
<p>You can watch a short video overview of the new tools below. There is also a nice, official <a href="http://sketchupdate.blogspot.com/2010/09/announcing-google-sketchup-8.html">blog post</a> and a <a href="http://sketchup.google.com/product/newin8.html">website</a> (and some <a href="http://sketchup.google.com/support/bin/static.py?page=release_notes.cs">release notes</a> &#8211; and <a href="http://sketchup.google.com/support/bin/answer.py?answer=115424">even more</a>) to read through.</p>
<p>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/eytIbyXzCMQ&amp;feature" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/eytIbyXzCMQ&amp;feature"></embed></object>
</p>
<p>Although there are lots of great new features, I am still missing others that would have justified the new major release number (8 as opposed to 7.2) a little better. My personal favorite would have been a better way to deal with plugins. The extension capability through Ruby plugins is such a major feature of SketchUp (especially given many recent, powerful plugins) that a better plugin management &#8211; including a version-checking and updating function &#8211; would have provided a useful, broadly-aimed feature. After all, this idea was rated second-highest on last year&#8217;s <a href="http://productideas.appspot.com/#15/e=2191e&amp;t=220cc">product ideas list</a>.</p>
<p>Leaving my pet-peeve request aside, release #8 delivers quite a few interesting new features and improvements that offer something new and useful for every kind of user.</p>

	Post tags: <a href="http://www.alexschreyer.net/tag/3d/" title="3D" rel="tag">3D</a>, <a href="http://www.alexschreyer.net/category/cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/aec-cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/google/" title="Google" rel="tag">Google</a>, <a href="http://www.alexschreyer.net/tag/google-earth/" title="Google Earth" rel="tag">Google Earth</a>, <a href="http://www.alexschreyer.net/tag/plugin/" title="plugin" rel="tag">plugin</a>, <a href="http://www.alexschreyer.net/tag/ruby/" title="Ruby" rel="tag">Ruby</a>, <a href="http://www.alexschreyer.net/tag/sketchup/" title="SketchUp" rel="tag">SketchUp</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alexschreyer.net/cad/sketchup-7-is-here/" title="SketchUp 7 is here! (November 15, 2008)">SketchUp 7 is here!</a> (1)</li>
	<li><a href="http://www.alexschreyer.net/cad/visualizing-data-with-sketchup/" title="Visualizing Data with SketchUp (November 8, 2008)">Visualizing Data with SketchUp</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-script-clips-2-creating-geometry/" title="SketchUp script clips #2: Creating geometry (March 9, 2010)">SketchUp script clips #2: Creating geometry</a> (1)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-7-1-has-landed/" title="SketchUp 7.1 has landed! (September 22, 2009)">SketchUp 7.1 has landed!</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/welcome-to-the-studio/" title="Welcome to the Studio (March 9, 2009)">Welcome to the Studio</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alexschreyer.net/cad/sketchup-8-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Collaborating with the Butterfly</title>
		<link>http://www.alexschreyer.net/cad/collaborating-with-the-butterfly/</link>
		<comments>http://www.alexschreyer.net/cad/collaborating-with-the-butterfly/#comments</comments>
		<pubDate>Fri, 14 May 2010 05:24:30 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[AEC CAD]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[AutoCAD]]></category>
		<category><![CDATA[Autodesk]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Earth]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.alexschreyer.net/?p=2317</guid>
		<description><![CDATA[I have blogged about Autodesk&#8217;s new online offering &#8211; Project Butterfly &#8211; before, but today, Tal Weiss, former co-founder of VisualTao and now Senior Software Development Manager with Autodesk, gave me an interesting presentation of the collaboration features that have been added recently.

With more than 25,000 documents already uploaded into the system, Autodesk wants to [...]]]></description>
			<content:encoded><![CDATA[<p>I have blogged about Autodesk&#8217;s new online offering &#8211; <strong>Project Butterfly</strong> &#8211; <a title="before" href="http://www.alexschreyer.net/cad/autocad-on-the-web-project-butterfly/">before</a>, but today, Tal Weiss, former co-founder of VisualTao and now Senior Software Development Manager with <a title="Autodesk" href="http://www.autodesk.com/">Autodesk</a>, gave me an interesting presentation of the collaboration features that have been added recently.</p>
<p><a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/05/CoEdit2-Medium.jpg"  class="thickbox"><img class="alignnone size-medium wp-image-2322" title="CoEdit2 (Medium)" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/05/CoEdit2-Medium-440x330.jpg" alt="" width="440" height="330" /></a></p>
<p>With more than 25,000 documents already uploaded into the system, Autodesk wants to position Project Butterfly as the &#8220;Google Docs for AutoCAD&#8221;. Beyond being able to <a title="edit an AutoCAD drawing online" href="http://www.alexschreyer.net/cad/autocad-on-the-web-project-butterfly/">edit an AutoCAD drawing online</a> (which by itself is a great feature), these are the collaboration options:</p>
<ul>
<li><strong>Share a DWG file for editing, redlining or just viewing. </strong>Various options allow for control of sharing parameters determining who sees what. It is also possible to revoke permissions as needed (for example after bidding on a project has ended).</li>
<li><strong>Crop a view and share only a portion of a file. </strong>This cuts down on clutter when sharing large documents.</li>
<li><strong>Co-editing and chat. </strong>Multiple users can edit the same file <em>synchronously</em>. As an added benefit, collaborators can bring up a handy chat window to talk about what they are doing.<br />
 <a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/05/CoEdit-Medium.jpg"  class="thickbox"><img class="alignnone size-medium wp-image-2323" title="CoEdit (Medium)" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/05/CoEdit-Medium-440x330.jpg" alt="" width="440" height="330" /></a> </li>
<li><strong><span id="more-2317"></span>Share any file in Butterfly&#8217;s file browser. </strong>This would allow using Butterfly&#8217;s web space as a central document repository (organized e.g. per project). Given the (current?) promise of unlimited webspace, this is a great plus. One feature that I am still missing here is versioning for non-DWG files, but that may be on the horizon. Also, at this point, non-DWG and non-image files can only be downloaded, not viewed online. It should at least be possible to open a PDF file in a separate window. There may also be an opportunity for inclusion of another Google service (Docs!) here.<br />
 <a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/05/FileSystem-Medium.jpg"  class="thickbox"><img class="alignnone size-medium wp-image-2325" title="FileSystem (Medium)" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/05/FileSystem-Medium-440x330.jpg" alt="" width="440" height="330" /></a> </li>
</ul>
<p>Another very interesting new feature is the <strong>inclusion of Google Maps</strong>. At this point, a Google Map view can be underlaid under a drawing and scaled to the drawing&#8217;s dimensions. This even allows for use of Butterfly as a lightweight GIS viewer, where layer-based features (e.g. utility lines) can be viewed together with topography information and orthophotos. Unfortunately scaling is not based on the model dimensions (which shouldn&#8217;t be too hard to implement) and positioning should be coordinate-based to make this a more precise tool. But at least it offers great opportunity for visualization of anything from sewer pipes to building floorplans.</p>
<p><a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/05/GoogleMaps-Medium.jpg"  class="thickbox"><img class="alignnone size-medium wp-image-2321" title="GoogleMaps (Medium)" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/05/GoogleMaps-Medium-440x330.jpg" alt="" width="440" height="330" /></a></p>
<p>One question that will be central for most users is <strong>data fidelity</strong>: &#8220;Will the content of my uploaded file be fully preserved when I download the edited file?&#8221; Autodesk&#8217;s answer is that the uploaded file gets processed by their RealDWG engine. Once a download is requested, changes made in Butterfly will then be merged into the original file and the result will be served, which should preserve all original data. Unfortunately I haven&#8217;t had a chance to try this out, so feel free to leave any comments on this process below if you have.</p>
<p>Another important point is <strong>data security</strong>. Unfortunately this is not clearly visible at the moment. When a user logs on, he/she does so on a page that isn&#8217;t SSL-secured (the &#8220;s&#8221; is missing on the &#8220;http&#8221;). So it isn&#8217;t immediately clear that uploading proprietary company files happens over a secure connection. As Weiss outlined, a lack of SSL encryption is inconsequential since the only component transferred over http is the Flash-viewer. All uploading and downloading happens through a secure and encrypted connection within the Flash environment. Also, data is stored on Amazon&#8217;s S3 servers that are used by many online services.</p>
<p>When I asked about Autodesk&#8217;s <strong>3D software (like Revit or Inventor)</strong>, I was told that the current focus of Butterfly is on AutoCAD users but that in the future, expanding this platform vertically (literally and figuratively) into 3D is an option. At this point, the most likely use scenario with these programs is to export a DWG, then import it into Butterfly for collaboration and editing and then link the DWG back into the 3D software to make edits manually.</p>
<p>I am curious to see how Autodesk incorporates this online branch into their desktop software. I am sure, we&#8217;ll soon see an &#8220;Export to Butterfly&#8221; button. Hopefully this will offer some functionality to link and merge files easily. In any case, Butterfly will likely not be as freely accessible to everyone as it is now in its beta stage. It would be great, though, if basic functionality like viewing DWG/DWF files and markup/measurement would remain free. That would offer an alternative to installing numerous viewers and would be in line with Autodesk&#8217;s Design Review product philosophy.</p>
<p>Similar to my older post, I&#8217;ll end this post with a <strong>wishlist </strong>(use the feature request button in Butterfly to submit yours):</p>
<ul>
<li>Support American units (feet and inches).</li>
<li>More precise positioning and scaling in the Google Map view.</li>
<li>File versioning for non-DWG files and online viewing of office- and PDF files.</li>
<li>File&gt;New. This would allow Butterfly to work ass a basic no-installation CAD software.</li>
</ul>
<p><strong>You can find out more about Project Butterfly here:</strong></p>
<ul>
<li><a href="http://butterfly.autodesk.com/">http://butterfly.autodesk.com/</a> &#8211; Try it out for yourself</li>
<li><a href="http://autodeskbutterfly.wordpress.com/">http://autodeskbutterfly.wordpress.com/</a> &#8211; The official blog</li>
<li><a href="http://www.youtube.com/autodeskbutterfly">http://www.youtube.com/autodeskbutterfly</a> &#8211; Youtube channel</li>
</ul>

	Post tags: <a href="http://www.alexschreyer.net/category/cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/aec-cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/architecture/" title="architecture" rel="tag">architecture</a>, <a href="http://www.alexschreyer.net/tag/autocad/" title="AutoCAD" rel="tag">AutoCAD</a>, <a href="http://www.alexschreyer.net/tag/autodesk/" title="Autodesk" rel="tag">Autodesk</a>, <a href="http://www.alexschreyer.net/tag/google/" title="Google" rel="tag">Google</a>, <a href="http://www.alexschreyer.net/tag/google-earth/" title="Google Earth" rel="tag">Google Earth</a>, <a href="http://www.alexschreyer.net/tag/web/" title="web" rel="tag">web</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alexschreyer.net/cad/web-based-application-trials-from-autodesk-a-great-idea/" title="Web-Based Application trials from Autodesk &#8211; A Great Idea! (October 7, 2009)">Web-Based Application trials from Autodesk &#8211; A Great Idea!</a> (2)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-7-1-has-landed/" title="SketchUp 7.1 has landed! (September 22, 2009)">SketchUp 7.1 has landed!</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/autodesk-sells-something-for-2-99-sketchbook-mobile-for-the-iphoneipod-touch/" title="Autodesk sells something for $2.99! SketchBook Mobile for the iPhone/iPod Touch (September 17, 2009)">Autodesk sells something for $2.99! SketchBook Mobile for the iPhone/iPod Touch</a> (1)</li>
	<li><a href="http://www.alexschreyer.net/cad/autocad-on-the-web-project-butterfly/" title="AutoCAD on the web: Project Butterfly (January 22, 2010)">AutoCAD on the web: Project Butterfly</a> (2)</li>
	<li><a href="http://www.alexschreyer.net/cad/why-cant-everything-be-ecotect/" title="Why can&#8217;t everything be like Ecotect? (May 11, 2010)">Why can&#8217;t everything be like Ecotect?</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alexschreyer.net/cad/collaborating-with-the-butterfly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why can&#8217;t everything be like Ecotect?</title>
		<link>http://www.alexschreyer.net/cad/why-cant-everything-be-ecotect/</link>
		<comments>http://www.alexschreyer.net/cad/why-cant-everything-be-ecotect/#comments</comments>
		<pubDate>Tue, 11 May 2010 16:00:42 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[AEC CAD]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[Autodesk]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.alexschreyer.net/?p=2298</guid>
		<description><![CDATA[
 Autodesk Ecotect Analysis 2011 System Requirements
Let me make this point clear first: I fully understand that professional-grade software packages are complex and extensive. They use high-powered computation and extensive libraries and therefore need resources. But my goodness &#8211; does Autodesk ever fill up my hard disk!
Now that the spring semester is coming to a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/05/2010-05-07_1518-Small.png"  class="thickbox"><img class="alignnone size-medium wp-image-2299" title="2010-05-07_1518 (Small)" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/05/2010-05-07_1518-Small-440x176.png" alt="" width="440" height="176" /><br />
 </a><em>Autodesk Ecotect Analysis 2011 System Requirements</em></p>
<p>Let me make this point clear first: I fully understand that professional-grade software packages are complex and extensive. They use high-powered computation and extensive libraries and therefore need resources. But my goodness &#8211; does <a href="/tag/autodesk/">Autodesk</a> ever fill up my hard disk!</p>
<p>Now that the spring semester is coming to a close, it is time for me to again look at the upcoming software releases that are to be used for teaching and will be installed in our computer labs. Since Autodesk recently released the 2011 lineup of their software (and in the meantime has posted them on the <a title="student community" href="http://students.autodesk.com/">student community</a> as well), I needed to look at the system requirements for all of them. The resources required to run their software are mind-blowing! Apparently every but one Autodesk software package requires more than 1 Gigabyte of space on the harddisk. Several packages even require 5 GB or more.</p>
<p>The one laudable exemption to this resource-guzzling lineup is <strong><a href="http://usa.autodesk.com/adsk/servlet/pc/index?id=12602821&amp;siteID=123112">Ecotect Analysis</a></strong>, the building energy analysis program, originally developed by <a href="http://www.squ1.com" target="_blank">Square1</a>. Maybe in tune with its goal of lowering environmental footprints of buildings, it is notably small.</p>
<p>Let&#8217;s see how long Ecotect will be able to stay small. Yes, its graphics engine could use some tuning and at least in the 2010 version, the famous ribbon wasn&#8217;t there yet but please, Autodesk, don&#8217;t overdo it on the bloat in future development.</p>
<p><span id="more-2298"></span>If you take a closer look at the Autodesk Revit installation (the 2010 version in my case), you&#8217;ll notice that most of the space is taken by the Rendering support files and the family library. The image below shows the file types and as can be expected the single largest file is a sky environment: &#8220;hemispherical_002_half_tiled.exr&#8221;.</p>
<p><a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/05/files.jpg"  class="thickbox"><img class="alignnone size-medium wp-image-2310" title="files" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/05/files-440x205.jpg" alt="" width="440" height="205" /><br />
 </a><em>List created with <a title="WinDirStat" href="http://windirstat.info/">WinDirStat</a></em></p>

	Post tags: <a href="http://www.alexschreyer.net/category/cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/aec-cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/architecture/" title="architecture" rel="tag">architecture</a>, <a href="http://www.alexschreyer.net/tag/autodesk/" title="Autodesk" rel="tag">Autodesk</a>, <a href="http://www.alexschreyer.net/tag/education/" title="education" rel="tag">education</a>, <a href="http://www.alexschreyer.net/tag/software/" title="software" rel="tag">software</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alexschreyer.net/cad/autodesk-sells-something-for-2-99-sketchbook-mobile-for-the-iphoneipod-touch/" title="Autodesk sells something for $2.99! SketchBook Mobile for the iPhone/iPod Touch (September 17, 2009)">Autodesk sells something for $2.99! SketchBook Mobile for the iPhone/iPod Touch</a> (1)</li>
	<li><a href="http://www.alexschreyer.net/cad/web-based-application-trials-from-autodesk-a-great-idea/" title="Web-Based Application trials from Autodesk &#8211; A Great Idea! (October 7, 2009)">Web-Based Application trials from Autodesk &#8211; A Great Idea!</a> (2)</li>
	<li><a href="http://www.alexschreyer.net/cad/nice-match-carbon-neutral-design-with-revit-and-gbs/" title="Nice match: Carbon neutral design with Revit and GBS! (November 6, 2007)">Nice match: Carbon neutral design with Revit and GBS!</a> (2)</li>
	<li><a href="http://www.alexschreyer.net/cad/gone-shoppin/" title="Gone Shoppin&#8217;&#8230; (June 26, 2008)">Gone Shoppin&#8217;&#8230;</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/getting-ready-for-2010-in-the-autodesk-world/" title="Getting ready for 2010 in the Autodesk world (May 8, 2009)">Getting ready for 2010 in the Autodesk world</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alexschreyer.net/cad/why-cant-everything-be-ecotect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SketchUp Ruby Editor updated to v.1.2</title>
		<link>http://www.alexschreyer.net/cad/sketchup-ruby-editor-updated-to-v-1-2/</link>
		<comments>http://www.alexschreyer.net/cad/sketchup-ruby-editor-updated-to-v-1-2/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 03:01:35 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[AEC CAD]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[SketchUp]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.alexschreyer.net/?p=2204</guid>
		<description><![CDATA[
I just posted an update to the SketchUp Ruby Code Editor. It now sports buttons instead of text, which makes it easier to use on a small screen. It also has three new buttons: One to explore the current selection, one to explore attributes of the current selection and a third to display the Ruby [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/04/2010-04-13_2249.png"  class="thickbox"><img class="alignnone size-medium wp-image-2205" title="2010-04-13_2249" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/04/2010-04-13_2249-405x400.png" alt="" width="405" height="400" /></a></p>
<p>I just posted an update to the SketchUp Ruby Code Editor. It now sports buttons instead of text, which makes it easier to use on a small screen. It also has three new buttons: One to explore the current selection, one to explore attributes of the current selection and a third to display the Ruby console on the fly. These features make working with what is already in the model a bit easier.</p>
<p>In addition to this, I also added a button that allows you to check for updates.</p>
<p>You can download it now from the <a href="/projects/sketchup-ruby-code-editor/">project page</a>.</p>

	Post tags: <a href="http://www.alexschreyer.net/category/cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/aec-cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/jquery/" title="jQuery" rel="tag">jQuery</a>, <a href="http://www.alexschreyer.net/tag/plugin/" title="plugin" rel="tag">plugin</a>, <a href="http://www.alexschreyer.net/tag/ruby/" title="Ruby" rel="tag">Ruby</a>, <a href="http://www.alexschreyer.net/tag/sketchup/" title="SketchUp" rel="tag">SketchUp</a>, <a href="http://www.alexschreyer.net/tag/software/" title="software" rel="tag">software</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alexschreyer.net/cad/sketchup-script-clips-2-creating-geometry/" title="SketchUp script clips #2: Creating geometry (March 9, 2010)">SketchUp script clips #2: Creating geometry</a> (1)</li>
	<li><a href="http://www.alexschreyer.net/cad/my-newest-plugin-a-shiny-ruby-code-editor-for-sketchup/" title="My Newest Plugin: A Shiny Ruby Code Editor for SketchUp (February 4, 2010)">My Newest Plugin: A Shiny Ruby Code Editor for SketchUp</a> (1)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-script-clips-1-setup-and-basic-ideas/" title="SketchUp script clips #1: Setup and basic ideas (March 8, 2010)">SketchUp script clips #1: Setup and basic ideas</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-ruby-api-cheatsheet/" title="SketchUp Ruby API Cheatsheet (September 28, 2009)">SketchUp Ruby API Cheatsheet</a> (2)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-8-is-out/" title="SketchUp 8 is out (September 1, 2010)">SketchUp 8 is out</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alexschreyer.net/cad/sketchup-ruby-editor-updated-to-v-1-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Revit 2011 Features</title>
		<link>http://www.alexschreyer.net/cad/new-revit-2011-features/</link>
		<comments>http://www.alexschreyer.net/cad/new-revit-2011-features/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 20:18:28 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[AEC CAD]]></category>
		<category><![CDATA[AutoCAD]]></category>
		<category><![CDATA[Autodesk]]></category>
		<category><![CDATA[Revit]]></category>

		<guid isPermaLink="false">http://www.alexschreyer.net/?p=2197</guid>
		<description><![CDATA[


It is spring again and the Revit web is as much abuzz with postings about the new Revit version (2011) as there are fresh buds on our tree in the garden. Based on what I have seen so far on Revit3D.com and elsewhere, I am very much looking forward to the new version. To whet [...]]]></description>
			<content:encoded><![CDATA[<p>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/EXG_xjOuDlY" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/EXG_xjOuDlY"></embed></object>
</p>
<p>It is spring again and the Revit web is as much abuzz with postings about the new Revit version (2011) as there are fresh buds on our tree in the garden. Based on what I have seen so far on <a href="http://bimboom.blogspot.com">Revit3D.com</a> and elsewhere, I am very much looking forward to the new version. To whet your appetite, too, sit back and watch a bunch of release videos from Autodesk on their YouTube channel:</p>
<p><a href="http://www.youtube.com/AutodeskBuilding">http://www.youtube.com/AutodeskBuilding</a></p>
<p>Some of my favorite new features are:</p>
<ul>
<li>Modeless properties palette (finally!)</li>
<li>Better 3D alignment</li>
<li>Inclusion of structural tools</li>
<li>Conceptual design improvements</li>
<li>Autodesk Revit DB link</li>
<li>Visual sun path simulation</li>
<li>New view styles (including ambient occlusion)</li>
<li>Various API enhancements</li>
</ul>

	Post tags: <a href="http://www.alexschreyer.net/category/cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/aec-cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/autocad/" title="AutoCAD" rel="tag">AutoCAD</a>, <a href="http://www.alexschreyer.net/tag/autodesk/" title="Autodesk" rel="tag">Autodesk</a>, <a href="http://www.alexschreyer.net/tag/revit/" title="Revit" rel="tag">Revit</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alexschreyer.net/cad/web-based-application-trials-from-autodesk-a-great-idea/" title="Web-Based Application trials from Autodesk &#8211; A Great Idea! (October 7, 2009)">Web-Based Application trials from Autodesk &#8211; A Great Idea!</a> (2)</li>
	<li><a href="http://www.alexschreyer.net/cad/weekly-or-so-cad-roundup/" title="Weekly (or so) CAD roundup (March 24, 2009)">Weekly (or so) CAD roundup</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/typical-types-and-others/" title="Typical Types and Others (March 11, 2009)">Typical Types and Others</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/now-where-did-i-put-that-generic-countertop-and-sink-assembly-with-backsplash/" title="Now where did I put that generic countertop and sink assembly with backsplash? (October 24, 2008)">Now where did I put that generic countertop and sink assembly with backsplash?</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/nice-match-carbon-neutral-design-with-revit-and-gbs/" title="Nice match: Carbon neutral design with Revit and GBS! (November 6, 2007)">Nice match: Carbon neutral design with Revit and GBS!</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alexschreyer.net/cad/new-revit-2011-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SketchUp script clips #2: Creating geometry</title>
		<link>http://www.alexschreyer.net/cad/sketchup-script-clips-2-creating-geometry/</link>
		<comments>http://www.alexschreyer.net/cad/sketchup-script-clips-2-creating-geometry/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 04:14:10 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[AEC CAD]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[SketchUp]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.alexschreyer.net/?p=2155</guid>
		<description><![CDATA[
In this section, we&#8217;ll start creating scripted geometry in SketchUp. In this and all following posts, I&#8217;ll approach SketchUp scripting in a pragmatic way. This means that I don&#8217;t think every step in the process should be scripted &#8211; after all, I am not writing a plugin. I&#8217;ll only script what can&#8217;t efficiently be modeled [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/03/Panels-1-Medium.jpg"  class="thickbox"><img class="alignnone size-medium wp-image-2160" title="Panels 1 (Medium)" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/03/Panels-1-Medium-440x226.jpg" alt="" width="440" height="226" /></a></p>
<p>In this section, we&#8217;ll start creating scripted geometry in SketchUp. In this and all following posts, I&#8217;ll approach SketchUp scripting in a pragmatic way. This means that I don&#8217;t think every step in the process should be scripted &#8211; after all, I am not writing a plugin. I&#8217;ll only script what can&#8217;t efficiently be modeled by hand and I&#8217;ll use standard SketchUp modeling tools to finish up a project.</p>
<p>Before you get going, make sure you have read the <a title="first installment of this series" href="http://www.alexschreyer.net/cad/sketchup-script-clips-1-setup-and-basic-ideas/">first installment of this series</a> and have the latest version of the <a title="Ruby Code Editor" href="http://www.alexschreyer.net/projects/sketchup-ruby-code-editor/">Ruby Code Editor</a> installed.</p>
<p>Creating geometry is pretty easy with the <a title="SketchUp Ruby API" href="http://code.google.com/apis/sketchup/">SketchUp Ruby API</a>. In essence, you will be adding to the collection of entities in the current model. To do this, you can use any of these methods of the <a title="entities object" href="http://code.google.com/apis/sketchup/docs/ourdoc/entities.html">entities object</a>:</p>
<p style="padding-left: 30px;"><strong>Entities (Parent: Object)</strong><br />
 .[] .add_3d_text .add_arc .add_circle<br />
 .add_cline .add_cpoint .add_curve<br />
 .add_edges .add_face<br />
 .add_faces_from_mesh .add_group<br />
 .add_image .add_instance .add_line<br />
 .add_ngon .add_observer .add_text<br />
 .at .clear! .count .each .erase_entities<br />
 .fill_from_mesh .intersect_with .length<br />
 .model .parent .remove_observer<br />
 .transform_by_vectors<br />
 .transform_entities</p>
<p><span id="more-2155"></span>Once you get a hold of the entities collection using the following line, simply add to the collection whatever you need.</p>
<pre lang="ruby">entities = Sketchup.active_model.entities</pre>
<p>To get us started, let&#8217;s create a 3D grid of regularly spaced boxes. In the following little bit of code, we&#8217;ll define a number of boxes per axis (&#8220;n&#8221;), a box spacing (&#8220;s&#8221;) and a box width (&#8220;w&#8221;). Please note: All lengths are entered as numbers, which means that they default to inches. If you need to use other units, write dimensions like this:</p>
<pre>s = "1m".to_l
</pre>
<p>Paste the following code into the Ruby Code Editor in SketchUp and click on &#8220;Run Code&#8221;:</p>
<pre lang="ruby"># Creates a 3D grid of boxes

entities = Sketchup.active_model.entities

n = 5
s = 100
w = 20

(0..n-1).each { |i|
  (0..n-1).each { |j|
    (0..n-1).each { |k|
      face = entities.add_face [i*s,j*s,k*s],[i*s,j*s+w,k*s],[i*s+w,j*s+w,k*s],[i*s+w,j*s,k*s]
      face.pushpull -w
    }
  }
}</pre>
<p>This will be the result:</p>
<p><a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/03/Many-boxes-4-Medium.jpg"  class="thickbox"><img class="alignnone size-medium wp-image-2158" title="Many boxes 4 (Medium)" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/03/Many-boxes-4-Medium-440x218.jpg" alt="" width="440" height="218" /></a></p>
<p>While this gets the job done, it is not very efficient. After all, we are creating geometry for each of the many boxes. In SketchUp, the approach that takes less computational effort and less space on the harddisk is usually to create one box, convert it to a component and then just insert component instances. Instead of saving a whole lot of geometry, only insertion points are then being saved. The following code does this by creating a grouped box, converting it into a component and then copying it multiple times using transformations.</p>
<pre lang="ruby"># Creates a 3D grid of boxes using components

n = 5
s = 100
w = 20

entities = Sketchup.active_model.entities
group = Sketchup.active_model.entities.add_group
face = group.entities.add_face [0,0,0],[w,0,0],[w,w,0],[0,w,0]
face.pushpull -w
comp = group.to_component

(0..n).each { |i|
  (0..n).each { |j|
    (0..n).each { |k|
       transformation = Geom::Transformation.new([i*s,j*s,k*s])
       componentinstance = entities.add_instance(comp.definition, transformation)
    }
  }
}</pre>
<p>I&#8217;ll cover transformations (move, copy, rotate, scale) in detail in a later post.<br class="spacer_" /></p>
<p>Scripting geometry becomes especially effective when we use a non-linear formula to define size, position etc. The next piece of code creates a rectangular grid of circles whose size is determined in two directions by a sine function.</p>
<p>Paste the following code into the Ruby Code Editor in SketchUp and click  on &#8220;Run Code&#8221;:</p>
<pre lang="ruby"># Creates a square panel with a sinusoidal hole pattern

entities = Sketchup.active_model.entities

width = 36
n = 10
s = width/(n+1).to_f

entities.add_face [0,0,0],[width,0,0],[width,width,0],[0,width,0]

(0..n-1).each { |i|
  (0..n-1).each { |j|
    entities.add_circle [s+i*s,s+j*s,0], [0,0,1], sin(i/(n-1).to_f*1*PI)*s/5.0+sin(j/(n-1).to_f*1*PI)*s/5.0
  }
}</pre>
<p>Here&#8217;s the resulting panel after using the pushpull tool:</p>
<p><a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/03/Panels-2b-Medium.jpg"  class="thickbox"><img class="alignnone size-medium wp-image-2161" title="Panels 2b (Medium)" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/03/Panels-2b-Medium-440x220.jpg" alt="" width="440" height="220" /></a></p>
<p>You can get creative with this little bit of code if you replace some of the &#8220;sin&#8221; functions with &#8220;cos&#8221; and also play with the factors that end up determining circle diameter (the last parameter in the &#8220;add_circle&#8221; method). A variation of this is shown in the topmost image in this post.</p>
<p>One thing that stumped me at first was Ruby&#8217;s reluctance to give me a floating point value after dividing two integers. That is the reason why you see &#8220;.to_f&#8221; in a few places in the code. This little snippet converts a number to a &#8220;float&#8221;. In addition, it may be possible that you need to add the Math class to the &#8220;sin&#8221; function. It works fine for me as shown but the long version would be:</p>
<pre>Math.sin(x)
</pre>
<p>By the way: The best way to access the reference for the &#8220;add_circle&#8221; method while you are coding is of course the Reference Browser tab directly within the Ruby Code Editor:</p>
<p><a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/03/Screenshot-3_9_2010-22_53_24.png"  class="thickbox"><img class="alignnone size-medium wp-image-2170" title="Screenshot - 3_9_2010 , 22_53_24" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/03/Screenshot-3_9_2010-22_53_24-428x400.png" alt="" width="428" height="400" /></a></p>
<p>Happy scripting!</p>
<p>Last in this series: <a title="Setup and basic ideas" href="http://www.alexschreyer.net/cad/sketchup-script-clips-1-setup-and-basic-ideas/">Setup and basic ideas</a><br />
Next in this series: More to follow soon&#8230;</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">
<h2><a title="&lt;span id='fee_2128' class='fee-field  fee-filter-the_title'&gt;SketchUp script clips #1: Setup and basic  ideas&lt;/span&gt;" rel="bookmark" href="../../cad/sketchup-script-clips-1-setup-and-basic-ideas/">SketchUp script clips #1:</a></h2>
</div>

	Post tags: <a href="http://www.alexschreyer.net/tag/3d/" title="3D" rel="tag">3D</a>, <a href="http://www.alexschreyer.net/category/cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/aec-cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/design/" title="Design" rel="tag">Design</a>, <a href="http://www.alexschreyer.net/tag/plugin/" title="plugin" rel="tag">plugin</a>, <a href="http://www.alexschreyer.net/tag/ruby/" title="Ruby" rel="tag">Ruby</a>, <a href="http://www.alexschreyer.net/tag/sketchup/" title="SketchUp" rel="tag">SketchUp</a>, <a href="http://www.alexschreyer.net/tag/software/" title="software" rel="tag">software</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alexschreyer.net/cad/sketchup-script-clips-1-setup-and-basic-ideas/" title="SketchUp script clips #1: Setup and basic ideas (March 8, 2010)">SketchUp script clips #1: Setup and basic ideas</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-ruby-editor-updated-to-v-1-2/" title="SketchUp Ruby Editor updated to v.1.2 (April 13, 2010)">SketchUp Ruby Editor updated to v.1.2</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-8-is-out/" title="SketchUp 8 is out (September 1, 2010)">SketchUp 8 is out</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/my-newest-plugin-a-shiny-ruby-code-editor-for-sketchup/" title="My Newest Plugin: A Shiny Ruby Code Editor for SketchUp (February 4, 2010)">My Newest Plugin: A Shiny Ruby Code Editor for SketchUp</a> (1)</li>
	<li><a href="http://www.alexschreyer.net/cad/wood-cad-chips-1-sketchup-for-woodworking/" title="Wood CAD Chips #1: SketchUp for Woodworking (January 17, 2009)">Wood CAD Chips #1: SketchUp for Woodworking</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alexschreyer.net/cad/sketchup-script-clips-2-creating-geometry/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SketchUp script clips #1: Setup and basic ideas</title>
		<link>http://www.alexschreyer.net/cad/sketchup-script-clips-1-setup-and-basic-ideas/</link>
		<comments>http://www.alexschreyer.net/cad/sketchup-script-clips-1-setup-and-basic-ideas/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 03:59:25 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[AEC CAD]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Rhino]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[SketchUp]]></category>

		<guid isPermaLink="false">http://www.alexschreyer.net/?p=2128</guid>
		<description><![CDATA[
In this series of posts, I will be exploring how one can create scripted geometry in SketchUp. Traditionally, this has been more the realm of programs like Rhino. And justifiably so. Rhino is NURBS-based and can create and modify curved geometry much better than SketchUp. However, SketchUp is an easy-to-use program for working with polygon-mesh-based [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/03/Sine-art-1-e1267553044789.jpg"  class="thickbox"><img class="size-medium wp-image-2131 alignnone" title="A sine rotate-copy &quot;sculpture&quot;" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/03/Sine-art-1-439x211.jpg" alt="" width="439" height="211" /></a></p>
<p>In this series of posts, I will be exploring how one can create scripted geometry in SketchUp. Traditionally, this has been more the realm of programs like <a title="Rhino" href="http://www.rhino3d.com/">Rhino</a>. And justifiably so. Rhino is NURBS-based and can create and modify curved geometry much better than SketchUp. However, SketchUp is an easy-to-use program for working with polygon-mesh-based geometry. It also has a built-in scripting language (<a title="Ruby" href="http://www.ruby-lang.org/">Ruby</a>) and best of all &#8211; it&#8217;s <strong>free</strong>. So if you want to script SketchUp to automate small tasks or to create interesting geometry, then this may be a good series of posts to follow.</p>
<p>A word of warning: I will not talk about plugin development for SketchUp &#8211; although this may be the logical next step after starting to writing scripts for the program. This is discussed in more detail in the appropriate forums (<a title="SCF" href="http://forums.sketchucation.com/viewforum.php%3Ff%3D180">SketchUcation</a>&#8216;s or <a title="Google" href="http://groups.google.com/group/google-sketchup-developers">Google</a>&#8216;s). I will also not go over basic principles of the Ruby language. That is covered well <a title="elsewhere" href="http://www.ruby-lang.org/">elsewhere</a>, too. By the way: A great reference is O&#8217;Reilly&#8217;s $10 <a href="http://oreilly.com/catalog/9780596514815">reference book on Ruby</a>. And for navigating the SketchUp API, there is of course my <a title="SketchUp Ruby Cheatsheet" href="http://www.alexschreyer.net/cad/sketchup-ruby-api-cheatsheet/">SketchUp Ruby Cheatsheet</a>.</p>
<p>The order of these posts is mainly dependent on how I am using the software at the moment. Nevertheless, I will keep the examples as generic as possible so that you can modify them easily to suit your case.</p>
<p><span id="more-2128"></span>Okay, time to get this started. To begin, download SketchUp if you haven&#8217;t done so. This will work fine with the free version but you may want to consider the Pro version if you want to add the capability to print plans or load DWG/DXF geometry. Then install my Ruby Code Editor. Follow the instructions on the website, then re-start SketchUp and the editor menu item will appear under the plugins menu. Here are the links:</p>
<ul>
<li>Get <a href="http://sketchup.google.com/download/gsu.html">SketchUp</a> (Windows or Mac version)</li>
<li>Get the <a title="Ruby Code Editor" href="http://www.alexschreyer.net/projects/sketchup-ruby-code-editor/">Ruby Code Editor</a></li>
</ul>
<p>You can then try out the editor by loading the &#8220;create tubes.rb&#8221; file from the snippets folder. This is a textfile with Ruby code instructions. You can execute the code by clicking on the &#8220;Run Code&#8221; button. Tada! The following image shows what you should see in your model:</p>
<p><a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/02/Screenshot-2_4_2010-16_44_53.png"  class="thickbox"><img class="alignnone size-medium wp-image-2095" title="Screenshot - 2_4_2010 , 16_44_53" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/02/Screenshot-2_4_2010-16_44_53-440x271.png" alt="" width="440" height="271" /></a></p>
<p>Afterwards, click on the &#8220;Undo&#8221; button to see how you can undo the entire code  execution.</p>
<p>Now we&#8217;re good to go. Before I post the next clip, play around with the editor and explore its functionality a bit.</p>
<p>By the way: This series will use the SketchUp Ruby API methods that are built into SketchUp. There are plugin developments underway that may simplify some of the tasks and make Ruby scripting simpler. One of these is the alternate API (&#8220;Sketch Talk&#8221;) that is discussed on <a href="http://www.martinrinehart.com/models/tutorial/tutorial_toc.html">this website</a>.</p>
<p>For your reference, these are some webpages that may help you along the way:</p>
<ul>
<li><a title="SketchUp Ruby API documentation" href="http://code.google.com/apis/sketchup/docs/index.html">SketchUp Ruby API documentation</a></li>
<li><a href="http://code.google.com/apis/sketchup/docs/tutorial_geometry.html">SketchUp Ruby API tutorials</a></li>
<li>Martin Reinhart&#8217;s <a href="http://www.martinrinehart.com/models/tutorial/">Edges to Rubies E-book</a> (especially starting at Chapter 11)</li>
</ul>
<p>Next in this series: <a href="http://www.alexschreyer.net/cad/sketchup-script-clips-2-creating-geometry/">Creating geometry</a></p>

	Post tags: <a href="http://www.alexschreyer.net/category/cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/aec-cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/design/" title="Design" rel="tag">Design</a>, <a href="http://www.alexschreyer.net/tag/plugin/" title="plugin" rel="tag">plugin</a>, <a href="http://www.alexschreyer.net/tag/rhino/" title="Rhino" rel="tag">Rhino</a>, <a href="http://www.alexschreyer.net/tag/ruby/" title="Ruby" rel="tag">Ruby</a>, <a href="http://www.alexschreyer.net/tag/sketchup/" title="SketchUp" rel="tag">SketchUp</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alexschreyer.net/cad/sketchup-script-clips-2-creating-geometry/" title="SketchUp script clips #2: Creating geometry (March 9, 2010)">SketchUp script clips #2: Creating geometry</a> (1)</li>
	<li><a href="http://www.alexschreyer.net/cad/wood-cad-chips-1-sketchup-for-woodworking/" title="Wood CAD Chips #1: SketchUp for Woodworking (January 17, 2009)">Wood CAD Chips #1: SketchUp for Woodworking</a> (1)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-ruby-editor-updated-to-v-1-2/" title="SketchUp Ruby Editor updated to v.1.2 (April 13, 2010)">SketchUp Ruby Editor updated to v.1.2</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-8-is-out/" title="SketchUp 8 is out (September 1, 2010)">SketchUp 8 is out</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/shells-and-tension-structures/" title="Shells and tension structures (April 9, 2009)">Shells and tension structures</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alexschreyer.net/cad/sketchup-script-clips-1-setup-and-basic-ideas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby Code Editor Updated to Version 1.1</title>
		<link>http://www.alexschreyer.net/cad/ruby-code-editor-updated-to-version-1-1/</link>
		<comments>http://www.alexschreyer.net/cad/ruby-code-editor-updated-to-version-1-1/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 15:48:15 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[AEC CAD]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[SketchUp]]></category>

		<guid isPermaLink="false">http://www.alexschreyer.net/?p=2117</guid>
		<description><![CDATA[
I finally fixed some problems and added new features to  my SketchUp Ruby Code Editor. The result is a 1.1 version that is now available for download. The changes are:

Changed webdialog internal name for compatibility
Better looking  dropdowns under IE Win
Fixed save filename preselect problem
Better code execution and error catching (thanks to Dan Rathbun)
Faster [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/02/sketchup_ruby_editor_schreyer_01.jpg"  class="thickbox"><img class="alignnone size-medium wp-image-2113" title="sketchup_ruby_editor_schreyer_01" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/02/sketchup_ruby_editor_schreyer_01-440x393.jpg" alt="" width="440" height="393" /></a></p>
<p>I finally fixed some problems and added new features to  my SketchUp Ruby Code Editor. The result is a 1.1 version that is now available for download. The changes are:</p>
<ul>
<li>Changed webdialog internal name for compatibility</li>
<li>Better looking  dropdowns under IE Win</li>
<li>Fixed save filename preselect problem</li>
<li>Better code execution and error catching (thanks to Dan Rathbun)</li>
<li>Faster file loading for large files</li>
<li>Added cookie-based saving of  preferences</li>
<li>Added options panel</li>
<li>Added  changeable user interface</li>
<li>Modified some references, added tutorial  link</li>
</ul>
<p>The image above shows the dark user interfaces.  The editor comes with three different ones, so take your pick.</p>
<p>To download the new version, go to my <a href="/projects/sketchup-ruby-code-editor/">project page</a>.</p>

	Post tags: <a href="http://www.alexschreyer.net/category/cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/aec-cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/google/" title="Google" rel="tag">Google</a>, <a href="http://www.alexschreyer.net/tag/jquery/" title="jQuery" rel="tag">jQuery</a>, <a href="http://www.alexschreyer.net/tag/plugin/" title="plugin" rel="tag">plugin</a>, <a href="http://www.alexschreyer.net/tag/sketchup/" title="SketchUp" rel="tag">SketchUp</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alexschreyer.net/cad/some-sketchup-crumbs/" title="Some SketchUp Crumbs (March 5, 2009)">Some SketchUp Crumbs</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-ruby-editor-updated-to-v-1-2/" title="SketchUp Ruby Editor updated to v.1.2 (April 13, 2010)">SketchUp Ruby Editor updated to v.1.2</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-ruby-api-cheatsheet/" title="SketchUp Ruby API Cheatsheet (September 28, 2009)">SketchUp Ruby API Cheatsheet</a> (2)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-news-roundup/" title="SketchUp News Roundup (December 30, 2008)">SketchUp News Roundup</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-8-is-out/" title="SketchUp 8 is out (September 1, 2010)">SketchUp 8 is out</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alexschreyer.net/cad/ruby-code-editor-updated-to-version-1-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Newest Plugin: A Shiny Ruby Code Editor for SketchUp</title>
		<link>http://www.alexschreyer.net/cad/my-newest-plugin-a-shiny-ruby-code-editor-for-sketchup/</link>
		<comments>http://www.alexschreyer.net/cad/my-newest-plugin-a-shiny-ruby-code-editor-for-sketchup/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 22:02:11 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[AEC CAD]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[SketchUp]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.alexschreyer.net/?p=2096</guid>
		<description><![CDATA[
I always found Ruby code editing and testing for SketchUp a bit tedious. First I write code in my preferred text editor: PSPad. Then I load it into SketchUp using my plugin loader. And then I run it from the menu. Although there are better ways to handle this (e.g. the SketchUp bridge), I wanted [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/02/Screenshot-2_4_2010-16_44_53.png"  class="thickbox"><img class="size-medium wp-image-2095 alignnone" title="Screenshot - 2_4_2010 , 16_44_53" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/02/Screenshot-2_4_2010-16_44_53-440x271.png" alt="" width="440" height="271" /></a></p>
<p>I always found Ruby code editing and testing for SketchUp a bit tedious. First I write code in my preferred text editor: <a title="PSPad" href="http://www.pspad.com/">PSPad</a>. Then I load it into SketchUp using my <a title="plugin loader" href="http://www.alexschreyer.net/cad/new-sketchup-plugin-plugin-loader/">plugin loader</a>. And then I run it from the menu. Although there are better ways to handle this (e.g. the <a title="SketchUp bridge" href="http://labs.plugins.ro/">SketchUp bridge</a>), I wanted something more &#8220;in-house&#8221;. Enter Jim Folz&#8217;s <a title="Web Console" href="http://sketchuptips.blogspot.com/2007/08/plugin-webconsolerb.html">Web Console</a>.</p>
<p>Jim&#8217;s plugin has been a tremendous tool for testing multiline code right within SketchUp. Nevertheless, it was lacking the code-editor functionality that external editors offer.</p>
<p>While my plugin does not provide a full code-editor for SketchUp Ruby files (with e.g. syntax highlighting), it is pretty good at making it easier to edit code. At this point, it features font-size, tabulation and snippet support. On top of that, it contains a nicely usable reference web browser. Finish that off with some jQuery UI shinyness and there you have it &#8211; a whole new way to edit code in SketchUp. Enjoy!</p>
<p>You can find more information and download the plugin here:</p>
<p><a href="/projects/sketchup-ruby-code-editor">http://www.alexschreyer.net/projects/sketchup-ruby-code-editor</a></p>

	Post tags: <a href="http://www.alexschreyer.net/tag/3d/" title="3D" rel="tag">3D</a>, <a href="http://www.alexschreyer.net/category/cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/aec-cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/jquery/" title="jQuery" rel="tag">jQuery</a>, <a href="http://www.alexschreyer.net/tag/plugin/" title="plugin" rel="tag">plugin</a>, <a href="http://www.alexschreyer.net/tag/sketchup/" title="SketchUp" rel="tag">SketchUp</a>, <a href="http://www.alexschreyer.net/tag/software/" title="software" rel="tag">software</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alexschreyer.net/cad/sketchup-script-clips-2-creating-geometry/" title="SketchUp script clips #2: Creating geometry (March 9, 2010)">SketchUp script clips #2: Creating geometry</a> (1)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-ruby-editor-updated-to-v-1-2/" title="SketchUp Ruby Editor updated to v.1.2 (April 13, 2010)">SketchUp Ruby Editor updated to v.1.2</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/visualizing-data-with-sketchup/" title="Visualizing Data with SketchUp (November 8, 2008)">Visualizing Data with SketchUp</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-ruby-api-cheatsheet/" title="SketchUp Ruby API Cheatsheet (September 28, 2009)">SketchUp Ruby API Cheatsheet</a> (2)</li>
	<li><a href="http://www.alexschreyer.net/cad/sketchup-8-is-out/" title="SketchUp 8 is out (September 1, 2010)">SketchUp 8 is out</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alexschreyer.net/cad/my-newest-plugin-a-shiny-ruby-code-editor-for-sketchup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AutoCAD on the web: Project Butterfly</title>
		<link>http://www.alexschreyer.net/cad/autocad-on-the-web-project-butterfly/</link>
		<comments>http://www.alexschreyer.net/cad/autocad-on-the-web-project-butterfly/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 05:24:56 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[AEC CAD]]></category>
		<category><![CDATA[AutoCAD]]></category>
		<category><![CDATA[Autodesk]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.alexschreyer.net/?p=2068</guid>
		<description><![CDATA[

Extending their lineup of beta-version web-editors, Autodesk just released Project Butterfly. After Project Draw (drawing and diagramming), Project Dragonfly (space planning in isometric 3D), Project Showroom (rendered previews of interior design selections), their latest addition to the labs (the Butterfly) is an online DWG-editor. Made by an acquired company (Visual Tao) and Autodesk, this web [...]]]></description>
			<content:encoded><![CDATA[<p><br class="spacer_" /></p>
<div id="attachment_2069" class="wp-caption alignnone" style="width: 449px"><a href="http://www.alexschreyer.net/blog/wp-content/uploads/2010/01/Screenshot-1_20_2010-12_48_05.png"  class="thickbox"><img class="size-medium wp-image-2069" title="Autodesk Butterfly" src="http://www.alexschreyer.net/blog/wp-content/uploads/2010/01/Screenshot-1_20_2010-12_48_05-439x269.png" alt="" width="439" height="269" /></a><p class="wp-caption-text">Autodesk Butterfly Screenshot</p></div>
<p><br class="spacer_" /></p>
<p>Extending their lineup of beta-version web-editors, Autodesk just released <a href="http://butterfly.autodesk.com/">Project Butterfly</a>. After <a href="http://draw.labs.autodesk.com/">Project Draw</a> (drawing and diagramming), <a href="http://labs.autodesk.com/technologies/dragonfly/">Project Dragonfly</a> (space planning in isometric 3D), <a href="http://labs.autodesk.com/technologies/showroom/">Project Showroom</a> (rendered previews of interior design selections), their latest addition to the labs (the Butterfly) is an online DWG-editor. Made by an acquired company (Visual Tao) and Autodesk, this web service is basically a web-based lightweight AutoCAD.</p>
<p>So far (after trying a few file uploads) it has been working well for me. And save for a few missing features, it works as a basic DWG editor. Some of its features are:</p>
<ul>
<li>Online editing of uploaded DWG files</li>
<li>Download in various DWG versions</li>
<li>Editing and geometry creation</li>
<li>Timeline history of changes</li>
<li>Sharing and collaborative editing</li>
</ul>
<p><span id="more-2068"></span>This video nicely illustrates some features:</p>
<p>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/50tb8QSxHIQ" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/50tb8QSxHIQ"></embed></object>
</p>
<p>Here&#8217;s my wishlist (for now): hatch editing, right-click &#8220;Properties&#8221;, object property viewer, redline markup.</p>
<h3>Link:</h3>
<ul>
<li><a href="http://butterfly.autodesk.com/" target="_blank">http://butterfly.autodesk.com/</a></li>
<li><a href="http://autodeskbutterfly.wordpress.com/">http://autodeskbutterfly.wordpress.com/</a></li>
</ul>

	Post tags: <a href="http://www.alexschreyer.net/category/cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/aec-cad/" title="AEC CAD" rel="tag">AEC CAD</a>, <a href="http://www.alexschreyer.net/tag/autocad/" title="AutoCAD" rel="tag">AutoCAD</a>, <a href="http://www.alexschreyer.net/tag/autodesk/" title="Autodesk" rel="tag">Autodesk</a>, <a href="http://www.alexschreyer.net/tag/web/" title="web" rel="tag">web</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.alexschreyer.net/cad/web-based-application-trials-from-autodesk-a-great-idea/" title="Web-Based Application trials from Autodesk &#8211; A Great Idea! (October 7, 2009)">Web-Based Application trials from Autodesk &#8211; A Great Idea!</a> (2)</li>
	<li><a href="http://www.alexschreyer.net/cad/collaborating-with-the-butterfly/" title="Collaborating with the Butterfly (May 14, 2010)">Collaborating with the Butterfly</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/new-revit-2011-features/" title="New Revit 2011 Features (March 26, 2010)">New Revit 2011 Features</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/drawing-a-freewheeling-dragonfly-in-the-showroom-an-autodesk-labs-roundup/" title="Drawing a freewheeling dragonfly in the showroom &#8211; An Autodesk Labs roundup (March 20, 2009)">Drawing a freewheeling dragonfly in the showroom &#8211; An Autodesk Labs roundup</a> (0)</li>
	<li><a href="http://www.alexschreyer.net/cad/autodesk-sells-something-for-2-99-sketchbook-mobile-for-the-iphoneipod-touch/" title="Autodesk sells something for $2.99! SketchBook Mobile for the iPhone/iPod Touch (September 17, 2009)">Autodesk sells something for $2.99! SketchBook Mobile for the iPhone/iPod Touch</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.alexschreyer.net/cad/autocad-on-the-web-project-butterfly/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
