I have have a lot of construction curves when I am doing design work. I alway have lines, closed curves and points on my layout. I find myself cleaning up and deleting these, then needing them later. I am also bad about managing these construction curves on it own layer. I always have few just hanging out from an extrusion that I don’t need on my final model. I gave ai some prompts to help me manage this in a python script.
What it does:
- Moves all closed curves, points, and open curves to a layer called “Curves”.
- If the no layer named “curves” exist then it create one and move everything over.
- It also is mindful of the visibility of the layer.
I could not find where Rhino does this automatically like it does Dimensions. I seen I could do a selection filter and move them manually, but I wanted to do all of this and tie it to a button. This is just helpful to me to keep all curves on seperate layer so it keeps my model clean.
I know I should learn python more and do it myself, but ai was able to be this in a 2 minutes what would have taken me all day to write. Feels like I am cheating.![]()
If this this something that might be helpful to someone else. Here is the Script.
CruvesLayer.py (4.2 KB)