You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I want to generate a geometry that looks something like this:
I started by taking some of the code from the website to create this shape based on a cube: neper -T -n 1000 -morpho gg -morphooptistop "val=1e-2" -domain "cube(0.6,0.6,1.4):translate(-0.3,-0.3,-0.7)" -transform "cut(cylinder(-0.9,0,0,0,1,0,0.8))" -o cube_translate_cut_cyl_test2
I then tried to run the following code with the only difference being that the domain has changed from "cube" to "cylinder". But it doesn't create a cut, it just produces a cylinder. neper -T -n 1000 -morpho gg -morphooptistop "val=1e-2" -domain "cylinder(1.4,0.6)" -transform "cut(cylinder(-0.9,0,0,0,1,0,0.8))" -o cyl_cut_cyl_test1
So my question is if it's possible to create this geometry in neper or not?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I want to generate a geometry that looks something like this:
I started by taking some of the code from the website to create this shape based on a cube:
neper -T -n 1000 -morpho gg -morphooptistop "val=1e-2" -domain "cube(0.6,0.6,1.4):translate(-0.3,-0.3,-0.7)" -transform "cut(cylinder(-0.9,0,0,0,1,0,0.8))" -o cube_translate_cut_cyl_test2
I then tried to run the following code with the only difference being that the domain has changed from "cube" to "cylinder". But it doesn't create a cut, it just produces a cylinder.
neper -T -n 1000 -morpho gg -morphooptistop "val=1e-2" -domain "cylinder(1.4,0.6)" -transform "cut(cylinder(-0.9,0,0,0,1,0,0.8))" -o cyl_cut_cyl_test1
So my question is if it's possible to create this geometry in neper or not?
Beta Was this translation helpful? Give feedback.
All reactions