Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bending an extruded surface #1722

Open
lenianiva opened this issue Dec 4, 2024 · 3 comments
Open

Bending an extruded surface #1722

lenianiva opened this issue Dec 4, 2024 · 3 comments
Labels
question Further information is requested

Comments

@lenianiva
Copy link
Contributor

If I have a sketch and extrude a solid from the sketch, is it possible to bend the extruded solid as if it was fed to a rolling machine?

I don't have a code example because without this bending operation I don't know how to model this effect.

e.g. https://blenderartists.org/t/bendind-in-a-plane-into-a-cilinder/1476118

@lenianiva lenianiva added the question Further information is requested label Dec 4, 2024
@adam-urbanczyk
Copy link
Member

No, not right now. Do you want to map the pattern onto a face?

@lenianiva
Copy link
Contributor Author

No, not right now. Do you want to map the pattern onto a face?

I want to map the pattern onto a cylinder and cut out a hole in the cylinder

@adam-urbanczyk
Copy link
Member

If you have a 2D array of things, you could map them to the parametric space of the cylinder, position and project onto it. Take a look here:

rv.append(f.project(base, f.normalAt()))
it should be few lines of code actually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants