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

how to load a custom model and apply this rod algorithm #15

Closed
xiaoerlaigeid opened this issue Apr 9, 2021 · 4 comments
Closed

how to load a custom model and apply this rod algorithm #15

xiaoerlaigeid opened this issue Apr 9, 2021 · 4 comments
Labels
discussion Topic that needs to be discussed. help wanted Extra attention is needed prio:low Priority level: low

Comments

@xiaoerlaigeid
Copy link

Very impressive Jobs! I am attempt to use this library in vascular intervention simulation platform. I want to load vascular model and apply this rod as catheter. But I don't know how to load my model(a STL file) and make the rod have collision and friction. Could you give me some demo ? Thanks!

@armantekinalp
Copy link
Contributor

Hi @xiaoerlaigeid,

Currently we don't have a support to generate a rod from a STL file. However, to generate a rod you need position of nodes and radius of elements. I think If you have an STL file you can generate those. Regarding the contact(collision) model PyElastica only have contact model between rod and rigid cylinder, but in our future we will have rod-rod and self contact. Finally, we have a friction model between surface of a plane and a rod in PyElastica. Will this type of friction model be useful for you? Let me know if you have any questions.

@xiaoerlaigeid
Copy link
Author

Thank you for your reply. I mean I want to load an STL model which is used for the environment. Or just using some cube and sphere tossss replace STL environment. Do you have a demo like this ?

@armantekinalp
Copy link
Contributor

We are planning to develop an STL support in future but unfortunately we don't have a STL support and demo right now.

@armantekinalp armantekinalp added discussion Topic that needs to be discussed. help wanted Extra attention is needed labels Jan 8, 2022
@bhosale2 bhosale2 added the prio:low Priority level: low label Aug 1, 2022
@skim0119 skim0119 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 2, 2022
@skim0119
Copy link
Collaborator

skim0119 commented Aug 2, 2022

We are not currently planning to include this feature. We'll reopen if this is needed in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Topic that needs to be discussed. help wanted Extra attention is needed prio:low Priority level: low
Projects
None yet
Development

No branches or pull requests

4 participants