<?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>my tech blog &#187; Blender and 3D</title>
	<atom:link href="http://billauer.se/blog/category/blender-and-3d/feed/" rel="self" type="application/rss+xml" />
	<link>https://billauer.se/blog</link>
	<description>Anything I found worthy to write down.</description>
	<lastBuildDate>Thu, 12 Mar 2026 11:36:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Download a 3D-printable spacer / leg for Z-Turn Lite + IO Cape</title>
		<link>https://billauer.se/blog/2018/10/z-turn-lite-io-cape-plastic-leg-spacer/</link>
		<comments>https://billauer.se/blog/2018/10/z-turn-lite-io-cape-plastic-leg-spacer/#comments</comments>
		<pubDate>Sat, 27 Oct 2018 18:54:51 +0000</pubDate>
		<dc:creator>eli</dc:creator>
				<category><![CDATA[Blender and 3D]]></category>
		<category><![CDATA[Zynq]]></category>

		<guid isPermaLink="false">https://billauer.se/blog/?p=5561</guid>
		<description><![CDATA[(click to enlarge) Even though I find Myir&#8217;s Z-Turn Lite + its IO Cape combination of cards useful and well designed, there&#8217;s a small and annoying detail about them: The spacers that arrive with the boards don&#8217;t allow setting them up steadily on a flat surface, because the Z-Turn board is elevated over the IO [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="https://billauer.se/blog/wp-content/uploads/2018/10/the-whole-thing.jpg"><img class="aligncenter size-medium wp-image-5562" title="Z-Turn Lite + IO Cape with 3D-printed spacer" src="https://billauer.se/blog/wp-content/uploads/2018/10/the-whole-thing-300x95.jpg" alt="Z-Turn Lite + IO Cape with 3D-printed spacer" width="300" height="95" /></a><em>(click to enlarge)</em></p>
<p>Even though I find Myir&#8217;s <a href="http://xillybus.com/doc/xillinux-and-z-turn-lite" target="_blank">Z-Turn Lite + its IO Cape</a> combination of cards useful and well designed, there&#8217;s a small and annoying detail about them: The spacers that arrive with the boards don&#8217;t allow setting them up steadily on a flat surface, because the Z-Turn board is elevated over the IO Cape board. As a result, the former board&#8217;s far edge has no support, which makes the two boards wiggle. And a little careless movement is all it takes to have these boards disconnected from each other.</p>
<p>So I made a simple 3D design of a plastic leg (or spacer, if you like) for supporting the Z-Turn Lite board. See the small white thing holding the board to the left of the picture above? Or the one in the picture below? That&#8217;s the one.</p>
<p><a href="https://billauer.se/blog/wp-content/uploads/2018/10/one-spacer-in-action.jpg"><img class="aligncenter size-medium wp-image-5563" title="3D-printed spacer attached to Z-Turn Lite board" src="https://billauer.se/blog/wp-content/uploads/2018/10/one-spacer-in-action-300x195.jpg" alt="3D-printed spacer attached to Z-Turn Lite board" width="300" height="195" /></a></p>
<p>If you&#8217;d like to print your own, just <a href="/download/zturnspacer.zip" target="_blank">click here to download</a> a zip file containing the Blender v2.76 model  file as well as a ready-to-print STL file. It&#8217;s hereby released to the public domain under <a href="https://creativecommons.org/share-your-work/public-domain/cc0/" target="_blank">Creative Common&#8217;s CC0 license</a>.</p>
<p><a href="https://billauer.se/blog/wp-content/uploads/2018/10/zturn-spacer-model.jpg"><img class="aligncenter size-medium wp-image-5564" title="The 3D model of the spacer, in Blender" src="https://billauer.se/blog/wp-content/uploads/2018/10/zturn-spacer-model-300x206.jpg" alt="The 3D model of the spacer, in Blender" width="300" height="206" /></a></p>
<p>The units of this model is millimeters. You&#8217;ll need this little part of info.</p>
<p>I printed mine at <a href="https://www.hubs.com/" target="_blank">Hubs</a> (they were 3D Hubs at the time). Because I bundled this with another, more bulky piece of work, the technique used was FDM at 200 μm, with standard ABS as material. If you&#8217;re into 3D printing, you surely just read &#8220;cheapest&#8221;. And indeed, printing four of these should cost no more than one USD. But then there&#8217;s the set-up cost and shipping, which will most likely be much more than the printing itself. So print a bunch of them, even though only two are needed. It&#8217;s going to be a few dollars anyhow.</p>
<p>Even though these spacers aren&#8217;t very pretty, and with zero mechanical sophistication, they do the job. At least those I got require just a little bit of force to get into the holes, and they stay there (thanks to the pin diameter of 3.2 mm, which matches the holes&#8217; exactly). And because it&#8217;s such a dirt simple design, this model should be printable with any technique and rigid material.</p>
<p>Wrapping up, here&#8217;s a picture of three printed spacers + two of the spacers that arrived with the boards. Just for comparison.</p>
<p><a href="https://billauer.se/blog/wp-content/uploads/2018/10/spacers.jpg"><img class="aligncenter size-medium wp-image-5565" title="3D-printed spacers compared with Myir's spacers" src="https://billauer.se/blog/wp-content/uploads/2018/10/spacers-300x91.jpg" alt="3D-printed spacers compared with Myir's spacers" width="300" height="91" /></a></p>
]]></content:encoded>
			<wfw:commentRss>https://billauer.se/blog/2018/10/z-turn-lite-io-cape-plastic-leg-spacer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blender notes to self: 3D Printing</title>
		<link>https://billauer.se/blog/2018/10/blender-3d-printing/</link>
		<comments>https://billauer.se/blog/2018/10/blender-3d-printing/#comments</comments>
		<pubDate>Fri, 05 Oct 2018 18:08:40 +0000</pubDate>
		<dc:creator>eli</dc:creator>
				<category><![CDATA[Blender and 3D]]></category>

		<guid isPermaLink="false">https://billauer.se/blog/?p=5549</guid>
		<description><![CDATA[As I use Blender only occasionally, I&#8217;ve written down quite a few hints to myself for getting back to business. If this helps anyone else, so much better. I&#8217;ve also written two similar posts on this matter: A general post on Blender and a post on rendering and animation. Printing methods See a summary chart [...]]]></description>
			<content:encoded><![CDATA[<p>As I use Blender only occasionally, I&#8217;ve written down quite a few  hints to myself for getting back to business. If this helps anyone else,  so much better.</p>
<p>I&#8217;ve also written two similar posts on this matter: A <a href="https://billauer.se/blog/2018/10/blender-general/" target="_blank">general post</a> on Blender and a <a href="https://billauer.se/blog/2018/10/blender-rendering-animation/" target="_blank">post on rendering and animation</a>.</p>
<h3>Printing methods</h3>
<p>See a summary chart on <a href="https://www.sculpteo.com/blog/2017/05/15/fdm-vs-sla-vs-sls-vs-clip-battle-of-the-3d-technologies/" target="_blank">this page</a>.</p>
<ul>
<li><a href="https://en.wikipedia.org/wiki/Fused_deposition_modeling" target="_blank">Fused deposition modeling</a> (FDM/FFF): Melted plastic (ABS/PLA/Nylon) coming out from a nozzle.  Layer thickness ~0.2mm. Cheap, but the geometry is limited to  self-supported models, or the result literally drops. Also relatively  limited accuracy and minimal thickness.</li>
<li><a href="https://en.wikipedia.org/wiki/Selective_laser_sintering" target="_blank">Selective laser sintering </a>(SLS):  Laser sinters or melts a powdered material (typically nylon/polyamide).  Layer thickness ~ 0.1mm. No restriction on geometry,  but  the printer parts have surface porosity. The only plastic-like material out there is nylon, typically PA12 (or PA11), coming in dull colors. PA2200 is a very common (and good) powder in use, which produces PA12.</li>
<li><a href="https://en.wikipedia.org/wiki/Stereolithography" target="_blank">Stereolithography (SLA/SL/DLP)</a>: Based upon curing of a photopolymer resin with a UV laser. Layer thickness ~ 0.05mm. High quality but expensive manufacturing.</li>
</ul>
<h3>Preparing for printing</h3>
<ul>
<li>When the object has fine details on a larger object (e.g. a funnel made to match a certain geometry at its top), consider setting up the larger structure first, create a dense mesh with subdivision surface, and do the adaptions on the final mesh (or partly subdivided?), possibly with a modifier (e.g. Curve). It&#8217;s otherwise extremely difficult to get a sane mesh, and it bites back with overlapping faces and whatnot.</li>
<li>The mesh must be manifold = no holes. Also, it should have no  vertices, edges or faces that don&#8217;t enclose an volume, no intersection  of bodies, no overlapping of edges or faces. Double vertices and edges  are not good, but since the mesh is translated into STL, they go  unnoticed as long as the duplicates are accurate. If they&#8217;re not, this  causes warnings that can be ignored, but can lead to missing the  important warnings.</li>
<li>Watch the model with Flat shading (click button in Tools) at the toolshelf to the left. Smooth shading is misleading.</li>
<li>When resizing in Object Mode, be sure to apply (Object &gt; Apply  &gt; Scale), so that the measurements in Edit Mode (and otherwise) are  correct. Same goes for applying rotation and possibly location.</li>
<li>The result is like at rendering. Bends done by bones are exported<strong>.<br />
</strong></li>
<li>Export to .stl, which is a format consisting of just <a href="http://www.sc.ehu.es/ccwgamoa/docencia/Material/FileFormats/STL-FileFormat.htm" target="_blank">a list of triangles</a>. The file doesn&#8217;t include units, which is why it&#8217;s required to state units when uploading a file.</li>
<li>In properties / Scene (third icon from the left), set the Units to Metric and Scale to 0.001  for millimeters (these units will go to the STL file, which is  unitless).</li>
<li>Also, in the &#8220;View&#8221; part of the properties pane (keystroke &#8220;n&#8221;),  under Clip, make sure &#8220;End&#8221; is significantly larger than the objects  involved, or there will be weird cut-out effects as the view is rotated  and moved around. This property sets the &#8220;global cube&#8221;. What&#8217;s outside  this cube becomes invisible &#8212; faces become partially cut.</li>
<li>In the same pane, under Mesh Display, consider enabling Length for  &#8220;Edge Info&#8221;, which displays real-life measures of each edge. Only in  Edit mode, only for selected edges. These length are subject to scaling, so it&#8217;s <strong>wrong if the object has been scaled.</strong></li>
<li>Consider lock the scaling to unity of relevant objects to prevent confusion.</li>
<li>The 3D printing add-on should be enabled. At the left bar, there will be a 3D Printing tab, allowing for a volume calculation.</li>
<li>Before uploading, do some cleanup: Mesh &gt; Vertices &gt; Remove  Doubles, as well as the Cleanup/Isolated and Cleanup/Non-Manifold in the  3D printing toolbox.</li>
<li>If the 3D toolbox spins forever when pressing the &#8220;Volume&#8221; button, it&#8217;s not a good omen, obviously.</li>
<li>Once uploaded, odds are that a lot of warnings on non-manifold edges  and intersected faces. These can be checked with Blender&#8217;s 3D Printing  Toolbox. In particular note that in Edit Mode, there&#8217;s a button saying  &#8220;Intersected Face&#8221; which selects the faces marked as intersected. The  underlying reason is can be the use of the Boolean modifier, which may  create a lot of double edges (two adjacent faces have separate edges  instead of sharing one). These double edges occur a lot more than those  causing warnings by these tools, probably only when there&#8217;s some  difference between the two edges. If this is the reason for these  warnings, there&#8217;s no problem going ahead printing (saying this from  first-hand experience).</li>
<li>Pay attention to the &#8220;Infill&#8221; percentage, which means how much of  the internal volumes contain with plastic vs. filled with air cubes by  the printing software. The layer height also influences the precision  and finish.</li>
<li>Matching parts: If one part is supposed to go into another, there is  no need for an air gap, but there will be friction (my experience with a  2 mm blade into a groove with the exact width, ABS 200 um printing).</li>
<li>Checks and export into STL include the <strong>active</strong> object in Blender only. No need to remove supporting objects before exporting.</li>
</ul>
<h3>Printing online</h3>
<p>Online printing is an ugly business, and it&#8217;s a bit difficult to blame the service providers. People upload inherently flawed models, made with modeling software that produces output files with geometrical ambiguities, end up disappointed and then blame the printing shop. Those running these services get used to angry customers who write bad reviews on them everywhere, and eventually adopt a strategy of &#8220;the customer is always wrong&#8221;. It&#8217;s impossible to work on a good reputation when a lot of people get angry on them, and there&#8217;s nothing they can do about it.</p>
<p>But some companies take this to extreme. See my notes on Shapeways below.</p>
<p>Another thing is that 3D printing is unrepeatable. There is always some human intervention in the process for achieving the best results, as perceived by the operator. With FDM printing, there are several parameters that affect how the layering is done. With SLS printing, this may involve rotating the 3D model, in particular if the same model is printed several times. Such rotation can allow more pieces in each round. And with any technique, human intervention is often there to fix flaws in the mesh, if such exist. Each time, these fixes may be different, or not made at all.</p>
<p>So printing is a bit of a roulette game. The best strategy is therefore to minimize the risk. Simply put, go for the service provider that appears legit and offers the lowest total cost. That&#8217;s the only parameter you really have control of.</p>
<p>Printing services charging higher aren&#8217;t necessarily better. There is very little indication of who will provide you with the result you wanted. If they ship with UPS, it&#8217;s not a good sign, as this courier provides lower prices and has less emphasis on how happy the receiver of the package will be. It seems like serious vendors turn to DHL. But this doesn&#8217;t help much, as most vendors work with UPS.</p>
<p>If larger quantities are required, test printing is a good idea to spot problems with the model. However if the design is sensitive to tolerances below 0.5 mm (even with SLS), testing doesn&#8217;t guarantee anything. In particular, the transition from a small amount to a larger one can make the same printing service provider choose another machine, a different orientation, or a different post processing chain.</p>
<p>There is no way around this gamble. Neither does it help much to stay with a specific vendor. It makes perfectly sense to make the test printing with one provider, and the larger amounts with another. Stick to the one that gives the better price for each phase. Try to remain with the same material, and on a really good day, with the same machinery.</p>
<p>In short: 3D printing isn&#8217;t a long-term relationship. The service providers would of course rather have you stay, but they will typically do nothing but some sweet talk for that purpose.</p>
<h3>Where to look for print shops</h3>
<p>This is the market situation as I understand it as of January 2024. It&#8217;s a dynamic market.</p>
<p>Today&#8217;s bazaar of printing companies seems to <a href="https://www.treatstock.com/" target="_blank">Treatstock</a>, which allow uploading a design and get offers from a lot of companies. The situation with <a href="https://printelize.com/en/" target="_blank">Printelize</a> is not clear, as their website doesn&#8217;t seem to work.</p>
<p>Treatstock&#8217;s web site user interface is horrible, and it&#8217;s easy to miss the best offer in terms of price. For example, if you select a color that the most economic company doesn&#8217;t offer, that company won&#8217;t be listed. So what if you don&#8217;t really care about the color. And for some reason, it was exceptionally difficult to get a by-price sorted list of offers for Polycarbonate. Eventually, the method was to pick one of the vendors, upload the files and then choose to view other vendors (plus enable international vendors, or else nothing would show up). And then start fine-tuning the color and exact material.</p>
<p>Generally speaking, this website is vague about the printing materials, however it&#8217;s possible to deduce the exact specification by visiting the vendor&#8217;s information page, and choose the &#8220;3D printing tab&#8221;. The printers that the vendor uses are listed, and if you look up the printer, there&#8217;s a good chance that the vendor use the filaments that are specific for it. So the datasheet can be obtained from the printer&#8217;s manufacturer. There&#8217;s always a risk that they use replacement filaments, but 3D printing is an uncertain business to begin with&#8230;</p>
<p>Treatstock doesn&#8217;t allow selecting the printing method, and offers  service providers that only have FDM even for a job that is way too  complicated for that method. So it&#8217;s suitable only for low-end projects.</p>
<p>And a final note about Treatstock: If a vendor refuses to do the job, cancel it immediately. Otherwise, another vendor may pick it up and print it before you know. The problem is that this new vendor might use a different printer and hence a different filament that matches the material&#8217;s description and color. Not a big deal if everything is plastic to you, but it&#8217;s a real showstopper if you actually picked a specific material according to the datasheet. I had an incident of this sort, which fortunately ended with a full refund even though the thingy was already printed. Maybe because I paid with Paypal (which are more refund-friendly than credit card companies).</p>
<p>Quite recently, I found <a href="https://www.craftcloud3d.com/" target="_blank">Craftcloud</a>,  which is a bit vague about materials and processes, even though it&#8217;s  more-or-less written in the offers. And I got the impression that more  companies from China are represented there.</p>
<p>In the past, I  recommended place to find a print shop is <a href="https://www.3dhubs.com/" target="_blank">3D Hubs</a>. However they&#8217;ve changed to offering a single deal, and other places seem to give better offers. Their tools for analyzing a model are still great (X-Ray view and graphically highlighting problematic places), so they’re still worth a visit. Even though some of their complaints on my designs were clear false alarms.</p>
<p>And their minimal order is $35. Lower orders are simply raised to that sum.</p>
<p>I&#8217;ve had good experience with  <a href="https://www.3dprint-uk.co.uk/" target="_blank">3D Print UK</a>, who performed professional SLS printing of 110 small pieces with PA2200: Their price is unbeatable, their black dye is really nice, and the polish finish (plain type, done for free)  is the smoothest I&#8217;ve seen so far. They did however rotate the printing orientation without asking, which I wasn&#8217;t all that happy with. So it&#8217;s recommended to request locking the orientation if that makes any difference. But even if I had to reprint everything because of this, and pay for it fully &#8212; it would still have been cheaper than any alternative I had.</p>
<h3>My experience with Shapeways</h3>
<p>I&#8217;ve had a good experience with them regarding a non-professional SLS job (&#8220;Versatile plastic&#8221;, which is a nice name for PA2200, a powder for Nylon 12), which didn&#8217;t require much accuracy. The 3D model they got was flawless, so they printed it, sent it, and all was fine.</p>
<p>And then I needed some professional printing with the same process and material. When I say professional, I mean a Kit-Kat sized plastic part with a groove into which a PCB is pushed. It it&#8217;s too narrow, it won&#8217;t go in. Too wide, and it won&#8217;t hold the PCB in its position. Plus some 2mm holes fitting an M2 screw and matching nut. And there were also issues with mechanical strength and flexibility. In short, every 0.1 mm counts.</p>
<p>As I was under the illusion of printing repeatability at the time, I made a round of test prints of my model. I won&#8217;t get into the technical details of how the printing results were different from the 3D model, because the crucial inaccuracy turned out to be inevitable, as I learned later by experience. And it was also quite easy to fix on the 3D model. However Shapeway&#8217;s response to my complaints (&#8220;the customer is always wrong&#8221; mixed with &#8220;the customer always measures wrong&#8221;) made me abandon them temporarily for Sculpteo, which turned out even worse (see below).</p>
<p>So after the Sculpteo detour, I went back to Shapeways with a model I hoped would work. It turned out that they don&#8217;t reduce the price at all for larger amounts, even not for 110 pieces. But I was ready to put up with that, as I had reasons to believe that the result would turn out OK.</p>
<p>But then they made the move which surely broke some kind of record, and I&#8217;m not sure if it&#8217;s about being obnoxious or plain stupidity. And it was all about what to write on the packet, containing a $379 print job: Immediately after issuing an order, I asked that the &#8220;Sold to&#8221; on the UPS waybill would be the same as &#8220;Bill to&#8221; in the order and invoice. This has to do with taxing, customs and in particular who owns the goods officially. It matters if it&#8217;s a company making the order. Anyhow, this is what they should have done by themselves, since the shipping address is just where the package goes physically. They buyer is whoever pays.</p>
<p>I got the answer that it&#8217;s impossible, and that the waybill on the parcel is printed automatically. So I asked to delay the shipping until this issue was sorted out, and got the answer (from more than one person) that it can&#8217;t be stopped. Indeed they shipped it, it got the wrong custom declaration, and it went down to some trashcan in UPS&#8217; offices. I couldn&#8217;t use any of its content the way it was declared (company bureaucratics).</p>
<p>So this is something one must know about Shapeways: Once you&#8217;ve placed the order, the train can&#8217;t be stopped. No human is any control anymore. It just happens by itself.</p>
<p>Tactically speaking, they were right: Once they send the parcel in my direction (more or less), the credit card company can&#8217;t cancel the deal. But if it doesn&#8217;t arrive in time, I do have a case with the credit card company. So they did the right thing, given that their underlying attitude was to grab the money, and tomorrow doesn&#8217;t exist.</p>
<h3>My experience with Sculpteo</h3>
<p>I made quite a few different tests 3d models and sent them for printing with different materials and finish. It ended up with a complete fiasco. Here are a partial list of things that went wrong.</p>
<ul>
<li>One of the test models was printed twice instead of another which wasn&#8217;t printed at all.</li>
<li>Some models were requested with color, some without. They got it mixed up, and dyed the wrong models.</li>
<li>Tons of residual powder inside the plastic.</li>
<li>There was this 1-2 mm thick cavity for containing a PCB. It was filled with stuck plastic, so the PCB couldn&#8217;t be inserted. I wasn&#8217;t able to clean that up.</li>
<li>The screw holes ended up too narrow to fit the screws.</li>
<li>Plastic parts with 0.3 mm spacing between them melted together on the test on 60µ  printing, but not with the 100µ-120µ printing (yes, the finer printing  is the one that failed).</li>
<li>Put several pieces from different models in one bag.</li>
</ul>
<p>The worst part was of course that plastic parts had melted together. The warnings you get from the web tools are always about small details which might break (don&#8217;t worry, some did, but I accept that since I was warned about it) but nothing about melting. And that&#8217;s on a gap of 0.3mm relative to 100µ-120µ printing.</p>
<p>Their response read as follows (early March 2020, this isn&#8217;t Covid affected yet):</p>
<blockquote><p>I would like to point out that Sculpteo prints hundreds of objects daily and your objects look very similar and can easily be mixed up between the models, This is also why the incorrect objects were dyed.<br />
For the space between parts like the stems that are fused together need a spacing of 0.5 mm and not 0.3 mm as you have made, this is why the objects are fused together, normally you can use a Stanley knife to cut these areas.<br />
You have stated that the holes are incorrect, I would like to remind you that there is an average tolerance of +/- 0.3 mm. this is why there could be a slight issue but it is part of 3D printing technology.<br />
I can have the parts that were incorrectly dyed and the parts that were dyed when they should not have been reprinted and sent to you as soon as possible.<br />
<em>[ ... ]</em><br />
In regards to the objects being filled with powder, it is due to the 1 to 1 ratio (example: 1 mm in width for 1 mm in depth). Our high-pressure air jet is not able to remove the powder in an enclosed area and it can be easily be removed with a paperclip.<br />
We regret if you think that we are not able to provide a professional service but we do give lots of information that our customer can read before placing their order.</p></blockquote>
<p>Bottom line: Sculpteo may be nice for playing a bit with 3d printing, but if you have professional intentions, you probably want to stay away from them. One may think that the ±0.3 mm tolerance is a general statement to keep bottoms covered, but then it happens in actual  60µ  printing.</p>
]]></content:encoded>
			<wfw:commentRss>https://billauer.se/blog/2018/10/blender-3d-printing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blender notes to self: Rendering and animation related</title>
		<link>https://billauer.se/blog/2018/10/blender-rendering-animation/</link>
		<comments>https://billauer.se/blog/2018/10/blender-rendering-animation/#comments</comments>
		<pubDate>Fri, 05 Oct 2018 18:03:51 +0000</pubDate>
		<dc:creator>eli</dc:creator>
				<category><![CDATA[Blender and 3D]]></category>

		<guid isPermaLink="false">https://billauer.se/blog/?p=5546</guid>
		<description><![CDATA[As I use Blender only occasionally, I&#8217;ve written down quite a few hints to myself for getting back to business. If this helps anyone else, so much better. I&#8217;ve also written two similar posts on this matter: A general post on Blender and a post on 3D printing. Bones For a simple beginner&#8217;s use example, [...]]]></description>
			<content:encoded><![CDATA[<p>As I use Blender only occasionally, I&#8217;ve written down quite a few  hints to myself for getting back to business. If this helps anyone else,  so much better.</p>
<p>I&#8217;ve also written two similar posts on this matter: A <a href="https://billauer.se/blog/2018/10/blender-general/" target="_blank">general post</a> on Blender and a <a href="https://billauer.se/blog/2018/10/blender-3d-printing/" target="_blank">post on 3D printing</a>.</p>
<h3>Bones</h3>
<ul>
<li>For a simple beginner&#8217;s use example, see <a href="https://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro/Bones" target="_blank">this page</a>.</li>
<li>Bones are simply a handle which one can do the Grab / Rotate / Size  trio on. It has an pivot point and a handle. The manipulations on the  bone apply to all vertices in the bone&#8217;s Vertex Group, relative to the  bone&#8217;s pivot point, and in proportion to their weight for that group.</li>
<li>The Vertex Groups are listed under the object&#8217;s properties, under Object Data (icon is an upside down triangle of dots). In <strong>Weight Paint</strong> mode, this is where the group to paint weights for is selected.</li>
<li>The Vertex Groups&#8217; names are taken from the bones&#8217; when weights are assigned automatically.</li>
<li>The Armature modifier is added (automatically) to the object subject to the bones. Be sure that it&#8217;s <strong>the first modifier</strong> (uppermost in the stack), in particular before Subdivision Surface.  It&#8217;s the original mesh we want to move, not tear pieces of the rounded  one. Corollary: The bones&#8217; deformations can be applied, like any  modifier.</li>
<li>Always check the bones&#8217; motion alignment with the parent bone, and  set the bones&#8217; Roll parameter (in the bones&#8217; properties, icon with bone)  if necessary (in particular if the previous segment has been resized).  This sets the axis in space at which the bone rotates, and has to be  done manually in Edit mode. It controls the direction the bone rotates  w.r.t its origin, which is crucial for intuitive motion, so the bones  seem to move right, but just a little off the desired direction. Just  align the square of the bone symbol with the previous segment&#8217;s  direction.</li>
<li>The automatic weights aren&#8217;t all that good. In the end, there&#8217;s no way out but to assign the weights manually.</li>
<li>And the Weight painting is good for getting a picture of what&#8217;s  going on. But assigning weights with it is really bad. In particular as  it&#8217;s easy to mistakenly paint a completely unrelated vertex, leading to  weird things happening.</li>
<li>Instead, set the weight manully under the Object data tab (just  mentioned). Select the vertices in Edit Mode, write the desired weight  in the dedicated place under the Object data tab, and click &#8220;Assign&#8221;.</li>
<li>The Armature must be a parent of the object to be distorted. Extruded bones are children of the bones they&#8217;re extruded from.</li>
<li>To move around the bones (in particularly rotate), enter Pose mode  (or just click &#8220;Pose&#8221; for the relevant armature in the Object Outliner).</li>
<li>Zero the pose: Change to Pose mode, select all (A) and Pose &gt; Clear Transform &gt; All</li>
<li>The bones&#8217; influence is disabled only in Edit mode (unless enabled in the Armature modifier).</li>
<li>When an object controlled by bones is duplicated, the vertex groups  are duplicated as well, but not the bones. So both objects are  controlled by the same bones, in an non-natural way (center of rotation  on previous bones etc.)</li>
<li>If a vertex belongs only to one group, the weight is meaningless: If it belongs to the group, it will move 100% anyhow.</li>
<li>If a vertex belongs to more than one vertex group. its normalizes  the total to 1.0. So it&#8217;s fine to have an overlap on the joints, but be  careful with pushing it too far. Note that the bone after the joint is  moved by virtue of parenting, so there&#8217;s no reason to assign weights  after the joint.<strong> </strong>But it will weaken effect that is supposed to move that part.</li>
<li>Not that vertex groups that have no bone don&#8217;t count for proportional motion of the vertex. For a vertex that moves less than 100% on a single bone, also assign a second vertex group that belongs to a bone that will never move. This is good for transition with a fixed part.</li>
<li>Rotate bones with Individual Origins pivot point.</li>
</ul>
<h3>Textures etc.</h3>
<ul>
<li>Each face is related to a material. The first material is assigned to all faces. Additional ones need to be assigned.</li>
<li>Once a material is selected in the Material property button-tab, the Texture tab relates to it.</li>
<li>Projecting an image: First mark a seam in Edit mode. Select a set of  edges and Mesh &gt; Edges &gt; Mark Seam. Then select the faces to  project (possibly all) and go Mesh &gt; UV Unwrap&#8230; &gt; Unwrap (or  possibly Project from view or some other choice).</li>
<li>When using UV projection, the Type is &#8220;Image or Movie&#8221;, the Source  is the file, and under &#8220;Mapping&#8221; it says Coordiates: UV (otherwise the  mapping in Material view will be wrong).</li>
<li>UV/Image Editor: Maps pieces of the image into faces. Use  side-by-side  with a 3D view in Edit mode. Enable &#8220;Keep UV and Edit mode  mesh  selection in sync&#8221; for easy selection (somewhere in the middle of  the  bottom bar). The mouse&#8217;s middle button + move mouse moves the  image view (instead of  Shift-scroll or something)</li>
<li>Multiple images can be sources for a single object, by virtue of  generating multiple materials, and assigning them them to difference  faces. Each material is then linked to separate textures, each based  upon a different image.</li>
<li>Texture paint: A little GIMP, just in 3D. The changes are updated in  the source images image(s).  The big upper box is the brush selector.  Most notable is &#8220;Clone&#8221;, which works like GIMP&#8217;s, with CTRL-click to  select the source. Excellent for hiding seams.</li>
<li>Careful with overlapping UV mappings on a single image with Texture Paint: One stroke will affect all mapped regions.</li>
<li>Texture paint may manipulate several images in a single stroke, if this stroke covers regions sourced from different images.</li>
<li>If texture paint is responding slowly and eating a lot of CPU, try  reducing the subsurface division number, if used. Too many faces aren&#8217;t  good.</li>
<li>Don&#8217;t forget to save the 2D images in the end!</li>
<li>For copying a 3D shape from a 2D image, use Global Mapping on the  texture, along with a Top Ortographic view. The texture remains in place  no matter how the object it twisted and turned, so it&#8217;s fairly easy to  drag it along the image&#8217;s edges.</li>
</ul>
<h3>Rendering</h3>
<ul>
<li>F12: Render Image (&#8220;Quick Render&#8221;). Also from top menu Render &gt; Render Image. Return to 3D view with F11.</li>
<li>Shading Smooth / Flat at the Tool shelf doesn&#8217;t change the shape, but only the way light is reflected</li>
<li>If the rendering result suffers from weird shadows, and/or  unexplained edge lines on a surface that&#8217;s supposed to be smooth, try in  Edit Mode go Mesh &gt; Normal &gt; Recalculate Outside, which may fix  normals that have been messed up from edits.</li>
</ul>
<h3>Cycles: How it works</h3>
<p>If a realistic rendering result is desired, forget about Blender&#8217;s native render engine. It&#8217;s a lost battle with dirty tricks to achieve the obvious way to reach a natural appearance, and that&#8217;s to simulate the light rays. Which is what the Cycles engine does.</p>
<p>This is a very simplistic description of Cycles. In reality, it&#8217;s  by far more clever and efficient, so the results on the real engine are  better than you would expect from the description below.</p>
<p>For each sample (i.e. an iteration of improving the rendered image), and for each pixel to be generated on the rendered  image, the render engine traces the light ray, backwards. That is, from  the camera to the source of light.</p>
<p>The initial leg is simple, as the angle of view is known and  deterministic. If this ray hits nothing, we get black. If it hits a  face, it examines its material data. By hitting something, I mean the  first  intersection between the ray&#8217;s line and some face in the mesh.</p>
<p>When hitting a face, the face&#8217;s material&#8217;s shader is activated. If  it&#8217;s a pure emission of light, that&#8217;s the final station, and the pixel&#8217;s  value can be calculated. If it&#8217;s any other shader, it will tell the  render engine on what angle to continue, and how to modify the light  source, once reached. This modification is the material&#8217;s color or the  texture at the specific point that was hit.</p>
<p>And so it goes on, until a ray hitting nothing is reached, or a pure  emitting light source. Once the final station has been reached, the  aggregation of color modifications is applied, and there&#8217;s the final  pixel value.</p>
<p>So why is it randomness involved? Why is it random?</p>
<p>A diffusing surface collects light from all  directions, and reflects it towards the camera. Since the light tracing  can only follow one direction, it&#8217;s picked at random by the shader. So  each sample consists of one such ray trace for each pixel. Each time a  diffusing surface is reached, there&#8217;s a lottery. Hence the randomness.  Except for pass-through and purely reflective shaders (i.e. Glossy with  Roughness 0), which have a deterministic ray bending pattern.</p>
<p>When the &#8220;Mix&#8221; shader is used, the mix rate is a real mix: Each  shader gets its go, and the result is mixed. Try to mix an emission  shader with a black diffusion.</p>
<p>So God may not play with a dice, but Cycles surely does.</p>
<h3>Light is Everything</h3>
<ul>
<li>DON&#8217;T use Blender&#8217;s Lamps unless you want everything to look like  plastic. There&#8217;s a huge difference between lamps and objects (e.g.  planes) with an emission shader (both in results and render time). Use the  latter for a realistic look.</li>
<li>In particular, a skin texture will never look right with lamp light. See below.</li>
<li>Creating an invisible light source: Create any object, set its  shader to Emission, and go to the &#8220;Object&#8221; properties (the icon is a  yellow cube). At the bottom, there&#8217;s &#8220;Cycles Setting&#8221;. Disable &#8220;Camera&#8221;  checkbox in the Ray Visibility section.</li>
<li>To avoid seeing these emission objects when editing (they get in the  way all the time), put them in a different layer. Use Ctrl-click on the  relevant layer to view it along with the current one when switching to  render view.</li>
</ul>
<h3>Node Editor</h3>
<ul>
<li>For an texture image: Add an Image Texture element, and open the  file. Then to UV mapping (nothing will be visible before that). If there  are multiple texture files, they are all mapped with the same UV map by  default (or at all?).</li>
<li>Bump map: Image Texture &gt; Bump (input Height) &gt; Diffuse BSDF  (input Normal) &gt; Material Output (input Surface).  Displaces the  position along the normal, &#8220;Distance&#8221; says how much. With &#8220;Invert&#8221;  unchecked, a high image value means outwards.</li>
<li>Use an image&#8217;s transparency: Generate a Tranparent BSDF shader, and  connect it to a Mix Shader&#8217;s upper input. The lower input goes to the  regular (Diffuse BSDF?) shader. The Image Texture&#8217;s Color goes as usual  to the regular shader, but its Alpha output to the Mix shader&#8217;s Fac.</li>
<li>Glossy BSDF: Mirror-like reflection when Roughness is set to zero, otherwise it&#8217;s diffusing the reflection.</li>
<li>Velvet BSDF: Low angles between incident and reflection yield <strong>low</strong> reflection, so it emphasizes smooth contours. Good for combination with  Diffuse shader for simulating human skin (compensate for too dark edges  of the latter).</li>
<li>Emission: Not just as a light source, but also a way to fake fill light.</li>
<li>Color Ramp: Useful to turn an image into a one-dimensional range of  colors, including Alpha, instead of manipulating the texture&#8217;s range.</li>
<li>The Geometry input supplies Normal (which is after smoothing, pick  True Normal for without) and Incoming (which is the direction of the  light ray). Along with Converter &gt; <strong>Vector </strong>Math set to Dot  Product or Cross Product, the value output with these to combined  depends on the angle between the incident ray and the normal. Together  with Color Ramp, this allows an arbitrary reflection pattern (use for  Fac on some Mix shader).</li>
<li>The Voronoi texture (using &#8220;Cells&#8221;) is great for simulating an uneven, grainy surface.</li>
<li>To get a generally misty atmosphere, go to the World tab in  Properties, and under Volume select Volume scatter with white color and  Density of 0.1 to 0.2. Anisotropy should be 0.</li>
</ul>
<h3>Achieving human skin appearance</h3>
<p>Making a model look human and alive is the worst struggle of all. I&#8217;ve seen a lot of crazy attempts to add complicated shaders and stuff to reach a natural skin appearance. Even though I haven&#8217;t managed to get a face look natural (good luck with that), these are the insights I have reached.</p>
<ul>
<li>Rule zero: Use Cycles. Should be obvious.</li>
<li>Rule number one: <strong>DO NOT USE LAMPS.</strong> All generation of light  should be done with objects (most likely flat planes) with (white)  emission shaders. Any inclusion of lamp objects makes everything look  like plastic. Rendering convergence is indeed faster with lamps, but the  result is disastrous, even when lamps are used for just fill light. In short, create real studio lighting.</li>
<li>There&#8217;s no need for subsurface scattering and all those crazy  shaders. These are a result of the impossible attempt to tweak the  reflection to get something realistic in response to the plastic feel of  lamp light. When the light is done properly, plain shaders are enough.  Actually, Subsurface Scattering makes a marginal difference, and to the  worse  (deepens shadows, while actual skin somehow reflects in all  directions).</li>
<li>The Glossy part of flat skin (e.g. a leg) should be GGX (default) with roughness ~  0.5. Diffuse with roughness 0.4 (doesn&#8217;t matter so much), mixed 50/50.  Use the texture&#8217;s color for the Gloss shader as well (or mix partly with  white).</li>
<li>And here&#8217;s the really important part: Natural skin is full with small bruises and other uneven coloring that we barely notice when watching with the naked eye. It&#8217;s when this uneven coloring is gone (a woman wearing tons of makeup or a 3D model) that it looks like plastic. Therefore, the texture applied on the skin area (i.e. the coloring of the faces) should be aggressively uneven, with  speckles and also wide areas of slight discoloring. Adding a leathery bump texture and/or wrinkles adds to the realistic look, but won&#8217;t get the plastic feel unless the lighting is done right and the texture is alive.</li>
<li>For the depth pattern of the skin, either use the Voronoi texture (see  <a href="https://blendernote.wordpress.com/2013/08/05/blender-cycles-leather-material-nodes/" target="_blank">this page</a>) on leather, or consider looking for images of elephant skin or something (the cell texture is similar). This is mainly relevant if closeups are made on the skin.</li>
<li>Realistic eye: Be sure to add a cornea to the eye, mixing 90%  transparent and 10%  glossy shaders. The cornea&#8217;s ball should be 66% of  the size of the  eyeball, and brought to cover a little more than the  iris. The  reflection of the cornea brings the eye to life.</li>
</ul>
<h3>Animation</h3>
<ul>
<li>Animation adds an Animation object to the controlled object&#8217;s hierarchy (with a ArmatureAction sub-object for Armatures).</li>
<li>Key = Nailing the <strong>some </strong>properties <strong>some</strong> object for a given frame.</li>
<li>Don&#8217;t expect to change the pose and have all changes recorded.</li>
<li>Rather, in the Timeline Editor, select the desired bones of in the  armature for keying (all bones of the armature, probably), pick which  properties are being keyed (possibly just Rotation for plain motion)   and click the key icon (&#8220;Insert Keyframe&#8221;).</li>
<li>Keying Set = The set of objects whose properties are being keyed.</li>
<li>Dope Sheet: Accurate, concise and gives control. Each channel is a  property, each diamond is a key for that property. Thick lines between  diamonds show that they haven&#8217;t changed along that time.</li>
<li>Selection of keys: With right-click. Selecting the top diamond  (&#8220;Dope Sheet Summary&#8221;) selects all keys of a frame (the Armature&#8217;s  diamond selects all keys of an armature etc.)</li>
<li>It&#8217;s possible to Copy-Paste keys with the clipboard icons at the  bottom (or simply CTRL-C, CTRL-V). &#8220;Copy&#8221; relates to just the selected  keys.</li>
<li>In the Dope Sheet, use Shift-D and then G (grab) to copy all keys to another frame. Also possible to just Grab keys to adjust the timing etc.</li>
<li>&#8220;Insert Keyframe&#8221; = store the properties of the current pose in the  current positions. In Timeline Editor, this adds diamonds in the  channels that correspond to the selected bones (or adds these channels).  It doesn&#8217;t change or delete keys for bones not selected.</li>
<li>Work flow: First, select the properties that are going to be  involved (all bones of an armature?), and create a key for them in the  Timeline Editor. The rest of the work is done in the Dope Sheet: Scrub  to the desired frame, change the pose, and Key &gt; Insert Keyframe &gt;  All Channels (or with I). Or possibly just selected channels, to leave  the other channels interpolating as before.</li>
<li>Note the difference between how Timeline and Dope Sheet stores the  pose: Timeline stores the properties of the selected bone only, while  the Dope Sheet allows storing &#8220;All Channels&#8221;. Assuming that all relevant  properties have channels in the Dope Editor (it&#8217;s a good idea), &#8220;All  Channels&#8221; captures the entire pose (and marks those that haven&#8217;t  changed).</li>
<li>Careful with jumping in time by accidentally clicking in the  Timeline / Dope Sheet: It overrides all changes in the  pose. To avoid  this, &#8220;save your work&#8221; by &#8220;Inserting Keyframes&#8221; often.</li>
<li>Don&#8217;t forget to move to a new frame before working on the next pose.  If you do, copy the current frame&#8217;s keyframes into the clipboard,  create a new keyframe with the current pose, and paste the previous  keyframes into a slightly earlier frame. And then move (grab) the keys  in time to their correct places.</li>
<li>It&#8217;s possible (but usually pointless)  to set the interpolation mode  in the Dope Sheet (Key &gt;  Interpolation Mode). This controls the  interpolation of the selected key  until the next one. The default (set  in User Preferences &gt; Editing)  is Bezier, which gives a natural  feel.</li>
<li>However the &#8220;Constant&#8221; interpolation can be useful for camera  properties, when it&#8217;s desired to hold it still and then jump to other  parameters (i.e. a &#8220;cut&#8221;).</li>
</ul>
<h3>Simulation</h3>
<ul>
<li><strong>Plain Physics fluid</strong> (<a href="https://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro/Understanding_the_Fluid_Simulator" target="_blank">simple example</a>):  It&#8217;s a 3D-grid based simulation running in a limited space, which is  enclosed by the object to which the Physics &gt; Fluid physics is  attached with the &#8220;Domain&#8221; type (it&#8217;s the walls of the contained as well  as the limits of the simulated region). The Physics properties of this  object are those determining the simulation (in particular the time  scale in seconds via the End time, and the real-life size in meters).  And the baking is done on this object. Other objects, which have the  Physics &gt; Fluid attached will participate according to the Types,  e.g. Fluid (the object will turn into a fluid) or Obstacles (which  limits the motion of the fluid).</li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://billauer.se/blog/2018/10/blender-rendering-animation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blender notes to self: General</title>
		<link>https://billauer.se/blog/2018/10/blender-general/</link>
		<comments>https://billauer.se/blog/2018/10/blender-general/#comments</comments>
		<pubDate>Fri, 05 Oct 2018 17:58:35 +0000</pubDate>
		<dc:creator>eli</dc:creator>
				<category><![CDATA[Blender and 3D]]></category>

		<guid isPermaLink="false">https://billauer.se/blog/?p=5544</guid>
		<description><![CDATA[As I use Blender only occasionally, I&#8217;ve written down quite a few hints to myself for getting back to business. If this helps anyone else, so much better. Except when said otherwise, the notes here relate to version 2.79b (which is a different interface than what is common today). I&#8217;ve also written two similar posts [...]]]></description>
			<content:encoded><![CDATA[<p>As I use Blender only occasionally, I&#8217;ve written down quite a few hints to myself for getting back to business. If this helps anyone else, so much better. Except when said otherwise, the notes here relate to version 2.79b (which is a different interface than what is common today).</p>
<p>I&#8217;ve also written two similar posts on this matter: A  <a href="https://billauer.se/blog/2018/10/blender-3d-printing/" target="_blank">post on 3D printing</a> and a <a href="https://billauer.se/blog/2018/10/blender-rendering-animation/" target="_blank">post on rendering and animation</a>.</p>
<h3>Random notes</h3>
<ul>
<li>First off all: File &gt; User Preferences &gt; Input and set Orbit Style to Trackball (and not Turntable). The default (Turntable) keeps the Z axis always up, which is extremely limiting for proper modeling.</li>
<li>For a realistic look, go for the Cycles render engine. Otherwise (in particular simplistic animations and modeling), stay with Blender&#8217;s original.</li>
<li>Window &gt; Duplicate Window for a new window with the same project, which can be organized completely differently (the content, modes, selections etc. remain in sync, but not the window layout). If you save the project, all windows will be opened the next time the project is opened.</li>
<li>Always pay attention to possible hints at the bottom of the 3D view, in particular in interactive operations with the mouse.</li>
<li>Enable / Disable cursor and grid in 3D view: In the Properties tool shelf, under Display toggle &#8220;Only Render&#8221; check box.</li>
<li>Adding a mesh in Object Mode adds an object. Adding a mesh in Edit Mode adds the mesh to the <strong>current object</strong>.</li>
<li>3D graphics can be defined by <a href="https://www.lifewire.com/mesh-vs-nurbs-for-3d-printing-2238" target="_blank">meshes or NURBs</a>.  Both methods are available in Blender, but keep in mind that it ends up as a mesh when exported to STL for printing.</li>
<li>For easier interface, pick File &gt; User Preferences, select Interface tab and enable &#8220;Rotate Around Selection&#8221;. Otherwise the 3D viewport&#8217;s rotation is pretty annoying.</li>
<li>Vertices = points. Edges = lines between points. Faces = 2D planes between edges + a normal vector defining its direction (see <a href="https://en.wikipedia.org/wiki/Polygon_mesh" target="_blank">Wikipedia</a>). If the vertices of a face aren&#8217;t coplanar, it&#8217;s drawn as separate triangles.</li>
<li>There&#8217;s an &#8220;Object&#8221; button on the Properties subwindow, containing the properties of the Object: Position, rotation, locks, transparency, you name it.</li>
<li>When quitting blender, the current design is saved as quit.blend. Use File &gt; Recover last session to resume next time.</li>
<li>Local coordinates are applied relative to the object&#8217;s parent coordinates, so there&#8217;s a tree of coordinate displacements.</li>
<li>Pay attention to the view type, as stated at the 3D view&#8217;s top left. In particular, if it&#8217;s Local view, only the selected objects are seen. Note the plural. It&#8217;s possible to select several objects and see them all, but Edit Mode only applies to one of them.</li>
<li>When drawing a mesh for a smooth surface, keep it uniform; don&#8217;t make dense extrusions to catch the details, but fix that at a later stage. See &#8220;Subdivision Surface&#8221; below.</li>
<li>There&#8217;s a <strong>Manipulate only center</strong> of points icon at the bottom of the 3D view: Good for rotating or scaling several object as a way to only move them, but if it&#8217;s on, <strong>manipulating a single object does nothing</strong>.</li>
<li>An object may contain meshes with no connection between them.</li>
<li>&#8220;Linked&#8221; = connected through vertices (what you&#8217;d naturally call a &#8220;thing&#8221;).</li>
<li>It&#8217;s a good idea to remove double vertices every now and then: Edit mode, Vertex selection mode, select all vertices, Mesh &gt; Vertices &gt; Remove Doubles. This can be a result of an Extrusion canceled with Esc. Do this in particular if Subdivision Surface creates some ugly stuff for no apparent reason. Also try Mesh &gt; Clean Up &gt; Delete Loose.</li>
<li>There are several constraints that can be applied. Some are self-related, and some to other objects: One object&#8217;s transforms are copied to another, one limiting the other. Not all are applicable for the simple (e.g. non-Game Engine) use.</li>
<li>In order to view objects with transparency (with Cycles), viewport shading should be Material, and mix a diffuse shader with a Transparent Shader in the material (in the Node Editor). In the material tab of the object, set Viewport Alpha to &#8220;Alpha Blend&#8221;.</li>
<li>In the Properties column, there&#8217;s a section for &#8220;Mesh Analysis&#8221; which paints different faces depending on various criteria. For example, find intersections, sharp regions etc.</li>
</ul>
<h3>Checklist when weird things happen</h3>
<p>In Edit Mode, with all selected</p>
<ul>
<li>Mesh &gt; Clean up &gt; Delete Loose</li>
<li>Mesh &gt; Vertices &gt; Remove Doubles</li>
<li>Mesh &gt; Normals &gt; Calculate Outside</li>
</ul>
<p>If there are sharp spots or a point getting buried, reduce subdivision surface to zero, and then rise it gradually. Look for</p>
<ul>
<li>A face that shouldn&#8217;t be there (in particular an internal face)</li>
<li>An edge to a far point</li>
<li>Two very close vertices that appear to be one</li>
<li>A double vertex, edge or face (these are the most difficult to spot). Possibly by selecting by region in Wireframe view, and verifying that the correct number of elements are selected.</li>
</ul>
<h3>Cheat sheet</h3>
<ul>
<li>Spacebar = search functions. The ultimate cheat.</li>
<li>Use N and T buttons to toggle visibility of the properties bar and Toolshelf, respectively.</li>
<li>Fetch an object (or other resource) from another Blender File: Top menu &gt; File &gt; Append and find the relevant object by its name (it&#8217;s good to have then named properly&#8230;)</li>
<li>Select and move around stuff: <strong>Right</strong>-click on object and move mouse. Left-click to fix in place. Also use G key (Grab).</li>
<li>Use W to toggle between selection modes (box, circle, lasso or tweak).</li>
<li>There&#8217;s also Border Select and Circle Select (under the Select menu). Pay attention to the &#8220;Limit Selection To Visible&#8221; button next to the Vertices/Edge/Face selection trio buttons.</li>
<li>Left click moves 3D cursor. Used as the landing point for added objects and as a pivot point if so chosen. In Solid 3D viewport shading, the depth element of the cursor&#8217;s position is where a ray of light would have hit a an object as visible (or somewhere near, if there&#8217;s no object on the way). This is slightly inaccurate (a tolerance of 1/10000 measure units or so) so it may be better to use Snap &gt; Cursor to active.</li>
<li>Tilt-rotate view (just like a 2D image): Shift-Ctrl scroll mousebutton</li>
<li>To rotate view around 3D cursor: In the Properties shelf (press N), View &gt; Lock to Cursor</li>
<li>Zoom in and out: Scroll button</li>
<li>Move scenery: Ctrl-scroll or Shift-scroll. Or: <strong>Shift-hold middle button and move mouse</strong>.</li>
<li>Rotate scenery: Press scroll button and move mouse around</li>
<li>Local View is extremely useful when the scenery becomes full with object (in particular light emission planes): Select the object to work with, and press numpad  &#8220;/&#8221; (or View &gt; View Global / Local) with the cursor on the relevant 3D view pane. This modification is relevant only to the certain pane, so other 3D views remain intact (important when some show render previews).</li>
<li>&#8220;View Selected&#8221; (numpad &#8220;.&#8221;). Puts the selected item in the view&#8217;s center instead of trying to get that manually. Useful when selecting from object hierarchy.</li>
<li>&#8220;Hide selected&#8221; (H) and unhide all (Alt-H). Get things out of view, in particular in Edit Mode (hide certain faces so one can see through). Works the same in Object Mode, but it&#8217;s equivalent to toggling the eye icon in the hierarchy.</li>
<li>Delete stuff: X gives a menu</li>
<li>Add objects: Add menu at the <strong>bottom</strong> left. Note that in Edit Mode, only meshes can be added, and the mesh is added to the selected object (not as a separate one!), as if it was a separate object <strong>Joined</strong> into one.</li>
<li>Manually setting coordinates: Press N and look in the Transform submenu. &#8220;Local&#8221; coordinates means relative to the object&#8217;s own origin, and it&#8217;s quite useful.</li>
<li>Setting an object&#8217;s parameters immediately after Adding it: Press T.</li>
<li>Note the Object Mode vs Edit Mode at the bottom left: Selection of objects is possible only on Object mode.</li>
<li>Modifiers: The wrench icon in the Properties pane (usually to the right). Can be stacked up, turned on/off momentarily, so don&#8217;t necessarily apply them right away.</li>
<li>The common editing is done in 3D view (note the small selection boxes to the left, close to the bottom).</li>
<li>View modes: At the bottom, next to &#8220;Object / Edit Mode&#8221;: Usually Solid, but Wireframe is informative, and Rendered can be nice (involves light)</li>
<li>View menu: Useful for swapping Orthographic / Perspective view, and also to view from bottom, top, side etc. Most of these accessible from Numpad (see hints in menu).</li>
<li>Make an object the center for rotation and scaling: View &gt; View Selected</li>
<li>Specials menu: W (for subdivide, which allows e.g. subdividing a face)</li>
<li>Arbitrary vertices with edges between them: Enter Edit Mode for an object (possibly a dummy one, which is immediately deleted). Pick Vertex selection mode, and add vertices with CTRL+left mouse button. Useful along with an Empty Image (which can be semi-transparent) as a reference image.</li>
<li>To make a 2D object -&gt; 3D, possibly spin it (see Tool Shelf).</li>
<li>Duplication of object: The Array Modifier (under &#8220;Generate&#8221;). For 2D/3D duplication, just cascade the modifiers.</li>
<li>Mesh &gt; Edges &gt; Bridge Edge Loops is good for filling gaps. Use along with Edge Loops, or if it fails, select the entire body (with its opening) and pick Select Boundary Loop.</li>
<li>But even better, use <strong>Dissolve</strong> rather that Delete for getting rid of Vertices / Edges / Faces, so the holes aren&#8217;t created in the first place.</li>
<li>The <a href="https://docs.blender.org/manual/en/dev/modeling/modifiers/generate/mirror.html" target="_blank">Mirror modifier</a> makes it easy to create symmetric objects. When used with Subdivision Surface, be sure to set align all edges on the symmetry plane:  Either by scaling to zero with the symmetry plane as the pivot point, or use the Boolean modifier against a large cube, or use the Shrinkwrap modifier against a cube with the outer vertices belonging to the effective vertex group.</li>
</ul>
<h3>Distorting objects</h3>
<ul>
<li>Scale, Grab,  and Rotate: In Edit or Object mode, select an object and press S, G and R respectively. Or add X, Y, or Z for a constrained rotation and scaling (e.g. SX or shift-X for only ZY). One keystroke for global axis, the second for local axis. Also use numbers (e.g. S0.5 and R90). Hold down shift for precision.</li>
<li>Alternatively (sometimes better): Enable the transformation manipulators with the colored axis icon at the middle-bottom of the 3D view window. Then pick the type of manipulation (translate, rotate or scale) <strong>and the axis context</strong> (global, local or others). This allows for a simple manipulation across one axis (drag the manipulators).</li>
<li>Change the Pivot Point (at the bottom of 3D view) for one-side scaling or rotating around something else than the center.</li>
<li>To change the Origin of the object (for scaling or rotating), pick  Object &gt; Transform &gt; Origin to&#8230; (e.g. 3D cursor). Only in Object  Mode.</li>
<li>Align vertices to a plane or line: Move the 3D cursor to the desired position, set the Pivot Point to the cursor, select the vertices to align. Then choose S with one of the axes, and press the &#8220;zero&#8221; button &#8212; scale to zero = no distance.</li>
<li>Moving stuff: Change to Edit Mode (Bottom left menu). A few items to the right, there&#8217;s what to select: Vertex, Edge or Face select. Choose Edge or Face. Select an Edge or Face and move it around (with G or right-click). The displacement is two-dimensional, on the viewed plane.</li>
<li>There&#8217;s also Mesh &gt; Edge Slide which is good for moving around an Edge loop (to give a subdivided surface emphasis on the right place)</li>
<li>There&#8217;s Select &gt; Snap to Cursor and Snap to Cursor (Offset) which allows to move stuff to an exact position (the cursor can be moved to a selection prior to this).</li>
<li>Extrusion ( = Duplicate vertices, add edges between previous and duplicated vertices, and move the selection): Select a Face and press E, then move the new face on the perpendicular axis. Note that if it&#8217;s canceled with an ESC, the four new vertices<strong> remain</strong>, glued to the original face. Use CTRL-Z to get rid of them.</li>
<li>Extrusion with snapping: Press CTRL while moving mouse.</li>
<li>Duplicate a face, connected: Extrude, move around, and press ESC. This allow, for example, scaling the new face and possibly moving it, or extruding it again.</li>
<li>If more than one face is selected, all are extruded together.</li>
<li>If Sculpt mode is going to be used, consider the Multiresolution Modifier, which is the same as Subdivision Surface, but allows allocating a different figure for sculpting.</li>
<li>The Bevel modifier rounds off corners (slightly). The number of elements is crucial.</li>
<li>The &#8220;Adjust Edit Cage to Modifier result&#8221; (rightmost button) allows deforming the <strong>modified</strong> (i.e. smoothed) wireframe. This is actual sculpture. This requires a proper division of faces to begin with.</li>
<li>Alternatively, and probably because of a poorly constructed mesh with too many vertices, use Proportional Editing Mode, which forces changes to vertices within a region (button next to &#8220;select faces&#8221; button at the bottom of a 3D view, in Edit Mode). Use G to grab a vertex or whatever, and mouse wheel to enlarge (roll downwards, counterintuitively) or diminish (roll upwards) the region of influence. Size of influence region is given as a number at the bottom.  There are various patterns of how the neighbors are influenced.</li>
<li>There&#8217;s also the <a href="https://docs.blender.org/manual/en/dev/modeling/modifiers/deform/hooks.html" target="_blank">Hook modifier</a>, doing the same as proportional editing.</li>
<li>To add loops of vertices: CTRL-R in Edit mode, and roll the scroll button to get several loops. Left click to confirm where the loop goes. Or subdivision edges (under Mesh &gt; Edges).</li>
<li>To cut an object in two: Add a loop with CTRL-R, and then Mesh &gt; Vertices &gt; Rip.</li>
<li>Or just cut: Select a few vertices, and Mesh &gt; Vertices &gt; Rip. It duplicates the vertices, but doesn&#8217;t connect them with edges.</li>
<li>Giving thickness to a mesh: Mesh &gt; Faces &gt; Solidify (there&#8217;s also a Solidify modifier). For a convex mesh (it most likely is), set the offset to 1, so that the extra layer goes outwards (in the direction of the normals). Otherwise there will be overlapping faces around sharp corners. Take a close look around sharp corners, and <strong>check the normals</strong> before applying it.</li>
<li>To make sharp ends, extrude a face, and Mesh &gt; Vertices &gt; Merge (in Edit Mode, of course).</li>
<li>Free bending objects: Create a Bezier path (Add &gt; Curve &gt; Path) and add the <a href="https://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro/Deforming_Meshes_using_the_Curve_Modifier" target="_blank">Curve modifier</a> (under distort). The object is bent along the curve</li>
<li>Closing small gaps between different objects (e.g. shoe to lower leg, or a drop of water slipping down on a surface): Apply the Shrink Modifier on the outer object (nearest Surface point is probably best), but only to a vertex group belonging to the interface region. Weight painting is useful here. Note that there&#8217;s no real meaning to &#8220;shrinking&#8221; &#8212; this is just vertices being glued to each other.</li>
</ul>
<h3>The Subdivision Surface Modifier and Catmull-Clark</h3>
<ul>
<li>If a smooth surface is desired, this is very likely to be used.</li>
<li>Watch <a href="https://youtu.be/k_S1INdEmdI" target="_blank">this video</a>. Really. Also <a href="http://graphics.pixar.com/opensubdiv/docs/subdivision_surfaces.html" target="_blank">Pixar&#8217;s page</a> on this subject.</li>
<li>The Subdivision Surface modifier smooths the object by cutting each edge into two for each subdivision round, hence multiplying the number of faces by four. The mesh turns into a quads-only mesh after the first round. If there are non-quads in the original mesh, artifacts may occur on this first round, when non-quads (in particular n-gons with an uneven n) are split into quads.</li>
<li>Use quads whenever possible, and avoid vertices with more than 5 edges. Important exception: When the mesh consists of  sparse &#8220;anchor points&#8221; and not a detailed outline of the desired result.</li>
<li>The positions of the added as well as moved vertices are weighted averages of a set of neighboring vertices. This causes an eroding effect on corners, turning a cube into a sphere.</li>
<li>Works best on uniformly spaced quadrilateral-faces meshes. Don&#8217;t triangulate, be careful with double vertices (e.g. from a poorly aborted extrusion) and avoid changing density of the mesh (e.g. for capturing some detail).</li>
<li>Keep the mesh minimal. It&#8217;s always possible to add vertices later. Each vertex of the mesh is a handle for deforming the curvature. Have too many of them, and it will be difficult to get a naturally smooth shape. Try to put the vertices where smooth peaks and valleys are expected, even subtle.</li>
<li>Keep the mesh minimal II: If there are small dents, rather make them as a texture with the Displace modifier, based upon a texture image (which will naturally share UV mapping with the material&#8217;s texture). This modifier should be inserted after the Subdivision Surface modifier, so it moves the final, rounded mesh. It may require a large number of subdivisions to get a smooth displacement, but that&#8217;s only necessary on the final rendering. This way, the dents are kept where they&#8217;re required, not where they were an accident.</li>
<li>Keep the mesh minimal III: If natural motion based upon bones is desired, it&#8217;s crucial to draw a (possibly curved) line of vertices that move along with the bone, and another line of vertices that stay in place. The faces between these two lines will do the stretching, and they must be laid out in a natural way, i.e. have the geometry of the skin surface that does the stretching in real life.</li>
<li>Sharp shapes will generally shrink. It will shrink less where the mesh is denser, because the averaging is done on the neighboring vertices, even if they&#8217;re close.</li>
<li>It&#8217;s possible to manipulate the move a  smoothed surface in Edit mode, with effect on the original mesh with the modifier.</li>
<li>The <strong>Crease</strong> property of certain <strong>edges</strong> increases their weight in the average for calculating the vertices&#8217; positions, ranging from 0 to 1. This makes the edge sharper after subdivision. When applied to a face, the resultant form gets close to  the face (a cube turns into a cylinder if opposite faces have crease set  to 1.0).  Select the relevant face (in Edit mode), and press Shift-E.  Or set manually in the Transform bar (Visible with N). Creasing makes  the edges redder.</li>
<li>The best way to copy a smooth shape from a 2D image is to start with a  subsurfaced low-count mesh, and match the smoothed shape with the 2D  image&#8217;s. Then possibly apply one round of subdivision, and fine-tune.  Use the crease property for sharp turns rather than adding edges if  possible.</li>
<li>Unwanted creases can be a result of double edges. Select entire mesh, and go Mesh &gt; Vertices &gt; Remove Doubles and Mesh  &gt; Clean Up &gt; Delete Loose.</li>
<li>Dents can be a result of an uneven mesh. Consider using Edge Loops and Dissolve Edges to get it lighter.</li>
<li>To create a sharp corner (e.g. the corner of eyes) or a pointy surface, extrude a vertex (creating an edge) and pull the vertex away from the surface. The edge, which is connected to nothing, pulls the surface towards the vertex. This edge is invisible during rendering, and isn&#8217;t cleaned up by &#8220;Delete loose&#8221; etc.</li>
<li>For the fine details, consider the Mutiresolution modifier, which allows sculpting on top of a cruder mesh (the former for the coarse form). Or something similar?</li>
</ul>
<h3>Joining / subtracting objects / making holes</h3>
<ul>
<li>Select two objects, and then CTRL-J. Can be separated again: Press P (Separate) in Edit mode and choose By loose parts</li>
<li>Fusing / subtracting objects (best done in Wireframe view): Select one object, pick Properties &gt; Wrench &gt; Add Modifier &gt; Boolean. Within there, select Union, Difference or Intersect. It&#8217;s always with respect to another object. The &#8220;picker&#8221; object in the little Object window allows selecting the other object in the view. Once it&#8217;s fine, pick Apply.</li>
<li>The Boolean modifier messes up the mesh with duplicate vertices, and even worse, duplicate edges: Adjacent faces along the intersection may not share an edge, but instead have one of its own each. This is fairly acceptable with 3D printing, but creates warnings. Boolean is best used with simple objects for cutting. For example, a large cube to cut off parts of the modified object.</li>
<li><strong>Fusing, the right way I:</strong> Remove the intersecting faces manually, select the hole&#8217;s edges at both sides by selecting one edge for each and use Select &gt; Edge Loops (in Edit Mode only). And then Mesh &gt; Edges &gt; Bridge Edge Loops.</li>
<li><strong>Fusing, the right way II</strong>: If there are a lot of intersection points between the objects, use the Boolean modifier with the Union option to fuse two objects together. The objects be manifold (it may work even if not, though). It is then required to check all intersection points manually in order to ensure that they were handled correctly. This usually requires use the &#8220;hide face&#8221; feature to see what happens inside. In particular look for faces at the crossing points that should have been removed (because both sides of it are &#8220;inside&#8221;), but they are still left there. Just delete these faces.</li>
<li>The <a href="https://docs.blender.org/manual/en/dev/modeling/meshes/editing/subdividing/knife_subdivide.html" target="_blank">Knife tool</a> (in the toolshelf) allows drawing straight lines, which creates new edges at the cutting points, and subdivides faces. The start and ending points are somewhere along edges, and not on vertices. <del>Not clear why, but even though vertices are highlighted, there&#8217;s no cut there. To get the cut from a vertex, first cut an adjacent edge nearby, and then merge the new vertex into the old one (alt-M) </del>(stroke out this comments, because sometimes it&#8217;s true, sometimes it isn&#8217;t).</li>
<li>Activate Cut-Through with Z. This makes a hole in both ends.</li>
<li>There&#8217;s also Knife projection, which allows cutting a hole with a curve. Works with simple patterns: Select the two objects in Object Mode (the object to cut second), enter Edit Mode, set the viewing angle and Click Knife Project. I didn&#8217;t mange to enable the cut-through option for this, as I didn&#8217;t find the relevant checkbox on Blender 2.79.</li>
<li>Both cut-through and projection depend on the 3D viewing angle.</li>
<li>To punch a hole through a 3D body, set the shape with a 2D mesh or curve, and cut the shape on the faces on both sides. Then select the 2D holes on both sides, and pick Mesh &gt; Edges &gt; Bridge Edge Loops to draw edges across the body. The faces make a nice 3D hole.</li>
<li>To create an internal hole, generate the shape of the hole as a separate object, and then (in Edit Mode) Mesh &gt; Normals &gt; Flip Normals. Join this object with the target, and place it as desired.</li>
</ul>
<h3>Notable modifiers</h3>
<ul>
<li>Generate / Boolean: Create an object that is the intersection, union or difference between two objects. Excellent for chopping of a corner or even larger cuts by applying it with a large cube. Doesn&#8217;t work all that well when two complex meshes are involved, and the resultant mesh is often quite messy, and may need some work, in particular if it&#8217;s due for further manipulations. For 3D printing, this mess if often good enough, except for simple fixes.</li>
<li>Generate / Array: The way to duplicate an object.</li>
<li>Generate / Mask: Make all vertices belonging to a vertex group (or not belonging to a vertex group) invisible, both for render and editing. Extremely useful for working with complex structures, allowing to focus on certain parts (possibly internal) parts of a mesh (instead of hiding them every time).</li>
<li>Generate / Skin: Creates a body around edges (which function as an armature). A quick way to create an arbitrary 3D shape.</li>
<li>Generate / Wireframe: Gives thickness to the existing wireframe, making it a body. A bit like Skin, but simpler.</li>
<li>Generate / Triangulate: Make all faces triangles</li>
<li>Deform / Displace: Displace the vertices&#8217; position as a function of a texture (i.e. an image). Useful for &#8220;printing text&#8221; on an object or making a bumpy surface with a certain pattern.</li>
<li>Deform / <a href="https://docs.blender.org/manual/en/dev/modeling/modifiers/deform/laplacian_deform.html" target="_blank">Laplace Deform</a>: Allows deforming an object while preserving geometric properties</li>
<li>Deform / <a href="https://docs.blender.org/manual/en/dev/modeling/modifiers/deform/shrinkwrap.html" target="_blank">Shrinkwrap</a>: As its name implies: pushes the vertices towards the exterior of another object, after applying its modifiers. Neat to get rid of overlapping meshes, but careful with the corners. The &#8220;Nearest Surface&#8221; (default) mode should be chosen for simple use. &#8220;Nearest Vertex&#8221; in conjunction with Vertex groups is just a way to glue vertexes from different objects together, but it&#8217;s not necessarily useful. Try both.</li>
<li>Deform / <a href="https://docs.blender.org/manual/en/dev/modeling/modifiers/deform/simple_deform.html" target="_blank">Simple Deform</a>: Allows freehand twisting and bending and other deformations. Another (empty) object&#8217;s location, size and orientation gets different effects.</li>
</ul>
<h3>Sculpt mode</h3>
<ul>
<li>Excellent for fixing small dents with the &#8220;Smooth&#8221; tool (those dents that shouldn&#8217;t happen in the first place, because of a properly designed mesh&#8230;).</li>
<li>Also good for small finishes, but requires a dense mesh to work with. Use when editing with Subdivision Surface isn&#8217;t good enough.</li>
<li>Note the <a href="https://wiki.blender.org/index.php/Doc:2.4/Manual/Modeling/Meshes/Editing/Sculpt_Mode" target="_blank">Brush &gt; Sculpt Tool</a>. &#8220;Draw&#8221; pulls up the mesh a bit (as if adding material) but if &#8220;Subtract&#8221; is chosen on the toolshelf, it dents inwards.</li>
<li>Another Sculpt Tool is &#8220;Scrape&#8221; which is good to selectively round off corner (like Bevel, just not globally).</li>
</ul>
<h3>Other modes</h3>
<ul>
<li><a href="https://docs.blender.org/manual/en/dev/sculpt_paint/painting/vertex_paint/introduction.html" target="_blank">Vertex Paint</a>: Simple, intuitive painting of the faces. For this to appear on render, a material must be assigned, and the &#8220;Vertex Color Paint&#8221; option must be checked (this isn&#8217;t the default). As expected, the paint follows the faces if they&#8217;re moved.</li>
<li><a href="https://wiki.blender.org/index.php/Doc:2.4/Manual/Modeling/Meshes/Weight_Paint" target="_blank">Weight Paint</a>: An intuitive way to mark the weight of a vertex group. This has to do with <a href="https://docs.blender.org/manual/de/dev/modeling/meshes/properties/vertex_groups/index.html" target="_blank">Vertex Groups</a>, an important concept for moving parts of a body along with a &#8220;bone&#8221;, as well as the Shrinkwrap modifier and other stuff. The painting applies to<strong> vertices</strong>, therefore use with subdivision and other modifiers <strong>off</strong>, and hit the right points. Subdivision surface interpolates the weights across edges between points.</li>
<li><a href="https://docs.blender.org/manual/ko/dev/sculpt_paint/painting/texture_paint/introduction.html" target="_blank">Texture Paint</a>: A more difficult way to paint a 3D model, but it generates a texture image one can save back. Useful for marking what goes where on the texture image, for writing back and then edit the image. Instead of fiddling with the UV mapping. Also for smoothing seams (with Clone brush). Keep the surface subdivision rate low for this. Too many faces, and the painting goes from slow to impossible.</li>
</ul>
<h3>Measurements</h3>
<ul>
<li><strong>Measurements are invisible by default</strong> and when loading a .blend file. Press the &#8220;Snow&#8221; button on the display tab to make them appear.</li>
<li>Enable MeasureIt add-on (go to User Preferences &gt; Add-ons).</li>
<li>To add a new measurement, use the MeasureIt tool at the Toolbar &gt;  Display tab (press &#8220;t&#8221; if no toolbar is visible). Typically, the  distance between two vertices is interesting. It updates as the object  grows and shrinks etc. Give the measurement a name.</li>
<li>For editing (and possibly removing) existing measurements, go to the  Properties bar&#8217;s bottom (&#8220;n&#8221; for making it visible): There&#8217;s a  &#8220;MeasureIt&#8221; subgroup &#8212; expand it.</li>
<li>The units is meters by default. Edit the first measurement to be in millimeters, and the rest will follow.</li>
<li>To measure the distance between vertices of different objects,  select one vertex on each in Edit mode, and then pick &#8220;Link&#8221; in object  mode with both objects selected.</li>
<li>To measure the distance between the origins of two objects, enter  Edit mode for both, make sure no vertex is selected in either, and then  pick &#8220;Link&#8221; in object mode, with both objects selected.</li>
</ul>
<h3>Turning an SVG into a mesh</h3>
<p>General note: Inkscape is a great tool for manipulating SVGs.</p>
<p>It might be a good idea to do this on a clean project, and import the  result to another. A lot of objects are generated, so it will be easier  to do operations with &#8220;select all&#8221;.</p>
<ul>
<li>Import the SVG file into blender (File &gt; Import)</li>
<li>A lot of curves appear (or possibly one). In Object Mode, select  them all (possibly with Border Select) and go Object &gt; Convert to  &gt; Mesh from (whatever). Keep an eye on the object hierarchy: The  sub-elements turn from curves to meshes, even though the objects  themselves are still carry names that imply curves. Neither does  anything special happen on the 3d view. It&#8217;s easy to be misled into  thinking nothing happened.</li>
<li>Then Object &gt; Join to get a single object of all segments (if  there were many curves to begin with). It&#8217;s a good idea to rename to  object at this point.</li>
<li>Select the said object, enter Edit mode and go Mesh &gt; Vertices  &gt; Remove doubles. This connects edges, that were previously  individual curves, into continuous shapes. Actually, this <strong>merges</strong> double vertices rather than removing them.</li>
<li><strong>In Edit Mode</strong>, select everything and scale as necessary. The  reason for Edit Mode is that scaling in Object Mode requires applying  transformation, or edge lengths displayed as info in Edit Mode is wrong.</li>
<li>For an SVG file exported by gerbv, I needed to enlarge by 1000.  Possibly because the units in Blender were set to millimeters, and gerbv  exported in meters&#8230;?</li>
<li>Generating text: In GIMP, right click on the text layer (in Layer  view) and select &#8220;Text to Path&#8221;. Then go for the Path tab, right-click  the path with the text and click &#8220;Export&#8230;&#8221;. Select a file name, set  the extension to .svg. This creates a single curve, so it&#8217;s OK to import  it directly into the main project. Scale it (grow) by 100 or so  immediately after importing for some sensible size. Pay attention to  inner holes in letters (e.g. in O and B), so they aren&#8217;t filled by  mistake. Use Knife Project tool to cut into an existing face.</li>
</ul>
<h3>Converting a mesh into SVG (and then to pdf)</h3>
<p>Be sure to activate the &#8220;Curve: Curve tools addon&#8221; (Freestyle SVG exporter is not necessary for exporting a simple curve, by the way).</p>
<p>To export a curve into SVG:</p>
<ul>
<li>Object &gt; Convert &gt; Curve from Mesh / Text</li>
<li>File &gt; Export &gt; Curves (.svg)</li>
</ul>
<p>To export it to pdf, use inkscape as a GUI tool. It&#8217;s also possible to use inkscape as a command-line utility.</p>
<p>When a pdf file is obtained, convert it to PS with pdf2ps, and verify that the bounding box is correct (i.e. the dimensions are OK). Check the HiResBoundingBox. The values are given in points, 1 pt ≈ 0.352778 mm.</p>
<h3>Notes on Blender 2.90.1</h3>
<p>As already mentioned, the notes above relate to Blender 2.79b. That&#8217;s the version just before a significant reorganization of the user interface&#8217;s look and feel. All changes that I&#8217;ve encountered so far made sense to me, so I have no complaints. But I wrote down a few points about the differences:</p>
<ul>
<li>First, the most notable difference. Selection with left-click, not right click.</li>
<li>Workspaces: Independent setups of areas. Use Window &gt; New Window to get a workspace in a separate windows (old school style) or duplicate the main windows with Window &gt; New Main Window.</li>
<li>Menus appear as a hamburger icon at the top left, unless Header &gt; Show menus is picked.</li>
<li>Organizing the workspace: Right-click on edge of an area and choose to split or join (this was previously done by dragging).</li>
<li>If you mess up the working environment (in particular the header&#8217;s layout), just create a new Modeling workspace, and delete the current one (or another type of workspace, if so necessary).</li>
<li>There are hints on the mouse&#8217;s function at the window&#8217;s bottom.</li>
<li>The mode (Object mode, Edit mode etc.) is at the upper left. Toggle between Object mode and Edit mode with Tab.</li>
<li>F3 instead of spacebar for command search.</li>
<li>Press &#8220;a&#8221; twice rapidly to deselect all (it previously toggled select / deselect). Or just click somewhere random.</li>
<li>&#8220;n&#8221; and &#8220;t&#8221; can still be used to toggle the visibility of the Properties / Tool / View region and the Toolbox, however these can also be made visible by clicking the small arrows at the upper left and right. For the properties, it&#8217;s possible to allocate a separate area for it.</li>
<li>&#8220;Remove doubles&#8221; is now Mesh &gt; Cleanup &gt; Merge by distance.</li>
<li>Switching between wireframe, solid, material preview and rendered: With z + a keystroke or click in a certain region. Used up be &#8220;z&#8221; to switch just between wireframe or not.</li>
<li>And there&#8217;s X-raw view! Toggle with Alt-z (or button at top right).</li>
<li>Layers are replaced with &#8220;collections&#8221;. Right-click a collection to determine its visibility in Viewpoints and/or Render.</li>
<li>Saving: Just press CTRL+s, like any normal program. No confirmation window.</li>
<li>To change the measurement units: The icons are now lined up vertically, so the Scene Properties are at the fifth icon from the top on the outliner area (usually to the right). Expand the Units group.</li>
<li>To enable display of edge lengths, normal etc: Go to Overlays drop-down, which opens in response to one of the triangle buttons to the top right.</li>
<li>Vertex / Edge / Face select: Buttons at top left, next to &#8220;Edit mode&#8221;, or press 1/2/3 buttons, but not those on the numeric keypad.</li>
<li>Setting the scene&#8217;s units to millimetric: Under Scene properties (fifth icon in the outline area), expand Units, and set Unit Scale to 0.001 on the Metric system. Then pick the Overlay drop down menu (to the top right in the 3D area, and set scale to 0.001 as well, so the grid is tight enough).</li>
<li>Measurement: There is a really good measurement tool at the left tool shelf (toggle visibility with &#8220;t&#8221;). To delete all measurements, go to the properties panel (toggle visibility with &#8220;n&#8221;), select the View tab, expand the Annotations group, and delete RulerData3D by clicking &#8220;-&#8221;. The measurements won&#8217;t disappear right away, but they won&#8217;t survive moving away from the measurement tool (and back).</li>
<li>Blender Preferences &gt; Navigation, uncheck Auto Perspective. This seems like a new &#8220;feature&#8221; that the view mode automatically switches to perspective all the time. Super annoying.</li>
</ul>
<p>By the way, everything that is drawn except the modeled objects (axes, vertex points etc.) are called &#8220;overlays&#8221;.</p>
<h3>Sources</h3>
<ul>
<li>The <a href="https://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro" target="_blank">Noob to Pro</a> Wiki Book. A definitive guide to Blender. Available as pdf.</li>
<li>The <a href="https://docs.blender.org/manual/en/dev/glossary/index.html" target="_blank">Glossary</a></li>
<li><a href="http://graphics.pixar.com/opensubdiv/docs/subdivision_surfaces.html" target="_blank">Pixar&#8217;s page</a> on Subdivision Surface (they have a lot of other info).</li>
<li>The manual page on <a href="https://docs.blender.org/manual/en/dev/physics/particles/index.html" target="_blank">Particles</a> in general, and <a href="https://docs.blender.org/manual/en/dev/physics/particles/hair/index.html" target="_blank">hair</a> specifically, as well as the <a href="https://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro/Particle_Systems" target="_blank">Noobs to Pro</a> page on these matters.</li>
<li>A <a href="https://wiki.blender.org/index.php/User:Teh_Bucket" target="_blank">good starter</a></li>
<li>Turbofuture&#8217;s <a href="https://turbofuture.com/graphic-design-video/How-to-Translate-Rotate-and-Scale-3D-Objects-in-Blender" target="_blank">introduction</a> on simple manipulations of objects</li>
<li><a href="https://www.sculpteo.com/en/tutorial/prepare-your-model-3d-printing-blender/" target="_blank">Sculpteo&#8217;s 3D printing tutorial</a> for best practices (but not very introductory)</li>
<li>A <a href="https://www.blenderguru.com/tutorials/quick-tutorial-make-a-wrecking-ball-with-rigid-body-physics" target="_blank">good tutorial</a> on Physics animation</li>
<li>Look for Blenderella on how to draw a human (even though I&#8217;m not so sure if the mesh isn&#8217;t too dense for working with).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://billauer.se/blog/2018/10/blender-general/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
