Your Products have been synced, click here to refresh
I'm thinking the part is as you describe. It is a very difficult problem. I think there is a solution, but it will be very difficult to do and even more difficult to explain. It will no doubt take some tinkering/experimenting preferably with a "known" part so you'd know when your getting good results.
I'm thinking it may even require iterative measurement involving lots of alignments.
For an example:
Measure and align to the cylinder. We'll call it Z+ for this example.
Measure the hole knowingly shanking the probe (only want rough location).
Align to the cylinder and use the shanked hole to fix rotation about the cylinder. Rotate to X+
Change workplane to X+.
There are two possible avenues of exploration from there.
1) autocircle with 1 sample hit above or below the hole along the cylinder's vector. Edit the x value of each hit individually to get it to hit the edge. This will work if you think you can get it to hit the edge (thicker "sheet metal" like maybe .1 inch thick or more). X values could probably be calculated knowing the hole's diameter and the cylinder's diameter, but I think it would be a lot of work.
2) Edge points (with sample hit(s)) all around the hole, then construct a circle from them. This might work better for thinner "sheet metal", but the sample hits might prove problematic as they won't be "normal" since the surface surrounding the hole isn't "normal"
Now, you might need to go through the alignment and measurement step again to get the best results.
Following that, lather, rinse, repeat for all the holes. Unless you can figure out a way to copy/paste with pattern or loop it (I'm not so sure that works when alignments are involved).
I have no idea if either approach would work. I'd really need a part to play with to get an idea of that.
I'm thinking the part is as you describe. It is a very difficult problem. I think there is a solution, but it will be very difficult to do and even more difficult to explain. It will no doubt take some tinkering/experimenting preferably with a "known" part so you'd know when your getting good results.
I'm thinking it may even require iterative measurement involving lots of alignments.
For an example:
Measure and align to the cylinder. We'll call it Z+ for this example.
Measure the hole knowingly shanking the probe (only want rough location).
Align to the cylinder and use the shanked hole to fix rotation about the cylinder. Rotate to X+
Change workplane to X+.
There are two possible avenues of exploration from there.
1) autocircle with 1 sample hit above or below the hole along the cylinder's vector. Edit the x value of each hit individually to get it to hit the edge. This will work if you think you can get it to hit the edge (thicker "sheet metal" like maybe .1 inch thick or more). X values could probably be calculated knowing the hole's diameter and the cylinder's diameter, but I think it would be a lot of work.
2) Edge points (with sample hit(s)) all around the hole, then construct a circle from them. This might work better for thinner "sheet metal", but the sample hits might prove problematic as they won't be "normal" since the surface surrounding the hole isn't "normal"
Now, you might need to go through the alignment and measurement step again to get the best results.
Following that, lather, rinse, repeat for all the holes. Unless you can figure out a way to copy/paste with pattern or loop it (I'm not so sure that works when alignments are involved).
I have no idea if either approach would work. I'd really need a part to play with to get an idea of that.
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |