mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
unit_cube from OCC
This commit is contained in:
parent
dcda14e6e7
commit
dc836ae7e4
@ -40,5 +40,13 @@ unit_square = OCCGeometry(unit_square_shape, dim=2)
|
||||
|
||||
|
||||
|
||||
|
||||
uc_shape = Box((0,0,0),(1,1,1))
|
||||
uc_shape.faces.Max(X).name = "front"
|
||||
uc_shape.faces.Min(X).name = "back"
|
||||
uc_shape.faces.Max(Y).name = "right"
|
||||
uc_shape.faces.Min(Y).name = "left"
|
||||
uc_shape.faces.Max(Z).name = "top"
|
||||
uc_shape.faces.Min(Z).name = "bottom"
|
||||
|
||||
unit_cube = OCCGeometry(uc_shape)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user