AutoCAD Inventor :: Minimum Distance Between Two Faces
Apr 1, 2008Code to find minimum distance between two faces using "Minimum distance" method...
View 5 RepliesCode to find minimum distance between two faces using "Minimum distance" method...
View 5 RepliesI want to measure the minimum distance between 2 parts. But I want Ilogic to know what parts to measure according to what i've selected.
I have something like this but its not working... gives me always this error "
Measure.MinimumDistance: No entity named "System.__ComObject" was found."
Dim oOccurrence As ComponentOccurrenceDim oOccurrence2 As ComponentOccurrenceTry oOccurrence = ThisDoc.Document.SelectSet.Item(1)oOccurrence2 = ThisDoc.Document.SelectSet.Item(2)Catch MessageBox.Show("Please select a component before running this rule.", "iLogic") ReturnEnd Try Dim doc As DocumentDim CurFileName As String oOccurrence = ThisApplication.ActiveDocument.SelectSet.Item(1) oOccurrence2 = ThisApplication.ActiveDocument.SelectSet.Item(2) distance = Measure.MinimumDistance(oOccurrence,oOccurrence2)MsgBox(distance)
what the minimum distance between two 3D rectangles is. I can do trial and error using the INTERFERE command (Acad 2012) and move the 2 groups until they stop hitting each other, but I wanted to see if there is a command in ACAD that will tell me how close 2 objects pass.
I have an old pile foundation group for 4 tower legs and I wanted to see how close I could get the new pile group to the old group. I'll try to attach a dwg file with 3 options I was trying. The old group is in Cyan and the new group is Red.
I'm guessing I could use UCS and set it on one of the piles and measure to the closest old pile, but the screen gets so cluttered. Is there a way to only show a slice through the objects?
Any way to distribute a set of variously-sized 2D objects on a 2D surface in Photoshop or Illustrator? Illustrator lets you align objects evenly along a 1D line, but I want the objects to basically fill a surface evenly.
A simple way of phrasing this is: I have a set of X objects of different size (or shape). I want them to be as close to each other as possible, but without overlapping. It should be easy for software to find the perfect composition to minimize "air gap" between them.
As a result, If I feed the program with shapes of various shape and size, I should get results like this:
wholesale-fabric-discount-store.com/images/Giraffe_Fabric.jpg (air gap between the objects is approx. mininal)
(air gap between the objects is approx. minimal)!
i got Inventor recently, and i've been working on a model of a longboard just to teach myself how to use the tools in Inventor. right now i'm trying to color areas for the griptape pattern so i drew the 2D pattern and projected it onto the 3D model of the longboard. but when i tried to split the faces of the model along the projected pattern only a few of the projected lines split the faces. for other faces i kept getting these errors:
Create parting line failed Crane.ipt: Errors occurred during update Split11: Could not build this Split The attempted operation did not produce a meaningful result. Try with different inputs.
I am trying to set up a dimension that starts at a minimum value and increases incrementally by 1/16" of an inch to satisfy another dimension. I've attached a pdf showing the part and the two dimensions. I need the overall thickness of the part to start at 1 1/4" as shown and as the width (Depth + 1 1/2") changes, the thickness will grow when the tongue of the part gets less than 5/8". I'm guessing this is an area best suited to ILogic, but I'm not sure how to get started.
View 3 Replies View Relatedare there any other analysis tools available to find the minimum internal wall thickness in a part? I'm aware of the cross-section tool, but that only analyzes an area the user has already noticed. In a prismatic part with several cross-holes and features (cavities), it could be easy to miss a thin spot that could give up under internal pressure just by 'eyeballing' the part with Hidden Edges turned on.
I guess I could try the 'unground and move the part thru a sectional plane' trick, but I think it would be too haphazard, especially if the weak point is not thru a principal plane.
Is there a tool I'm missing or maybe something that has been added in newer releases? Maybe this is too much analysis to ask of a modeling package.
Inventor Professional 2014 64 SP1
Windows 7 64 bit - SP1
Xeon E5-1620
16 GB Ram
Quadro 2000
I keep getting this minimum segment length message after running tubing routes. I've already configured the tube style and entered the minimum length I want. I place tube fittings before I run tubing, so I don't include fittings/couplings in my tube style. The lengths of the segments are equal to or longer than the segment rule I entered, so I'm not sure why I'm getting this error message. I also get a message saying that a segment will violate the rule once fittings are placed, even though I've opted out of using fittings in the style. To get around this error I've been having to go into each route and edit the sketch to make the problem segments longer.
HP Z400 Workstation
Intel Xeon @ 3.33GHz
12.0 GB RAM
Windows 7 64-bit
Inventor Pro 2014
When I use Derived Route I get "Minimum Length Violation(Too short to continue)". How can I fix it. Is there any parameter that I can define minimum length.
View 7 Replies View RelatedIs there any way of displaying the geodetic distance(ie "mapdist") with the dimension tool instead of the normal distance?
View 2 Replies View RelatedI am trying to oTrack distance from the top circle edge of a cylinder to a certain distance ... whenever i try to do that ... it either track to x and y .. but not in z :/ ... the video i have on you tube he did it so simply and it seems to be easy .
I am not sure what is wrong .. but i heard parallel and perspective view could make a difference .. i actually try both :/ ...
[URL].....
I would like to compare two faces to see if they are the same face. I have three faces and a hole feature on one of the three faces. I am trying to determine what face the hole is on(top, right, left). I can get the face the hole feature was created on as:
Set oHoleFace = oHoleFeature.PlacementDefinition.Parent.Sketch.PlanarEntity
I can get the three face objects I need to check for the hole on.
Set oTopFace = oExtrudeFeatures.Item(1).Faces.Item(13)
Set oRightFace = oExtrudeFeatures.Item(1).Faces.Item(3)
Set oLeftFace = oExtrudeFeatures.Item(1).Faces.Item(12)
Can I compare faces or do I need to use vectors? I tried comparing the InternalName of the faces but this seems to fail when there is more than 1 hole center within a hole feature.
____________________________
Inventor Professional 2014 64 Bit
Windows 7 Professional
NVIDIA Quadro FX 4600
Dual Intel Xeon E5540 CPUs
16GB DDR3 Ram
I have a problem with getting an Inventor model into Revit. It's not the import of the model that's the problem, but the way the model displays in Revit. (It displays fine in AutoCAD, 3ds max etc - just not Revit.)
Here's the part file - it's just a simple box with a couple of split-face features on it to generate a pattern.
If I take the model into Revit, I can only see the pattern if I select the object.
Deselect the object and the pattern vanishes. Here's an unselected/selected screenshot from Revit:
Models attached - Inventor 2014 IPT and a SAT version of the same.
I am trying to put a deck layout decal onto a surface. When selecting the decal command, inventor will only allow me to select the bottom surface and not the top one where I want the decal. is this achievable.
I can do it by flipping the normal and putting on a mirrored image for my decal but that seems like a lot of work
if you create a new part with a cube, sketch onto one of the surfaces and add an image, the decal will only attach to one of the availiable 2 surfaces
how to cut or split more than one face of a surface model in one go. The only way (it seems) is to use the Trim command for every face you need to trim, whereas I want to choose the cutting tool (a plane or face) and then choose a whole lot of faces (by holding CTRL and clicking the faces) and trim them all in one go. Is this possible? I can do this in Fusion, but Fusion is way too slow on my PC compared to Inventor.
I also tried extruding a sketch through the surfaces to cut them, but it doesn't work (Inventor complains that there aren't any solids to cut).
I have seen selection filter and apply selction of faces and edges.
I want to leverage this further. In a part, is it possible to simply drag a window and have inventor select all faces?
Inventor Professional 2013
Vault Collaboration 2013
I once knew how to make a plane in the middle between two parrallel faces, 2013
View 6 Replies View RelatedIs there a way of dimensioning the distance between the views on a .idw?
I have a series of drawings to make, that consist of two view each. I need to make them as consistant as possible, as far as the distance from view to view, accross the drawings.
What formula or dimensions do i require so as there is a 0.5mm gap around the Revolution 3 (red color)...is revolution the method required to achieve this?
View 2 Replies View RelatedI've attached the file (Inventor 2013). The sketch shown is a raised lip I'd like to have around a future opening. I actually want that sketch to wrap all the way around the body, but taper down to 0 in the rear as there are to be hinge plates. This is going to be a grill/smoker and there needs to be a 3/8" raised lip at the future seam of the top and bottom. Shown in the model is just the top portion.
View 8 Replies View RelatedHow can I thicken/offset an entire part without having to select all the faces individually? The 'chain select' option is not good enough for selecting all faces/surfaces that meet and form an edge with no fillet.
Is there still no way of doing this in 2012?
In the initial part of the simulation promotional video [URL]....
the internal space of the valve is selected by first selecting faces, then selecting Part Priority and then Isolation, producing the combined total flow volume space. Despite repeating this procedure many times I find I am unable to create and isolate the required volume space. The inner surfaces of the valve are selected but when selecting Part Priority, part of the valve solid part highlights and the selected inner valve surfaces disappear.
I have managed to derived the volume space by subtracting a new derived part, however the example provided in the video suggests the process of defining the air space can be achieved a lot quicker.
I would love for the day that ADSK allows users to assign materials to faces and surfaces at the assembly level. I know this can be done at the part level but this practice has it's flaws when trying to have an accurate BOM and Parts List as well as other "issues" when using that method.
Take a plated part for example. At my company our structure of a plated part would look something like this:
raw material - machined part - plated part. I'm sure it;s the same at many other manufacturing companies.
Typically we will have a material spec sheet for the raw material. We will have an IPT and INV dwg of the machined part file. We then place the machine part (IPT) into an IAM to become the plated part. We do this workflow because if we chance any geometry to the child (machined part) it will update and reflect a tthe parent IAM level (plated part). This also keeps out parts list and BOM structure in-line with our MRP system. So this workflow works great for us.
However there is an issue doing it that way. Inventor doesn't allow to assign materials to faces at the assembly level which seems just wrong to me. I kind of understand why they did that but it sure would be nice to be able to assign materials to faces in IAM files. Yes I know I could acheive this by using Derived Component but then my parts list and BOM structure does not reflect the base part. It only reflects the Derived part in my Parts List. Is there a way I'm missing to alter or change the Parts List to pull info of title, part number, etc of the base part rather than the Derived?
Ideally I'd just love for one day INV to allow material assignment to faces and surfaces in the assembly level. It looks rather strange on our drawings where we do a section view of the top l;evel assembly and see parts that are technically made of brass but look to be made of chrome or zinc plating instead because of how we had to assign material to the entire body of the component at the assembly level.
I've currently written an application for SolidWorks that reads file that geometry in the form of faces (ie. 3 or 4 double values that represent triangular and quadirilateral faces). I am trying to create the same application to work for Autodesk Inventor, but I am having some issues.
First, I am basing my code off from the examples given in the help files. There's a lot of pointers to objects being to get to the Face creation portion, this seems to be slowing my appliation down considerable compared to the SolidWorks counterpart. SolidWorks API has a modelling method called CreatePlanarSurfaceDLL that allows me to provide an array of doubles representing the vertex points in order (x, y, Z) for each point, so the array looks like this for a triangle (P1.X, P1.Y, P1.Z, P2.X, P2.Y, P2.Z, P3.X, P3.Y, P3.Z). Is there anything similar in the Inventor API to simply the process?
Secondly, when using the example, they all have a known "shape" and therefor there are a definied number of vertices, edges, faces, etc. And when adding the faces, the known points / vertices are used. In my case, each face contains information for it's 3 or 4 vertices. I created these using the prescribed methods, but when the final surface body feature is created, and a repair is performed on it, it shows a lot of duplicate edges and vertices. Do I need to take the time and filter out all of the duplicate vertices, and point to a single vertex that may represent a vertext used by up to 3 or 4 faces?
I have an STL (mesh file) file that I converted into DXF file, and then imported into Inventor.
The file contains a surface (meshed) I would like to create a thickness for each face. Since, the number of faces is very large, I cannot do it manually, is there an option/ trick to select them all, or perhaps a different way to create a thickness to the meshed surface.
I'm trying to sweep six circles along 6 3d sketches however I receive the 'The attempted operation had problems trimming and discarding faces. Try again with different outputs.
I have been suffering with the above error message and i am at my wits end. I've tried tracing the the geometry, played dot to dot joining up the points but to no avail. Some sweeps work and others don't.
So it isn't a major issue but I know how measure used to show a blue line when measuring between two faces or points that it measured (by default the closest distance) but ever since installing 2014 I no longer see those lines. Any setting somewhere or if that was just removed completely?
View 9 Replies View RelatedI have created some curved straightening vanes to go inside a large square duct 90 degree elbow. Each vane starts with a 6" long straight section the its follows a fixed radius through 90 degrees. When I "unfold" the part the resulting face becomes two separate faces. When i right click to export as dxf i can only export one face or the other. How can I combine this into a single face to export?
View 4 Replies View RelatedAfter reading the documentation for IV 2013, I'm not sure if it's possible to create a midplane between parallel faces of two different parts or not. I've tried using the workplane buttons in both the 3D Model and the Assembly tabs with no joy.
Product Design Suite 2013 Ultimate
Windows 7 64-bit
Intel Core 2 Quad Q9300 2.5GHz
8 GB RAM
Nvidia GeForce 8800 GT
I have two faces of different size and am trying to sweep out a curve section between the two. But since the two faces are of different size it only follows the path with the original face selected.
View 4 Replies View RelatedI have a VBA form coded that we use to generate part numbers and descriptions that then populate the iProperties. We often use the part sizes in the description. I would like to be able to put a button on the form that allows users to use the "Measure Distance" tool so that they can measure the part while they are creating the description.
Any code that I could use to activate the "measure" tool while a vba form is active?