Paint.NET :: Tolerance Array Instead Of Global Value
Jul 7, 2011
I have a PNG image that has a transparent border. I want to select the pixels in the image that are not transparent (it's a photo-type object with non-geometric edges) then replace the object with a patterned fill.
Process:
1. Select Magic Wand and click on the transparent portion of the image (I have all but what I want selected)
2. Invert the selection (I have what I want selected)
3. Select the Fill bucket and fill the selection with the desired patterned fill (a checkerboard, let's say).
Problem:
1. To properly select the transparent portion of the image without the object and retain a sharp edge, I need to set a low tolerance level.
2. To properly fill the object I need to set a high tolerance level. The photo object has typical color variety - setting a high tolerance will fill the entire thing to the selection border and not miss any pixels.
3. The Tolerance level is global and its setting is used by all tools that understand it.
Resulting Process:
1. Set Tolerance to low
2. Select Magic Wand and click on transparent portion
3. Invert selection
4. Set Tolerance to high
5. Select Fill bucket and fill the selection
Forgetting to set the tolerance to the desired level based on the tool in use produces unwanted results.
Proposed Solution:
I'm a programmer, so I envision the new Tolerance bar as an array of values instead of a single value. The array saves tolerance levels individually for each tool, and when I switch tools the tolerance level changes as well.
When I have the Magic Wand and change the tolerance, that new value is stored for Magic Wand and all other settings are unaffected.
When the app opens the values are set to some default setting (or user defined settings if there is such a startup setup process, or remembered settings from the last session if state values are retained).
Am I missing this ability for Tolerance to be set individually by tool?
View 6 Replies
ADVERTISEMENT
Dec 8, 2012
You know how a magic wand allows users to set a tolerance and select accordingly.
Well this usually works well for most people's purposes but what if the object concerned has a shadow or highlight effect that would fall through the cracks and require more editing.
What I was thinking here is that it would be very useful to be able to not only set tolerances for the tool but also set a 'border' variable in pixels. Hence it would be much easier to extract that text or object with its shadows intact (and requiring less retouching work)
View 3 Replies
View Related
Apr 4, 2011
How do I easily change all different transparency levels of one color to a new color with matching transparencies? I want the antialising pixels for parts of my logo to keep the same transparency, but change all pixels with the same color to a new color. Everything I have tried so far doesn't seem to work, and I must not have the recolor tool figured out. I'm loving Paint.Net, but a little frustrated right now.
View 2 Replies
View Related
Sep 30, 2011
How does one get the array window in 2012 to open with the array command like it does in 2007
View 2 Replies
View Related
Sep 19, 2012
I'm trying to use the PATH array feature on 2013 to array stairs, and I can't get the array to be 100% accurate. It seems like CAD rounds the decimal to the nearest 3/4" which could be causing the problem.
I set my run to 10.5" and rise to 7.25", array along the angle of the stringer, and there's always a small overlap on the stairs. The "distance between" should be 1'-209/256" and CAD rounds it to 1'-3/4" which is where I believe the error is. Is there any way to fix this or array this correctly? Otherwise...back to the COPY method I suppose.
View 4 Replies
View Related
Nov 23, 2007
bought a CD printer and made a template on photoshop. when using the elliptical tool (and yes, i held shift+alt to make it symmetrical/centered) to make the work paths around the inner ring, it asks something about pixel tolerance (the default was at 2.0) and after i hit okay, the circle becomes messed up.. how can i make a perfect circle? if i change the tolerance numbers to higher or lower, the circle becomes even more irregular and jagged.
this is how it looks in photoshop...
this is a smaller version (kind of easier to see the irregularities)
and this is how it looks when i print it
View 3 Replies
View Related
Apr 4, 2012
How do you set the gap tolerance in Hatch command?
View 1 Replies
View Related
Jul 12, 2013
Is it possible to get your Gap Tolerance setting to stick. Mine keeps reverting to 10 by default!?
View 8 Replies
View Related
Sep 13, 2013
I have a drawing I am trying to ordinate dimension and I was wondering if it was possible to place a symetric tolerance for a dimension on a second line under the actual dimension?
View 6 Replies
View Related
Jun 17, 2009
It would sure be nice to have the Tolerance within the Magic Wand be a slider so I wouldn't have to type in the value each time.
View 3 Replies
View Related
Feb 5, 2012
I'm trying to get hole tolerance by Inventor API using c++ but the value returned is not correct.
the code is:
Parameter* diam = m_Feature->GetHoleDiameter(); // m_Feature is a given HoleFeature
double tol = diam->Tolerance; // returned 1.0
BSTR str = diam->Tolerance->HoleTolerance; // returned "0".
// The correct value is 2.89
How can I get the correct tolerance value?
View 1 Replies
View Related
Dec 2, 2013
I've got some 2D contours that have certain vertices very close to each other in some parts of the string. Some are only 0.008 apart. The cross checking in Drawing cleanup is picking these all up as crossing strings.
anything that will possibly filter out these vertices at a set tolerance? I've tried using Snap clustered nodes but that won't work seen as though it is occurring on the same string.
View 2 Replies
View Related
Apr 30, 2009
While looking at the different tolerance methods, I see a couple called MIN and MAX, which just tack these words to the end of the dimension. Is there a way to customize the tolerance methods to add suffixes or prefixes to dimensions, such as TYP or 2 PLCS or something like that, so that I can minimize my detailing time.
View 5 Replies
View Related
Dec 6, 2013
Seeing the behavior for these symbol alignments, preferably also in earlier version of inventor?
Unable to display content. Adobe Flash is required.
In the video i'm showing an A2 sized sheet, the effect is less apparent on smaller sizes but still noticable.
But i'm mainly trying to establish if this is worth opening a support ticket for...
Using IV2014 Pro SP1 update 1, Win7-64bit
View 2 Replies
View Related
Jan 10, 2014
Whats the importance of "Shell Connector Tolerance"in the create new simulation dialog box. Any example or some kind of illustration to explain this.
C1
Inventor Professional 2013
Vault Collaboration 2013
View 1 Replies
View Related
Sep 20, 2013
I tried editing the content (text) of a Geometrical Tolerance Box ? but the usaual don't work.
I tried double clic, Properties, right clic ....
Is there some command or icon that i did not see?
I have attach a drawing.
View 2 Replies
View Related
Jan 30, 2008
Is it possible to set the default tolerance of a part via the API? If so ,How? Also, how would I ensure that those values are used in the drawing dimensions. I don't see any link to the values that I put into the model and the dimensions in the drawing.
View 3 Replies
View Related
Jan 11, 2014
I have the simple (for you ) question about hole tolerance window: I want to open hole tolerance dialog box and "click" OK button (ofcourse I want to do that via VBA code). Only this, I wouldn't change tolerance type or value of tolerance.
I show you what I want on screen.
View 1 Replies
View Related
Mar 26, 2008
Select with the Magic Wand tool
I am curious about the math for the Magic Wand Tool in the following circumstance:
The RGB image has been converted to GREYSCALE and then into LAB mode.
The lightness channel is selected only and I wish to create various selections with MAGIC WAND TOOL based on numerical values entered in the field TOLERANCE.
The image (as described above) shows values in PERCENTACE for K (Black) when in LAB mode.
Now how does the value of TOLERANCE correspond to the value K: for this case?
View 7 Replies
View Related
Feb 4, 2007
I am wondering what would be the keyboard shortcut to change the tolerance percentage up and down? For example, to change brush size bigger you press"[" and for smaller you press, "]". I am looking for the same kind of shortcut, but instead of brush size, I need it for tolerance. I spent more than 30 minutes last night trying to find it in the keyboard shortcut dialog thing but I could not find it. I am sure photoshop has a shortcut for this.
View 1 Replies
View Related
Apr 13, 2011
When I export .idw in autocad .dwg, the tolerance text height of dimensions with 'Limits/Fits-Show tolerance' change, becoming the same of the dimensions text, while the tolerance text height of dimensions without 'Limits/Fits-Show tolerance' remain the same of the .idw file. Why? There's something I can do, to ensure that text height no change? See the attached pictures that show the problem.
I use Inventor 2011 with SP1.
View 6 Replies
View Related
Jan 13, 2012
I would like to know, how to access the GDT tolerance block in Autocad, I have a requirement, that I need to take the values from Xl and paste it in the tolerance block.
View 1 Replies
View Related
Jan 3, 2013
I have a series of complex shapes that look like solid shapes but they are separated. When I try to auto close, the lines shoot all over the place. The open ends of the lines are physically touching or at least very close.
Can you set a tolerance so that two lines touching each other connect?
View 6 Replies
View Related
Feb 14, 2005
Any method to set all the Tolerance Types for a GeneralDimension via VBA.
The Tolerance object, accessible via the GeneralDimension object, offers methods to set Deviation, Fits, Limits & Symmetric tolerance types, but I can’t find a way to set other Tolerance types, such as Reference, Basic, Max & Min
View 3 Replies
View Related
May 22, 2013
I've got an iFeature created that's very handy. It's basically a reamed hole with a counter bore for a purchased locating pin.
Here's the rub: Is there a way to specify a tolerance to that hole that will come through the i Feature? As in, I can draw the hole with a diameter of 0.501" within the definition of the iFeature. That's easy. However, when I do a print, I'd like to be able to just snap a leader to it that will have the "Use Part Tolerance" box checked and will reflect the correct tolerance.
As an aside, one of the reasons I want to do this is because I use Hole Tables a lot. In a hole table, I can manually go in and change the call out for the hole to show the correct tolerance, but in order to keep the grouping together, I have to do EVERY hole individually.
View 1 Replies
View Related
Jul 28, 2010
All the values I put in to set my tolerance are being rounded to three decimal places even though the value is four place and I am setting the dimension precision to four place.
For Example: I have a hole of diameter 2.0466. It is to have a tolerance of +.0005/-.0000. When tolerance.setToDeviation is called, the .0005 is strangely forced to .001 and is set as this in the part file. The precision value had already been set to 4 at this point.
I am using the following code in Inventor 2010:
'Create hole feature
Call oCompDef.Features.HoleFeatures.AddDrilledByThroughAllExtent(oLinearPlacementDef, dDiameter, kExtentDirection)
'Get hole feature just created
Dim oHole As HoleFeature
Set oHole = oCompDef.Features.HoleFeatures.Item(oCompDef.Features.HoleFeatures.Count) ' need most recent index
[code]...
View 3 Replies
View Related
Jul 8, 2013
I need to change one dimension using iLogic. It changes due to the path taken to manufacture the part. In a nutshell majority of the time the "OD" has a +.004 / .000 tolerance and the model is drawn at the minimum size. There are cases when the "OD" has a +.005/-.005 tolerance and is modeled at the nominal size. I've learned some of the iLogic to make the change I'm after but not all. I'm having trouble setting ModelValueType to change the model size.
See the code below, for setting +/-.005"
IV2012
View 2 Replies
View Related
Nov 18, 2011
how to create a compsite position tolerance with the Feature Control Frame command? (See attachment)
View 2 Replies
View Related
Oct 4, 2010
Is there a way to define the export tolerance of a step file? Now the tolerance is always set to 0.01mm but i need a tolerance of 0.001 to go further in another CAD / CAM System.
View 6 Replies
View Related
May 16, 2006
Either my lack of sleep has caused me to overlook something obvious or my magic wand has gone haywire. Basically, the wand behaves as if the tolerance is set much higher than the value I select. Even if I set it to 0, the wand selects colors that are radically different.
I am working with all channels (not just red for example), the file is a single layer, etc. I've worked with PS for years and I can't see what I'm doing wrong.
In the attached file I selected the white area just above the check mark. With my settings, it should select all the white around the check. Instead, it selects half the white and some of the check, as you will see.
View 5 Replies
View Related
Jul 2, 2012
I keep hving trouble with a hole and the diameter tolerance.
Create a simple hole, single diameter concentric and specific depth. I go to the tolerance window for the diameter and change it to a Limits-Linear. I enter my values .3758 and .3754. Precision is .1234. I clikc OK, then go back to the tolerance, and its reset both values to .3756 What gives???? I've deleted and recreated the hole, edited it about 10 times, and still the same effect.
View 2 Replies
View Related