algorithmic modeling for Rhino
Hello,
I'm new to python in GH and have been writing some very simple test scripts and I'm wondering if it is possible for python scripts to generate only preview geometry? (like grasshopper geometry before baked).
I think my problem is that I've been using the Add methods (AddSphere, for example) which adds the geometry directly to rhino. Is there some other way to manipulate geometry without "baking"/adding it all to rhino but still being able to preview the geometry with GH?
Here's a simplified example:
If I want to move a mesh along the x-axis with a number slider input, what's the best way to only show the most recent result as preview geometry as I change the value of the number slider?
Thanks,
-Brian
Tags:
Hi Brian
One simple way would be to return these spheres in an output parameter, but then not use them.
This would be the same pattern as in other scripting components.
I hope this helps,
- Giulio
____________
giulio@mcneel.com
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2025 Created by Scott Davidson.
Powered by