Hi,
I want to traverse a number of RhinoObjects and for each object:
- Move it to origo.
- Rotate it.
- Export it to STEP.
- [Move it back to it’s initial position.]
It feels like the wrong way to do it: what if an error happens? From the user’s perspective the geometry randomly moved to origo and was rotated. Now they need to move it back.
Therefore I’m thinking of doing this instead:
- Create new document.
- For each RhinoObject:
2.1 Add it to the new doc.
2.2 Move it to origo in the new doc.
2.3 Rotate it.
2.4 Export it. - Delete the new document.
Is this a feasible way to go about it? Are Documents designed for this use case, or am I abusing a concept? Will I get into trouble with doing it this way? Are there any recommended ways to go about it?