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

Do you have constraint of "face to"? #400

Open
YandanYang opened this issue Jan 16, 2025 · 0 comments
Open

Do you have constraint of "face to"? #400

YandanYang opened this issue Jan 16, 2025 · 0 comments
Labels
question Further information is requested

Comments

@YandanYang
Copy link

The existing constraints in your code includes:

on_floor = cl.StableAgainst(bottom, floortags, margin=0.01)
flush_wall = cl.StableAgainst(back, walltags, margin=0.02)
against_wall = cl.StableAgainst(back, walltags, margin=0.07)
spaced_wall = cl.StableAgainst(back, walltags, margin=0.8)
hanging = cl.StableAgainst(top, ceilingtags, margin=0.05)
side_against_wall = cl.StableAgainst(side, walltags, margin=0.05)

ontop = cl.StableAgainst(bottom, top)
on = cl.StableAgainst(bottom, {t.Subpart.SupportSurface})

front_against = cl.StableAgainst(
    front, side, margin=0.05, check_z=False
) 

front_to_front = cl.StableAgainst(front, front, margin=0.05, check_z=False)

leftright_leftright = cl.StableAgainst(leftright, leftright, margin=0.05)  
side_by_side = cl.StableAgainst(side, side)
back_to_back = cl.StableAgainst(back, back)

back_coplanar_back = cl.CoPlanar(back, back, margin=0.05, rev_normal=True)
front_coplanar_front = cl.CoPlanar(front, front, margin=0.05, rev_normal=True)

It does not include relation like face to, which does not need margin and has different goal from StableAgainst.
Will you implement this relation in the future? May I ask about the time?

@YandanYang YandanYang added the question Further information is requested label Jan 16, 2025
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

1 participant