Open agvarghe opened 1 month ago
Hi @agvarghe - this is expected. The method revolve_sketch
only works (at the moment) with closed sketches. Implementing support for open sketches to performs a sweep operation is possible but I would not classify it as a bug. Rather as an enhancement. I am on vacations right now but I can resume work on this front once I come back.
🔍 Before submitting the issue
🐞 Description of the bug
Hi ,
When trying to generate a surface from an open curve , revolve fails
📝 Steps to reproduce
solder_barrel_sketch = Sketch(solder_barrel_plane) solder_barrel_sketch.arc_from_start_center_and_angle( start=Point2D([0, 0]), center=Point2D([-0.25, 0.2918]), angle=Angle(98.82, unit=UNITS.degrees), clockwise=False, ) solder_barrel = component.revolve_sketch( "solder_barrel", solder_barrel_sketch, UNITVECTOR3D_Z, Angle(360, unit=UNITS.degrees), Point3D([0, 0, 1.0082]), )
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
2024R2
🐍 Which Python version are you using?
3.10
📦 Installed packages