Sketch a line tangent to a model edge

Sketch a line tangent to a model edge

Bug.Robotics
Advocate Advocate
3,142 Views
10 Replies
Message 1 of 11

Sketch a line tangent to a model edge

Bug.Robotics
Advocate
Advocate

Please let me know if I'm losing my mind here as this should be very simple.  I have a model and I'm sketching on top of a plane referenced from the model.  I'd like to draw a line tangent to the model.  The tangent constraint is not available when trying to select the model edge (even when projected).  Screencast is below.

 

I even tried defining a plane tangent to the model's edges and then using that to align my sketched line...no dice.  

 

 

 

 

 

 

3,143 Views
10 Replies
Replies (10)
Message 2 of 11

Bug.Robotics
Advocate
Advocate

I'm still hoping that I'm incorrectly selecting references or something similar.  Workaround is below.  

 

  1. Create a plane tangent to the models edges of interest;
  2. Start sketch and create a projection from the plane;
  3. Now you can reference the model edges.

This is a fundamental sketch tool that needs to be implemented.  At the very least let the user reference planes without having to project the plane.  

 

 

 

 

Message 3 of 11

karina.harper
Autodesk Support
Autodesk Support

Hi @Bug.Robotics 

 

It's hard to say without looking at the file. Can you share it here?

 

Cheers,

 

Karina

 

0 Likes
Message 4 of 11

Bug.Robotics
Advocate
Advocate

Hi Karina,

Thanks for the reply.  So there is hope then?  It appears as though Fusion cannot make a line tangent to a spline.  

 

I can't upload that model but made another that shows the issue.

 

 

0 Likes
Message 5 of 11

karina.harper
Autodesk Support
Autodesk Support

Hi @Bug.Robotics 

 

Thanks for that. If this was made from a spline then no. If this is made with arcs or circles then yes. As the part is a base feature in the file you provided, I can't say for sure.

 

@jeff_strater provided a good workaround for making splines tangent in this thread here.

 

This body could easily be remade with circles/arcs though. See here:

 

20190312-2.png

 

Let me know what you think,

 

Karina

 

0 Likes
Message 6 of 11

Bug.Robotics
Advocate
Advocate

Hi Karina,

The file was created with arcs and circles.  What causes the spline to be projected is the added chamfer.  I thought that by creating a midplane and then projecting the radiused edge I could get a proper arc but Fusion outputs it as a single point spline for whatever reason. 

 

If all parts were as simple as the uploaded file it would be trivial to do what you did there by adding the circles.  If you couldn't select the outer edge of the part to make the circle equal and concentric you would be forced to do more work.  This is the case with my model I showed in the screencast and the reason I posted at all.  Comparing this to other sketch environments, it's an awful lot of work to get a sketched line to be tangent.  One time, no biggie.  If you were attempting to use this package daily with this type of sketching the extra clicks/sketches/planes/projections add up quickly.

0 Likes
Message 7 of 11

karina.harper
Autodesk Support
Autodesk Support

The file was created with arcs and circles.  What causes the spline to be projected is the added chamfer.  I thought that by creating a midplane and then projecting the radiused edge I could get a proper arc but Fusion

outputs it as a single point spline for whatever reason. 

 

@Bug.Robotics 

 

I found that I was able to reproduce this from scratch if there's a chamfer on both sides of the body. This has been logged internally as FUS-47980.

 

Thanks for bringing it to our attention!

Cheers,

 

Karina

 

Message 8 of 11

Bug.Robotics
Advocate
Advocate

I appreciate your diligence Karina.  Happy to be able to contribute.  

Message 9 of 11

jeff_strater
Community Manager
Community Manager

@Bug.Robotics , I worked with Karina on this issue yesterday, and I understand better now what is going on, and I think I can explain it.  I still agree that the result is undesirable, but thought you'd appreciate a detailed explanation.

 

Projecting a body into a sketch is something we call "silhouette projection" internally.  The term is pretty self-explanatory - we want to take the apparent edge of the model as seen from the direction of the sketch normal.  In the case of this model, the side faces of the model are all parallel to the sketch normal.  When possible, Fusion looks for edges that it can project to represent the silhouette (there are some cases, like a sphere, where there are no edges, so we have to generate the curve differently, but if there are edges, these are used first).  So, there are two choices for each edge when projecting into the sketch.  Let's look at a couple of these edges.  The first one looks like this:

Screen Shot 2019-03-13 at 1.38.57 PM.png

I've selected the projected curve and the two edges which are equal candidates for the representative silhouette projection.  Both of those are circular edges, so the result is a circle in the sketch.

 

The second set, though, is where the issue occurs:

Screen Shot 2019-03-13 at 1.39.13 PM.png

either of those edges would work, and are equivalent as far as silhouette representatives.  But, both of these are actually spline edges in the model, as you noted, because of the chamfer.  So, the result is also a spline (even though, technically it could be a circle, but that is not how the modeler works)

 

The third one is similar as well:

Screen Shot 2019-03-13 at 1.39.29 PM.png

both edges are equivalent projections, and both are spline edges because of the chamfer.

 

The interesting case is when we only chamfer one of the edges:

Screen Shot 2019-03-13 at 3.17.24 PM.png

again, there are two candidate edge sets here (one single edge, the other a chain of two) that could be used.  But, in this case, Fusion picks the front one, which does result in a circle.

 

The last thing is another type of workaround you can use:  If you put the sketch before the chamfer, then this is much cleaner:

Screen Shot 2019-03-13 at 3.19.54 PM.png

because you can then project the silhouette without the geometric complexity that the chamfer adds.

 


Jeff Strater
Engineering Director
Message 10 of 11

Bug.Robotics
Advocate
Advocate

Thanks for the details and potential workarounds Jeff.  Issue is I only use Fusion for generating 3D toolpaths (still holding my breath for Autodesk to release HSMWorks from the Product Design and Manufacturing Collection death grip) and so unless I defeature in SolidWorks, upload the model, then add the features back (which I'm not going to do) that won't work.  

 

In theory, should a midplane in the part project arcs, because there isn't a chamfer at the midplane, or does Fusion only look at the top face?

 

 

0 Likes
Message 11 of 11

jeff_strater
Community Manager
Community Manager

that's a great question.    The short answer is no.  If you use the same Project command, you get the same results, because the utilities we use are the same.  The projection doesn't know that this is a midplane:

Screen Shot 2019-03-13 at 4.13.50 PM.png

 

however, for a midplane, you can use the Project -> Intersect command, which does a plane cut of the body, and will generate arcs, because the intersection of a plane and a cylinder is an arc:

Screen Shot 2019-03-13 at 4.14.21 PM.png


Jeff Strater
Engineering Director
0 Likes