AutoCAD Inventor :: Parallel Constraint In Assembly
Dec 29, 2011This is probably a simple one that I am missing, but how do I get a parallel constraint applied to these two edges.
View 4 RepliesThis is probably a simple one that I am missing, but how do I get a parallel constraint applied to these two edges.
View 4 RepliesMy need is to assembly parts into an assembly by a known position in the assembly. The part has a UCS and I create UCS on the assembly programatically. What I cannot do is to constrain the two UCS. I tried this (Inventor 2013 x64 on W7/W8 64, c++ 2010 by the way DEBUG mode is not working from the IDE):
CAssemblyComponentDefinition compDef = doc.get_ComponentDefinition();
// MOdules UCS
CUserCoordinateSystems coords = compDef.get_UserCoordinateSystems();
CTransientGeometry geom = m_InventorApp.get_TransientGeometry();
CMatrix matrix = geom.CreateMatrix();
[code]...
I have an assembly wherein one part is mated to another grounded part, with a face-to-face coincident mate. The click + drag type of movement appears to move the part, while continually solving this constraint.
However, it seems like there is no way to do a rotation in the same manner, where the constraint is continually updated. There appears to only be the "Free Rotate" command, which ignores the constraints.
Is there really no way to do this in Inventor? The application is that I am laying out a mold for many, many small parts, and I am trying to move and rotate them into position to get good packing efficiency and density. Each part will be attached to a mold base with one of the aforementioned face-to-face constraints, then slid & rotated around manually.
This seems like a really important piece of functionality. Solidworks can certainly do this, do a part rotation in an assembly, while solving for existing constraints.
I am using Autodesk Inventor Professional 2013.
Motor Model 1:1 is used to turn the wheel holders at various angles. The part named "front gear spring holder" is supposed to revolve and turn the inner part of the "front wheel holder" My problem is that I want to simulate the turning of the front wheel's using contact sets or 3d/2d contact sets in the dynamic simulation environment. I do not know how to do this, but I'm almost certain the program is capable of doing so. Also the spinning of the front wheels must be able to be done along with various angles of the front wheels(while turning, the front wheels must be able to still spin with the front gear spring holder".
I have seen threads and articles that say that making gears with contact sets is not recommended or possible but i have two instances here where they work perfectly fine using the dynamic simulation with 3d /contact sets. Take a look at the simulation I have saved as well.
I will need more on this assembly in the future, including how to create bevel gears that work at 90 degree angles or spur gears with contact sets instead of just simulating their movements .
I am trying to add an angle constraint to an assembly of a ladder design. I need for the ladder to be able to be set at an angle against a wall and not vertical. The ladder design is such that the base brackets are fixed to the ground and the rest of the ladder may move about the axis of the bolted connection at the base of the ladder. I cannot get the angle constraint on the ladder to allow this.
Inventor 2013 Release 2013 SP2
Product Design Suite Ultimate 2013 64-Bit Edition
64-bit HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)
Anthony Goodwin ~ Cad Manager/Senior Designer
Autodesk Inventor Professional 2013 SP2 64-Bit Edition
Windows 7 HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)
How could I center the suppressed constraint? I woul like to selecet it in the listbox.
Private Sub CommandButton1_Click()
Dim oAssDoc As AssemblyDocument
Set oAssDoc = ThisApplication.ActiveDocument
Dim oConstraint As AssemblyConstraint
For Each oConstraint In oAssDoc.ComponentDefinition.Constraints
If oConstraint.HealthStatus = kSuppressedHealth Then
Call ListBox1.AddItem(oConstraint.Name)
End If
Next oConstraint
End Sub
Whenever I am using mirror command in assly . The mirrored part do not get constraint again I have to use the constraint or I have to make that part grounded.
View 4 Replies View RelatedThis is noce Made sub assembly everything is good to go. Put in main assembly and flip..
Yeah lets not fixs bugs...
Sub Assembly
Insert in Main Assembly
Nice.. And no i have not constrained it to the main just put it in...
I got a problem with editing angle constraint in assemblies. I tried edit property of constraint but it didn't move model. Simply changing Angle attribute of constraint item don't work.
Only way I achieved movemenet is
if(oOccurrence.Constraints[i].Name.Equals(name))
{
AngleConstraint a = (AngleConstraint)oOccurrence.Constraints[i];
Object oEntity1 = a.EntityOne;
Object oEntity2 = a.EntityTwo;
String sVal = "" + angle + " deg";
[Code]...
but this is really slow, as much as changing throught parameter:
if (assemblyDoc.ComponentDefinition.Parameters[i].Name == "d655")
{
Inventor.Parameter invParam = assemblyDoc.ComponentDefinition.Parameters[i];
invParam.Value = Math.PI * angle/180;
inventorApplication.ActiveDocument.Update();
}
I have an assembly that is nearly completed. I am trying to change the lengths of two side rails (arrow pointing to one of them). On each end of these rails are several components that have been constrained to the rails.
When I change the length of the rails, many of the constraints show errors. I expected that all components would move with the ends of the rails as they are shortened since that is where they were constrained, but this has not happened.
The constraint recovery tool has not been useful to me.
I have an Assembly2 in Assembly1. I'd like to insert Assembly2 to Assembly 3 without losing any constraints or adaptive feature to Assembly1, while Assembly2 replaced with Assembly3.
Assembly1.iam
- Assembly2.iam
+ Part1
+ Part2
This is what I want:
Assembly1.iam
- Assembly3.iam
- Assembly2.iam
+ Part1
+ Part2
But Assembly2 shouldn't lose any constraints to Assembly1.
Software: Inventor Series 2011 SP1 x64
OS: Vista Business x64
CPU: E6400
RAM: 2*2Gb GeIL
VGA: Quadro FX 550
I have 4 different sub assemblies , each with a common part , I need to line up all these common parts in my main assembly.
View 5 Replies View RelatedHow do I make multiple views (Front, Top, Side & Isometric) when driving an assembly constraint? I want to be able to show an assembly moving from different perspectives all at one time.
Inventor 2013
Windows 7 Professional 64-bit SP1
HP EliteBook 8470w
Processor: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
Memory: 16 GB
AMD FirePro M2000
3D Connexion SpacePilot
I've got a relatively simple assembly (attached) containing 3 iparts. I change the center component the assembly and I lose all the constraints. Only the length changes, I'm sure I did this before but yet it turns out to be an epic disaster.
View 1 Replies View RelatedGiven the list of AssemblyConstraints how do I list them textually? For example
// error checking removed for brevityCComPtr<AssemblyConstraints> pConstraintList;pAssDef->get_Constraints(&pConstraintList) ; _tprintf_s (_T("The assembly has %d constraints
"),pConstraintList->Count);const int ikNum = pConstraintList->Count ;for (int iConstraint = 0 ; iConstraint < ikNum ; i++) { CComPtr<AssemblyConstraint> pConstraint; hr = pConstraintList->...
what to put here? how to print out more data here...? }How do I get each constraint from the list?
If I have two parts as occurrences in an assembly, how can I programatically constraint two workplanes (one from each part) to a flush constraint.
My problem is that I can get the Occurrences, say ...
CComPtr<ComponentOccurrence> pTube1Occ = ...
CComPtr<ComponentOccurrence> pTube2Occ = ...
...but I don't know how to delve into these two pointers to get hold of two named workplanes within them. I'd then pass the two workplanes (somehow?!) to the AddFlushConstraint function.
get_SurfaceBodies doesn't seem right and neither does get_SubOccurrences.
I have a linear slide assembly, for which I've set up limit constraints in the open and closed position.
It all works well, with one being able to drag the slide open and closed and the parts stopping in the correct positions.
I then inserted 4 of these assemblies as sub assemblies in a parent assembly.
I then constrain another part to the 4 slides.
I want to just drag on this part, to make the slides move to open positions.
This is to check kinematics etc.
One cant do this. You can only drag one slide open, by activating that slide in the model browser.
Any way to make limits work properly in upper assemblies?
When I record an animation in .avi using the Drive Constraint command here's what pops :
-The codec you selected to compress this AVI video stream cannot handle the current screen color depth and/or the graphics frame size. Please try another codec.
-Then I press OK and it records but the AVI file is empty and no video is watchable.
What can I do?
I'm using Autodesk Inventor 2012 ans a windows 7 64bit brand new computer with Nvidia graphic card.
On AssemblyConstraints what is the difference between EntityOne(Two) and GeometryOne(Two). When should one be used over the other?
Likewise with AffectedOccurrenceOne(Two) and OccurrenceOne(Two).
I would like to determine the Proxy ObjectType returned from Constraint.EntityOne (i.e. If oConst.EntityOne = kWorkPointProxyObject Then ....)
Property EntityOne() As IDispatch**
how IDispatch works.
Dim oAsmDef As AssemblyComponentDefinitionSet oAsmDef = oAsmDoc.ComponentDefinition
Dim oConst As AssemblyConstraint
For Each oConst In oAsmDef.Constraints'Below will print the Enum 67120288 (kEdgeProxyObject) or 67119520 (kFaceProxyObject) if
'it is constrained. It will Err if a Work or Sketch Proxy Object is Constrained Debug.Print oConst.EntityOne Debug.Print oConst.EntityTwo Next
Why can't Inventor constrain an ellipsoidal contour with a line? We have pressure cylinders which uses a 2:1 ellipse. These cylinder get welded to a base stand fixture. The surface of the ellipse nestles in between contact points of the base stand, in this case lines of geometry. Yet Inventor can't constrain them as such. Any good workflow (at the assembly level) so that we don't have to ground components and use the Analyze Interference tool to make sure we are right on the surfaces? I don't understand why it will work for a cylindrical surface but not an elliptical surface.
View 7 Replies View RelatedI am designing a vertical axis wind turbine just for some practice (just started using Inventor) and everything was going smoothly until I tried to "animate" it spinning. First, I set up a work plane that goes through the center of the structure, and then I clicked angle constraint "explicit reference vector." After watching several youtube videos, I figured that I should click on the work plane, click on another reference point, and then click another point that would be orthogonal to those two (right?). Well after I choose the first point, Inventor will only allow me to choose the center axis as the second option (which I think should be the third option).
View 6 Replies View RelatedWe have been experimenting with Parallel threading. The situation is that I have an assembly that contains multiple parts (approx. 40) which all have contained "almost" the same code. In order to rationalize this; we have rearranged the code in such way that we now only reference External iLogic rules form these 40 part files (only one place to revise the code if necessary).
The side effect to this rationalization has been the we have problems in executing the codes in parallel, see this simplified example:
Imports System.Threading.TasksParallel.For(1,40, Sub(h As Integer) iLogicVb.RunRule ("Part "& h &"", "iTriggerRule") End Sub)
Now all of these 40 part files try to execute their code.
'Configutation of Part filesiTrigger=iTrigger0iLogicVb.RunExternalRule("Cut configuration")iLogicVb.RunExternalRule("Bracing of the part")iLogicVb.RunExternalRule("Parameter context")
As they all are dependent upon running the same external rules the result is that not all part files are updated according to the required design requirements. It seem as if one of the part files calls the external rule and the rule is "busy" handling another part file it just terminates without warnings or errors.
Can multiple part files run the same external rule at the same time? Is there some form of queue? I do not get any warnings or errors, the partfiles just do not update. How can I make sure that all the part files run the external rules and is there a way of checking this?
Is there a way to have a 2-jaw parallel gripper's jaws move in synch? That is when I move 1 jaw the other one moves the same distance.
View 9 Replies View RelatedHaving trouble bolting through a beam onto a tappered face of a channel. In RL a tapered washer would be used, though they exist in Content Centre it doesnt work with the application.
View 1 Replies View RelatedMy part is at an arbitrary angle relative to one of the planes and i cannot align the view in a drawing to be horizontal.I try to make a view, in the part file, in which the model will be horizontal, but there isn't any precise input for views.
I used the Look At tool to look at one face and all i need now is to rotate the view 90 degrees round one axis, but when i touch the line of the compass in the Constrained Orbit command the view jumps back to some position.
Is there an easy way to flange so that the flat pattern comes out with the two sides' faces are parallel to each other? I have attached the part I am trying to work with.
View 1 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 tried everything. Its not really a cone, but same difference its a bottle neck. I want the company name around the bottle neck.
View 2 Replies View RelatedBasically, I have two workplanes which are parallel to each other and offset by a certain distance. As illustrated in the picture below, I'd like to constrain points from each plane to have the same vertical alignment as those from the other plane (horizontal too, I suppose, but the horizontal dimension will be the same anyways).
View 1 Replies View RelatedI want to connect two sheet metal faces with a bend. Bend works if two parallel edges are selected. Is there a way to connect two faces with a bend if the two edges are not parallel?
View 5 Replies View Related