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
Add Translation.from_vector(vector) and Reflection.from_plane(plane) #544
Comments
For the
For the
than (currently)
|
@romanarust I believe my confusion come from the fact that as a user of the library, I do not want to dig into the inner implementation of the classes. And I believe the signature of methods and functions should do most of the story-telling about what they do.
How I understand your suggestion If the How I generally feel the compas library is right now Worse still is the current expectation for user to
For users who care only about code-that-works will not go into this trouble of testing and will simply write out the long ugly code just to be safe. In the light of helping user help themselves, I would advocate the following: Self-descriptive function names > Reading docs > Conjure undocumented code use |
Hum. @brgcode I thought you replied to this thread a few days ago? You suggested that this will be addressed via documentation? If that is the decision, we can close this issue. |
while reworking the docs i noticed some inconsistencies. reworking them still. will push out update asap... |
@yck011522 this one is done, right? |
I believe the two proposed functions is already completed, see this: |
Feature Request
As a user, I think the function
Translation.from_vector(vector)
should be added. Both for the sake of completeness and convenience. SimilarlyReflection.from_plane(plane)
.Details
Maybe there is a better way to do this from a user's perspective:
For example, this function will be consistent with ,
Transformation.from_frame_to_frame(frame_from, frame_to
The text was updated successfully, but these errors were encountered: