blender 2.60: precision modelling: how to see effect of grid subdivisions? - blender

I am using blender 2.60. In the 3D view I press B to bring up
the Properties window (View -> Properties) and look at the
Display section, where under Grid Floor I find the
"Subdivisions" option. When I change this value
nothing happen (the subdivisions are not visible).
When I try to move an object (in Object mode right
click a cube for example and press G, then click
CTRL + SHIFT, it still moves the cube in increments
of 0.10 if the "Scale" is set to 1.000.
My question is, how do I see the effect of setting
the subdivisions option under 3D Window -> View ->
Properties -> Display -> Subdivisions in blender 2.60?
Thanks,
John Goche

Related

Blender boolean subtraction not rendering in Cura 3d

I am trying to make a simple 3d object to print out on my 3d printer using Blender.
I have succeeded in creating what I want in Blender, which is essentially a platform 100mm x 120mm x 15mm with an inset trough of 10mm depth this leaving a 10mm border around the trough.
Looks spot on in Blender.
I have removed the inset object and checked that it looks ok.
Then I export it to an STL and open it in Cura 3D and I just get a solid platform, it's like it has ignored the boolean subtraction.
What am I doing wrong? Edit : Apply Modifiers is ticked.
In the boolean modifier tab you should be able to see a little down arrow to the left of the "X" button above difference (see first picture). When you click the drop down button, you should see a button that says apply(see second picture. When you hit apply it will apply the modifier and you will see the boolean modifier disappear and be good to remove the other object used in the modifier (pictures 3 & 4)
Picture of the location of the drop down button
Picture of the drop down menu
Modifier Goes away
Finished product with Difference modifier

How to reposition non reliative multiple labels of edges in JGraphX

In a graph, I have edges that have more than one label (multi labels): one label is beside the source cell and another one beside the target cell. Both labels are created as child vertices of the edge. For correct positioning adjustement reasons, these labels do not have their geometry set relative (to the edge). When generating the edges, labels are correctly positionned: I use the mxGraphView.getPerimeterPoint() and an few adjustements to position the source and target labels.
When moving a cell using the mouse drag, I need to reposition these labels. For the moment I have tried to react to graph events (mxEvent.CELLS_MOVED, mxEvent.MOVE_CELLS) or model events (mxEvent.CHANGE) registering either a graph or a model listener.
However, the getPerimeterPoint function uses an mxCellState (not an mxCell) obtained through the graphView (graph.getView().getState(cell)) to do the calculation and this cell state mxGeometry is based on the previous position of the cell.
Is this solution based on events the correct way of doing this?
And if yes, should I rewrite completely the getPerimeterPoint (and functions used in it) to use the mxCell returned by the event (event.getProperties("cells")) whose greometry is correct rather than the mxCellState? Or is there a technique to get the cell state corresponding to the end of the current move operation without messing up the whole graph update process?
Any help or advice appreciated, thanks.

OSX how to have three controls(textbox or popup or combobox) of same width?

I have a window with three control on it. I want them to make resizable with respect to the window.
Distance from window boundary should be constant
Distance between each of them be constant
How to achieve this with cocoa Autolayout feature from Xcode?
I used few contraints as:
For the first object -> set the Leading space to superview say 20.
For the last object -> set the Trailing space to superview say 20.
For the centre object -> set the Leading & Trailing to other controls on either side.
To make them equi-resize -> Select all of them, and select Equal Widths from Pin item.

how to create a sliding open door effect

i'm looking to create a sliding open door effect with jquery that has the following functionality:
arrive on the page and the doors are closed
click a link and the doors slide outwards a fixed amount on the x-axis
click the same link again and the doors close
i started out with the concept here, which works great:
http://buildinternet.com/2009/07/animate-curtains-opening-with-jquery/
but realised that i wanted the doors to slide across, rather than shrink in size, using the type of functionality seen here:
http://ricostacruz.com/jquery.transit/
so i think what i am looking for is some type of 'animate' functionality:
http://api.jquery.com/animate/
this is the logic of the functionality i am trying to achieve:
static state:
background: an image that is revealed when the doors slide open.
door-left-inner: 122px wide x 244px high, centered and offset left -61px with z-index 3.
door-left-outer: 122px wide x 244px high, centered and offset left -151px with z-index 2.
door-right-inner: 122px wide x 244px high, centered and offset right 61px with z-index 3.
door-right-outer: 122px wide x 244px high, centered and offset right 151px with z-index 2.
onclick (all these functions take place at the same time):
door-left-inner x-position slide on click: -164px on x-axis.
door-left-outer x-position slide on click: -74px on x-axis.
door-right-inner x-position slide on click: 164px on x-axis.
door-right-outer x-position slide on click: 74px on x-axis.
here is a diagram of what i am trying to achieve:
attempted code (not currently working)
$("#open_close_doors").click(function(){ $("#leftdoor_inner").animate({"left": "-=50px"}, "slow");});​
and here is my jsfiddle attempt at getting one of the doors to slide - i figure once i know how to get one of the doors sliding i'll be able to apply the same logic to the others. also i'm a relative newb to jquery.
http://jsfiddle.net/9zsdN/
thank you.
Here's the corrected jsFiddle for the same: http://jsfiddle.net/9zsdN/1/
$("#open_close_doors").click(function(){ $("#leftdoor_inner").animate({"left": "-=50px"}, "slow");});​
It should be:
$(".open_close_doors").click(function(){
$("#leftdoor_inner").animate({"left": "-=50px"}, "slow");
});​
The difference lies in the way you access an element. As you can see, when you access an element by class, you use " .classsname" instead of "#classname" as you have done.
"#name" is used for accessing elements by their id.

Dynamically set maximum scale of horizontal pointer slide in labview?

I want to make a primitive movie player in Labview. I want the user to be able to load in a movie and have a slider to select frames. As such, I want the range of the slider to go from zero to N where N is the number of frames in the movie.
How do I set the scale of the slider programmatically?
I don't see any inputs to the slider, only one output.
Here is an example of a "Horizontal Pointer Slide" bar taken from the NI Website. The slide bar is in the upper right hand corner of the image.
Right click on the slider:
Create -> Property Node-> Data Entry Limits -> Maximum
Create -> Property Node-> Scale -> Range -> Maximum
This creates property nodes you can wire up to set the maximum limit of the slider.