Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Holes and Loops

13 REPLIES 13
Reply
Message 1 of 14
Anonymous
400 Views, 13 Replies

Holes and Loops

Found something kind of interesting. If I select a edge loop created with a countersunk
hole that the cs dia is .375 and also select a through or counterbore hole with a .375
edge and do something like

If oEdge1.Geometry.Radius = Edge2.Geometry.Radius Then

It goes straight to the end if. I put a watch on both and they show the same value in the
watch window??

Ok to the real question. 8^)

If I have a edgeloop is there any way to traverse up the tree and find out if it is a hole
feature or a extrude or ??

--
Kent
Assistant Moderator
Autodesk Discussion Forum Moderator Program
13 REPLIES 13
Message 2 of 14
Anonymous
in reply to: Anonymous

As for the equality problem...

You cannot ever rely on two real number to test equal, the floating point
processors hold more decimal points than are displayed to you. You must
always check real numbers to within a tolerance. Change this...

If oEdge1.Geometry.Radius = Edge2.Geometry.Radius Then

to this (I am not familiar with VB so the format may not be completly
acurate, but you should get the idea)

If fabs(oEdge1.Geometry.Radius - Edge2.Geometry.Radius) < tolerance Then

where "fabs" is a function to get the absolute value of a real number

"Kent Keller" wrote in message
news:FEEBE48ECBB352A233627BA84EB02B96@in.WebX.maYIadrTaRb...
>
> Found something kind of interesting. If I select a edge loop created
with a countersunk
> hole that the cs dia is .375 and also select a through or counterbore
hole with a .375
> edge and do something like
>
> If oEdge1.Geometry.Radius = Edge2.Geometry.Radius Then
>
> It goes straight to the end if. I put a watch on both and they show the
same value in the
> watch window??
>
> Ok to the real question. 8^)
>
> If I have a edgeloop is there any way to traverse up the tree and find out
if it is a hole
> feature or a extrude or ??
>
> --
> Kent
> Assistant Moderator
> Autodesk Discussion Forum Moderator Program
>
>
>
Message 3 of 14
Anonymous
in reply to: Anonymous

Thanks Randy

Makes sense to some degree, although one would think that two things that are applied with
the exact same value should end up being the same. 8^) Counterbore and through holes are
the same, but Counter sink holes are different.

Any ideas on how to determine if a edge loop is created from a hole feature or a extrusion
add or a extrusion subtract?

This is (currently ) the biggest stumbling block in finishing up a little give away app
8^) Maybe I am going about it all wrong and should be filtering the pick for features
and trying to figure out what they are or ???

--
Kent
Assistant Moderator
Autodesk Discussion Forum Moderator Program


"Randy Sanders" wrote in message
news:8C40EF7F2ADF5BFE081FAC378D44D425@in.WebX.maYIadrTaRb...
> As for the equality problem...
>
> You cannot ever rely on two real number to test equal, the floating point
> processors hold more decimal points than are displayed to you. You must
> always check real numbers to within a tolerance. Change this...
>
> If oEdge1.Geometry.Radius = Edge2.Geometry.Radius Then
>
> to this (I am not familiar with VB so the format may not be completly
> acurate, but you should get the idea)
>
> If fabs(oEdge1.Geometry.Radius - Edge2.Geometry.Radius) < tolerance Then
>
> where "fabs" is a function to get the absolute value of a real number
Message 4 of 14
Anonymous
in reply to: Anonymous

I finally opened my eyes and found it in the Faces.item(x).createdbyfeature

Now to figure out how to deal with it all 8^)

--
Kent
Assistant Moderator
Autodesk Discussion Forum Moderator Program
Message 4 of 14
Anonymous
in reply to: Anonymous

Kent,

I worked on an app that would create slotted C'Sink holes and Slotted C'bore
holes and had a tremendous amount of problems- probably because of similar
issues, (I think).

What would happen is that the through slot operation would pick up the
C'bore edge and there would not be a "step" in the slot. The only way that
I was able to get this to work was to form the through hole first and then
to form the C'bore step second.

However, when it came to a slotted C'sink I could not get it to work. Again
if the through slot was not formed first, the C'sink edge would get "picked
up" creating a wide slot where there was no material left for the chamfer.
The problem that I still have is that when the through slot is formed and
the chamfer is added, both the outside of the C'slot is "picked up" and the
through slot is "picked up" so that the result is a little V trough around
the edge of the through slot. Hey, it would be great for an O-ring or
something. (I can send a picture if you would like).

Are what you are attempting to do similar to what I am?

EdT





"Kent Keller" wrote in message
news:B5B9E91157FF48EDA06936B17DFE9DE1@in.WebX.maYIadrTaRb...
> Thanks Randy
>
> Makes sense to some degree, although one would think that two things that
are applied with
> the exact same value should end up being the same. 8^) Counterbore and
through holes are
> the same, but Counter sink holes are different.
>
> Any ideas on how to determine if a edge loop is created from a hole
feature or a extrusion
> add or a extrusion subtract?
>
> This is (currently ) the biggest stumbling block in finishing up a
little give away app
> 8^) Maybe I am going about it all wrong and should be filtering the pick
for features
> and trying to figure out what they are or ???
>
> --
> Kent
> Assistant Moderator
> Autodesk Discussion Forum Moderator Program
>
>
> "Randy Sanders" wrote in message
> news:8C40EF7F2ADF5BFE081FAC378D44D425@in.WebX.maYIadrTaRb...
> > As for the equality problem...
> >
> > You cannot ever rely on two real number to test equal, the floating
point
> > processors hold more decimal points than are displayed to you. You must
> > always check real numbers to within a tolerance. Change this...
> >
> > If oEdge1.Geometry.Radius = Edge2.Geometry.Radius Then
> >
> > to this (I am not familiar with VB so the format may not be completly
> > acurate, but you should get the idea)
> >
> > If fabs(oEdge1.Geometry.Radius - Edge2.Geometry.Radius) < tolerance Then
> >
> > where "fabs" is a function to get the absolute value of a real number
>
>
Message 6 of 14
Anonymous
in reply to: Anonymous

Hi Ed

I am not sure I follow how you would make a c' sink before a cut. It seems like you
should be able to make the cut and then find the edge loop and use it for the C'sink. We
are allowed to post up to 200K png, jpg or gifs here now.

I am making a app where you insert a bolt, then start my program. Select the edge of
the bolt and then a hole, It will allow the normal settings ...offset and flip of the
insert constraint, then when you are happy you can start selecting other holes and it will
instance a copy of the bolt, and insert it. That much is done. I also want to be
able to select a face (and maybe eventually) even a part and have the bolt be put in all
holes like the seed hole. Right now I have the face so it puts bolts in all holes (also
unfortunately extrusions) with the same diameter of loop on the face. But it currently
doesn't take into account whether the hole is a Countersunk or counterbore or extruded.
That is why I needed to get back to the feature from the edgeloop.

Now that I have figured out how to do that, I need to decide on how strict of rules I am
going to make in comparing the seed hole to the rest of the holes. ie is hole type
(c'sink, c'bore, drilled) and hole dia good enough or do I need to look at all the other
variables.

--
Kent
Assistant Moderator
Autodesk Discussion Forum Moderator Program


"Ed Thompson" wrote in message
news:F09A37676D86DCDE7691DE7F10B82FE8@in.WebX.maYIadrTaRb...
> Kent,
>
> I worked on an app that would create slotted C'Sink holes and Slotted C'bore
> holes and had a tremendous amount of problems- probably because of similar
> issues, (I think).
>
> What would happen is that the through slot operation would pick up the
> C'bore edge and there would not be a "step" in the slot. The only way that
> I was able to get this to work was to form the through hole first and then
> to form the C'bore step second.
>
> However, when it came to a slotted C'sink I could not get it to work. Again
> if the through slot was not formed first, the C'sink edge would get "picked
> up" creating a wide slot where there was no material left for the chamfer.
> The problem that I still have is that when the through slot is formed and
> the chamfer is added, both the outside of the C'slot is "picked up" and the
> through slot is "picked up" so that the result is a little V trough around
> the edge of the through slot. Hey, it would be great for an O-ring or
> something. (I can send a picture if you would like).
>
> Are what you are attempting to do similar to what I am?
>
> EdT
>
Message 7 of 14
Anonymous
in reply to: Anonymous

Kent,

As far as the C'sink, it has been a while since I have played with this, but
what I remember is that after drawing an oval, the c'sink command worked.
No through hole was necessary, (from memory).

Here is a potential solution for applying your "seed" hole: If you prompt
the operator to select all the desired holes, you could just cycle through
the selection set. Then if the operator makes a "strange" selection, they
can either undo it if they don't like the results or they can continue on if
they really wanted something strange for some reason.

I do like your idea of having the operator get one fastener correct, flipped
in the right direction etc. and then to apply it to other positions. This
seems to be a good balance between giving the operator considerable control
while not forcing a lot of repetition. I often wish that IV wasn't quite so
restrictive, (ie. BOM's).

EdT




"Kent Keller" wrote in message
news:3262B4B6C3E73734557A58565F893209@in.WebX.maYIadrTaRb...
> Hi Ed
>
> I am not sure I follow how you would make a c' sink before a cut. It
seems like you
> should be able to make the cut and then find the edge loop and use it for
the C'sink. We
> are allowed to post up to 200K png, jpg or gifs here now.
>
> I am making a app where you insert a bolt, then start my program.
Select the edge of
> the bolt and then a hole, It will allow the normal settings ...offset and
flip of the
> insert constraint, then when you are happy you can start selecting other
holes and it will
> instance a copy of the bolt, and insert it. That much is done. I
also want to be
> able to select a face (and maybe eventually) even a part and have the bolt
be put in all
> holes like the seed hole. Right now I have the face so it puts bolts in
all holes (also
> unfortunately extrusions) with the same diameter of loop on the face. But
it currently
> doesn't take into account whether the hole is a Countersunk or
counterbore or extruded.
> That is why I needed to get back to the feature from the edgeloop.
>
> Now that I have figured out how to do that, I need to decide on how strict
of rules I am
> going to make in comparing the seed hole to the rest of the holes. ie is
hole type
> (c'sink, c'bore, drilled) and hole dia good enough or do I need to look at
all the other
> variables.
>
> --
> Kent
> Assistant Moderator
> Autodesk Discussion Forum Moderator Program
>
>
> "Ed Thompson" wrote in message
> news:F09A37676D86DCDE7691DE7F10B82FE8@in.WebX.maYIadrTaRb...
> > Kent,
> >
> > I worked on an app that would create slotted C'Sink holes and Slotted
C'bore
> > holes and had a tremendous amount of problems- probably because of
similar
> > issues, (I think).
> >
> > What would happen is that the through slot operation would pick up the
> > C'bore edge and there would not be a "step" in the slot. The only way
that
> > I was able to get this to work was to form the through hole first and
then
> > to form the C'bore step second.
> >
> > However, when it came to a slotted C'sink I could not get it to work.
Again
> > if the through slot was not formed first, the C'sink edge would get
"picked
> > up" creating a wide slot where there was no material left for the
chamfer.
> > The problem that I still have is that when the through slot is formed
and
> > the chamfer is added, both the outside of the C'slot is "picked up" and
the
> > through slot is "picked up" so that the result is a little V trough
around
> > the edge of the through slot. Hey, it would be great for an O-ring or
> > something. (I can send a picture if you would like).
> >
> > Are what you are attempting to do similar to what I am?
> >
> > EdT
> >
>
>
Message 7 of 14
Anonymous
in reply to: Anonymous



--
Sean Dotson, PE
http://www.sdotson.com
Check the Inventor FAQ for most common questions
www.sdotson.com/faq.html
-----------------------------------------------------------------------
"Kent Keller" wrote in message
news:3262B4B6C3E73734557A58565F893209@in.WebX.maYIadrTaRb...
> Hi Ed
>
> I am not sure I follow how you would make a c' sink before a cut. It
seems like you
> should be able to make the cut and then find the edge loop and use it for
the C'sink. We
> are allowed to post up to 200K png, jpg or gifs here now.
>
> I am making a app where you insert a bolt, then start my program.
Select the edge of
> the bolt and then a hole, It will allow the normal settings ...offset and
flip of the
> insert constraint, then when you are happy you can start selecting other
holes and it will
> instance a copy of the bolt, and insert it. That much is done. I
also want to be
> able to select a face (and maybe eventually) even a part and have the bolt
be put in all
> holes like the seed hole. Right now I have the face so it puts bolts in
all holes (also
> unfortunately extrusions) with the same diameter of loop on the face. But
it currently
> doesn't take into account whether the hole is a Countersunk or
counterbore or extruded.
> That is why I needed to get back to the feature from the edgeloop.
>
> Now that I have figured out how to do that, I need to decide on how strict
of rules I am
> going to make in comparing the seed hole to the rest of the holes. ie is
hole type
> (c'sink, c'bore, drilled) and hole dia good enough or do I need to look at
all the other
> variables.
>
> --
> Kent
> Assistant Moderator
> Autodesk Discussion Forum Moderator Program
>
>
> "Ed Thompson" wrote in message
> news:F09A37676D86DCDE7691DE7F10B82FE8@in.WebX.maYIadrTaRb...
> > Kent,
> >
> > I worked on an app that would create slotted C'Sink holes and Slotted
C'bore
> > holes and had a tremendous amount of problems- probably because of
similar
> > issues, (I think).
> >
> > What would happen is that the through slot operation would pick up the
> > C'bore edge and there would not be a "step" in the slot. The only way
that
> > I was able to get this to work was to form the through hole first and
then
> > to form the C'bore step second.
> >
> > However, when it came to a slotted C'sink I could not get it to work.
Again
> > if the through slot was not formed first, the C'sink edge would get
"picked
> > up" creating a wide slot where there was no material left for the
chamfer.
> > The problem that I still have is that when the through slot is formed
and
> > the chamfer is added, both the outside of the C'slot is "picked up" and
the
> > through slot is "picked up" so that the result is a little V trough
around
> > the edge of the through slot. Hey, it would be great for an O-ring or
> > something. (I can send a picture if you would like).
> >
> > Are what you are attempting to do similar to what I am?
> >
> > EdT
> >
>
>
Message 9 of 14
Anonymous
in reply to: Anonymous

I don't have any problem with the seed hole in that context.

Currently the dialog comes up with the Bolt Button down
As soon as you select a circular edge it automatically pushes the Hole button.
After selecting a hole edge it inserts the bolt and allows you to flip and set the offset.
Once you are satisfied with it you have a choice(hopefully)
Option 1. continue selecting holes and it will insert the bolts into the IAM, and then
add a insert constraint to the selected hole using all the params of the first selection.
This much works good from the little testing I have done.
Option 2. Press the Face button and select a face, and it should find all holes like
the seed hole (first hole pick) and populate them with bolts with the insert constraint
using the same params as the seed bolt.

This face selection is where I am currently having trouble getting from a edgeloop of the
seed hole on a "Instance", up to the "Definition" and determining if the edge loop is a
hole or a extrusion cut, and then doing the same with the face selection for all the holes
on that face. Unfortunately the "Instance" doesn't contain the info I need, and once I
get up to the Definition I am not sure how to make sure I am even dealing with the same
face or not.

I think my brain is pretty much shot for this week.. I am probably doing this completely
the wrong way..... Maybe Monday a light will come on

--
Kent
Assistant Moderator
Autodesk Discussion Forum Moderator Program


"Ed Thompson" wrote in message
news:7FE87E1C422AB741FC4E5E15C8F597A8@in.WebX.maYIadrTaRb...


> Here is a potential solution for applying your "seed" hole: If you prompt
> the operator to select all the desired holes, you could just cycle through
> the selection set. Then if the operator makes a "strange" selection, they
> can either undo it if they don't like the results or they can continue on if
> they really wanted something strange for some reason.
>
> I do like your idea of having the operator get one fastener correct, flipped
> in the right direction etc. and then to apply it to other positions. This
> seems to be a good balance between giving the operator considerable control
> while not forcing a lot of repetition. I often wish that IV wasn't quite so
> restrictive, (ie. BOM's).
>
> EdT
>
>
>
>
> "Kent Keller" wrote in message
> news:3262B4B6C3E73734557A58565F893209@in.WebX.maYIadrTaRb...
> > Hi Ed
> >
> > I am not sure I follow how you would make a c' sink before a cut. It
> seems like you
> > should be able to make the cut and then find the edge loop and use it for
> the C'sink. We
> > are allowed to post up to 200K png, jpg or gifs here now.
> >
> > I am making a app where you insert a bolt, then start my program.
> Select the edge of
> > the bolt and then a hole, It will allow the normal settings ...offset and
> flip of the
> > insert constraint, then when you are happy you can start selecting other
> holes and it will
> > instance a copy of the bolt, and insert it. That much is done. I
> also want to be
> > able to select a face (and maybe eventually) even a part and have the bolt
> be put in all
> > holes like the seed hole. Right now I have the face so it puts bolts in
> all holes (also
> > unfortunately extrusions) with the same diameter of loop on the face. But
> it currently
> > doesn't take into account whether the hole is a Countersunk or
> counterbore or extruded.
> > That is why I needed to get back to the feature from the edgeloop.
> >
> > Now that I have figured out how to do that, I need to decide on how strict
> of rules I am
> > going to make in comparing the seed hole to the rest of the holes. ie is
> hole type
> > (c'sink, c'bore, drilled) and hole dia good enough or do I need to look at
> all the other
> > variables.
> >
> > --
> > Kent
> > Assistant Moderator
> > Autodesk Discussion Forum Moderator Program
> >
> >
> > "Ed Thompson" wrote in message
> > news:F09A37676D86DCDE7691DE7F10B82FE8@in.WebX.maYIadrTaRb...
> > > Kent,
> > >
> > > I worked on an app that would create slotted C'Sink holes and Slotted
> C'bore
> > > holes and had a tremendous amount of problems- probably because of
> similar
> > > issues, (I think).
> > >
> > > What would happen is that the through slot operation would pick up the
> > > C'bore edge and there would not be a "step" in the slot. The only way
> that
> > > I was able to get this to work was to form the through hole first and
> then
> > > to form the C'bore step second.
> > >
> > > However, when it came to a slotted C'sink I could not get it to work.
> Again
> > > if the through slot was not formed first, the C'sink edge would get
> "picked
> > > up" creating a wide slot where there was no material left for the
> chamfer.
> > > The problem that I still have is that when the through slot is formed
> and
> > > the chamfer is added, both the outside of the C'slot is "picked up" and
> the
> > > through slot is "picked up" so that the result is a little V trough
> around
> > > the edge of the through slot. Hey, it would be great for an O-ring or
> > > something. (I can send a picture if you would like).
> > >
> > > Are what you are attempting to do similar to what I am?
> > >
> > > EdT
> > >
> >
> >
>
>
Message 9 of 14
Anonymous
in reply to: Anonymous

Sean,

I can't seem to log onto this site? But, you do have me curious.

EdT



"Sean Dotson" wrote in message
news:B15FAC137C99B3920461875921256807@in.WebX.maYIadrTaRb...
>
>
> --
> Sean Dotson, PE
> http://www.sdotson.com
> Check the Inventor FAQ for most common questions
> www.sdotson.com/faq.html
> -----------------------------------------------------------------------
> "Kent Keller" wrote in message
> news:3262B4B6C3E73734557A58565F893209@in.WebX.maYIadrTaRb...
> > Hi Ed
> >
> > I am not sure I follow how you would make a c' sink before a cut.
It
> seems like you
> > should be able to make the cut and then find the edge loop and use it
for
> the C'sink. We
> > are allowed to post up to 200K png, jpg or gifs here now.
> >
> > I am making a app where you insert a bolt, then start my program.
> Select the edge of
> > the bolt and then a hole, It will allow the normal settings ...offset
and
> flip of the
> > insert constraint, then when you are happy you can start selecting other
> holes and it will
> > instance a copy of the bolt, and insert it. That much is done. I
> also want to be
> > able to select a face (and maybe eventually) even a part and have the
bolt
> be put in all
> > holes like the seed hole. Right now I have the face so it puts bolts
in
> all holes (also
> > unfortunately extrusions) with the same diameter of loop on the face.
But
> it currently
> > doesn't take into account whether the hole is a Countersunk or
> counterbore or extruded.
> > That is why I needed to get back to the feature from the edgeloop.
> >
> > Now that I have figured out how to do that, I need to decide on how
strict
> of rules I am
> > going to make in comparing the seed hole to the rest of the holes. ie
is
> hole type
> > (c'sink, c'bore, drilled) and hole dia good enough or do I need to look
at
> all the other
> > variables.
> >
> > --
> > Kent
> > Assistant Moderator
> > Autodesk Discussion Forum Moderator Program
> >
> >
> > "Ed Thompson" wrote in message
> > news:F09A37676D86DCDE7691DE7F10B82FE8@in.WebX.maYIadrTaRb...
> > > Kent,
> > >
> > > I worked on an app that would create slotted C'Sink holes and Slotted
> C'bore
> > > holes and had a tremendous amount of problems- probably because of
> similar
> > > issues, (I think).
> > >
> > > What would happen is that the through slot operation would pick up the
> > > C'bore edge and there would not be a "step" in the slot. The only way
> that
> > > I was able to get this to work was to form the through hole first and
> then
> > > to form the C'bore step second.
> > >
> > > However, when it came to a slotted C'sink I could not get it to work.
> Again
> > > if the through slot was not formed first, the C'sink edge would get
> "picked
> > > up" creating a wide slot where there was no material left for the
> chamfer.
> > > The problem that I still have is that when the through slot is formed
> and
> > > the chamfer is added, both the outside of the C'slot is "picked up"
and
> the
> > > through slot is "picked up" so that the result is a little V trough
> around
> > > the edge of the through slot. Hey, it would be great for an O-ring or
> > > something. (I can send a picture if you would like).
> > >
> > > Are what you are attempting to do similar to what I am?
> > >
> > > EdT
> > >
> >
> >
>
>
Message 11 of 14
Anonymous
in reply to: Anonymous

Kent,

Hmmm, Option 2 sounds challenging. It seems like you would also need to ck
for the diameter of the holes to keep from inserting a fasten into the wrong
size hole. Then one would have to take into account the clearance hole
tolerance...

It sounds to me like Option 1 would be pretty useful and I'm wonder if
option 2 is worth the extra effort. One approach could be for you is to
step back one step and to have the operator locate all the hole centers
while still in sketch mode, (especially since this step must be done
anyway). Then upon selecting the fastener, all of the holes could be
"drilled" and the fasteners could be inserted. I believe that because the
hole direction is know, and the sketch is on the surface that the fasteners
could be located appropriately in one step. The advantage to this approach
is that several different sizes of fasteners could be "installed" without
having "collisions".

EdT


"Kent Keller" wrote in message
news:D6F450C6EDC0A865D36F37A763BB68C1@in.WebX.maYIadrTaRb...
> I don't have any problem with the seed hole in that context.
>
> Currently the dialog comes up with the Bolt Button down
> As soon as you select a circular edge it automatically pushes the Hole
button.
> After selecting a hole edge it inserts the bolt and allows you to flip and
set the offset.
> Once you are satisfied with it you have a choice(hopefully)
> Option 1. continue selecting holes and it will insert the bolts into
the IAM, and then
> add a insert constraint to the selected hole using all the params of the
first selection.
> This much works good from the little testing I have done.
> Option 2. Press the Face button and select a face, and it should find
all holes like
> the seed hole (first hole pick) and populate them with bolts with the
insert constraint
> using the same params as the seed bolt.
>
> This face selection is where I am currently having trouble getting from a
edgeloop of the
> seed hole on a "Instance", up to the "Definition" and determining if the
edge loop is a
> hole or a extrusion cut, and then doing the same with the face selection
for all the holes
> on that face. Unfortunately the "Instance" doesn't contain the info I
need, and once I
> get up to the Definition I am not sure how to make sure I am even dealing
with the same
> face or not.
>
> I think my brain is pretty much shot for this week.. I am probably doing
this completely
> the wrong way..... Maybe Monday a light will come on
>
> --
> Kent
> Assistant Moderator
> Autodesk Discussion Forum Moderator Program
>
>
> "Ed Thompson" wrote in message
> news:7FE87E1C422AB741FC4E5E15C8F597A8@in.WebX.maYIadrTaRb...
>
>
> > Here is a potential solution for applying your "seed" hole: If you
prompt
> > the operator to select all the desired holes, you could just cycle
through
> > the selection set. Then if the operator makes a "strange" selection,
they
> > can either undo it if they don't like the results or they can continue
on if
> > they really wanted something strange for some reason.
> >
> > I do like your idea of having the operator get one fastener correct,
flipped
> > in the right direction etc. and then to apply it to other positions.
This
> > seems to be a good balance between giving the operator considerable
control
> > while not forcing a lot of repetition. I often wish that IV wasn't
quite so
> > restrictive, (ie. BOM's).
> >
> > EdT
> >
> >
> >
> >
> > "Kent Keller" wrote in message
> > news:3262B4B6C3E73734557A58565F893209@in.WebX.maYIadrTaRb...
> > > Hi Ed
> > >
> > > I am not sure I follow how you would make a c' sink before a cut.
It
> > seems like you
> > > should be able to make the cut and then find the edge loop and use it
for
> > the C'sink. We
> > > are allowed to post up to 200K png, jpg or gifs here now.
> > >
> > > I am making a app where you insert a bolt, then start my program.
> > Select the edge of
> > > the bolt and then a hole, It will allow the normal settings ...offset
and
> > flip of the
> > > insert constraint, then when you are happy you can start selecting
other
> > holes and it will
> > > instance a copy of the bolt, and insert it. That much is done. I
> > also want to be
> > > able to select a face (and maybe eventually) even a part and have the
bolt
> > be put in all
> > > holes like the seed hole. Right now I have the face so it puts bolts
in
> > all holes (also
> > > unfortunately extrusions) with the same diameter of loop on the face.
But
> > it currently
> > > doesn't take into account whether the hole is a Countersunk or
> > counterbore or extruded.
> > > That is why I needed to get back to the feature from the edgeloop.
> > >
> > > Now that I have figured out how to do that, I need to decide on how
strict
> > of rules I am
> > > going to make in comparing the seed hole to the rest of the holes. ie
is
> > hole type
> > > (c'sink, c'bore, drilled) and hole dia good enough or do I need to
look at
> > all the other
> > > variables.
> > >
> > > --
> > > Kent
> > > Assistant Moderator
> > > Autodesk Discussion Forum Moderator Program
> > >
> > >
> > > "Ed Thompson" wrote in message
> > > news:F09A37676D86DCDE7691DE7F10B82FE8@in.WebX.maYIadrTaRb...
> > > > Kent,
> > > >
> > > > I worked on an app that would create slotted C'Sink holes and
Slotted
> > C'bore
> > > > holes and had a tremendous amount of problems- probably because of
> > similar
> > > > issues, (I think).
> > > >
> > > > What would happen is that the through slot operation would pick up
the
> > > > C'bore edge and there would not be a "step" in the slot. The only
way
> > that
> > > > I was able to get this to work was to form the through hole first
and
> > then
> > > > to form the C'bore step second.
> > > >
> > > > However, when it came to a slotted C'sink I could not get it to
work.
> > Again
> > > > if the through slot was not formed first, the C'sink edge would get
> > "picked
> > > > up" creating a wide slot where there was no material left for the
> > chamfer.
> > > > The problem that I still have is that when the through slot is
formed
> > and
> > > > the chamfer is added, both the outside of the C'slot is "picked up"
and
> > the
> > > > through slot is "picked up" so that the result is a little V trough
> > around
> > > > the edge of the through slot. Hey, it would be great for an O-ring
or
> > > > something. (I can send a picture if you would like).
> > > >
> > > > Are what you are attempting to do similar to what I am?
> > > >
> > > > EdT
> > > >
> > >
> > >
> >
> >
>
>
Message 11 of 14
Anonymous
in reply to: Anonymous

Which site? Kent's? He hasn't released it yet. I just was luck enough to
be a beta tester. You guys are gonna love it..

--
Sean Dotson, PE
http://www.sdotson.com
Check the Inventor FAQ for most common questions
www.sdotson.com/faq.html
----------------------------------------------------------------------------
------
"Ed Thompson" wrote in message
news:771EAE000FB1AE96398D1E8F34EB4D99@in.WebX.maYIadrTaRb...
> Sean,
>
> I can't seem to log onto this site? But, you do have me curious.
>
> EdT
>
>
>
> "Sean Dotson" wrote in message
> news:B15FAC137C99B3920461875921256807@in.WebX.maYIadrTaRb...
> >
> >
> > --
> > Sean Dotson, PE
> > http://www.sdotson.com
> > Check the Inventor FAQ for most common questions
> > www.sdotson.com/faq.html
> > -----------------------------------------------------------------------
> > "Kent Keller" wrote in message
> > news:3262B4B6C3E73734557A58565F893209@in.WebX.maYIadrTaRb...
> > > Hi Ed
> > >
> > > I am not sure I follow how you would make a c' sink before a cut.
> It
> > seems like you
> > > should be able to make the cut and then find the edge loop and use it
> for
> > the C'sink. We
> > > are allowed to post up to 200K png, jpg or gifs here now.
> > >
> > > I am making a app where you insert a bolt, then start my program.
> > Select the edge of
> > > the bolt and then a hole, It will allow the normal settings ...offset
> and
> > flip of the
> > > insert constraint, then when you are happy you can start selecting
other
> > holes and it will
> > > instance a copy of the bolt, and insert it. That much is done. I
> > also want to be
> > > able to select a face (and maybe eventually) even a part and have the
> bolt
> > be put in all
> > > holes like the seed hole. Right now I have the face so it puts bolts
> in
> > all holes (also
> > > unfortunately extrusions) with the same diameter of loop on the face.
> But
> > it currently
> > > doesn't take into account whether the hole is a Countersunk or
> > counterbore or extruded.
> > > That is why I needed to get back to the feature from the edgeloop.
> > >
> > > Now that I have figured out how to do that, I need to decide on how
> strict
> > of rules I am
> > > going to make in comparing the seed hole to the rest of the holes. ie
> is
> > hole type
> > > (c'sink, c'bore, drilled) and hole dia good enough or do I need to
look
> at
> > all the other
> > > variables.
> > >
> > > --
> > > Kent
> > > Assistant Moderator
> > > Autodesk Discussion Forum Moderator Program
> > >
> > >
> > > "Ed Thompson" wrote in message
> > > news:F09A37676D86DCDE7691DE7F10B82FE8@in.WebX.maYIadrTaRb...
> > > > Kent,
> > > >
> > > > I worked on an app that would create slotted C'Sink holes and
Slotted
> > C'bore
> > > > holes and had a tremendous amount of problems- probably because of
> > similar
> > > > issues, (I think).
> > > >
> > > > What would happen is that the through slot operation would pick up
the
> > > > C'bore edge and there would not be a "step" in the slot. The only
way
> > that
> > > > I was able to get this to work was to form the through hole first
and
> > then
> > > > to form the C'bore step second.
> > > >
> > > > However, when it came to a slotted C'sink I could not get it to
work.
> > Again
> > > > if the through slot was not formed first, the C'sink edge would get
> > "picked
> > > > up" creating a wide slot where there was no material left for the
> > chamfer.
> > > > The problem that I still have is that when the through slot is
formed
> > and
> > > > the chamfer is added, both the outside of the C'slot is "picked up"
> and
> > the
> > > > through slot is "picked up" so that the result is a little V trough
> > around
> > > > the edge of the through slot. Hey, it would be great for an O-ring
or
> > > > something. (I can send a picture if you would like).
> > > >
> > > > Are what you are attempting to do similar to what I am?
> > > >
> > > > EdT
> > > >
> > >
> > >
> >
> >
>
>
Message 13 of 14
Anonymous
in reply to: Anonymous

just guessing here but does the .parent property give you anything useful?

--
Sean Dotson, PE
http://www.sdotson.com
Check the Inventor FAQ for most common questions
www.sdotson.com/faq.html
-----------------------------------------------------------------------
"Kent Keller" wrote in message
news:FEEBE48ECBB352A233627BA84EB02B96@in.WebX.maYIadrTaRb...
>
> Found something kind of interesting. If I select a edge loop created
with a countersunk
> hole that the cs dia is .375 and also select a through or counterbore
hole with a .375
> edge and do something like
>
> If oEdge1.Geometry.Radius = Edge2.Geometry.Radius Then
>
> It goes straight to the end if. I put a watch on both and they show the
same value in the
> watch window??
>
> Ok to the real question. 8^)
>
> If I have a edgeloop is there any way to traverse up the tree and find out
if it is a hole
> feature or a extrude or ??
>
> --
> Kent
> Assistant Moderator
> Autodesk Discussion Forum Moderator Program
>
>
>
Message 14 of 14
Anonymous
in reply to: Anonymous

I put a watch on the edgeloop and looked through the .Parent and any other properties that
looked like they might take me there, but Haven't had any luck finding the way.

It seems like somewhere there should be a .CreatedByFeature property like some of the
other items show.

--
Kent
Assistant Moderator
Autodesk Discussion Forum Moderator Program

"Sean Dotson" wrote in message
news:6825C57E74B53C5AF545B50D2A88EDE8@in.WebX.maYIadrTaRb...
> just guessing here but does the .parent property give you anything useful?

> "Kent Keller" wrote in message

> > If I have a edgeloop is there any way to traverse up the tree and find out
> if it is a hole
> > feature or a extrude or ??

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report