Hi all,
What is the proper way to create a solid (rhino.geometry.brep) by extruding a rhino.geometry.surface?
I could not find a method that does this. While in the user interface of Rhino extruding a surface
as an operation is available (ExtrudeSrf).
BR,
Rayaan
My guess would be that it’s similar to this:
Hi,
I was wondering how to reproduce the behaviour of the ExtrudeSrfTapered command with Rhinocommon. Scripting is definitely an option, I know, but I’d like to keep it as encapsulated as I can.
The command has a great way of working with containers and contained areas (think of a letter like a “O”), choosing the right way to taper them properly directly on surfaces.
Anyway, Rhinocommon seems to have tapered options for single curves only.
Any idea would be appreciated.
Cheers
f
Jess
January 28, 2020, 12:03pm
3
Hi,
Thanks for your reaction.
In the BrepFace.CreateExtrusion a surface is created by extruding a curve.
I am looking for the next step, where you apply thickness to the surface. Possibly by creating a solid by extruding the surface.
BR
Baris
January 28, 2020, 1:05pm
5
Jess
January 28, 2020, 1:16pm
6
Well, actually CreateExtrusion extrudes the boundaries of a BrepFace along a curve. You may optionally cap the extruded Breps with the original BrepFace.
An offset always is in the normal directions of the face. If your surface is planar and you always want to “extrude” perpendicular to that plane, then you may use offset like Baris suggested.
1 Like
Baris
January 28, 2020, 1:18pm
7
Oops, forgot about the direction.