Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Debugging sweeps...
biscuitlad
Member Posts: 8 ✭
Hi folks
So, I want to design a new frame for a pair of sunglasses I have. The prescription lens are very expensive, the old frames broke. So, I have the lens, I have a micrometer, should be simple, right? ;-)
I import two photos of the lens. One to give me the face profile of the lens shape, the other to give me the curvature of the lens (from above - these are wrap-arounds). I scale the photos, sketch up the profiles and create a curved vertical surface to match the wrap around curvature of the lens.
I then extrude a surface from the face profile onto this curved surface using 'up to next' (or face, both work). Great, I think, I have the front profile and the top curvature, now all I need to do is to create a sketch for the frame itself perpendicular to the face (i.e. on the Right plane) and use the intersection of my previous two surfaces as my sweep line.
But, no matter what I do, I can't get this to sweep. I have constrained the sketch so that the top of the V groove that holds the lens in place pierces the path made by the intersection of the two surfaces. I have checked that the ends of lines / curves in the sketch are coincident so they join correctly. The profile selects with a click, it all looks good.
But the sweep will not generate. Please, is there any one out there who can tell me how to fix this? :-)
The model is public:
https://cad.onshape.com/documents/ede1cbed4ded3dc73ba7ae74
Many thanks.
So, I want to design a new frame for a pair of sunglasses I have. The prescription lens are very expensive, the old frames broke. So, I have the lens, I have a micrometer, should be simple, right? ;-)
I import two photos of the lens. One to give me the face profile of the lens shape, the other to give me the curvature of the lens (from above - these are wrap-arounds). I scale the photos, sketch up the profiles and create a curved vertical surface to match the wrap around curvature of the lens.
I then extrude a surface from the face profile onto this curved surface using 'up to next' (or face, both work). Great, I think, I have the front profile and the top curvature, now all I need to do is to create a sketch for the frame itself perpendicular to the face (i.e. on the Right plane) and use the intersection of my previous two surfaces as my sweep line.
But, no matter what I do, I can't get this to sweep. I have constrained the sketch so that the top of the V groove that holds the lens in place pierces the path made by the intersection of the two surfaces. I have checked that the ends of lines / curves in the sketch are coincident so they join correctly. The profile selects with a click, it all looks good.
But the sweep will not generate. Please, is there any one out there who can tell me how to fix this? :-)
The model is public:
https://cad.onshape.com/documents/ede1cbed4ded3dc73ba7ae74
Many thanks.
0
Best Answer
-
pierre_gilles Member, Developers Posts: 7 ✭✭I had a look.
What I think is that to be successful, the Sweep path should have a starting and ending point.
Those points could be the same, but in your design, the sweep path has no point at all.
I have tried to create this point by splitting the surface in 2 but the split feature splitted the part on the top and the bottom So the sweep path doesn't go all the way around. So it's not good yet. But I think it's the way to go.
I have attached a drawing of what I think might be the solution.
By the way, the workaroud you have seems good enough though5
Answers
What I think is that to be successful, the Sweep path should have a starting and ending point.
Those points could be the same, but in your design, the sweep path has no point at all.
I have tried to create this point by splitting the surface in 2 but the split feature splitted the part on the top and the bottom So the sweep path doesn't go all the way around. So it's not good yet. But I think it's the way to go.
I have attached a drawing of what I think might be the solution.
By the way, the workaroud you have seems good enough though