Message 1 of 1
How to create a face?

Not applicable
06-05-2018
08:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How can I create a new `Face`?
I have a function which takes a `Face` and returns a `Solid`. Internally it uses `GeometryCreationUtilities.CreateExtrusionGeometry`.
I would like to pass it a modified face like this:
Face newFace = modifyFace(face); Solid solid = makeSolid(newFace);
I know I can accomplish what I'm trying to do by changing the function signature to `IEnumerable<CurveLoop>` instead of `Face` (this works because you can create a new `CurveLoop`). But this makes extra lines of code and makes the final business logic more messy.