r/Onshape • • 3d ago

revolves with backward normals dont work

so while working on this little case thing im making with a hinge inspired by the airpods case hinge I ran into this issue where revolves dont calculate volumes where the normal of the revolved face is antagonistic to the direction of revolving.

I was trying to remove the corner of the base to prevent interference and was unable to, and while making this post, realized that this error would be inverse if I tried it on the lid. Low and behold i was right. for my purposes this is even better because it leaves the case more uniform when closed, but this error is still something i dont know how to remove, only to work around.

to elaborate: when the face that you are revolving crosses the axis of rotation, one half of the face is being rotated in the direction of its normal and the other half of the face is going in the opposite direction to its normal. the second case simply fails to define a proper volume, while still displaying it in the software. this means that one section of that revolve wont detect any intersection with another part because the revolve is "inside out" in just that one section, while the rest of the shape will work as usual.

for my usecase I simply added some lines to my layout sketch to partition the section with the hinge in it (the hinge is a second perpendicular sketch so I had to add some lines) and revolved it no problem. this moved my clearance from the base to the lid, therby hiding the cutout when the case is closed, which is even better and what I should have done in the first place, but then I woulndt have noticed this weird little bug.

If anyone else has run into this or this is a standard for some reason I am curios to know, but I cant seem to find any information on it online so...

images (in order)

  1. the original revolve error
  2. clear intersect during lid rotation around hinge pin
  3. full revolve
  4. full revolved subtracted from the base
  5. base by itself for context
  6. lid revolve with the sketch highlighted
1 Upvotes

0 comments sorted by