how can I make the origin/pivot point perpendicular to the object like the second image? Thank you...
Hey guys I am currently working on a scene with multiple objects.  There is one object (a wheel) that I need to rotate the origin for without rotating the wheel itself.  I have the exact angle that I need so a manual solution would be the best.  Any help would be much appreciated. I am used to parametric modeling and Blender is a little out of my depth.
Include custom taxonomy term in search I have two custom taxonomies applied to two custom post types. the terms list on the sidebar just fine and will list all posts associated with it. However, if you search one of the terms in specific, it doesn't bring up a post with that term.  Example:  Search for term "PQRI"  I get nothing. Any ideas? I've tried using various search plugins but they either break my custom search parameters or just don't work. Do I have to buy a second wildcard certificate for a subdomain? We already have a wildcard certificate for *.mycompany.com. Our network has hosts that are only reachable internally. All of them belong to the internal.mycompany.com subdomain. There is a private server with the host name server.internal.mycompany.com on which I deployed our wildcard certificate.  When I visit the web server I get a host name mismatch error. Do I really have to get another wildcard certificate for *.internal.mycompany.com or is there another (free!?) way to use our wildcard certificate for all of our subdomains and its subdomains without getting an error in the browser? Where are my installed applications? Can a dementor decide which people around it will be affected by its magic? Quoting from  and : From a :  Samantha: Was snape the only death eater who could produce a full patronus J.K. Rowling: Yes, because a Patronus is used against things that the Death Eaters generally generate, or fight alongside. They would not need Patronuses.  I always had the impression that just the presence of a dementor should have an effect on any human around, DE or otherwise. However, this quote makes it sound like DE's are exempt from the effect of the dementors. However, from Sirius's description in book 3, we know every prisoner in Azkaban was affected by dementors, which can further be corroborated by the fact of how much Barty Crouch, Jr. was scared of being thrown into Azkaban. Moreover, if the dementors didn't affect the DE's at all, throwing them in Azkaban wouldn't be much of a punishment either. So, Can dementors decide who to affect or not? Are there surface-mount pin header footprints for KiCAD? lstlisting - line number gaps Is it possible to add non-number characters on the left of a code block?  Specifically, I want to add ... to correspond with some source code (see image).    I am currently using commands to stop / start the line numbers. Here is the code:  \documentclass[12pt]{article}  \usepackage[a4paper, margin = 20mm, top = 30mm, bottom = 25mm]{geometry} \usepackage{xcolor, soul} \usepackage{listings}  \definecolor{codebackground}{rgb}{0.95, 0.95, 0.92}  \lstset {     frame            = tb, % hrule above and below     keepspaces       = true,     columns          = flexible,     basicstyle       = {\normalsize\ttfamily},     escapeinside     = {(*@}{@*)}, % for escaping     backgroundcolor  = \color{codebackground},     showstringspaces = false,     language         = C,     keywordstyle     = \color{blue},     stringstyle      = \color{red},     commentstyle     = \color{teal},     numbers          = left, % {none, left, right}     firstnumber      = 1,     numberstyle      = \scriptsize\color{black},     numbersep        = 5pt }  \let\origthelstnumber\thelstnumber \makeatletter % for stopping line numbers \newcommand*\stopnumber {     \lst@AddToHook{OnNewLine}     {         \let\thelstnumber\relax         \advance\c@lstnumber-\@ne\relax     } } % for starting line numbers \newcommand*\startnumber[1] {     \setcounter{lstnumber}{\numexpr#1-1\relax}     \lst@AddToHook{OnNewLine}     {         \let\thelstnumber\origthelstnumber         \refstepcounter{lstnumber}     } } \makeatother  \begin{document} \begin{lstlisting}[firstnumber = 456] int third_function(const int c) {     /* error checking */     if(c &lt; 0)     {         return;     } (*@ \stopnumber @*)      ...     (*@ \startnumber{512} @*)     /* other stuff */     int d = 4;     char* word = "third function"; (*@ \stopnumber @*)      ...     (*@ \startnumber{678} @*)     return (c * d); } \end{lstlisting} \end{document} Is there a general method (which can be implemented by hand) to finding the $n$-th roots of $2 \times 2$ matrices? Is there a similar method for a general $m \times m$ matrix? (for $n &gt; 1$ and $n\in\mathbb{Z}$) What does "in spades" mean? Creating or adding geometry colunm fails even with postgis enabled When defining a method on a class in Python, it looks something like this:  class MyClass(object):     def __init__(self, x, y):         self.x = x         self.y = y   But in some other languages, such as C#, you have a reference to the object that the method is bound to with the "this" keyword without declaring it as an argument in the method prototype.    Was this an intentional language design decision in Python or are there some implementation details that require the passing of "self" as an argument? How do I disable administrator prompt in Windows 8? Word or phrase for making something seem better by comparison What is a word or phrase that expresses the idea of purposely making something seem better by comparison? For example, lemon Starburst was created to make the cherry flavor seem that much tastier. How to add a display mode to a VirtualBox VM? I am using my first VirtualBox VM in order to run Windows 8 Preview on my Windows 7 machine.  It looks like only a few resolutions are available for me to choose.  My physical display is 1600x900, so I'd like to be able to set my Windows 8 VM to that in order to have a fullscreen experience.  How do I add a 1600x900 to the choices I have in the "Screen Resolution" dialog? Let $A$ and $B$ be two fixed points on a fixed straight line. Two circles touch this line at $A$ and $B$ respectively and tangent to each other at $M$. When the circles vary, what does the locus of $M$ form? What will happen with Blender 2.8 game engine? Blender has just purged the entire game engine from 2.8. There is no "Game Engine" mode anymore and there isn't even a logic editor. I tried installing a GitHub Blender release with the game engine mode working but it failed to install because all the game code was gutted. Does this mean that Blender 2.8 is going to lose the game engine, or is the game engine just being redone for better compatibility and whatnot? installing rtl8814AU wifi adapter driver on ubuntu 16.04 Some speculation here:   Is there a possibility it would pass 'undetected' through your hand, or is it certain death?  Can you conclude it to be vital, or only loose your hand?  Would it simply make a small cylindrical hole through your hand, or is there some sort of explosion-effect?  Assume your hand has a cross section of 50cm², and a thickness of 2cm, how much of the beam's energy would be transferred to your hand? \clipbox of a \scalebox not working properly in xelatex Importing shapefile into AutoCAD Map 3D? I'm trying to import shapefiles into a DWG using diferent layers names and during my web search I found this post. I know you did this 2 years ago but my problem is very similar and I wonder if you could help me.  Basically I've got a shapefiles of pipelines and I want to use the attribute name to sort the features into different CAD levels in teh same layer. I tried the import and although soem people say that "you can set the import to use data field" I can't see any option to do it and I'm really struggling. Any help appreciated.  I'm running on AutoCAD Map 3D 2010. Event binding on dynamically created elements? I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.