AutoCAD Inventor :: Constrain Sketch With Image
Sep 5, 2013How to become able to fully constrain a sketch with an image in it? Always stalls at 1 dimension required. Try a sketch with only an imported image.
View 2 RepliesHow to become able to fully constrain a sketch with an image in it? Always stalls at 1 dimension required. Try a sketch with only an imported image.
View 2 RepliesI've managed to hack together some code to draw a rectangle and dimension it. Now I want to constrain it to the origin. I figure either using two dimensions from a top/side to the origin and setting the dimension as half of the other respective dimension would work. Or constraining the center point of a top/side line to be vertical/horizontal to the origin.
The problem I'm having is I do not know how to reference the origin. So until I figure out how to reference the origin point I can't use either method.
Public Sub DrawSketchLine() ' Check to make sure a sketch is open. If Not TypeOf ThisApplication.ActiveEditObject Is PlanarSketch Then MsgBox "A sketch must be active." Exit Sub End If ' Set a reference to the active sketch. Dim oSketch As PlanarSketch Set oSketch = ThisApplication.ActiveEditObject ' Set a reference to the transient geometry collection. Dim oTransGeom As TransientGeometry Set oTransGeom = ThisApplication.TransientGeometry Dim oUOM As UnitsOfMeasure Set oUOM =
[Code].......
How is this accomplished in Inventor? The 3D sketch environment seems intentionally crippled. Many of the constrains are not available, and the "include geometery" command refuses to include the origin (or any other planes and axis for that matter).
View 4 Replies View RelatedIs it possible to constrain sketch entities, (like lines), to a plane, (make the line and plane coincident)?
View 2 Replies View RelatedI have a sketch that Inventor changes its status between under constrained, over constrained, and fully constrained depending on dimensions (makes sense), and wether I rebuild the model (WTF?).
Steps to reproduce:
1) Open the attached .ipt file.
2) Examine Sketch11 (under Face3) It should be fully constrained.
3) Exit the sketch. Open the parameters dialog and change the value of "angle" from 45 to 60. (If you get an error message change it to 50 first, then 60. It's a work in progress.)
4) Re-examine Sketch11. It is now under constrained.
5) Exit the skecth and go to the manage tab. Click "Rebuild All".
6) Re-examine Sketch11. It is now fully constrained.
7) Scratch your head and post back with your theory.
I made a bunch of lines, then used the bend command to make curves where they intersected. I'm trying to put lines connecting A to C and B to D. How do I constrain the ends of the lines to the center of the curves?
View 9 Replies View RelatedWhen I add a text to a sketch, I can constrain the rectangle to set its size, orientation and position.And I can set the text width to fit into the rectangle. But I wasn't able to set the text height to fit into the rectangle.
Am I missing something or is the fit text option doing only half the job?
Do you know how to constrain 2d cad sketch to match existing 3D model. see screenshot. Is it doable?
View 6 Replies View RelatedWhen you're working on a sketch in the part environment the status bar shows the number of constraints needed to fully constrain the sketch. For example "2 Dimensions Needed".
How do you retrieve this value using Visual Basic Net?
I cannot select origin to constrain sketch with dimension to origin?
I selected Sketch,
expanded origin,
selected mywork plan (xy)
drew rectangle,
input dims,
right click for marking menu,
selected dimensions,
Origin is yellow,
cannot select it and then edge of rect to set dim that will center sketch on origin? Just like the videos show, but cannot select origin>
I'm wanting to emboss a logo onto a part. Is it possible to project the logo outline? Or is there a better way of getting the logo into inventor? The logo file is a .jpg file.
HP Z400 Workstation
Intel Xeon @ 3.33GHz
12.0 GB RAM
Windows 7 64-bit
Inventor Pro 2014
I am attempting to insert an image into a sketch to be used as a decal, but it appears as a blank gray box. I created this image in Photoshop CS5 on my Mac Mountain Lion partition. I am running Inventor 2012 on my Windows 7 64-bit partition.
I appear to only have a problem with that specific image. All other images on my harddrive insert correctly. I have tried multiple file types (.jpg, .png, .gif, etc), but nothing has worked. URL.....It may be necessary to note that the image is white text with a transparent background.
When I insert a image into a sketch what resolution does Inventor use?
View 4 Replies View RelatedI have a basic problem but I can't seem to be able to get around it. I added an image to a sketch successfully but it cam with a yellow line around it (see attached) and I can't remove it. In the sketch properties I was able to change it's color to black to make less visible but it's still there.
Any clue as to how I can make it disappear ?
What is the proper syntax for removing a bmp file inserted into a drawing border defintiion? I am using VB.net.
I got all the way into editing the sketch of my border defintion...
I know the name of the sketch image I want to delete it's something like "C:Temp12345678.bmp"
So I wanted to use the name to get the image file and set it to a variable. Then run the .Delete() command on that. But it's not working.
This is what I have, where oCSTicBorderDef is equal to the border defintiion of the active document..
Dim oSketch As DrawingSketch
oCSTicBorderDef.Edit(oSketch)
Dim strImageDirectory AsString
[Code].....
I have one Inventor Pro 2012 SP1 user who is trying to insert a bmp image into a sketch so he can create a decal and the image appears blank and gray. See the attached screen capture. We converted the bmp to a jpg and we get the same result. When I insert the bmp into a sketch on my workstation and it views correctly. I've logged into the same workstation as the user who is having the problem and the image also views correctly. I tried to change the file associaiton from Microsoft Picture View to Paint and I get the same result.
Here are his workstation specs:
Dell Precision T5400 - Xeon Quad Core - 2.93 GHz
Windows XP SP2 - x32
4 GB RAM
Nvidia Quadro FX 570
I've created a shared sketch and have used it with various features. Sometime those features are suppressed. The model works fine but the shared sketch generates a sketch doctor error because the feature that created it has been suppressed. Is there anyway to make the sketch suppressed so it doesn't trigger a sketch doctor error? Inventor 2013
View 2 Replies View RelatedHow do I duplicate the 2D line work from a part level sketch into a drawing level (overlay) sketch?
I started a simple 2D piping system diagram sketch by opening a new part file and using a sketch to stick draw the system schematic including some annotations. Then I opened a new drawing file and made a base view of the part file to bring a view of the original sketch into the drawing.
I realize now that it would have been much easier to have created the schematic directly in a 2D sketch at the drawing level, which would have made editing the annotations much easier at the drawing level, and there is really no need for the part file to exist. I have no intention of creating a 3D model or "real" part in the .ipt file, was just using it as a jumping off point to sketch.
I was thinking that I could correct my error in judgment by just copying the sketch and pasting it into a new sketch on the drawing, but it doesn't want to work that way. I have tried copying both the whole sketch at the browser level, and the entire sketch contents (all of the lines and annotations) from the opened part sketch, but when I attempt to paste either of those into the drawing, paste does not seem to be an option. I'd rather not have to draw the whole thing again, as in typical fashion, my once simple sketch has grown in proportion and complexity from its simple beginning.
I was trying to query some sketch points data from a profile Path using code as below. However the program stopped without telling the reason.
Code below:
i = 0;
foreach (ProfileEntity oSourceProfileEntity in oProfilePath) { switch (oProfilePath[i].SketchEntity.Type) { case ObjectTypeEnum.kSketchArcObject: { SketchArc srcSkArc = default(SketchArc); srcSkArc = (SketchArc) oSourceProfileEntity.SketchEntity; // error points[i] = srcSkArc.StartSketchPoint.Geometry; break; } default: { SketchLine srcSkLine = default(SketchLine); srcSkLine =(SketchLine) oProfilePath[i].SketchEntity; // error points[i] = srcSkLine.StartSketchPoint.Geometry; break; } } i++; }
First we imported an ".igs" file to inventor, which produced "wires". Then by promoting the wires it produced a 3-d sketch.
The model is in one plane and 2-D, and we are trying to use Ansys 2-D analysis, but in-order to do so it needs to be in a 2-D sketch.
The model is too large to be redrawn on a 2-D plane, how to convert it to a 2-D sketch
want to change sketch 2013 into the sketch of 2010
View 1 Replies View RelatedWhen I edit certain sketched some other sketches disappear. see attached.
This is causing modelling to slow down as I can not project lines from the sketch that has disappeared.
After I create a adaptive part from projected sketch. How to modify the sketch? Please see the part attached.
View 6 Replies View Relatedwhat is the difference between a sketch and a planar sketch?
View 2 Replies View RelatedI'm having trouble with constaints, I'd like to constrain my sketch to a point in another sketch on a different plane. Is this posible in Inventor? If so how? If Inventor works differently how would you get a points in one sketch to be linked to points another?
View 2 Replies View RelatedI've made 2 parts and I'm attempting to constrain them but I can't seem to get it to fit properly.The transition should fit at the opposite end of the 2 square cutouts with the square end of the transition inside the cylinder.
View 7 Replies View RelatedI am trying to CAD a model rocket I just made so I can test the aerodynamics of it. I have all of the individual parts made in inventor, but I am having trouble getting the fins on the rocket.
How can I constrain the fins (which have a flat face) to the outside of the cylindrical rocket tube? The photo shows the fin and the face (the narrow and long face) that I am trying to constrain to the tube.
SO what is everyone say, trick about speeding up constrain execution. I have started working on this new project with 2013. And i'm finding myself losing alot of time. Basicly what i do is insert part from our database or content center and assemble them. So 80% of my activities on inventor are constraints. Right now i have this assemblies 175 / 156(small to me). And executing a constraint is minimum 4 seconds each time. If you consider that about 3 contraint is needed for each piece and final total part will probably be around 1000. i'm losing alot of time here
Yeah, i am not using preview. Why is inventor recalculating that much each time? Is it doing a rebuilt after each constraint?
What have you done that really increase the excution time of constraints?
Workstaion is
Windows 7 64bit
Intel Extreme i7cpu I975 @ 3,33
12bg ram
4 ssd in Raid stripping.Nvidia FX3800
Inventor 2013 SP1
I am trying to determine how to properley constrain the assembly below, so that the compression of the rubber gasket will be properly indicated.
Currently I am seeing the deflection of the shelf in the downward direction, but I do not see any indication of stress in the gasket behind.Currently the gasket is "bonded" to the steel tube the screws are bonded to the shelf bracket and the steel tube.
I put in "work axis" at the center line of the shelf bracket and the CL of the gasket, but I can't find a way to constrain to a work axis.The file is too large to upload here...
I have one problem and I would like to get your opinion how I could solve this.
I can't share models I have problem with, but I made another with the same problem.
I have two parts - one with slot, another with "pin". How to constrain the "pin" to always move in slot?
I had some ideas but non of them worked for me:
1. Use the Transitional constrain came first in mind, but it gives unsuspected results in this situation. Pin part is jumping around and ends up contrained in another place ir should be.
2. Contact solver kind of do the job, but it works quite bad. I gives no control or accuracy (i can not control how much pin is moved out)
3. I even thought of point on 3d sketch constrain, but it can not be done
How you would suggest to constrain the movement? I hope I stated problem clear enough.
I attached model files. I use Inventor 2013
I'm trying to make a constraint allowing the dark smaller cylinder (1) to run in the copper track (2). I want the larger cylinder (3) to be able to rotate around its own axis, while everything is rotating around the Z axis. I've successfully constrained the parts so that all the parts can rotate around the Z-axis but when I constrain the smaller cylinder (1) with the tangent constraint with the track (2) the smaller cylinder is not able to move around on the face, it's just glued to the face.
I want the smaller cylinder (1) to recognize the copper faces as solids (so that it can't intersect the surfaces), this would allow the proper movement. I've attached an image of the parts.