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
The revolve_faces command should be able to take an edge or an axis to revolve the face
📝 Steps to reproduce
In the following script the revolve_faces command should be able to take an edge or an axis to revolve the face around.
modeler = Modeler(host="127.0.0.1", port=50051, timeout=10)
design1 = modeler.create_design('test')
Plane1 = Plane(Point3D([0,0,0], UNITS.mm))
sketch = Sketch(Plane1)
sketch.box(Point2D([0,0], UNITS.mm),Distance(10,UNITS.mm),Distance(10,UNITS.mm),0)
block = design1.create_surface("Block",sketch)
block = modeler.geometry_commands.extrude_faces(block.faces[0],.005,extrude_type=ExtrudeType.CUT,offset_mode=OffsetMode.MOVE_FACES_TOGETHER,pull_symmetric=True)
design1.plot() modeler.geometry_commands.revolve_faces([design1.bodies[0].faces[0]],)
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
No response
🐍 Which Python version are you using?
3.12
📦 Installed packages
import os
import sys
import math
from pathlib import Path
from pyvista.plotting import system_supports_plotting
from ansys.geometry.core import *
from ansys.geometry.core.connection import *
from ansys.geometry.core.designer import *
from ansys.geometry.core.materials import *
from ansys.geometry.core.math import *
from ansys.geometry.core.misc import *
from ansys.geometry.core.misc.units import *
from ansys.geometry.core.plotting import *
from ansys.geometry.core.sketch import *
from ansys.geometry.core.designer import body
from ansys.geometry.core.misc import UNITS, Distance
from ansys.geometry.core.shapes.curves.line import Line
import numpy as np
import random
The text was updated successfully, but these errors were encountered:
🔍 Before submitting the issue
🐞 Description of the bug
The revolve_faces command should be able to take an edge or an axis to revolve the face
📝 Steps to reproduce
In the following script the revolve_faces command should be able to take an edge or an axis to revolve the face around.
modeler = Modeler(host="127.0.0.1", port=50051, timeout=10)
design1 = modeler.create_design('test')
Plane1 = Plane(Point3D([0,0,0], UNITS.mm))
sketch = Sketch(Plane1)
sketch.box(Point2D([0,0], UNITS.mm),Distance(10,UNITS.mm),Distance(10,UNITS.mm),0)
block = design1.create_surface("Block",sketch)
block = modeler.geometry_commands.extrude_faces(block.faces[0],.005,extrude_type=ExtrudeType.CUT,offset_mode=OffsetMode.MOVE_FACES_TOGETHER,pull_symmetric=True)
design1.plot()
modeler.geometry_commands.revolve_faces([design1.bodies[0].faces[0]],)
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
No response
🐍 Which Python version are you using?
3.12
📦 Installed packages
The text was updated successfully, but these errors were encountered: