8000 Is it possible to create a helix? 🧬 (modeling screws) · Issue #79 · ricosjp/truck · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Is it possible to create a helix? 🧬 (modeling screws) #79

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

Open
twitchyliquid64 opened this issue Oct 25, 2024 · 3 comments
Open

Is it possible to create a helix? 🧬 (modeling screws) #79

twitchyliquid64 opened this issue Oct 25, 2024 · 3 comments

Comments

@twitchyliquid64
Copy link

For modeling threads, it would be great to ‘rsweep’ the thread profile (trapezoidal or V shaped) in such a way that it rotates multiple times and gains height, then combine that with a cylinder to form a screw.

image

Is a helical rsweep possible today in truck? If not so, may I kindly ask a feature request?

@ytanimura
Copy link
Contributor

Well, we have a plan, but we are still struggling with it. In the end, we have to make a decision somewhere.
Implementing a spiral structure with NURBS results in an approximation, so we should create a specific structure for spiral, but it cannot be directly output that structure to STEP.

@twitchyliquid64
Copy link
Author
twitchyliquid64 commented Oct 28, 2024

Understood, thank you for the reply!

I wonder if a naive implementation could be a specific structure which, as the u/v parameter along the spiral increases, the returned point/vector (in ‘ParametricCurve’ methods) translates proportionally in the direction of the spiral. I do not understand all of the traits to know where this won’t work however.

@hyarion
Copy link
hyarion commented Jan 20, 2025

Worth noting is that OCCT struggles with this too, see https://opencascade.blogspot.com/2015/08/arbitrary-law-based-curve-and-surface.html for workaround there.
It might be good to support non-standard curves and surfaces and do the approximation at export instead.

IIRC other (proprietary) kernels that support helices handles it in that ways - handle helices exact internally and do approximations when needed.

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

No branches or pull requests

3 participants
0