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

Using creopyson/creoson to build an assembly?? #43

Open
danachee opened this issue Jan 26, 2022 · 6 comments
Open

Using creopyson/creoson to build an assembly?? #43

danachee opened this issue Jan 26, 2022 · 6 comments

Comments

@danachee
Copy link

  • Creo version: 3.0
  • Creopyson version: 0.7.3
  • Creoson version: 2.8.0
  • Python version: 3.8.10
  • Operating System: Linux (Ubuntu)

Description

This is a question, not a bug. I can't find any examples of how, if its possible, to build an assembly using only creopyson. For example, let's say I have two blocks and I want to mate them face to face, with a space between. How would I go about this?

Thanks,

What I Did

Googled "using c.file_assembly()" in various combinations

@davidhbigelow
Copy link

davidhbigelow commented Jan 26, 2022 via email

@danachee
Copy link
Author

Thanks! Is there a way to pull this info from an existing assembly or component? That way I'll have a proper way of matching up what exactly should be in the JLConstraint?

@davidhbigelow
Copy link

davidhbigelow commented Jan 26, 2022 via email

@danachee
Copy link
Author

Thanks! (I'm trying to code this up for someone else. Mechanical engineering isn't my skillset!). I'll play with it to figure it out. (but a quick question, which part of the API would be relevant to Coordinate Systems usage?).

@davidhbigelow
Copy link

davidhbigelow commented Jan 26, 2022 via email

@danachee
Copy link
Author

Ah, Thank you so much! I see that the 'csys' name for the 'type' is the link. Feel free to close this out.

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

2 participants