In the attached file, if I convert the subd’s to nurbs, boolean, and then export as step, I end up with bad objects. Is this a conversion issue/bug or a step issue/bug or something else?
Settings and steps to repeat the issue are detailed in the source file…
If the purpose is to ensure the result is good in another application, its not a good test. Even though STP is universal, it can be interpreted differently depending on the application. I’ve seen files where IGS produces a better result after import than STP or Parasolid. I think the end user that receives the files is ultimately responsible for correcting any problems that arise after import. It is unrealistic to assume that everyone will have the receiving application to test the result to ensure it is error free.
Basically because that tolerance works for me. I guess I’d ask why not? It is a number between Rhino’s small mm and small inches templates. I’ve transfered parts back & forth between Rhino and engineering software since the 90’s and this works for me. Does it seem arbitrary? It comes from my inches template, in which the tolerance is 0.0003".
For sure, there is no better test than bringing it into the other software. But I do find that often if the round-trip Rhino file has issues then the other software is likely to have issues, so it’s the best test that I have.
I’d have to disagree about it being the responsibility of the end user to correct any issues. My clients certainly don’t go for that. I work back & forth with them to make sure that they get the geometry as I intend it.
Its clearly a bug in either the step export or the step import.
You are not getting the same underlying surfaces back.
The original has the two edges that precisely the same and after import they’re noty even close to the same
Why do you ask thse dumb questions.
He is trying to report a bug and you tell him do something different and he won’t see the bug.
That doesn’t help with getting the bug fixed.
You’re right I should have asked any chance you have the join option off? I exported and imported the file and first didn’t see the bad surface until I had join off. The op didn’t seem to know there is a join option
About tolerances. Could it be that different tolerances on creation of geometry, export and import have an influence on the result?
I exported just the upper subd as nurbs and split with the revolved geometry as 214 and 242 and both imports were faulty in Rhino 9 Beta. I imported the file in Onshape and it looked correct.
I understand about the client perspective, but you can’t correct issues that are directly related to the receiving application. You might say that clients do not explicitly need to be told this prior to a project but, as you may be aware, clients often assign blame to things that are outside of your control. Transparency and a disclaimer here and there can manage client expectations.
Fwiw, once i move my parts to be actually on center, I still get the same issue (see files attached.) I’m not sure why your results aren’t the same.
One interesting thing that I’ve found is that if I do the boolean directly with the subds instead of converting them to NURBS first, then the parts translate to step & back to Rhino without issue.
I added a reflect on the upper subd and modified it so it has a full intersection in an attempt to rule out things which could cause issues. I think the lower subd can then be ignored.
Your upper subd is now centered but still slightly twisted. While this could be intentional, I think it isn’t as the difference is so small.
It is interesting that you can actually export just a part of the upper subd converted to nurbs and trimmed with your revolved shape and then imported again the original internal edge is extended.
There are a few things going on with the geometry here. Not sure if it has anything to do with the Step file yet, just looking at boolean. The top leaf shape comes close to tolerance. I am not sure what that does for the final result:
If I choose large leaf, button then hat shape, in that order I get some warnings off the Boolean and the result is bad. Looking inside it struggles to know what to keep.
If I choose Button, Hat then large leaf I get a good result.
If I choose button and hat. The start union again and do combined with large leaf I get a good result.
Once I get them boolean together then they do seam to Step in and out fine. I am using 242 as a test since it is the most modern. But I also can roundtrip with 214 cc2.
It would be interesting to try and figure out what the difference is there.
I did a fairly poor job of lining things up - you’d think I’d be better by now. But, this same result happens in the attached file. I applied this detail in a bunch of places on my recent project, and all of them ended up with a gap when exported as step (in any flavor) when re-imported to Rhino.