Skip to content

Conversation

@FilipeFcp
Copy link
Contributor

Hi all.
I made this function for creating revolving polygons for a user, and I think it is worth adding to this notebook.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2025

Spell Check Report

CreatingGeometryUsingTrimesh.ipynb:

Cell 33, Line 3: 'axisymmetric'
  > Another powerful way to generate complex surfaces is to revolve a 2D polygon around an axis. This is especially handy for axisymmetric components such as lenses, resonators, or tapered fibers where the cross section is easier to sketch in 2D. We can sketch the profile as a list of vertices and let `trimesh` sweep it through 360° to obtain a solid mesh.
Cell 34, Line 7: 'array-like', 'post-rotation'
  > """Return a revolved `trimesh.Trimesh` by sweeping a 2D polygon about the z-axis.
Cell 35, Line 1: 'aspheric-like'
  > # define a simple aspheric-like lens profile in the x-z plane

Checked 1 notebook(s). Found spelling errors in 1 file(s).
Generated by GitHub Action run: https://github.com/flexcompute/tidy3d-notebooks/actions/runs/20039242854

Copy link
Contributor

@alec-flexcompute alec-flexcompute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Filipe! This is super useful - I've had a few users asking about trimesh, and I've often had to create code for them, so I'm glad I can send this to people!

I have no criticisms/suggestions. It looks great!

Copy link
Contributor

@tomflexcompute tomflexcompute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition @FilipeFcp !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants